1830ea2b113dadbd1b09538a72af90ac2071d379
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
2
3 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
4 rather than "should be" or "expected to be" in error messages.
5 (parse_operands): Likewise.
6 * testsuite/gas/aarch64/diagnostic.l: Likewise.
7 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
8 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
9 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
10
11 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
12
13 * config/tc-aarch64.c (opcode_lookup): Search for the end of
14 a condition name, rather than assuming that it will have exactly
15 2 characters.
16 (parse_operands): Likewise.
17 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
18 to the expected output.
19 * testsuite/gas/aarch64/beq_1.d: Likewise.
20 * testsuite/gas/aarch64/float-fp16.d: Likewise.
21 * testsuite/gas/aarch64/int-insns.d: Likewise.
22 * testsuite/gas/aarch64/no-aliases.d: Likewise.
23 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
24 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
25 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
26 New test.
27
28 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
29
30 * testsuite/gas/aarch64/diagnostic.s,
31 testsuite/gas/aarch64/diagnostic.l: Add tests for
32 invalid uses of MUL VL and MUL in base AArch64 instructions.
33 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
34 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
35 testsuite/gas/aarch64/sve-invalid.s,
36 testsuite/gas/aarch64/sve-invalid.d,
37 testsuite/gas/aarch64/sve-invalid.l,
38 testsuite/gas/aarch64/sve-reg-diagnostic.s,
39 testsuite/gas/aarch64/sve-reg-diagnostic.d,
40 testsuite/gas/aarch64/sve-reg-diagnostic.l,
41 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
42
43 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
44
45 * doc/c-aarch64.texi: Document the "sve" feature.
46 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
47 (get_reg_expected_msg): Handle it.
48 (parse_operands): When parsing operands of an SVE instruction,
49 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
50 (aarch64_features): Add an entry for SVE.
51
52 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
53
54 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
55 and FP register operands.
56
57 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
58
59 * config/tc-aarch64.c (double_precision_operand_p): New function.
60 (parse_operands): Use it to calculate the dp_p input to
61 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
62
63 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
64
65 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
66 immediate operands.
67
68 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
69
70 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
71 parse_shift_modes.
72 (parse_shift): Handle SHIFTED_MUL_VL.
73 (parse_address_main): Add an imm_shift_mode parameter.
74 (parse_address, parse_sve_address): Update accordingly.
75 (parse_operands): Handle MUL VL addressing modes.
76
77 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
78
79 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
80 register types.
81 (get_reg_expected_msg): Handle them.
82 (aarch64_addr_reg_parse): New function, split out from
83 aarch64_reg_parse_32_64. Handle Z registers too.
84 (aarch64_reg_parse_32_64): Call it.
85 (parse_address_main): Add base_qualifier, offset_qualifier,
86 base_type and offset_type parameters. Handle SVE base and offset
87 registers.
88 (parse_address): Update call to parse_address_main.
89 (parse_sve_address): New function.
90 (parse_operands): Parse the new SVE address operands.
91
92 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
93
94 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
95 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
96 shift modes. Skip range tests for AARCH64_MOD_MUL.
97 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
98 (parse_operands): Likewise.
99
100 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
101
102 * config/tc-aarch64.c (parse_enum_string): New function.
103 (po_enum_or_fail): New macro.
104 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
105 AARCH64_OPND_SVE_PRFOP.
106
107 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
108
109 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
110 (parse_vector_type_for_operand): Assert that the skipped character
111 is a '.'.
112 (parse_predication_for_operand): New function.
113 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
114 (vectype_to_qualifier): Handle NT_zero and NT_merge.
115
116 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
117
118 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
119 (AARCH64_REG_TYPES): Add ZN and PN.
120 (get_reg_expected_msg): Handle them.
121 (parse_vector_type_for_operand): Add a reg_type parameter.
122 Skip the width for Zn and Pn registers.
123 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
124 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
125 expecting the width to be 0.
126 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
127 REG_TYPE_VN.
128 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
129 (parse_operands): Handle the new Zn and Pn operands.
130 (REGSET16): New macro, split out from...
131 (REGSET31): ...here.
132 (reg_names): Add Zn and Pn entries.
133
134 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
135
136 * config/tc-aarch64.c (output_operand_error_record): Handle
137 AARCH64_OPDE_UNTIED_OPERAND.
138
139 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
140
141 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
142 instruction with all-NIL qualifiers to fail to match.
143
144 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
145
146 * config/tc-aarch64.c (parse_address_main): Remove reloc and
147 accept_reg_post_index parameters. Parse relocations and register
148 post indexes unconditionally.
149 (parse_address): Remove accept_reg_post_index parameter.
150 Update call to parse_address_main.
151 (parse_address_reloc): Delete.
152 (parse_operands): Call parse_address instead of parse_address_main.
153 Update existing callers of parse_address and make them check
154 inst.reloc.type where appropriate.
155 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
156 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
157 Also test for invalid uses of post-index register addressing.
158 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
159
160 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
161
162 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
163 types.
164 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
165 (aarch64_check_reg_type): Simplify.
166 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
167 register number. Return the type as a qualifier rather than an
168 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
169 parameters.
170 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
171 Use get_reg_expected_msg.
172 (parse_address_main): Likewise. Use aarch64_check_reg_type.
173 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
174 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
175 Use aarch64_check_reg_type to test the result.
176 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
177 addresses normally before enforcing the syntax restrictions.
178 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
179 zero register and for a stack pointer index.
180 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
181 Also update existing diagnostic messages after the above changes.
182 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
183 for 32-bit register bases.
184
185 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
186
187 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
188 (parse_operands): Check the range of 8-bit FP immediates here instead.
189
190 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
191
192 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
193 low-severity error for registers.
194 (parse_operands): Report an invalid floating point constant for
195 if parsing an FPIMM8 fails, and if no better error has been
196 recorded.
197 * testsuite/gas/aarch64/diagnostic.s,
198 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
199 to FMOV.
200
201 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
202
203 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
204 to...
205 (can_convert_double_to_float): ...this. Accept any double-precision
206 value that converts to single precision without loss of precision.
207 (parse_aarch64_imm_float): Update accordingly.
208
209 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
210
211 * config/tc-aarch64.c (parse_immediate_expression): Add a
212 reg_type parameter.
213 (parse_constant_immediate): Likewise, and update calls.
214 (parse_aarch64_imm_float): Likewise.
215 (parse_big_immediate): Likewise.
216 (po_imm_nc_or_fail): Update accordingly, passing down a new
217 imm_reg_type variable.
218 (po_imm_of_fail): Likewise.
219 (parse_operands): Likewise.
220
221 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
222
223 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
224 (parse_vector_reg_list): ...this and take a register type
225 as input.
226 (parse_operands): Update accordingly.
227
228 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
229
230 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
231 (parse_vector_type_for_operand): ...this.
232 (parse_typed_reg): Update accordingly.
233
234 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
235
236 * config/tc-aarch64.c (neon_type_el): Rename to...
237 (vector_type_el): ...this.
238 (parse_neon_type_for_operand): Update accordingly.
239 (parse_typed_reg): Likewise.
240 (aarch64_reg_parse): Likewise.
241 (vectype_to_qualifier): Likewise.
242 (parse_operands): Likewise.
243 (eq_neon_type_el): Likewise. Rename to...
244 (eq_vector_type_el): ...this.
245 (parse_neon_reg_list): Update accordingly.
246
247 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
248
249 * config/tc-aarch64.c (neon_el_type: Rename to...
250 (vector_el_type): ...this.
251 (neon_type_el): Update accordingly.
252 (parse_neon_type_for_operand): Likewise.
253 (vectype_to_qualifier): Likewise.
254
255 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
256
257 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
258 (parse_typed_reg): Call parse_neon_type_for_operand directly.
259
260 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
261
262 * testsuite/gas/arc/textinsnxop.d: New file.
263 * testsuite/gas/arc/textinsnxop.s: Likewise.
264
265 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
266
267 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
268 dcti-couples-v9 only in ELF targets to avoid spurious failures in
269 sparc-aout and sparc-coff targets.
270
271 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
272
273 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
274 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
275 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
276 <copy, paste.>: Update tests.
277 * testsuite/gas/ppc/power9.s: Likewise.
278
279 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
280
281 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
282 in "architecture mismatch" error messages.
283
284 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
285
286 * config/tc-sparc.c (md_assemble): Detect and warning on
287 unpredictable DCTI couples in certain arches.
288 (dcti_couples_detect): New global.
289 (md_longopts): Add command line option -dcti-couples-detect.
290 (md_show_usage): Document -dcti-couples-detect.
291 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
292 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
293 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
294 * testsuite/gas/sparc/dcti-couples.s: New file.
295 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
296 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
297 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
298 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
299 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
300 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
301 * doc/c-sparc.texi (Sparc-Opts): Likewise.
302
303 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
304
305 * testsuite/gas/arc/tls-relocs2.d: New file.
306 * testsuite/gas/arc/tls-relocs2.s: Likewise.
307 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
308 is used.
309
310 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
311
312 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
313 strings.
314 * doc/as.texinfo: Document new arch strings.
315 * doc/c-s390.texi: Likewise.
316
317 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
318
319 * config/tc-s390.c: Set all facitily bits by default
320
321 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
322
323 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
324
325 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
326
327 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
328 for Intel MCU.
329
330 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
331
332 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
333 (set_cpu_arch): Updated.
334 (md_parse_option): Likewise.
335 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
336 iamcu-inval-2 and iamcu-inval-3.
337 * testsuite/gas/i386/iamcu-4.d: New file.
338 * testsuite/gas/i386/iamcu-4.s: Likewise.
339 * testsuite/gas/i386/iamcu-5.d: Likewise.
340 * testsuite/gas/i386/iamcu-5.s: Likewise.
341 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
342 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
343 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
344 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
345
346 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
347
348 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
349 ARMv8-A CPUs except xgene1.
350
351 2016-08-31 Alan Modra <amodra@gmail.com>
352
353 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
354 ppc_cpu rather than calling ppc_mach to determine VLE mode.
355 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
356
357 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
358
359 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
360 to camellia_fl.
361 * testsuite/gas/sparc/crypto.s: Likewise.
362
363 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
364
365 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
366 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
367 their lowecase counterpart special registers. Write register
368 identifier in hex.
369 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
370 operation, special register and then case. Use different register for
371 each operation. Add tests for new special registers.
372 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
373 accordingly.
374 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
375 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
376
377 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
378
379 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
380 special registers.
381 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
382 registers.
383 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
384 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
385 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
386
387 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
388
389 * config/tc-i386.c (cpu_arch): Add .ptwrite.
390 * doc/c-i386.texi: Document ptwrite and .ptwrite.
391 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
392 x86-64-ptwrite and x86-64-ptwrite-intel.
393 * testsuite/gas/i386/ptwrite-intel.d: New file.
394 * testsuite/gas/i386/ptwrite.d: Likewise.
395 * testsuite/gas/i386/ptwrite.s: Likewise.
396 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
397 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
398 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
399
400 2016-08-19 Tamar Christina <tamar.christina@arm.com>
401
402 * config/tc-arm.c (do_co_reg2c): Added constraint.
403 * testsuite/gas/arm/dest-unpredictable.s: New.
404 * testsuite/gas/arm/dest-unpredictable.l: New.
405 * testsuite/gas/arm/dest-unpredictable.d: New.
406
407 2016-08-19 Nick Clifton <nickc@redhat.com>
408
409 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
410 ordering of sections.
411 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
412 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
413 * testsuite/gas/ia64/alias.d: Likewise.
414 * testsuite/gas/ia64/group-1.d: Likewise.
415 * testsuite/gas/ia64/group-2.d: Likewise.
416 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
417 * testsuite/gas/ia64/secname.d: Likewise.
418 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
419 * testsuite/gas/ia64/unwind.d: Likewise.
420 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
421 * testsuite/gas/ia64/xdata.d: Likewise.
422 * testsuite/gas/mmix/bspec-1.d: Likewise.
423 * testsuite/gas/mmix/bspec-2.d: Likewise.
424 * testsuite/gas/mmix/byte-1.d: Likewise.
425 * testsuite/gas/mmix/loc-1.d: Likewise.
426 * testsuite/gas/mmix/loc-2.d: Likewise.
427 * testsuite/gas/mmix/loc-3.d: Likewise.
428 * testsuite/gas/mmix/loc-4.d: Likewise.
429 * testsuite/gas/mmix/loc-5.d: Likewise.
430 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
431
432 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
433
434 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
435 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
436 Add tests for -0.0. Add an end-of-file comment.
437
438 2016-08-05 Nick Clifton <nickc@redhat.com>
439
440 PR gas/20429
441 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
442 registers are pushed.
443 (do_vfp_nsyn_pop): Check that no more than 16 registers are
444 popped.
445 * testsuite/gas/arm/pr20429.s: New test.
446 * testsuite/gas/arm/pr20429.d: New test driver.
447 * testsuite/gas/arm/pr20429.1: Expected error output.
448
449 PR gas/20364
450 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
451 aligning the frag.
452 (aarch64_init): Treat rs_align frags in code sections as
453 containing code, not data.
454 * testsuite/gas/aarch64/pr20364.s: New test.
455 * testsuite/gas/aarch64/pr20364.d: New test driver.
456
457 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
458
459 PR gas/20427
460 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
461 of 64-bit relocation types when assembling for a 32-bit Solaris
462 target.
463
464 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
465
466 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
467 ELF targets.
468 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
469 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
470 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
471 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
472 targets.
473 (sparc_elf_setup): Delete.
474 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
475 test's #name entry.
476
477 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
478
479 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
480 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
481 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
482 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
483 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
484 (get_append_method): Also return APPEND_ADD_COMPACT for
485 microMIPS instructions.
486 (find_altered_mips16_opcode): Exclude macros from matching.
487 Factor code out...
488 (find_altered_opcode): ... to this new function.
489 (find_altered_micromips_opcode): New function.
490 (frag_branch_delay_slot_size): Likewise.
491 (append_insn): Handle microMIPS branch/jump compaction.
492 (macro_start): Likewise.
493 (relaxed_micromips_32bit_branch_length): Likewise.
494 (md_convert_frag): Likewise.
495 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
496 for delay slot filling.
497 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
498 delay slot filling.
499 * testsuite/gas/mips/micromips-size-1.s: Likewise.
500 * testsuite/gas/mips/micromips.l: Adjust line numbers.
501 * testsuite/gas/mips/micromips-warn.l: Likewise.
502 * testsuite/gas/mips/micromips-size-1.l: Likewise.
503 * testsuite/gas/mips/micromips.d: Adjust padding.
504 * testsuite/gas/mips/micromips-trap.d: Likewise.
505 * testsuite/gas/mips/micromips-insn32.d: Likewise.
506 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
507 * testsuite/gas/mips/micromips@beq.d: Update patterns for
508 branch/jump compaction.
509 * testsuite/gas/mips/micromips@bge.d: Likewise.
510 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
511 * testsuite/gas/mips/micromips@blt.d: Likewise.
512 * testsuite/gas/mips/micromips@bltu.d: Likewise.
513 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
514 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
515 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
516 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
517 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
518 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
519 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
520 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
521 Likewise.
522 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
523 Likewise.
524 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
525 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
526 * testsuite/gas/mips/micromips@relax.d: Likewise.
527 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
528 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
529 * testsuite/gas/mips/branch-extern-2.d: Likewise.
530 * testsuite/gas/mips/branch-extern-4.d: Likewise.
531 * testsuite/gas/mips/branch-section-2.d: Likewise.
532 * testsuite/gas/mips/branch-section-4.d: Likewise.
533 * testsuite/gas/mips/branch-weak-2.d: Likewise.
534 * testsuite/gas/mips/branch-weak-5.d: Likewise.
535 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
536 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
537 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
538 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
539 Likewise.
540 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
541 Likewise.
542 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
543 Likewise.
544 * testsuite/gas/mips/micromips-compact.d: New test.
545 * testsuite/gas/mips/mips.exp: Run the new test.
546
547 2016-07-27 Graham Markall <graham.markall@embecosm.com>
548
549 * config/tc-arc.c: Add new global arc_addrtype_hash.
550 Define O_colon and O_addrtype.
551 (debug_exp): Add O_colon and O_addrtype.
552 (tokenize_arguments): Handle colon and address type
553 tokens.
554 (declare_addrtype): New function.
555 (md_begin): Initialise arc_addrtype_hash.
556 (arc_parse_name): Add lookup of address types.
557 (assemble_insn): Handle colons and address types by
558 ignoring them.
559 * testsuite/gas/arc/nps400-8.s: New file.
560 * testsuite/gas/arc/nps400-8.d: New file.
561 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
562 * testsuite/gas/arc/nps400-8.d: Add expected PMU
563 instruction output.
564
565 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
566
567 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
568 (RELAX_MICROMIPS_INSN32): New macro.
569 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
570 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
571 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
572 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
573 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
574 Shift bits.
575 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
576 branches.
577 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
578 mode.
579 (md_convert_frag): Likewise.
580 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
581 conditionals.
582 * testsuite/gas/mips/micromips-branch-relax.l: Update line
583 numbers accordingly.
584 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
585 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
586 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
587 test.
588 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
589 stderr output.
590 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
591 stderr output.
592 * testsuite/gas/mips/mips.exp: Run the new tests.
593
594 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
595
596 * configure: Regenerated.
597
598 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
599
600 * testsuite/gas/arc/dsp.d: New file.
601 * testsuite/gas/arc/dsp.s: Likewise.
602 * testsuite/gas/arc/fpu.d: Likewise.
603 * testsuite/gas/arc/fpu.s: Likewise.
604 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
605 * testsuite/gas/arc/ext3op.d: Likewise.
606 * testsuite/gas/arc/tdpfp.d: Likewise.
607 * testsuite/gas/arc/tfpuda.d: Likewise.
608
609 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
610
611 * config/tc-mips.c (mips_force_relocation): Remove
612 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
613
614 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
615
616 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
617 Adjust comments for BAL to JALX linker conversion.
618 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
619 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
620 expected.
621 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
622 * testsuite/gas/mips/branch-local-4.d: New test.
623 * testsuite/gas/mips/branch-local-n32-4.d: New test.
624 * testsuite/gas/mips/branch-local-n64-4.d: New test.
625 * testsuite/gas/mips/branch-addend.d: New test.
626 * testsuite/gas/mips/branch-addend-n32.d: New test.
627 * testsuite/gas/mips/branch-addend-n64.d: New test.
628 * testsuite/gas/mips/branch-local-4.s: New test source.
629 * testsuite/gas/mips/branch-addend.s: New test source.
630 * testsuite/gas/mips/mips.exp: Run the new tests.
631
632 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
633
634 * config/tc-mips.c (mips_force_relocation): Also retain branch
635 relocations against MIPS16 and microMIPS symbols.
636 (fix_bad_cross_mode_jump_p): New function.
637 (fix_bad_same_mode_jalx_p): Likewise.
638 (fix_bad_misaligned_jump_p): Likewise.
639 (fix_bad_cross_mode_branch_p): Likewise.
640 (fix_bad_misaligned_branch_p): Likewise.
641 (fix_validate_branch): Likewise.
642 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
643 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
644 etc. Verify the ISA mode and alignment of the jump target.
645 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
646 with a call to `fix_validate_branch'.
647 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
648 <BFD_RELOC_16_PCREL_S2>: Likewise.
649 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
650 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
651 Verify the ISA mode and alignment of the branch target.
652 (md_convert_frag): Verify the ISA mode and alignment of resolved
653 MIPS16 branch targets.
654 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
655 branch targets with `.insn'.
656 * testsuite/gas/mips/branch-misc-5.s: Likewise.
657 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
658 accordingly.
659 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
660 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
661 non-instruction branch target with `.insn'.
662 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
663 with external symbols.
664 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
665 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
666 * testsuite/gas/mips/micromips-trap.d: Likewise.
667 * testsuite/gas/mips/micromips.d: Likewise.
668 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
669 targets with `.insn'.
670 * testsuite/gas/mips/mips16.d: Update accordingly.
671 * testsuite/gas/mips/mips16-64.d: Likewise.
672 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
673 branch target with `.insn'.
674 * testsuite/gas/mips/relax-swap3.s: Likewise.
675 * testsuite/gas/mips/branch-local-2.l: New list test.
676 * testsuite/gas/mips/branch-local-3.l: New list test.
677 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
678 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
679 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
680 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
681 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
682 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
683 * testsuite/gas/mips/unaligned-jump-3.d: New test.
684 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
685 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
686 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
687 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
688 test.
689 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
690 test.
691 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
692 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
693 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
694 * testsuite/gas/mips/unaligned-branch-3.d: New test.
695 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
696 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
697 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
698 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
699 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
700 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
701 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
702 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
703 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
704 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
705 test.
706 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
707 test.
708 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
709 * testsuite/gas/mips/branch-local-2.s: New test source.
710 * testsuite/gas/mips/branch-local-3.s: New test source.
711 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
712 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
713 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
714 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
715 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
716 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
717 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
718 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
719 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
720 source.
721 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
722 source.
723 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
724 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
725 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
726 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
727 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
728 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
729 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
730 source.
731 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
732 source.
733 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
734 source.
735 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
736 source.
737 * testsuite/gas/mips/mips.exp: Run the new tests.
738
739 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
740
741 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
742 unsigned int.
743 (do_pseudo_b): Adjust.
744 (do_pseudo_bal): Likewise.
745 (do_pseudo_bge): Likewise.
746 (do_pseudo_bges): Likewise.
747 (do_pseudo_bgt): Likewise.
748 (do_pseudo_bgts): Likewise.
749 (do_pseudo_ble): Likewise.
750 (do_pseudo_bles): Likewise.
751 (do_pseudo_blt): Likewise.
752 (do_pseudo_blts): Likewise.
753 (do_pseudo_br): Likewise.
754 (do_pseudo_bral): Likewise.
755 (do_pseudo_la): Likewise.
756 (do_pseudo_li): Likewise.
757 (do_pseudo_ls_bhw): Likewise.
758 (do_pseudo_ls_bhwp): Likewise.
759 (do_pseudo_ls_bhwpc): Likewise.
760 (do_pseudo_ls_bhwi): Likewise.
761 (do_pseudo_move): Likewise.
762 (do_pseudo_neg): Likewise.
763 (do_pseudo_not): Likewise.
764 (do_pseudo_pushpopm): Likewise.
765 (do_pseudo_pushpop): Likewise.
766 (do_pseudo_v3push): Likewise.
767 (do_pseudo_v3pop): Likewise.
768 (do_pseudo_pushpop_stack): Likewise.
769 (do_pseudo_push_bhwd): Likewise.
770 (do_pseudo_pop_bhwd): Likewise.
771 (do_pseudo_pusha): Likewise.
772 (do_pseudo_pushi): Likewise.
773
774 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
775
776 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
777 bfd_reloc_code_real_type.
778
779 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
780
781 * config/tc-sparc.c (pop_table): Remove sentinel.
782 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
783 (md_begin): Adjust.
784
785 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
786
787 * config/tc-z8k.c (newfix): Make type of type argument
788 bfd_reloc_code_real_type.
789 (apply_fix): Likewise.
790
791 2016-07-16 Alan Modra <amodra@gmail.com>
792
793 * config/tc-epiphany.c: Don't include libbfd.h.
794 * config/tc-frv.c: Likewise.
795 * config/tc-ip2k.c: Likewise.
796 * config/tc-iq2000.c: Likewise.
797 * config/tc-m32c.c: Likewise.
798 * config/tc-mep.c: Likewise.
799 * config/tc-mt.c: Likewise.
800 * config/tc-nios2.c: Likewise.
801
802 2016-07-16 Alan Modra <amodra@gmail.com>
803
804 * config/bfin-parse.y: Don't include libbfd.h.
805 * config/tc-bfin.c: Likewise.
806 * config/tc-rl78.c: Likewise.
807 * config/tc-rx.c: Likewise.
808 * config/tc-metag.c: Likewise.
809 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
810 * Makefile.am: Update dependencies.
811 * Makefile.in: Regenerate.
812
813 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
814
815 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
816 (mips_force_relocation_abs): New prototype.
817 * config/tc-mips.c (mips_force_relocation_abs): New function.
818 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
819 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
820 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
821 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
822 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
823 Likewise.
824 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
825 Likewise.
826 * testsuite/gas/mips/branch-absolute-addend.d: New test.
827 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
828 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
829 test.
830 * testsuite/gas/mips/mips.exp: Run the new tests.
831
832 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
833
834 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
835 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
836 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
837 addend calculated.
838 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
839 in `bar', export `foo'.
840 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
841 accordingly.
842 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
843 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
844 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
845 Likewise.
846 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
847 Likewise.
848
849 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
850
851 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
852 * testsuite/gas/mips/branch-absolute.d: New test.
853 * testsuite/gas/mips/branch-absolute-n32.d: New test.
854 * testsuite/gas/mips/branch-absolute-n64.d: New test.
855 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
856 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
857 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
858 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
859 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
860 test.
861 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
862 test.
863 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
864 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
865 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
866 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
867 test.
868 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
869 test.
870 * testsuite/gas/mips/branch-absolute.s: New test source.
871 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
872 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
873 source.
874 * testsuite/gas/mips/micromips-branch-absolute.s: New test
875 source.
876 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
877 test source.
878 * testsuite/gas/mips/mips.exp: Run the new tests.
879
880 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
881
882 * testsuite/gas/mips/nal-1.d: New test.
883 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
884 * testsuite/gas/mips/nal-2.d: New test.
885 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
886 * testsuite/gas/mips/nal.s: New test source.
887 * testsuite/gas/mips/mips.exp: Run the new tests.
888
889 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
890
891 * testsuite/gas/sparc/ldtxa.s: New file.
892 * testsuite/gas/sparc/ldtxa.d: Likewise.
893 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
894
895 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
896
897 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
898 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
899 as it is no longer needed.
900
901 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
902
903 * config/tc-mips.c (append_insn): Remove extraneous
904 `install_insn' call.
905
906 2016-07-04 Jan Beulich <jbeulich@suse.com>
907
908 * config/tc-i386.c (check_qword_reg): Correct register kind
909 checked.
910 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
911 16-bit register cases.
912 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
913
914
915 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
916
917 * testsuite/gas/mips/ecoff@ld.d: Remove test.
918 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
919 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
920 * testsuite/gas/mips/ecoff@sd.d: Remove test.
921 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
922 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
923 reloc patterns.
924 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
925 * testsuite/gas/mips/bge.d: Likewise.
926 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
927 * testsuite/gas/mips/bgeu.d: Likewise.
928 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
929 * testsuite/gas/mips/blt.d: Likewise.
930 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
931 * testsuite/gas/mips/bltu.d: Likewise.
932 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
933 * testsuite/gas/mips/branch-likely.d: Likewise.
934 * testsuite/gas/mips/la.d: Likewise.
935 * testsuite/gas/mips/lb.d: Likewise.
936 * testsuite/gas/mips/lifloat.d: Likewise.
937 * testsuite/gas/mips/sb.d: Likewise.
938 * testsuite/gas/mips/uld.d: Likewise.
939 * testsuite/gas/mips/ulh.d: Likewise.
940 * testsuite/gas/mips/ulw.d: Likewise.
941 * testsuite/gas/mips/usd.d: Likewise.
942 * testsuite/gas/mips/ush.d: Likewise.
943 * testsuite/gas/mips/usw.d: Likewise.
944
945 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
946
947 * testsuite/gas/mips/branch-misc-2.s: Move non
948 locally-defined-global symbol tests...
949 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
950 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
951 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
952 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
953 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
954 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
955 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
956 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
957 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
958 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
959 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
960 * testsuite/gas/mips/branch-misc-5.d: New test.
961 * testsuite/gas/mips/branch-misc-5pic.d: New test.
962 * testsuite/gas/mips/branch-misc-5-64.d: New test.
963 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
964 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
965 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
966 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
967 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
968 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
969 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
970 * testsuite/gas/mips/mips.exp: Run the new tests.
971
972 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
973
974 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
975 symbols.
976 * testsuite/gas/mips/beq.d: Update accordingly.
977 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
978 * testsuite/gas/mips/micromips@beq.d: Likewise.
979
980 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
981
982 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
983 tests to NewABI targets.
984
985 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
986
987 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
988 together.
989
990 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
991
992 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
993 require field.
994 (aarch64_features): Initialize require fields.
995 (aarch64_parse_features): Handle dependencies.
996 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
997 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
998 * testsuite/gas/aarch64/illegal-nofp16.s: New.
999 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1000 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1001
1002 2016-07-01 Nick Clifton <nickc@redhat.com>
1003
1004 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1005 extremely large integer.
1006
1007 2016-07-01 Jan Beulich <jbeulich@suse.com>
1008
1009 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1010
1011 2016-07-01 Tristan Gingold <gingold@adacore.com>
1012
1013 * NEWS: Add marker for 2.27.
1014
1015 2016-07-01 Jan Beulich <jbeulich@suse.com>
1016
1017 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1018 bndldx, and bndstx.
1019 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1020 as well as scaling by other than 1 tests.
1021 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1022
1023 2016-07-01 Jan Beulich <jbeulich@suse.com>
1024
1025 * tc-i386.c (md_assemble): Alter address size checking for MPX
1026 instructions.
1027 * testsuite/gas/i386/mpx-inval-2.s: New.
1028 * testsuite/gas/i386/mpx-inval-2.l: New.
1029 * testsuite/gas/i386/i386.exp: Run new test.
1030
1031 2016-07-01 Jan Beulich <jbeulich@suse.com>
1032
1033 PR gas/20318
1034 * config/tc-i386.c (match_template): Add char parameter,
1035 consumed in Intel mode for an extra suffix check.
1036 (md_assemble): New local variable mnem_suffix.
1037 * testsuite/gas/i386/suffix-bad.s: New.
1038 * testsuite/gas/i386/suffix-bad.l: New.
1039 * testsuite/gas/i386/i386.exp: Run new test (twice).
1040
1041 2016-07-01 Jan Beulich <jbeulich@suse.com>
1042
1043 * testsuite/gas/i386/movz.s: New.
1044 * testsuite/gas/i386/movz32.d: New.
1045 * testsuite/gas/i386/movz64.d: New.
1046 * testsuite/gas/i386/i386.exp: Run new tests.
1047
1048 2016-07-01 Jan Beulich <jbeulich@suse.com>
1049
1050 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1051 (md_assemble): Free first memory operand string.
1052 (i386_index_check): Use repprefixok to distingush xlat from
1053 other (real) string ops.
1054 (maybe_adjust_templates): New.
1055 (i386_att_operand). Call it. Store first memory operand string.
1056 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1057 * testsuite/gas/i386/intel-movs.s: New.
1058 * testsuite/gas/i386/intel-movs32.d: New.
1059 * testsuite/gas/i386/intel-movs64.d: New.
1060 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1061 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1062
1063 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1064
1065 * config/tc-mips.c (get_append_method): Fix a comment typo.
1066
1067 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1068 Maciej W. Rozycki <macro@imgtec.com>
1069
1070 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1071 case MIPS16 handling.
1072 * testsuite/gas/mips/branch-swap-3.d: New test.
1073 * testsuite/gas/mips/branch-swap-4.d: New test.
1074 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1075 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1076 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1077 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1078 * testsuite/gas/mips/branch-swap-3.s: New test source.
1079 * testsuite/gas/mips/mips.exp: Run the new tests.
1080
1081 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1082
1083 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1084 swapping sequence.
1085
1086 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1087
1088 PR gas/20312
1089 * write.c (subsegs_finish_section): Force no section padding to
1090 alignment on failed assembly, always set last frag's alignment
1091 from section.
1092 * testsuite/gas/all/pr20312.l: New list test.
1093 * testsuite/gas/all/pr20312.s: New test source.
1094 * testsuite/gas/all/gas.exp: Run the new test
1095
1096 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1097
1098 * config.in (TARGET_WITH_CPU): Undefine.
1099 * configure.ac: Add --with-cpu support, and define in config.h.
1100 * configure: Regenerate.
1101 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1102 * NEWS: Mention new configure option.
1103
1104 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1105
1106 * testsuite/gas/arm/armv8_2+rdma.d: New.
1107
1108 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1111 default for Linux/x86 targets.
1112 * configure.tgt (ac_default_compressed_debug_sections): Default
1113 to yes for Linux/x86 targets.
1114
1115 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1116
1117 * write.c: Remove "libbfd.h" inclusion.
1118
1119 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1120
1121 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1122 `type' test.
1123
1124 2016-06-28 Alan Modra <amodra@gmail.com>
1125
1126 PR gas/20247
1127 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1128
1129 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1130
1131 * testsuite/gas/aarch64/diagnostic.s,
1132 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1133
1134 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1135
1136 * config/tc-mips.c (mips16_reloc_p): Handle
1137 BFD_RELOC_MIPS16_16_PCREL_S1.
1138 (b_reloc_p): Likewise.
1139 (limited_pcrel_reloc_p): Likewise.
1140 (md_pcrel_from): Likewise.
1141 (md_apply_fix): Likewise.
1142 (tc_gen_reloc): Likewise.
1143 (md_convert_frag): Likewise.
1144 (mips_fix_adjustable): Update comment.
1145 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1146 output, add dump patterns.
1147 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1148 output, add dump patterns.
1149 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1150 output, add dump patterns.
1151 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1152 output, add dump patterns.
1153 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1154 output, add dump patterns.
1155 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1156 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1157 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1158 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1159 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1160 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1161 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1162 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1163 * testsuite/gas/mips/branch-weak-6.d: New test.
1164 * testsuite/gas/mips/branch-weak-7.d: New test.
1165 * testsuite/gas/mips/mips.exp: Run the new tests.
1166
1167 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1168
1169 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1170 cfi_add_CFA_def_cfa to generate default CFA with offset
1171 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1172
1173 2016-06-27 Nick Clifton <nickc@redhat.com>
1174
1175 PR gas/20247
1176 * as.h (do_not_pad_sections_to_alignment): New global variable.
1177 * as.c (show_usage): Add --no-pad-sections.
1178 (parse_args): Likewise.
1179 * write.c (size_seg): Skip padding the end of the section if
1180 requested from the command line.
1181 (SUB_SEGMENT_ALIGN): Likewise.
1182 * doc/as.texinfo: Document the new option.
1183 * NEWS: Mention the new feature.
1184 * testsuite/gas/elf/section11.s: New test.
1185 * testsuite/gas/elf/section11.d: New test driver.
1186 * testsuite/gas/elf/elf.exp: Run the new test.
1187
1188 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1189
1190 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1191 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1192
1193 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1194
1195 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1196 sentinal element.
1197 (map_suffix_reloc_to_operator): Likewise.
1198 (map_operator_to_reloc): Likewise.
1199
1200 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1201
1202 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1203 element in relax_table.
1204
1205 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1206
1207 * config/tc-aarch64.c: Make the type of reg_entry::type
1208 aarch_reg_type.
1209
1210 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1211
1212 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1213 (md_parse_option): Adjust.
1214 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1215 with iteration from 0 to ARRAY_SIZE.
1216 * config/tc-mcore.c (md_begin): Likewise.
1217 * config/tc-visium.c (visium_parse_arch): Likewise.
1218
1219 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1220
1221 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1222 and simplify accordingly.
1223 (tic54x_include): Adjust.
1224 (tic54x_mlib): Likewise.
1225
1226 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1227
1228 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1229
1230 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1231
1232 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1233 unchanged with relaxed MIPS16 instructions.
1234 (mips16_extended_frag): Adjust accordingly. Return 1 right
1235 away if a relocation will be required for the symbol requested.
1236 Remove dead first relaxation pass code.
1237 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1238 (md_convert_frag): Adjust symbol value calculation. Raise an
1239 error if a relocation is required for the symbol requested.
1240 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1241 add error output.
1242 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1243 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1244 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1245 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1246 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1247 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1248 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1249 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1250 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1251 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1252 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1253 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1254 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1255 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1256 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1257 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1258 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1259 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1260 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1261 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1262 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1263 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1264 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1265 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1266 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1267 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1268 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1269 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1270 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1271 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1272 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1273 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1274 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1275 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1276 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1277 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1278 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1279 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1280 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1281 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1282 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1283 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1284 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1285 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1286 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1287 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1288 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1289 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1290 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1291 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1292 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1293 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1294 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1295 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1296 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1297 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1298 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1299 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1300 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1301 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1302 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1303 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1304 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1305 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1306 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1307 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1308 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1309 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1310 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1311 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1312 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1313 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1314 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1315 * testsuite/gas/mips/mips.exp: Run the new tests.
1316
1317 2016-06-24 Alan Modra <amodra@gmail.com>
1318
1319 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1320
1321 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1322
1323 * config/tc-mips.c (b_reloc_p): New function.
1324 (mips_fix_adjustable): Also keep the original microMIPS symbol
1325 referred from branch relocations.
1326 * testsuite/gas/mips/branch-local-1.d: New test.
1327 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1328 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1329 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1330 relocations.
1331 * testsuite/gas/mips/branch-local-1.s: New test source.
1332 * testsuite/gas/mips/mips.exp: Run the new cases.
1333
1334 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1335
1336 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1337 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1338 options. Correct erroneous enabling of SPFP instructions when
1339 using -mnps400.
1340
1341 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1342
1343 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1344 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1345 setbool, xor3>: New tests.
1346 * testsuite/gas/ppc/power9.s: Likewise.
1347
1348 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1349
1350 * config/tc-xtensa.c: Include elf/xtensa.h.
1351
1352 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1353
1354 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1355 <BFD_RELOC_LO16_PCREL>: New switch cases.
1356 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1357 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1358 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1359 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1360 the resolved case.
1361 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1362 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1363 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1364 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1365 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1366 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1367 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1368 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1369 * testsuite/gas/mips/mips.exp: Run the new tests.
1370
1371 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1372
1373 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1374 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1375 via `fixP->fx_addsy'.
1376
1377 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1378
1379 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1380 Calculate relocation from the containing aligned doubleword.
1381 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1382 addend from the containing aligned doubleword.
1383
1384 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1385
1386 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1387 rather than `mips_opts' for the R6 ISA check.
1388 (mips_fix_adjustable): Likewise.
1389 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1390 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1391 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1392 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1393 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1394 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1395 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1396 * testsuite/gas/mips/mips.exp: Run the new tests.
1397
1398 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1399
1400 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1401 Add nps400 option and feature. Add check for nps400
1402 feature. Refactor existing checks to check subclass before
1403 feature enablement.
1404 (md_show_usage): Document flags for NPS-400 and add some other
1405 undocumented flags.
1406 (cpu_type): Remove nps400 CPU type entry
1407 (check_zol): Remove bfd_mach_arc_nps400 case.
1408 (md_show_usage): Add help on -mcpu=nps400.
1409 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1410 set.
1411 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1412 -fpuda flags. Document -mcpu=nps400.
1413 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1414 expected flags to match ARC700 instead of NPS400.
1415 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1416 * testsuite/gas/arc/nps-400-2.d: Likewise.
1417 * testsuite/gas/arc/nps-400-3.d: Likewise.
1418 * testsuite/gas/arc/nps-400-4.d: Likewise.
1419 * testsuite/gas/arc/nps-400-5.d: Likewise.
1420 * testsuite/gas/arc/nps-400-6.d: Likewise.
1421 * testsuite/gas/arc/nps-400-7.d: Likewise.
1422 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1423 avoid clash with cbba instruction.
1424 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1425 * testsuite/gas/arc/textinsn3op.d: Likewise.
1426 * testsuite/gas/arc/textinsn3op.s: Likewise.
1427 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1428 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1429
1430 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1431
1432 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1433 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1434
1435 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1436
1437 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1438 reloc conversion.
1439
1440 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1441
1442 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1443
1444 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1445
1446 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1447 %hmcddfr and %hva_mask_nz.
1448 (sparc_ip): New handling of asr/privileged/hyperprivileged
1449 registers, adapted to the new form of the sparc opcodes table.
1450 * testsuite/gas/sparc/rdasr.s: New file.
1451 * testsuite/gas/sparc/rdasr.d: Likewise.
1452 * testsuite/gas/sparc/wrasr.s: Likewise.
1453 * testsuite/gas/sparc/wrasr.d: Likewise.
1454 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1455 wrasr tests.
1456 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1457 registers require it.
1458 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1459 registers and write instruction modalities.
1460 * testsuite/gas/sparc/wrpr.d: Likewise.
1461 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1462 registers.
1463 * testsuite/gas/sparc/rdhpr.d: Likewise.
1464 * testsuite/gas/sparc/wrhpr.s: Likewise.
1465 * testsuite/gas/sparc/wrhpr.d: Likewise.
1466
1467 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1468
1469 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1470 architectures to use the right opcode architecture.
1471 (sparc_md_end): Handle v9{c,d,e,v,m}.
1472 (sparc_ip): Fix some comments.
1473 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1474 instruction, which is v9d.
1475 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1476 instruction from the test, as %mwait is not readable.
1477 * testsuite/gas/sparc/mwait.d: Likewise.
1478 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1479 mismatch architecture errors.
1480 * testsuite/gas/sparc/mism-2.s: New file.
1481
1482 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1483
1484 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1485 empty string to mark the end of the array.
1486 (hpriv_reg_table): Likewise.
1487 (v9a_asr_table): Likewise.
1488 (cmp_reg_entry): Handle entries with NULL names.
1489 (F_POP_V9): Define.
1490 (F_POP_PCREL): Likewise.
1491 (F_POP_TLS_CALL): Likewise.
1492 (F_POP_POSTFIX): Likewise.
1493 (struct pop_entry): New type.
1494 (pop_table): New variable.
1495 (enum pop_entry_type): New type.
1496 (struct perc_entry): Likewise.
1497 (NUM_PERC_ENTRIES): Define.
1498 (perc_table): New variable.
1499 (cmp_perc_entry): New function.
1500 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1501 perc_table.
1502 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1503 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1504 %-pseudo-ops.
1505
1506 2016-06-15 Nick Clifton <nickc@redhat.com>
1507
1508 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1509 instruction size.
1510 * config/tc-mcore.c (md_assemble): Likewise.
1511 * config/tc-mn10200.c (md_assemble): Likewise.
1512 * config/tc-moxie.c (md_assemble): Likewise.
1513 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1514 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1515 exception targets. Add alpha, hppa, microblaze and rl78 to list
1516 of exceptions.
1517 (forward): Add microblaze to list of exceptions.
1518 (fwdexp): Add alpha to list of exceptions.
1519 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1520 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1521 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1522 mn10200 to list of exceptions.
1523 (align2): Expect to fail for nds32.
1524 (cond): Add alpha and rl78 to list of exceptions.
1525 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1526 * testsuite/gas/all/string.d: Skip for tic4x.
1527 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1528 target does not support ELF.
1529 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1530 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1531 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1532 tests for sh-pe and sh-rtemscoff targets.
1533 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1534 list of exceptions.
1535 (type): Run the noifunc version for alpha-freebsd and visium.
1536 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1537 mn10200 or moxie targets.
1538 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1539 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1540 targets.
1541 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1542 mcore and rx targets.
1543 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1544 rl78 and vax.
1545 (purge): Expect to fail on the ns32k and vax.
1546 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1547 * testsuite/gas/nds32/ls.d: Likewise.
1548 * testsuite/gas/nds32/sys-reg.d: Likewise.
1549 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1550 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1551 * testsuite/gas/pe/section-align-3.d: Likewise.
1552 * testsuite/gas/pe/section-exclude.d: Likewise.
1553 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1554 data has been seen.
1555 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1556 for variations in whitespace.
1557 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1558 data has been seen.
1559 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1560 Installs a 32-bit value without generating warnings on 64-bit
1561 hosts.
1562 Use the new macro to replace the .word directives.
1563
1564 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1565
1566 * testsuite/gas/arc/add_s.d: New file.
1567 * testsuite/gas/arc/add_s.s: New file.
1568
1569 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1570
1571 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1572 * testsuite/gas/arc/nps400-6.d: Likewise.
1573
1574 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1575
1576 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1577 addf.
1578 * testsuite/gas/arc/nps400-6.d: Likewise.
1579
1580 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1581
1582 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1583 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1584 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1585 * testsuite/gas/arc/nps400-6.d: Likewise.
1586
1587 2016-06-14 Nick Clifton <nickc@redhat.com>
1588
1589 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1590 signed constant.
1591
1592 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1593
1594 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1595 JALR relocations on R6.
1596 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1597 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1598 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1599 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1600 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1601 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1602 test.
1603 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1604 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1605 test.
1606 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1607 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1608 source.
1609 * testsuite/gas/mips/mips.exp: Run the new tests.
1610
1611 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1612
1613 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1614 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1615 name.
1616
1617 2016-06-13 Nick Clifton <nickc@redhat.com>
1618
1619 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1620 that are not supported.
1621
1622 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1623 constant.
1624 * config/tc-cr16.c (check_range): Likewise.
1625 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1626
1627 2016-06-08 Renlin Li <renlin.li@arm.com>
1628
1629 * config/tc-aarch64.c (print_operands): Substitute size.
1630 (output_operand_error_record): Likewise.
1631
1632 2016-06-07 Alan Modra <amodra@gmail.com>
1633
1634 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1635 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1636 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1637 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1638 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1639 add vle_opcodes twice.
1640 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1641
1642 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1643
1644 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1645 (arm_ext_ras): Renamed from arm_ext_v8_2.
1646 (insns): Update for arm_ext_v8_2 renaming.
1647 (arm_extensions): Add "ras".
1648 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1649 * testsuite/gas/arm/armv8-a+ras.d: New.
1650 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1651 options.
1652
1653 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1654
1655 * itbl-parse.y (yyerror): Use modern argument declaration style.
1656
1657 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1658
1659 * config/tc-sh.c (parse_reg): Change type of mode argument to
1660 sh_arg_type.
1661 (get_operand): Adjust.
1662 (insert): Change type of how to bfd_reloc_code_real_type.
1663 (insert4): Likewise.
1664 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1665 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1666
1667 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1668
1669 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1670 const char *.
1671
1672 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1673
1674 PR binutils/20196
1675 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1676 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1677 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1678 * gas/testsuite/gas/ppc/power8.s: Likewise.
1679 * gas/testsuite/gas/ppc/power8.d: Likewise.
1680 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1681 stdcx.>: Add tests.
1682 * gas/testsuite/gas/ppc/power4.d: Likewise.
1683
1684 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 PR binutis/18386
1687 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1688 * testsuite/gas/i386/x86-64-branch.d: Updated.
1689 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1690 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1691 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1692
1693 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1694
1695 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1696 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1697
1698 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1699
1700 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1701 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1702
1703 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1704
1705 * configure.tgt: Replace -uclibc with *.
1706
1707 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1708
1709 * config/tc-arc.c (parse_opcode_flags): New function.
1710 (find_opcode_match): Move flag parsing code out to new function.
1711 Ignore operands marked IGNORE.
1712 (build_fake_opcode_hash_entry): New function.
1713 (find_special_case_long_opcode): New function.
1714 (find_special_case): Lookup long opcodes.
1715 * testsuite/gas/arc/nps400-7.d: New file.
1716 * testsuite/gas/arc/nps400-7.s: New file.
1717
1718 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1719
1720 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1721
1722 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1723
1724 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1725 sentinal with iteration to array size.
1726
1727 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1728
1729 * config/xtensa-relax.h: Move typedefs of enums to the enums
1730 definition.
1731
1732 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1733
1734 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1735 macro.
1736
1737 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1738
1739 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1740 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1741 * testsuite/gas/arc/nps-400-1.d: Likewise.
1742
1743 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 PR gas/20145
1746 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1747 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1748 noavx512ifma and noavx512vbmi.
1749 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1750 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1751 and noavx512vbmi.
1752 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1753 * testsuite/gas/i386/noavx512-1.l: New file.
1754 * testsuite/gas/i386/noavx512-1.s: Likewise.
1755 * testsuite/gas/i386/noavx512-2.l: Likewise.
1756 * testsuite/gas/i386/noavx512-2.s: Likewise.
1757
1758 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1759
1760 PR gas/20145
1761 * config/tc-i386.c (cpu_arch): Add 687.
1762 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1763 nosse4.1, nosse4.2, nosse4 and noavx2.
1764 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1765 register. Check cpuregxmm instead of cpusse for XMM register.
1766 Check cpuregymm instead of cpuavx for YMM register. Check
1767 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1768 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1769 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1770 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1771 * testsuite/gas/i386/arch-10.d (as): Likewise.
1772 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1773 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1774 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1775 and noavx-4.
1776 * testsuite/gas/i386/no87-3.l: New file.
1777 * testsuite/gas/i386/no87-3.s: Likewise.
1778 * testsuite/gas/i386/noavx-3.l: Likewise.
1779 * testsuite/gas/i386/noavx-3.s: Likewise.
1780 * testsuite/gas/i386/noavx-4.d: Likewise.
1781 * testsuite/gas/i386/noavx-4.s: Likewise.
1782 * testsuite/gas/i386/nosse-4.l: Likewise.
1783 * testsuite/gas/i386/nosse-4.s: Likewise.
1784 * testsuite/gas/i386/nosse-5.d: Likewise.
1785 * testsuite/gas/i386/nosse-5.s: Likewise.
1786
1787 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 PR gas/20154
1790 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1791 cpuintel64.
1792 (match_template): Check Intel64/AMD64 ISA.
1793
1794 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 PR gas/20154
1797 * config/tc-i386.c (intel64): New.
1798 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1799 (md_parse_option): Set intel64 instead of cpuamd64 and
1800 cpuintel64.
1801
1802 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1803
1804 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1805 cpuno64.
1806
1807 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1808
1809 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1810 * testsuite/gas/ppc/altivec3.s: Likewise.
1811 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1812 * testsuite/gas/ppc/power9.s: Likewise.
1813
1814 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1817 * testsuite/gas/i386/noavx-1.l: Likewise.
1818 * testsuite/gas/i386/nommx-1.l: Likewise.
1819 * testsuite/gas/i386/nosse-1.l: Likewise.
1820 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1821 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1822 * testsuite/gas/i386/noavx-1.s: Likewise.
1823 * testsuite/gas/i386/nommx-1.s: Likewise.
1824 * testsuite/gas/i386/nosse-1.s: Likewise.
1825 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1826
1827 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1828
1829 * config/tc-metag.c (metag_handle_align): Make the type of noop
1830 unsigned char.
1831
1832 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1833
1834 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1835 bfd_reloc_code_real_type.
1836
1837 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1838
1839 PR gas/20140
1840 * config/tc-i386.c (cpu_flags_match): Require another match
1841 for AVX512VL.
1842 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1843 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1844 * testsuite/gas/i386/avx512vl-1.l: New file.
1845 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1846 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1847 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1848 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1849 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1850 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1851 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1852
1853 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 PR gas/20141
1856 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1857 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1858 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1859
1860 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 * config/tc-i386.c (arch_entry): Remove negated.
1863 (noarch_entry): New struct.
1864 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1865 (cpu_noarch): New.
1866 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1867 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1868 cpu_arch.
1869 (output_message): New function.
1870 (show_arch): Use it. Handle cpu_noarch.
1871 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1872 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1873 * testsuite/gas/i386/noavx-1.l: New file.
1874 * testsuite/gas/i386/noavx-1.s: Likewise.
1875 * testsuite/gas/i386/noavx-2.s: Likewise.
1876 * testsuite/gas/i386/noavx-2.l: Likewise.
1877 * testsuite/gas/i386/nommx-1.s: Likewise.
1878 * testsuite/gas/i386/nommx-1.l: Likewise.
1879 * testsuite/gas/i386/nommx-2.s: Likewise.
1880 * testsuite/gas/i386/nommx-2.l: Likewise.
1881 * testsuite/gas/i386/nommx-3.s: Likewise.
1882 * testsuite/gas/i386/nommx-3.l: Likewise.
1883 * testsuite/gas/i386/nosse-1.s: Likewise.
1884 * testsuite/gas/i386/nosse-1.l: Likewise.
1885 * testsuite/gas/i386/nosse-2.s: Likewise.
1886 * testsuite/gas/i386/nosse-2.l: Likewise.
1887 * testsuite/gas/i386/nosse-3.s: Likewise.
1888 * testsuite/gas/i386/nosse-3.l: Likewise.
1889
1890 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1891
1892 PR target/20067
1893 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1894 instruction if supported by the currently selected fpu variant.
1895 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1896 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1897
1898 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1899
1900 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1901 jump relocations against MIPS16 or microMIPS symbols on RELA
1902 targets.
1903 * testsuite/gas/mips/jalx-local.d: New test.
1904 * testsuite/gas/mips/jalx-local-n32.d: New test.
1905 * testsuite/gas/mips/jalx-local-n64.d: New test.
1906 * testsuite/gas/mips/jalx-local.s: New test source.
1907 * testsuite/gas/mips/mips.exp: Run the new tests.
1908
1909 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1910
1911 * config/tc-mips.c (md_apply_fix)
1912 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1913 code accordingly.
1914
1915 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1916
1917 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1918 operator to operatorT.
1919 (map_suffix_reloc_to_operator): Change return type to operatorT.
1920
1921 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1922
1923 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1924
1925 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1926
1927 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1928 handler_charp to const char *.
1929
1930 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1931
1932 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1933 (ft32_target_format): Likewise.
1934 (TARGET_FORMAT): Adjust.
1935
1936 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1937
1938 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1939 (ia64_frob_label): Likewise.
1940
1941 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1942
1943 * config/tc-cr16.c (check_range): Make type of retval op_err.
1944 * config/tc-crx.c: Likewise.
1945
1946 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1947
1948 * config/tc-arc.c (md_begin): Add XY registers.
1949 (cpu_types): Code density is default off for ARC EM.
1950
1951 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1952
1953 * config/tc-arc.c (attributes_t): Renamed attribute class to
1954 attr_class.
1955 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1956
1957 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1958
1959 * configuse.tgt: Add entry for arm-phoenix.
1960
1961 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1962
1963 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1964
1965 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1966
1967 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1968
1969 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1970
1971 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1972 (md_begin): Likewise.
1973 (encode_condition): Likewise.
1974 (encode_cc3): Likewise.
1975 (encode_cc2): Likewise.
1976 (encode_operand): Likewise.
1977 (tic54x_undefined_symbol): Likewise.
1978
1979 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1980
1981 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1982 p6600 entry.
1983 * doc/c-mips.texi: Document p6600 -march option.
1984
1985 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 PR gas/19600
1988 * config/tc-i386.c (md_apply_fix): Preserve addend for
1989 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1990 * testsuite/gas/i386/addend.d: New file.
1991 * testsuite/gas/i386/addend.s: Likewise.
1992 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1993 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1994 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1995 * testsuite/gas/i386/reloc32.d: Updated.
1996
1997 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1998
1999 * config/tc-mips.c (append_insn): Correct the encoding of a
2000 constant argument for microMIPS JALX.
2001 (tc_gen_reloc): Correct the encoding of an in-place addend for
2002 microMIPS JALX.
2003 * testsuite/gas/mips/jalx-addend.d: New test.
2004 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2005 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2006 * testsuite/gas/mips/jalx-imm.d: New test.
2007 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2008 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2009 * testsuite/gas/mips/jalx-addend.s: New test source.
2010 * testsuite/gas/mips/jalx-imm.s: New test source.
2011 * testsuite/gas/mips/mips.exp: Run the new tests.
2012
2013 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2014
2015 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2016 throughout.
2017
2018 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2019
2020 * config/tc-arc.c (find_opcode_match): Remove casting away of
2021 const.
2022 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2023
2024 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2025
2026 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2027 appropriate.
2028 (md_convert_frag): Likewise.
2029
2030 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2031
2032 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2033 cached opcode to NULL when we reach a non-matching opcode.
2034 * testsuite/gas/arc/asm-errors-2.d: New file.
2035 * testsuite/gas/arc/asm-errors-2.err: New file.
2036 * testsuite/gas/arc/asm-errors-2.s: New file.
2037
2038 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2039
2040 * config/tc-arc.c (tokenize_arguments): Add checks for array
2041 overflow.
2042 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2043 * testsuite/gas/arc/asm-errors.err: Update expected results.
2044
2045 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2046
2047 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2048 int to enum rx_cpu_types.
2049
2050 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2051
2052 * config/tc-dlx.c (struct machine_it): change the type of a field from
2053 int to bfd_reloc_code_real_type.
2054 * config/tc-tic4x.c: Likewise.
2055
2056 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2057
2058 * config/tc-v850.c (v850_target_arch): change type to enum
2059 bfd_architecture.
2060 * config/tc-v850.h (v850_target_arch): Likewise.
2061
2062 2016-05-18 Alan Modra <amodra@gmail.com>
2063
2064 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2065 allowed negative range.
2066 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2067 * testsuite/gas/ppc/power9.d: Update.
2068
2069 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2070
2071 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2072 disassembling and stop skipping targets.
2073 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2074 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2075 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2076 instruction for targets that have stronger alignment requirement.
2077 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2078 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2079 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2080 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2081 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2082 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2083 * testsuite/gas/arm/archv8m-main.d: Likewise.
2084 * testsuite/gas/arm/archv8m.s: Add label.
2085 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2086 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2087 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2088
2089 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2090
2091 * config/tc-m32r.c (mach_table): Make static and const.
2092
2093 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2094
2095 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2096 definition.
2097
2098 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2099
2100 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2101 defining it.
2102 * config/tc-msp430.c (md_begin): Likewise.
2103
2104 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2105
2106 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2107 bfd_reloc_code_real_type where appropriate.
2108 (fixup16): Likewise.
2109 (fixup8_xg): Likewise.
2110
2111 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2112
2113 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2114
2115 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2116
2117 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2118 * testsuite/gas/ppc/power9.s: Likewise.
2119
2120 2016-05-13 Alan Modra <amodra@gmail.com>
2121
2122 * config/obj-coff.c (weak_uniquify): Delete unused var.
2123
2124 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2125
2126 * app.c (app_push): Use XNEW and related macros.
2127 * as.c (parse_args): Likewise.
2128 * cgen.c (make_right_shifted_expr): Likewise.
2129 (gas_cgen_tc_gen_reloc): Likewise.
2130 * config/bfin-defs.h: Likewise.
2131 * config/bfin-parse.y: Likewise.
2132 * config/obj-coff.c (stack_init): Likewise.
2133 (stack_push): Likewise.
2134 (coff_obj_symbol_new_hook): Likewise.
2135 (coff_obj_symbol_clone_hook): Likewise.
2136 (add_lineno): Likewise.
2137 (coff_frob_symbol): Likewise.
2138 * config/obj-elf.c (obj_elf_section_name): Likewise.
2139 (build_group_lists): Likewise.
2140 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2141 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2142 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2143 (find_or_make_literal_pool): Likewise.
2144 (add_to_lit_pool): Likewise.
2145 (fill_instruction_hash_table): Likewise.
2146 * config/tc-alpha.c (load_expression): Likewise.
2147 (emit_jsrjmp): Likewise.
2148 (s_alpha_ent): Likewise.
2149 (s_alpha_end): Likewise.
2150 (s_alpha_linkage): Likewise.
2151 (md_begin): Likewise.
2152 (tc_gen_reloc): Likewise.
2153 * config/tc-arc.c (arc_insert_opcode): Likewise.
2154 (arc_extcorereg): Likewise.
2155 * config/tc-bfin.c: Likewise.
2156 * config/tc-cr16.c: Likewise.
2157 * config/tc-cris.c: Likewise.
2158 * config/tc-crx.c (preprocess_reglist): Likewise.
2159 * config/tc-d10v.c: Likewise.
2160 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2161 (frv_tomcat_shuffle): Likewise.
2162 * config/tc-h8300.c: Likewise.
2163 * config/tc-i370.c (i370_macro): Likewise.
2164 * config/tc-i386.c (lex_got): Likewise.
2165 (md_parse_option): Likewise.
2166 * config/tc-ia64.c (alloc_record): Likewise.
2167 (set_imask): Likewise.
2168 (save_prologue_count): Likewise.
2169 (dot_proc): Likewise.
2170 (dot_endp): Likewise.
2171 (ia64_frob_label): Likewise.
2172 (add_qp_imply): Likewise.
2173 (add_qp_mutex): Likewise.
2174 (mark_resource): Likewise.
2175 (dot_alias): Likewise.
2176 * config/tc-m68hc11.c: Likewise.
2177 * config/tc-m68k.c (m68k_frob_label): Likewise.
2178 (s_save): Likewise.
2179 (mri_control_label): Likewise.
2180 (push_mri_control): Likewise.
2181 (build_mri_control_operand): Likewise.
2182 (s_mri_else): Likewise.
2183 (s_mri_break): Likewise.
2184 (s_mri_next): Likewise.
2185 (s_mri_for): Likewise.
2186 (s_mri_endw): Likewise.
2187 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2188 * config/tc-microblaze.c: Likewise.
2189 * config/tc-mmix.c (s_loc): Likewise.
2190 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2191 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2192 * config/tc-rl78.c: Likewise.
2193 * config/tc-rx.c (rx_include): Likewise.
2194 * config/tc-sh.c: Likewise.
2195 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2196 * config/tc-sparc.c: Likewise.
2197 * config/tc-spu.c: Likewise.
2198 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2199 (tic6x_start_unwind_section): Likewise.
2200 * config/tc-tilegx.c: Likewise.
2201 * config/tc-tilepro.c: Likewise.
2202 * config/tc-v850.c: Likewise.
2203 * config/tc-visium.c: Likewise.
2204 * config/tc-xgate.c: Likewise.
2205 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2206 (new_resource_table): Likewise.
2207 (resize_resource_table): Likewise.
2208 (xtensa_create_trampoline_frag): Likewise.
2209 (xtensa_maybe_create_literal_pool_frag): Likewise.
2210 (cache_literal_section): Likewise.
2211 * config/xtensa-relax.c (append_transition): Likewise.
2212 (append_condition): Likewise.
2213 (append_value_condition): Likewise.
2214 (append_constant_value_condition): Likewise.
2215 (append_literal_op): Likewise.
2216 (append_label_op): Likewise.
2217 (append_constant_op): Likewise.
2218 (append_field_op): Likewise.
2219 (append_user_fn_field_op): Likewise.
2220 (enter_opname_n): Likewise.
2221 (enter_opname): Likewise.
2222 (split_string): Likewise.
2223 (parse_insn_templ): Likewise.
2224 (clone_req_or_option_list): Likewise.
2225 (clone_req_option_list): Likewise.
2226 (parse_option_cond): Likewise.
2227 (parse_insn_pattern): Likewise.
2228 (parse_insn_repl): Likewise.
2229 (build_transition): Likewise.
2230 (build_transition_table): Likewise.
2231 * dw2gencfi.c (alloc_fde_entry): Likewise.
2232 (alloc_cfi_insn_data): Likewise.
2233 (cfi_add_CFA_remember_state): Likewise.
2234 (dot_cfi_escape): Likewise.
2235 (dot_cfi_fde_data): Likewise.
2236 (select_cie_for_fde): Likewise.
2237 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2238 * ecoff.c (ecoff_add_bytes): Likewise.
2239 (ecoff_build_debug): Likewise.
2240 * input-scrub.c (input_scrub_push): Likewise.
2241 (input_scrub_begin): Likewise.
2242 (input_scrub_next_buffer): Likewise.
2243 * itbl-ops.c (append_insns_as_macros): Likewise.
2244 (alloc_entry): Likewise.
2245 (alloc_field): Likewise.
2246 * listing.c (listing_newline): Likewise.
2247 (listing_listing): Likewise.
2248 * macro.c (get_any_string): Likewise.
2249 (delete_macro): Likewise.
2250 * stabs.c (generate_asm_file): Likewise.
2251 (stabs_generate_asm_lineno): Likewise.
2252 * subsegs.c (subseg_change): Likewise.
2253 (subseg_get): Likewise.
2254 * symbols.c (define_dollar_label): Likewise.
2255 (symbol_relc_make_sym): Likewise.
2256 * write.c (write_relocs): Likewise.
2257
2258 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2259
2260 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2261 (weak_name2altname): Likewise.
2262 (weak_uniquify): Likewise.
2263 (obj_coff_section): Likewise.
2264 (obj_coff_init_stab_section): Likewise.
2265 * config/obj-elf.c (obj_elf_section_name): Likewise.
2266 (obj_elf_init_stab_section): Likewise.
2267 * config/obj-evax.c (evax_shorten_name): Likewise.
2268 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2269 * config/tc-aarch64.c (create_register_alias): Likewise.
2270 * config/tc-alpha.c (load_expression): Likewise.
2271 (s_alpha_file): Likewise.
2272 (s_alpha_section_name): Likewise.
2273 (tc_gen_reloc): Likewise.
2274 * config/tc-arc.c (md_assemble): Likewise.
2275 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2276 (start_unwind_section): Likewise.
2277 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2278 (hppa_elf_mark_end_of_function): Likewise.
2279 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2280 (nios2_negate_arg): Likewise.
2281 * config/tc-rx.c (rx_section): Likewise.
2282 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2283 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2284 * config/tc-tic54x.c (tic54x_include): Likewise.
2285 (tic54x_macro_info): Likewise.
2286 (subsym_get_arg): Likewise.
2287 (subsym_substitute): Likewise.
2288 (tic54x_start_line_hook): Likewise.
2289 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2290 (xg_reverse_shift_count): Likewise.
2291 * config/xtensa-relax.c (enter_opname_n): Likewise.
2292 (split_string): Likewise.
2293 * dwarf2dbg.c (get_filenum): Likewise.
2294 (process_entries): Likewise.
2295 * expr.c (operand): Likewise.
2296 * itbl-ops.c (alloc_entry): Likewise.
2297 * listing.c (listing_message): Likewise.
2298 (listing_title): Likewise.
2299 * macro.c (check_macro): Likewise.
2300 * stabs.c (s_xstab): Likewise.
2301 * symbols.c (symbol_relc_make_expr): Likewise.
2302 * write.c (compress_debug): Likewise.
2303
2304 2016-05-12 Nick Clifton <nickc@redhat.com>
2305
2306 PR target/20068
2307 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2308
2309 2016-05-11 Nick Clifton <nickc@redhat.com>
2310
2311 PR target/20068
2312 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2313 big endian ARM configurations.
2314
2315 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2316 Matthew Fortune <matthew.fortune@imgtec.com>
2317
2318 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2319 OPTION_NO_DSPR3.
2320 (md_longopts): Likewise.
2321 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2322 (mips_ases): Define availability for DSPr3.
2323 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2324 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2325 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2326 formatting.
2327 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2328 .set nodspr3. Fix -mdspr2 formatting.
2329 * testsuite/gas/mips/mips32-dspr3.d: New file.
2330 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2331 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2332
2333 2016-05-11 Nick Clifton <nickc@redhat.com>
2334
2335 PR target/20068
2336 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2337 to the pool uses O_constant.
2338 * testsuite/gas/arm/pr20068.s: New test.
2339 * testsuite/gas/arm/pr20068.d: Test driver.
2340
2341 2016-05-11 Nick Clifton <nickc@redhat.com>
2342
2343 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2344 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2345 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2346 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2347 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2348 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2349 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2350 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2351 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2352
2353 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2354
2355 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2356 * testsuite/gas/i386/prefix.d: Adjust.
2357 * testsuite/gas/i386/rdpid.s: New test.
2358 * testsuite/gas/i386/rdpid.d: Ditto.
2359 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2360 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2361 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2362 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2363
2364 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2365
2366 * config/tc-i386.c (cpu_arch): Add RDPID.
2367 * doc/c-i386.texi: Document RDPID.
2368
2369 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2370
2371 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2372 set branch type of a symbol.
2373
2374 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2375
2376 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2377 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2378 instructions.
2379 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2380 (aeabi_set_public_attributes): Memorize the feature bits of the
2381 architecture selected for Tag_CPU_arch. Use it to set
2382 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2383 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2384 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2385 * testsuite/gas/arm/arch7em-bad-1.d: This.
2386 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2387 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2388 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2389 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2390 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2391 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2392 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2393 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2394
2395 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2396
2397 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2398 allowed_archs an array with 2 entries.
2399 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2400 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2401 (arm_extensions): Use separate entries in allowed_archs when several
2402 archs are allowed to use an extension and change ARCH_ANY in
2403 ARM_ARCH_NONE in allowed_archs.
2404 (arm_parse_extension): Check that, for each allowed_archs entry, all
2405 bits are set in the current architecture, ignoring ARM_ANY entries.
2406 (s_arm_arch_extension): Likewise.
2407
2408 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2409
2410 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2411 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2412 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2413 shared with a non M profile architecture.
2414 (do_rn): New function.
2415 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2416 than arm_ext_v8m.
2417 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2418 (insns): Add ARMv8-M Security Extensions instructions.
2419 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2420 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2421 * testsuite/gas/arm/archv8m-cmse.s: New file.
2422 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2423 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2424 * testsuite/gas/arm/any-cmse.d: Likewise.
2425 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2426 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2427 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2428 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2429 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2430 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2431
2432 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2433
2434 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2435 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2436
2437 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2438
2439 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2440 (fpu_arch_vfp_v3): Likewise.
2441 (fpu_arch_neon_v1): Likewise.
2442 (arm_arch_full): Likewise.
2443 (parse_neon_el_struct_list): Initialize fields of firsttype.
2444
2445 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2446
2447 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2448 (arc_extinsn): Handle new introduced syntax.
2449 * testsuite/gas/arc/textinsn1op.d: New file.
2450 * testsuite/gas/arc/textinsn1op.s: Likewise.
2451 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2452
2453 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2454
2455 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2456 DW_LNS_fixed_advance_pc.
2457
2458 2016-04-27 Alan Modra <amodra@gmail.com>
2459
2460 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2461 (xmemdup0): New inline function.
2462
2463 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2464
2465 * config/tc-mips.c (code_option_type): New enum.
2466 (parse_code_option): Return status indicating option type.
2467 (s_mipsset): Update `parse_code_option' call site accordingly.
2468 Always set register sizes from the ISA with ISA overrides.
2469 (s_module): Update `parse_code_option' call site.
2470 * testsuite/gas/mips/isa-override-1.d: New test.
2471 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2472 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2473 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2474 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2475 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2476 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2477 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2478 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2479 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2480 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2481 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2482 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2483 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2484 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2485 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2486 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2487 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2488 * testsuite/gas/mips/isa-override-2.l: New list test.
2489 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2490 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2491 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2492 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2493 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2494 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2495 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2496 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2497 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2498 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2499 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2500 output.
2501 * testsuite/gas/mips/isa-override-1.s: New test source.
2502 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2503 * testsuite/gas/mips/isa-override-2.s: New test source.
2504 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2505 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2506 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2507 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2508 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2509 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2510 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2511 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2512 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2513 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2514 * testsuite/gas/mips/mips.exp: Run the new tests.
2515
2516 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2517
2518 * cgen.c: Likewise.
2519 * config/tc-bfin.c: Likewise.
2520 * config/tc-ia64.c: Likewise.
2521 * config/tc-mep.c: Likewise.
2522 * config/tc-metag.c: Likewise.
2523 * config/tc-nios2.c: Likewise.
2524 * config/tc-rl78.c: Likewise.
2525
2526 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2527
2528 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2529 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2530 (ARC Directives): Add NPS400 to .cpu directive list.
2531
2532 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2533
2534 * config/tc-aarch64.c (aarch64_features): Add "ras".
2535 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2536 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2537 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2538 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2539 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2540
2541 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2542
2543 * testsuite/gas/arc/nps400-6.d: New file.
2544 * testsuite/gas/arc/nps400-6.s: New file.
2545
2546 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2547
2548 * testsuite/gas/arc/nps400-4.d: New file.
2549 * testsuite/gas/arc/nps400-4.s: New file.
2550 * testsuite/gas/arc/nps400-5.d: New file.
2551 * testsuite/gas/arc/nps400-5.s: New file.
2552
2553 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2554
2555 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2556 documentation.
2557
2558 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2559
2560 Revert prevous change.
2561 * config/tc-arc.c (arc_option): Make .cpu directive
2562 case-sensitive again.
2563
2564 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2565
2566 * config/tc-arc.c (arc_option): Make .cpu directive
2567 case-insensitive.
2568
2569 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2570
2571 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2572
2573 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2574
2575 * config/tc-mips.c (md_begin): Remove useless assignment.
2576
2577 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 * Makefile.in: Regenerated with automake 1.11.6.
2580 * aclocal.m4: Likewise.
2581 * doc/Makefile.in: Likewise.
2582
2583 2016-04-15 Alan Modra <amodra@gmail.com>
2584
2585 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2586
2587 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2588
2589 * config/tc-nios2.c (nios2_as_options): Make file static.
2590 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2591 * config/tc-sparc.c (native_op_table): Likewise.
2592
2593 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2594
2595 * config/tc-m32c.c (M32C_Macros): Remove.
2596 * config/tc-msp430.c (option_numbers): Likewise.
2597
2598 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2599
2600 * testsuite/gas/arc/nps400-3.d: New file.
2601 * testsuite/gas/arc/nps400-3.s: New file.
2602
2603 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2604
2605 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2606 * testsuite/gas/arc/warn.s: Likewise.
2607 * testsuite/gas/elf/elf.exp: Run test for arc.
2608
2609 2016-04-14 Nick Clifton <nickc@redhat.com>
2610
2611 PR target/19938
2612 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2613 sections possibly having the SHF_STRINGS flag bit set.
2614 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2615
2616 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2617
2618 * config/tc-arc.c (mach_type_specified_p): Change type to
2619 bfd_boolean.
2620 (arc_option): Set private flags when parsing cpu pseudo-op.
2621 (md_parse_option): Set mach_type_specified_p to TRUE.
2622
2623 2016-04-13 Nick Clifton <nickc@redhat.com>
2624
2625 PR target/19937
2626 * testsuite/gas/v850/pr19937.s: New test.
2627 * testsuite/gas/v850/pr19937.d: New test control file.
2628 * testsuite/gas/v850/basic.exp: Run the new test.
2629
2630 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2631 Andrew Bennett <andrew.bennett@imgtec.com>
2632
2633 * config/tc-mips.c (relaxed_branch_length): Use the long
2634 sequence where the target is a weak symbol.
2635 (relaxed_micromips_32bit_branch_length): Likewise.
2636 (relaxed_micromips_16bit_branch_length): Likewise.
2637 * testsuite/gas/mips/branch-weak-1.d: New test.
2638 * testsuite/gas/mips/branch-weak-2.d: New test.
2639 * testsuite/gas/mips/branch-weak-3.d: New test.
2640 * testsuite/gas/mips/branch-weak-4.d: New test.
2641 * testsuite/gas/mips/branch-weak-5.d: New test.
2642 * testsuite/gas/mips/branch-weak.l: New stderr output.
2643 * testsuite/gas/mips/branch-weak.s: New test source.
2644 * testsuite/gas/mips/mips.exp: Run the new tests.
2645
2646 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2647
2648 * config/tc-mips.c (relaxed_branch_length): Use the long
2649 sequence where the distance cannot be determined.
2650 (relaxed_micromips_32bit_branch_length): Likewise.
2651 * testsuite/gas/mips/branch-extern-1.d: New test.
2652 * testsuite/gas/mips/branch-extern-2.d: New test.
2653 * testsuite/gas/mips/branch-extern-3.d: New test.
2654 * testsuite/gas/mips/branch-extern-4.d: New test.
2655 * testsuite/gas/mips/branch-extern.l: New stderr output.
2656 * testsuite/gas/mips/branch-extern.s: New test source.
2657 * testsuite/gas/mips/branch-section-1.d: New test.
2658 * testsuite/gas/mips/branch-section-2.d: New test.
2659 * testsuite/gas/mips/branch-section-3.d: New test.
2660 * testsuite/gas/mips/branch-section-4.d: New test.
2661 * testsuite/gas/mips/branch-section.l: New stderr output.
2662 * testsuite/gas/mips/branch-section.s: New test source.
2663 * testsuite/gas/mips/mips.exp: Run the new tests.
2664
2665 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2666
2667 * testsuite/gas/arc/textauxregister.d: New file.
2668 * testsuite/gas/arc/textauxregister.s: Likewise.
2669 * testsuite/gas/arc/textcondcode.d: Likewise.
2670 * testsuite/gas/arc/textcondcode.s: Likewise.
2671 * testsuite/gas/arc/textcoreregister.d: Likewise.
2672 * testsuite/gas/arc/textcoreregister.s: Likewise.
2673 * testsuite/gas/arc/textpseudoop.d: Likewise.
2674 * testsuite/gas/arc/textpseudoop.s: Likewise.
2675 * testsuite/gas/arc/ld2.d: Update test.
2676 * testsuite/gas/arc/st.d: Likewise.
2677 * testsuite/gas/arc/taux.d: Likewise.
2678 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2679 .extCoreRegister and .extAuxRegister documentation.
2680 * config/tc-arc.c (arc_extcorereg): New function.
2681 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2682 .extAuxRegister pseudo-ops.
2683 (extRegister_t): New type.
2684 (ext_condcode, arc_aux_hash): New global variable.
2685 (find_opcode_match): Check for extensions.
2686 (preprocess_operands): Likewise.
2687 (md_begin): Add aux registers in a hash.
2688 (assemble_insn): Update use arc_flags member.
2689 (tokenize_extregister): New function.
2690 (create_extcore_section): Likewise.
2691 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2692
2693 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2694
2695 * testsuite/gas/arc/noargs_a7.d: New file.
2696 * testsuite/gas/arc/noargs_a7.s: Likewise.
2697 * testsuite/gas/arc/noargs_hs.d: Likewise.
2698 * testsuite/gas/arc/noargs_hs.s: Likewise.
2699
2700 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2701
2702 * testsuite/gas/arc/textinsn-errors.d: New File.
2703 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2704 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2705 * testsuite/gas/arc/textinsn2op.d: Likewise.
2706 * testsuite/gas/arc/textinsn2op.s: Likewise.
2707 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2708 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2709 * testsuite/gas/arc/textinsn3op.d: Likewise.
2710 * testsuite/gas/arc/textinsn3op.s: Likewise.
2711 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2712 documentation.
2713 * config/tc-arc.c (arcext_section): New variable.
2714 (arc_extinsn): New function.
2715 (md_pseudo_table): Add .extInstruction pseudo op.
2716 (attributes_t): New type.
2717 (suffixclass, syntaxclass, syntaxclassmod): New constant
2718 structures.
2719 (find_opcode_match): Remove arc_num_opcodes.
2720 (md_begin): Likewise.
2721 (tokenize_extinsn): New function.
2722 (arc_set_ext_seg): Likewise.
2723 (create_extinst_section): Likewise.
2724
2725 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2726
2727 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2728 (arc_adjust_symtab): New function.
2729 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2730 (obj_adjust_symtab): Likewise.
2731 * testsuite/gas/arc/taux.d: New file.
2732 * testsuite/gas/arc/taux.s: Likewise.
2733
2734 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2735
2736 * config/tc-mips.c (s_option): Sanitize `.option picX'
2737 pseudo-op.
2738 * testsuite/gas/mips/option-pic-1.d: New test.
2739 * testsuite/gas/mips/option-pic-2.l: New list test.
2740 * testsuite/gas/mips/option-pic-1.s: New test source.
2741 * testsuite/gas/mips/option-pic-2.s: New test source.
2742 * testsuite/gas/mips/mips.exp: Run the new tests.
2743
2744 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2745
2746 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2747 PIC.
2748 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2749 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2750 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2751 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2752 * testsuite/gas/mips/mips.exp: Run the new tests.
2753
2754 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2755
2756 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2757
2758 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2759
2760 * messages.c (as_bad): Fix a typo in description.
2761
2762 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2763
2764 * config/tc-mips.c (mips_check_options): Unify messages.
2765
2766 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2767
2768 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2769 consistently.
2770
2771 2016-04-08 Nick Clifton <nickc@redhat.com>
2772
2773 PR target/19910
2774 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2775 COFF and AOUT sparc targets.
2776
2777 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2778
2779 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2780 * testsuite/gas/arc/nps400-2.d: New file.
2781 * testsuite/gas/arc/nps400-2.s: New file.
2782
2783 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2784
2785 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2786 structure.
2787 (arc_opcode_hash_entry_iterator_init): New function.
2788 (arc_opcode_hash_entry_iterator_next): New function.
2789 (find_opcode_match): Iterate over all arc_opcode entries
2790 referenced by the arc_opcode_hash_entry passed in as a parameter.
2791
2792 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2793
2794 * config/tc-arc.c (arc_find_opcode): Now returns
2795 arc_opcode_hash_entry pointer.
2796 (find_opcode_match): Update argument type, extract arc_opcode from
2797 incoming arc_opcode_hash_entry.
2798 (find_special_case_pseudo): Update return type.
2799 (find_special_case_flag): Update return type.
2800 (find_special_case): Update return type.
2801 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2802 instruction mnemonic, then use find_opcode_match to identify
2803 specific arc_opcode.
2804
2805 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2806
2807 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2808 (arc_find_opcode): New function.
2809 (find_special_case_pseudo): Use arc_find_opcode.
2810 (find_special_case_flag): Likewise.
2811 (assemble_tokens): Likewise.
2812 (md_begin): Build hash using struct arc_opcode_hash_entry.
2813
2814 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2815
2816 * config/tc-arc.c (arc_option): Prepare string for automatic
2817 translation.
2818 (declare_register): Likewise.
2819
2820 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2821
2822 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2823 Correct entry for RDMA. Alpha sort entries.
2824
2825 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2826
2827 * config/tc-arc.c (tokenize_flags): Allow greater range of
2828 characters into flag names.
2829
2830 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2831
2832 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2833 new de_fault label.
2834 (preprocess_operands): Delete.
2835 (assemble_tokens): Remove call to preprocess_operands.
2836
2837 2016-04-07 Nick Clifton <nickc@redhat.com>
2838
2839 PR gas/19910
2840 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2841 inside a %-macro could not be fully parsed.
2842 * expr.c (integer_constant): Accept and ignore U suffixes to
2843 integers.
2844 (operand): When a missing closing parenthesis is encountered,
2845 report the character that was found instead.
2846 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2847 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2848 * testsuite/gas/sparc/pr19910-1.s: New test.
2849 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2850 * testsuite/gas/sparc/pr19910-2.s: New test.
2851 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2852
2853 2016-04-06 Nick Clifton <nickc@redhat.com>
2854
2855 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2856 an EINT instruction. Warn/fix as necessary.
2857 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2858 * testsuite/gas/msp430/bad.l: Update expected messages.
2859
2860 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2861
2862 * testsuite/gas/arc/nps400-1.d: Update expected results.
2863 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2864
2865 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2866
2867 * config/tc-arc.c (is_code_density_p): Compare directly the
2868 subclass field.
2869 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2870 (check_cpu_feature): New function.
2871 (find_opcode_match): Use check_cpu_feature function.
2872 (preprocess_operands): Likewise.
2873 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2874 * testsuite/gas/arc/tdpfp.d: New file.
2875 * testsuite/gas/arc/tfpuda.d: Likewise.
2876 * testsuite/gas/arc/tfpx.s: Likewise.
2877
2878 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2879
2880 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2881 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2882 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2883 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2884 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2885 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2886 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2887 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2888 for Thumb.
2889 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2890
2891 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2892
2893 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2894 JUMP instructions type.
2895 * testsuite/gas/arc/relocs-errors.d: New file.
2896 * testsuite/gas/arc/relocs-errors.err: Likewise.
2897 * testsuite/gas/arc/relocs-errors.s: Likewise.
2898
2899 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2900
2901 PR gas/19909
2902 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2903 only if i.disp_encoding != disp_encoding_32bit.
2904 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2905 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2906 * gas/testsuite/gas/i386/disp32.d: Updated.
2907 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2908
2909 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 PR gas/19498
2912 * testsuite/gas/i386/i386.exp: Run pr19498.
2913 * testsuite/gas/i386/pr19498.d: New file.
2914 * testsuite/gas/i386/pr19498.s: Likewise.
2915
2916 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2917
2918 * config/tc-arc.h: Include 'opcode/arc.h'.
2919 (MAX_INSN_ARGS): Delete.
2920 (MAX_INSN_FLGS): Delete.
2921
2922 2016-04-04 Alan Modra <amodra@gmail.com>
2923
2924 PR 19498
2925 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2926 from function on all paths that set sy_resolving.
2927
2928 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2929
2930 * app.c (app_push): use XNEW macro.
2931 * as.c: Likewise.
2932 * config/obj-elf.c (obj_elf_change_section): Likewise.
2933 (elf_copy_symbol_attributes): Likewise.
2934 (obj_elf_size): Likewise.
2935 (build_group_lists): Likewise.
2936 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2937 (md_assemble): Likewise.
2938 (tc_gen_reloc): Likewise.
2939 (get_upper_str): Likewise.
2940 (aarch64_parse_features): Likewise.
2941 * config/tc-arm.c (insert_reg_alias): Likewise.
2942 (insert_neon_reg_alias): Likewise.
2943 (find_or_make_literal_pool): Likewise.
2944 (s_arm_elf_cons): Likewise.
2945 (add_unwind_opcode): Likewise.
2946 (arm_parse_extension): Likewise.
2947 * config/tc-avr.c (create_record_for_frag): Likewise.
2948 * config/tc-crx.c: Likewise.
2949 * config/tc-d30v.c: Likewise.
2950 * config/tc-dlx.c (s_proc): Likewise.
2951 * config/tc-ft32.c: Likewise.
2952 * config/tc-h8300.c: Likewise.
2953 * config/tc-hppa.c (pa_proc): Likewise.
2954 (create_new_space): Likewise.
2955 (create_new_subspace): Likewise.
2956 * config/tc-i860.c: Likewise.
2957 * config/tc-i960.c: Likewise.
2958 * config/tc-ia64.c: Likewise.
2959 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2960 (iq2000_record_hi16): Likewise.
2961 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2962 * config/tc-m32r.c (debug_sym): Likewise.
2963 (m32r_record_hi16): Likewise.
2964 * config/tc-m68k.c (m68k_ip): Likewise.
2965 (md_begin): Likewise.
2966 * config/tc-mcore.c: Likewise.
2967 * config/tc-microblaze.c (check_got): Likewise.
2968 * config/tc-mips.c (append_insn): Likewise.
2969 (s_mipsset): Likewise.
2970 (mips_record_label): Likewise.
2971 (s_mips_end): Likewise.
2972 * config/tc-mmix.c (mmix_frob_file): Likewise.
2973 * config/tc-mn10200.c: Likewise.
2974 * config/tc-mn10300.c: Likewise.
2975 * config/tc-moxie.c: Likewise.
2976 * config/tc-msp430.c: Likewise.
2977 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2978 * config/tc-ns32k.c: Likewise.
2979 * config/tc-or1k.c: Likewise.
2980 * config/tc-pdp11.c: Likewise.
2981 * config/tc-pj.c (fake_opcode): Likewise.
2982 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2983 (ppc_macro): Likewise.
2984 (ppc_dwsect): Likewise.
2985 (ppc_machine): Likewise.
2986 * config/tc-rl78.c (rl78_frag_init): Likewise.
2987 * config/tc-rx.c (rx_frag_init): Likewise.
2988 * config/tc-s390.c (s390_lit_suffix): Likewise.
2989 (s390_machine): Likewise.
2990 (s390_machinemode): Likewise.
2991 * config/tc-score.c (s3_insert_reg): Likewise.
2992 (s3_gen_reloc): Likewise.
2993 * config/tc-score7.c (s7_insert_reg): Likewise.
2994 (s7_gen_reloc): Likewise.
2995 * config/tc-tic30.c (tic30_operand): Likewise.
2996 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2997 * config/tc-tic54x.c (stag_add_field): Likewise.
2998 (tic54x_struct): Likewise.
2999 (tic54x_space): Likewise.
3000 (tic54x_field): Likewise.
3001 (tic54x_mlib): Likewise.
3002 (subsym_substitute): Likewise.
3003 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3004 * config/tc-vax.c: Likewise.
3005 * config/tc-xc16x.c: Likewise.
3006 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3007 (directive_push): Likewise.
3008 (xtensa_begin_directive): Likewise.
3009 (tokenize_arguments): Likewise.
3010 (xtensa_add_literal_sym): Likewise.
3011 (new_resource_table): Likewise.
3012 (resize_resource_table): Likewise.
3013 (emit_single_op): Likewise.
3014 (xtensa_create_trampoline_frag): Likewise.
3015 (xtensa_maybe_create_literal_pool_frag): Likewise.
3016 (xtensa_add_config_info): Likewise.
3017 (xtensa_realloc_fixup_cache): Likewise.
3018 (add_subseg_info): Likewise.
3019 (cache_literal_section): Likewise.
3020 (add_xt_block_frags): Likewise.
3021 (add_xt_prop_frags): Likewise.
3022 (init_op_placement_info_table): Likewise.
3023 (build_section_rename): Likewise.
3024 * config/tc-z80.c: Likewise.
3025 * config/tc-z8k.c: Likewise.
3026 * depend.c (register_dependency): Likewise.
3027 * dwarf2dbg.c (get_line_subseg): Likewise.
3028 (dwarf2_gen_line_info_1): Likewise.
3029 (get_filenum): Likewise.
3030 * ecoff.c (allocate_scope): Likewise.
3031 (allocate_vlinks): Likewise.
3032 (allocate_shash): Likewise.
3033 (allocate_thash): Likewise.
3034 (allocate_tag): Likewise.
3035 (allocate_forward): Likewise.
3036 (allocate_thead): Likewise.
3037 (allocate_lineno_list): Likewise.
3038 * expr.c (make_expr_symbol): Likewise.
3039 * hash.c (hash_new_sized): Likewise.
3040 * input-file.c (input_file_push): Likewise.
3041 * listing.c (file_info): Likewise.
3042 (listing_newline): Likewise.
3043 * macro.c (new_formal): Likewise.
3044 (define_macro): Likewise.
3045 * remap.c (add_debug_prefix_map): Likewise.
3046 * symbols.c (symbol_find_noref): Likewise.
3047 (define_dollar_label): Likewise.
3048 (fb_label_instance_inc): Likewise.
3049 (symbol_relc_make_value): Likewise.
3050
3051 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3052
3053 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3054 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3055 (ppc_znop): Likewise.
3056 (ppc_pe_section): Likewise.
3057 (ppc_frob_symbol): Likewise.
3058 * config/tc-tic30.c (tic30_operand): Likewise.
3059 * config/tc-tic4x.c (tic4x_sect): Likewise.
3060 (tic4x_usect): Likewise.
3061
3062 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3063
3064 * config/tc-alpha.c: Const qualify FLT_CHARS.
3065 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3066 * config/tc-cris.h: Likewise.
3067 * expr.c: Likewise.
3068 * config/tc-mmix.c (md_atof): Adjust comment.
3069 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3070 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3071
3072 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3073
3074 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3075 * config/tc-score7.c (s7_gen_reloc): Likewise.
3076
3077 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3078
3079 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3080 bfd_reloc_code_real_type.
3081
3082 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3083
3084 * config/bfin-parse.y (current_inputline): Remove definition.
3085 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3086
3087 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3088
3089 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3090 strings.
3091
3092 2016-04-02 Alan Modra <amodra@gmail.com>
3093
3094 PR 19896
3095 * read.c (assign_symbol): Consume rest of line after an error
3096 rather than continuing to process the line.
3097
3098 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3099
3100 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3101 (MAX_FLAG_NAME_LENGTH): ...this.
3102 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3103 * config/tc-arc.c (tokenize_flags): Likewise.
3104
3105 2016-04-01 Alan Modra <amodra@gmail.com>
3106
3107 * cgen.c (weak_operand_overflow_check): Return const char*.
3108 * messages.c (as_internal_value_out_of_range): Formatting.
3109 (as_warn_value_out_of_range): Consify prefix param.
3110 (as_bad_value_out_of_range): Likewise.
3111 * read.c (s_errwarn): Constify msg..
3112 (s_float_space, float_cons): ..and err.
3113 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3114 ieee_md_atof, vax_md_atof): Update prototypes.
3115 * tc.h (md_atof): Update prototype.
3116 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3117 * config/atof-vax.c (vax_md_atof): Likewise.
3118 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3119 * config/tc-aarch64.c (md_atof): Return const char*.
3120 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3121 (s_alpha_comm): Constify sec_name.
3122 (section_name): Constify.
3123 (s_alpha_section): Consify name..
3124 (alpha_elf_section_letter): ..and ptr_msg param..
3125 (md_atof): ..and return.
3126 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3127 * config/tc-arc.c (md_atof): Return const char*.
3128 * config/tc-arm.c (md_atof): Likewise.
3129 * config/tc-avr.c (md_atof): Likewise.
3130 * config/tc-bfin.c (md_atof): Likewise.
3131 * config/tc-cr16.c (md_atof): Likewise.
3132 * config/tc-cris.c (md_atof): Likewise.
3133 * config/tc-crx.c (md_atof): Likewise.
3134 * config/tc-d10v.c (md_atof): Likewise.
3135 * config/tc-d30v.c (md_atof): Likewise.
3136 * config/tc-dlx.c (md_atof): Likewise.
3137 * config/tc-epiphany.c (md_atof): Likewise.
3138 * config/tc-fr30.c (md_atof): Likewise.
3139 * config/tc-frv.c (md_atof): Likewise.
3140 * config/tc-ft32.c (md_atof): Likewise.
3141 * config/tc-h8300.c (md_atof): Likewise.
3142 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3143 (struct default_space_dict): Likewise.
3144 (create_new_space): Constify name param.
3145 (create_new_subspace): Likewise.
3146 (is_defined_space, is_defined_subspace): Likewise.
3147 (pa_parse_space_stmt): Constify space_name param.
3148 (md_atof): Return const char*.
3149 (pa_spaces_begin): Constify name.
3150 * config/tc-i370.c (md_atof): Return const char*.
3151 * config/tc-i386.c (md_atof): Likewise.
3152 (x86_64_section_letter): Constify ptr_msg param.
3153 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3154 * config/tc-i860.c (struct i860_it): Constify error.
3155 (md_atof): Return const char*.
3156 * config/tc-i960.c (md_atof): Likewise.
3157 * config/tc-ia64.c (md_atof): Likewise.
3158 (ia64_elf_section_letter): Constify ptr_msg param.
3159 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3160 * config/tc-ip2k.c (md_atof): Return const char*.
3161 * config/tc-iq2000.c (md_atof): Likewise.
3162 * config/tc-lm32.c (md_atof): Likewise.
3163 * config/tc-m32c.c (md_atof): Likewise.
3164 * config/tc-m32r.c (md_atof): Likewise.
3165 * config/tc-m68hc11.c (md_atof): Likewise.
3166 * config/tc-m68k.c (md_atof): Likewise.
3167 * config/tc-mcore.c (md_atof): Likewise.
3168 * config/tc-mep.c (md_atof): Likewise.
3169 (mep_elf_section_letter): Constify ptr_msg param.
3170 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3171 * config/tc-metag.c (md_atof): Return const char*.
3172 * config/tc-microblaze.c (md_atof): Likewise.
3173 * config/tc-microblaze.h (md_atof): Delete prototype.
3174 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3175 (md_atof): Return const char*.
3176 * config/tc-mmix.c (md_atof): Likewise.
3177 * config/tc-mn10200.c (md_atof): Likewise.
3178 * config/tc-mn10300.c (md_atof): Likewise.
3179 * config/tc-moxie.c (md_atof): Likewise.
3180 * config/tc-msp430.c (md_atof): Likewise.
3181 * config/tc-mt.c (md_atof): Likewise.
3182 * config/tc-nds32.c (md_atof): Likewise.
3183 * config/tc-nios2.c (md_atof): Likewise.
3184 (nios2_elf_section_letter): Constify ptr_msg param.
3185 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3186 * config/tc-ns32k.c (md_atof): Return const char*.
3187 * config/tc-or1k.c (md_atof): Likewise.
3188 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3189 (md_atof): Return const char*.
3190 * config/tc-pj.c (md_atof): Likewise.
3191 * config/tc-ppc.c (md_atof): Likewise.
3192 * config/tc-rl78.c (md_atof): Likewise.
3193 * config/tc-rx.c (md_atof): Likewise.
3194 * config/tc-s390.c (md_atof): Likewise.
3195 * config/tc-score.c (s3_atof, md_atof): Likewise.
3196 * config/tc-sh.c (md_atof): Likewise.
3197 * config/tc-sparc.c (struct sparc_it): Constify error.
3198 (md_atof): Return const char*.
3199 * config/tc-spu.c (md_atof): Likewise.
3200 * config/tc-tic30.c (md_atof): Likewise.
3201 * config/tc-tic4x.c (md_atof): Likewise.
3202 * config/tc-tic54x.c (md_atof): Likewise.
3203 * config/tc-tic6x.c (md_atof): Likewise.
3204 * config/tc-tilegx.c (md_atof): Likewise.
3205 * config/tc-tilepro.c (md_atof): Likewise.
3206 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3207 * config/tc-vax.c (md_atof): Likewise.
3208 * config/tc-visium.c (md_atof): Likewise.
3209 * config/tc-xc16x.c (md_atof): Likewise.
3210 * config/tc-xgate.c (md_atof): Likewise.
3211 * config/tc-xstormy16.c (md_atof): Likewise.
3212 * config/tc-xtensa.c (md_atof): Likewise.
3213 * config/tc-z80.c (md_atof): Likewise.
3214 * config/tc-z8k.c (md_atof): Likewise.
3215
3216 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3217
3218 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3219 const.
3220 (xtensa_section_rename): Make argument type const char *.
3221 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3222
3223 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3224
3225 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3226 args[0].
3227
3228 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3229
3230 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3231 char *.
3232 (m32c_indirect_operand): Likewise.
3233 * config/tc-nds32.c (do_pseudo_b): Likewise.
3234 (do_pseudo_bal): Likewise.
3235 (do_pseudo_ls_bhw): Likewise.
3236
3237 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3238
3239 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3240
3241 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3242
3243 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3244 get_symbol_name ().
3245 * config/tc-sparc.c (s_register): Cast a literal to char * in
3246 assignment.
3247
3248 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3249
3250 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3251 input_line_pointer.
3252 * config/tc-m32r.c (expand_debug_syms): Likewise.
3253 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3254 * config/tc-z80.c (md_begin): Likewise.
3255 * stabs.c (stabs_generate_asm_func): Likewise.
3256
3257 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3258
3259 * cgen.c: Modernize the way functions declare arguments.
3260 * config/tc-bfin.c: Likewise.
3261 * config/tc-pdp11.c: Likewise.
3262 * literal.c: Likewise.
3263 * read.c: Likewise.
3264 * stabs.c: Likewise.
3265
3266 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3267
3268 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3269 variables unsigned char[].
3270 * config/tc-alpha.c (alpha_handle_align): Likewise.
3271 * config/tc-arm.c (arm_handle_align): Likewise.
3272 * config/tc-z80.c: Likewise.
3273
3274 2016-03-30 Nick Clifton <nickc@redhat.com>
3275
3276 PR target/19880
3277 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3278 shifting.
3279
3280 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3281
3282 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3283 * testsuite/gas/elf/elf.exp: Likewise.
3284 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3285
3286 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3287
3288 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3289
3290 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3291
3292 * testsuite/gas/arc/ext2op.d: New file.
3293 * testsuite/gas/arc/ext2op.s: Likewise.
3294 * testsuite/gas/arc/ext3op.d: Likewise.
3295 * testsuite/gas/arc/ext3op.s: Likewise.
3296
3297 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3298
3299 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3300 qualifier.
3301 * config/tc-alpha.c (md_parse_option): Likewise.
3302 * config/tc-arc.c (md_parse_option): Likewise.
3303 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3304 (md_parse_option): Likewise.
3305 * config/tc-avr.c (md_parse_option): Likewise.
3306 * config/tc-bfin.c (md_parse_option): Likewise.
3307 * config/tc-cr16.c (md_parse_option): Likewise.
3308 * config/tc-cris.c (s_cris_arch): Likewise.
3309 (md_parse_option): Likewise.
3310 * config/tc-crx.c (md_parse_option): Likewise.
3311 * config/tc-d10v.c (md_parse_option): Likewise.
3312 * config/tc-d30v.c (md_parse_option): Likewise.
3313 * config/tc-dlx.c (md_parse_option): Likewise.
3314 * config/tc-epiphany.c (md_parse_option): Likewise.
3315 * config/tc-fr30.c (md_parse_option): Likewise.
3316 * config/tc-frv.c (md_parse_option): Likewise.
3317 * config/tc-ft32.c (md_parse_option): Likewise.
3318 * config/tc-h8300.c (md_parse_option): Likewise.
3319 * config/tc-hppa.c (md_parse_option): Likewise.
3320 * config/tc-i370.c (md_parse_option): Likewise.
3321 * config/tc-i386.c (md_parse_option): Likewise.
3322 * config/tc-i860.c (md_parse_option): Likewise.
3323 * config/tc-i960.c (md_parse_option): Likewise.
3324 * config/tc-ia64.c (md_parse_option): Likewise.
3325 * config/tc-ip2k.c (md_parse_option): Likewise.
3326 * config/tc-iq2000.c (md_parse_option): Likewise.
3327 * config/tc-lm32.c (md_parse_option): Likewise.
3328 * config/tc-m32c.c (md_parse_option): Likewise.
3329 * config/tc-m32r.c (md_parse_option): Likewise.
3330 * config/tc-m68hc11.c (md_parse_option): Likewise.
3331 * config/tc-m68k.c (md_parse_option): Likewise.
3332 * config/tc-mcore.c (md_parse_option): Likewise.
3333 * config/tc-mep.c (md_parse_option): Likewise.
3334 * config/tc-metag.c (struct metag_long_option): Likewise.
3335 (md_parse_option): Likewise.
3336 * config/tc-microblaze.c (md_parse_option): Likewise.
3337 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3338 * config/tc-mips.c (md_parse_option): Adjust.
3339 * config/tc-mmix.c (md_parse_option): Likewise.
3340 * config/tc-mn10200.c (md_parse_option): Likewise.
3341 * config/tc-mn10300.c (md_parse_option): Likewise.
3342 * config/tc-moxie.c (md_parse_option): Likewise.
3343 * config/tc-msp430.c (md_parse_option): Likewise.
3344 * config/tc-mt.c (md_parse_option): Likewise.
3345 * config/tc-nds32.c (md_parse_option): Likewise.
3346 * config/tc-nds32.h (nds32_parse_option): Likewise.
3347 * config/tc-nios2.c (md_parse_option): Likewise.
3348 * config/tc-ns32k.c (md_parse_option): Likewise.
3349 * config/tc-or1k.c (md_parse_option): Likewise.
3350 * config/tc-pdp11.c (md_parse_option): Likewise.
3351 * config/tc-pj.c (md_parse_option): Likewise.
3352 * config/tc-ppc.c (md_parse_option): Likewise.
3353 * config/tc-rl78.c (md_parse_option): Likewise.
3354 * config/tc-rx.c (md_parse_option): Likewise.
3355 * config/tc-s390.c (s390_parse_cpu): Likewise.
3356 * config/tc-score.c (md_parse_option): Likewise.
3357 * config/tc-sh.c (md_parse_option): Likewise.
3358 * config/tc-sparc.c (md_parse_option): Likewise.
3359 * config/tc-spu.c (md_parse_option): Likewise.
3360 * config/tc-tic30.c (md_parse_option): Likewise.
3361 * config/tc-tic4x.c (md_parse_option): Likewise.
3362 * config/tc-tic54x.c (md_parse_option): Likewise.
3363 * config/tc-tic6x.c (md_parse_option): Likewise.
3364 * config/tc-tilegx.c (md_parse_option): Likewise.
3365 * config/tc-tilepro.c (md_parse_option): Likewise.
3366 * config/tc-v850.c (md_parse_option): Likewise.
3367 * config/tc-vax.c (md_parse_option): Likewise.
3368 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3369 * config/tc-xc16x.c (md_parse_option): Likewise.
3370 * config/tc-xgate.c (md_parse_option): Likewise.
3371 * config/tc-xstormy16.c (md_parse_option): Likewise.
3372 * config/tc-xtensa.c (md_parse_option): Likewise.
3373 * config/tc-z80.c (md_parse_option): Likewise.
3374 * config/tc-z8k.c (md_parse_option): Likewise.
3375 * tc.h (md_parse_option): Likewise.
3376
3377 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3378
3379 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3380 * config/tc-hppa.c (fix_new_hppa): Likewise.
3381 (pa_vtable_entry): Likewise.
3382 (pa_vtable_inherit): Likewise.
3383 * config/tc-m68k.c (md_begin): Likewise.
3384
3385 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3386
3387 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3388 * config/obj-elf.h (obj_elf_section_name): Adjust.
3389 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3390 (aarch64_parse_cpu): Likewise.
3391 (aarch64_parse_arch): Likewise.
3392 * config/tc-arm.c (arm_parse_extension): Likewise.
3393 (arm_parse_cpu): Likewise.
3394 (arm_parse_arch): Likewise.
3395 * config/tc-nds32.c: Likewise.
3396 * config/xtensa-relax.c (parse_special_fn): Likewise.
3397 * stabs.c (generate_asm_file): Likewise.
3398
3399 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3400
3401 * config/tc-cr16.c (cr16_assemble): New function.
3402 (md_assemble): Call cr16_assemble.
3403
3404 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3405
3406 * as.c (parse_args): Adjust.
3407 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3408 * config/obj-elf.c (elf_frob_symbol): Adjust.
3409
3410 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3411
3412 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3413 registers to be in the 16..31 range.
3414
3415 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3416
3417 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3418 frag_var ().
3419
3420 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3421
3422 * config/tc-visium.c (md_atof): Localize the string returned on
3423 failure.
3424
3425 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3426
3427 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3428 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3429 * config/tc-m68hc11.c (md_begin): Likewise.
3430 (print_opcode_list): Likewise.
3431 * config/tc-msp430.c (msp430_section): Likewise.
3432 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3433 (s3_build_dependency_insn_hsh): Likewise.
3434 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3435 (s7_build_dependency_insn_hsh): Likewise.
3436 * config/tc-tic4x.c: Likewise.
3437 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3438 (subsym_get_arg): Likewise.
3439 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3440 (get_directive): Likewise.
3441 (cache_literal_section): Likewise.
3442 * config/xtensa-relax.c: Likewise.
3443 * symbols.c (symbol_create): Likewise.
3444 (local_symbol_make): Likewise.
3445 (symbol_relc_make_expr): Likewise.
3446
3447 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3448
3449 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3450 str.
3451
3452 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3453
3454 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3455 call with a switch.
3456
3457 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3458
3459 * config/tc-ia64.c (ia64_do_align): Remove.
3460 (ia64_cons_align): Call do_align () directly.
3461 (dot_proc): Likewise.
3462 (stmt_float_cons): Likewise.
3463
3464 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3465
3466 * listing.c (listing_message): Use XNEW style allocation macros.
3467 * read.c (read_a_source_file): Likewise.
3468 (read_symbol_name): Likewise.
3469 (s_mri_common): Likewise.
3470 (assign_symbol): Likewise.
3471 (s_reloc): Likewise.
3472 (emit_expr_with_reloc): Likewise.
3473 (s_incbin): Likewise.
3474 (s_include): Likewise.
3475 * sb.c (sb_build): Likewise.
3476 (sb_check): Likewise.
3477
3478 2016-03-22 Alan Modra <amodra@gmail.com>
3479
3480 * write.c (record_alignment): Revert 2016-02-18 change.
3481
3482 2016-03-22 Alan Modra <amodra@gmail.com>
3483
3484 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3485 (emit_jsrjmp, tc_gen_reloc): Likewise.
3486 * config/tc-i370.c (i370_macro): Likewise.
3487
3488 2016-03-22 Nick Clifton <nickc@redhat.com>
3489
3490 * configure: Regenerate.
3491
3492 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3493
3494 * testsuite/gas/arc/nps400-0.d: New file.
3495 * testsuite/gas/arc/nps400-0.s: New file.
3496 * testsuite/gas/arc/nps400-1.d: New file.
3497 * testsuite/gas/arc/nps400-1.s: New file.
3498
3499 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3500
3501 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3502 declarations to start of block. Reset code on all flags before
3503 attempting to match them. Handle multiple hits on the same flag.
3504 Handle flag class.
3505 * testsuite/gas/arc/asm-errors.d: New file.
3506 * testsuite/gas/arc/asm-errors.err: New file.
3507 * testsuite/gas/arc/asm-errors.s: New file.
3508
3509 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3510
3511 * config/tc-arc.c (cpu_types): Add nps400 entry.
3512 (check_zol): Handle nps400.
3513
3514 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3515
3516 * config/tc-arc.c (arc_select_cpu): Remove use of
3517 EF_ARC_CPU_GENERIC.
3518
3519 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3520
3521 * config/tc-arc.c (arc_target): Delay initialisation until
3522 arc_select_cpu.
3523 (arc_target_name): Likewise.
3524 (arc_features): Likewise.
3525 (arc_mach_type): Likewise.
3526 (cpu_types): Remove "all" entry.
3527 (arc_select_cpu): New function, most of the content is from...
3528 (md_parse_option): ... here. Call new arc_select_cpu.
3529 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3530
3531 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3532
3533 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3534 * testsuite/gas/arc/inline-data-2.d: New file.
3535
3536 2016-03-21 Nick Clifton <nickc@redhat.com>
3537
3538 * atof-generic.c: Replace use of alloca with call to xmalloc.
3539 * cgen.c: Likewise.
3540 * dwarf2dbg.c: Likewise.
3541 * macro.c: Likewise.
3542 * remap.c: Likewise.
3543 * stabs.c: Likewise.
3544 * symbols.c: Likewise.
3545 * config/obj-elf.c: Likewise.
3546 * config/tc-aarch64.c: Likewise.
3547 * config/tc-arc.c: Likewise.
3548 * config/tc-arm.c: Likewise.
3549 * config/tc-avr.c: Likewise.
3550 * config/tc-ia64.c: Likewise.
3551 * config/tc-mips.c: Likewise.
3552 * config/tc-msp430.c: Likewise.
3553 * config/tc-nds32.c: Likewise.
3554 * config/tc-ppc.c: Likewise.
3555 * config/tc-sh.c: Likewise.
3556 * config/tc-tic30.c: Likewise.
3557 * config/tc-tic54x.c: Likewise.
3558 * config/tc-xstormy16.c: Likewise.
3559 * config/te-vms.c: Likewise.
3560 * configure: Regenerate.
3561
3562 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3563
3564 * tc-i386.c (f32_1): Change type to unsigned char[].
3565 (f32_2): Likewise.
3566 (f32_3): Likewise.
3567 (f32_4): Likewise.
3568 (f32_5): Likewise.
3569 (f32_6): Likewise.
3570 (f32_7): Likewise.
3571 (f32_8): Likewise.
3572 (f32_9): Likewise.
3573 (f32_10): Likewise.
3574 (f32_11): Likewise.
3575 (f32_12): Likewise.
3576 (f32_13): Likewise.
3577 (f32_14): Likewise.
3578 (f16_3): Likewise.
3579 (f16_4): Likewise.
3580 (f16_5): Likewise.
3581 (f16_6): Likewise.
3582 (f16_7): Likewise.
3583 (f16_8): Likewise.
3584 (jump_31): Likewise.
3585 (f32_patt): Likewise.
3586 (f16_patt): Likewise.
3587 (alt_3): Likewise.
3588 (alt_4): Likewise.
3589 (alt_5): Likewise.
3590 (alt_6): Likewise.
3591 (alt_7): Likewise.
3592 (alt_8): Likewise.
3593 (alt_9): Likewise.
3594 (alt_10): Likewise.
3595 (alt_patt): Likewise.
3596
3597 2016-03-18 Nick Clifton <nickc@redhat.com>
3598
3599 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3600 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3601 .tlsdescldr and .xword directives.
3602
3603 PR target/19721
3604 * testsuite/gas/aarch64/pr19721.s: New test source file.
3605 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3606
3607 * doc/as.texinfo: Place the target specific command line options
3608 into their own man page section.
3609
3610 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3611
3612 * config/tc-arm.c (N_S_32): New.
3613 (N_F_16_32): Likewise.
3614 (N_SUF_32): Support N_F16.
3615 (N_IF_32): Likewise.
3616 (neon_dyadic_misc): Likewise.
3617 (do_neon_cmp): Likewise.
3618 (do_neon_cmp_inv): Likewise.
3619 (do_neon_mul): Likewise.
3620 (do_neon_fcmp_absolute): Likewise.
3621 (do_neon_step): Likewise.
3622 (do_neon_abs_neg): Likewise.
3623 (CVT_FLAVOR_VAR): Likewise.
3624 (do_neon_cvt_1): Likewise.
3625 (do_neon_recip_est): Likewise.
3626 (do_vmaxnm): Likewise.
3627 (do_vrint_1): Likewise.
3628 (neon_check_type): Check architecture support for FP16 extension.
3629 (insns): Update comments.
3630 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3631 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3632 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3633 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3634 arm mode.
3635 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3636 thumb mode.
3637 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3638 error file.
3639
3640 2016-03-16 Nick Clifton <nickc@redhat.com>
3641
3642 * read.c (emit_expr_with_reloc): Add code check a bignum with
3643 nbytes == 1.
3644 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3645 other than 32-bits.
3646 * testsuite/gas/elf/bignum.s: New test source file.
3647 * testsuite/gas/elf/bignum.d: New test driver file.
3648 * testsuite/gas/elf/elf.exp: Run the new test.
3649
3650 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3651
3652 * doc/c-i386.texi (Register Naming): Update to details of the
3653 latest architecture version.
3654
3655 2016-03-10 Mickael Guene <mickael.guene@st.com>
3656
3657 PR gas/19744
3658 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3659 (do_mov): Likewise.
3660 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3661 (do_t_mov_cmp): Likewise.
3662 (do_t_add_sub): Protect against bad relocations usage.
3663 (do_t_mov_cmp): Likewise.
3664 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3665 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3666 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3667 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3668
3669 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3670
3671 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3672 do_alignment.
3673 (do_neon_ld_st_lane): Likewise.
3674 (do_neon_ld_dup): Likewise.
3675
3676 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3677
3678 * testsuite/gas/arc/inline-data-1.d: New file.
3679 * testsuite/gas/arc/inline-data-1.s: New file.
3680
3681 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3682
3683 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3684 * doc/c-arm.texi: Add cortex-r8.
3685
3686 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3687
3688 * config/tc-arc.c: Add const qualifiers.
3689 * config/tc-h8300.c (md_begin): Likewise.
3690 * config/tc-ia64.c (print_prmask): Likewise.
3691 * config/tc-msp430.c (msp430_operands): Likewise.
3692 * config/tc-nds32.c (struct suffix_name): Likewise.
3693 (struct nds32_parse_option_table): Likewise.
3694 (struct nds32_set_option_table): Likewise.
3695 (do_pseudo_pushpopm): Likewise.
3696 (do_pseudo_pushpop_stack): Likewise.
3697 (nds32_relax_relocs): Likewise.
3698 (nds32_flag): Likewise.
3699 (struct nds32_hint_map): Likewise.
3700 (nds32_find_reloc_table): Likewise.
3701 (nds32_match_hint_insn): Likewise.
3702 * config/tc-s390.c: Likewise.
3703 * config/tc-sh.c (get_specific): Likewise.
3704 * config/tc-tic30.c: Likewise.
3705 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3706 (tic4x_indirect_parse): Likewise.
3707 * config/tc-vax.c (vax_cons): Likewise.
3708 * config/tc-z80.c (struct reg_entry): Likewise.
3709 * config/tc-epiphany.c (md_assemble): Adjust.
3710 (epiphany_assemble): New function.
3711 (epiphany_elf_section_rtn): Call do_align directly.
3712 (epiphany_elf_section_text): Likewise.
3713 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3714 (ip2k_elf_section_text): Likewise.
3715 * read.c (do_align): Make it not static.
3716 * read.h (do_align): New prototype.
3717
3718 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3719
3720 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3721 for ARMv8.1 AdvSIMD use.
3722 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3723 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3724
3725 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3726
3727 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3728 feature.
3729 (record_feature_use): New.
3730 (mark_feature_used): Use record_feature_use.
3731 (do_neon_qrdmlah): New.
3732 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3733 variants.
3734 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3735 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3736 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3737 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3738 Make source file explicit.
3739 * testsuite/gas/arm/armv8-a+rdma.l: New.
3740 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3741 directives. Fix white-space.
3742 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3743
3744 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3745
3746 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3747
3748 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3749 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3750
3751 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3752 (tc_arc_fix_adjustable): Changed default return value to 1.
3753 * testsuite/gas/arc/j.d: Updated expected symbol
3754 * testsuite/gas/arc/jl.d: Likewise
3755 * testsuite/gas/arc/relax-avoid1.d: Likewise
3756 * testsuite/gas/arc/st.d: Likewise
3757
3758 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3759
3760 * config/tc-arc.c: Enable code density instructions for ARC EM.
3761
3762 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3763
3764 PR ld/19645
3765 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3766 for ELF assemblers.
3767 * as.c (flag_use_elf_stt_common): New.
3768 (show_usage): Add --elf-stt-common=.
3769 (option_values): Add OPTION_ELF_STT_COMMON.
3770 (std_longopts): Add --elf-stt-common=.
3771 (parse_args): Handle --elf-stt-common=.
3772 * as.h (flag_use_elf_stt_common): New.
3773 * config.in: Regenerated.
3774 * configure: Likewise.
3775 * configure.ac: Add --enable-elf-stt-common and define
3776 DEFAULT_GENERATE_ELF_STT_COMMON.
3777 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3778 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3779 * doc/as.texinfo: Document --elf-stt-common=.
3780 * testsuite/gas/elf/common3.s: New file.
3781 * testsuite/gas/elf/common3a.d: Likewise.
3782 * testsuite/gas/elf/common3b.d: Likewise.
3783 * testsuite/gas/elf/common4.s: Likewise.
3784 * testsuite/gas/elf/common4a.d: Likewise.
3785 * testsuite/gas/elf/common4b.d: Likewise.
3786 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3787 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3788 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3789 and common4b.
3790 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3791 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3792 --elf-stt-common=no to as.
3793 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3794 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3795 --elf-stt-common=no to as.
3796 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3797 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3798 of dw2-compress-3 and dw2-compressed-3.
3799
3800 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3801
3802 * as.c (select_emulation_mode): Add const qualifiers.
3803 * as.h: Likewise.
3804 * config/bfin-defs.h: Likewise.
3805 * config/bfin-parse.y: Likewise.
3806 * config/rx-parse.y: Likewise.
3807 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3808 (struct aarch64_cpu_option_table): Likewise.
3809 (struct aarch64_arch_option_table): Likewise.
3810 (struct aarch64_option_cpu_value_table): Likewise.
3811 (struct aarch64_long_option_table): Likewise.
3812 (struct aarch64_option_abi_value_table): Likewise.
3813 * config/tc-arm.c (struct reloc_entry): Likewise.
3814 (tc_gen_reloc): Likewise.
3815 (struct arm_option_table): Likewise.
3816 (struct arm_legacy_option_table): Likewise.
3817 (struct arm_cpu_option_table): Likewise.
3818 (struct arm_arch_option_table): Likewise.
3819 (struct arm_option_extension_value_table): Likewise.
3820 (struct arm_option_fpu_value_table): Likewise.
3821 (struct arm_option_value_table): Likewise.
3822 (struct arm_long_option_table): Likewise.
3823 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3824 (struct mcu_type_s): Likewise.
3825 (struct exp_mod_s): Likewise.
3826 (avr_operand): Likewise.
3827 (avr_operands): Likewise.
3828 * config/tc-d10v.c (md_begin): Likewise.
3829 * config/tc-dlx.c: Likewise.
3830 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3831 * config/tc-ft32.c (parse_condition): Likewise.
3832 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3833 * config/tc-hppa.c (pa_ip): Likewise.
3834 (hppa_regname_to_dw2regnum): Likewise.
3835 * config/tc-i370.c (i370_elf_suffix): Likewise.
3836 * config/tc-i960.c (struct tabentry): Likewise.
3837 * config/tc-m32r.c: Likewise.
3838 * config/tc-m68k.c: Likewise.
3839 * config/tc-m68k.h: Likewise.
3840 * config/tc-mcore.c (parse_psrmod): Likewise.
3841 * config/tc-metag.c (struct metag_core_option): Likewise.
3842 (struct metag_long_option): Likewise.
3843 * config/tc-microblaze.c: Likewise.
3844 * config/tc-mips.c (macro): Likewise.
3845 * config/tc-mn10200.c: Likewise.
3846 * config/tc-mn10300.c: Likewise.
3847 * config/tc-msp430.c (struct rcodes_s): Likewise.
3848 (struct hcodes_s): Likewise.
3849 (md_parse_option): Likewise.
3850 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3851 (optlist): Likewise.
3852 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3853 (tc_ppc_regname_to_dw2regnum): Likewise.
3854 * config/tc-ppc.h: Likewise.
3855 * config/tc-rl78.c: Likewise.
3856 * config/tc-rx.c (struct cpu_type): Likewise.
3857 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3858 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3859 (sparc_ip): Likewise.
3860 * config/tc-spu.c (insn_fmt_string): Likewise.
3861 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3862 * config/tc-v850.c: Likewise.
3863 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3864 (struct visium_long_option_table): Likewise.
3865 * config/tc-xgate.c: Likewise.
3866 * config/tc-z8k.c: Likewise.
3867 * read.c (add_include_dir): Likewise.
3868 * read.h: Likewise.
3869
3870 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3871
3872 * testsuite/gas/all/gas.exp: Change target pattern to cover
3873 arceb-*.
3874 * testsuite/gas/all/redef3.d: Likewise.
3875 * testsuite/gas/elf/elf.exp: Likewise.
3876
3877 2016-02-24 Renlin Li <renlin.li@arm.com>
3878
3879 * config/tc-arm.c (BAD_FP16): New error message macro.
3880 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3881 fp16 scalar instructions.
3882 (neon_check_type): Allow different size from key.
3883 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3884 (try_vfp_nsyn): Likewise.
3885 (do_vfp_nsyn_mla_mls): Likewise.
3886 (do_vfp_nsyn_fma_fms): Likewise.
3887 (do_vfp_nsyn_ldm_stm): Likewise
3888 (do_vfp_nsyn_sqrt): Likewise
3889 (do_vfp_nsyn_div): Likewise
3890 (do_vfp_nsyn_nmul): Likewise.
3891 (do_vfp_nsyn_cmp): Likewise.
3892 (do_neon_shll): Likewise.
3893 (do_vfp_nsyn_cvt_fpv8): Likewise.
3894 (do_neon_cvttb_2): Likewise.
3895 (do_neon_mov): Likewise.
3896 (do_neon_rshift_round_imm): Likewise.
3897 (do_neon_ldr_str): Likewise.
3898 (do_vfp_nsyn_fpv8): Likewise.
3899 (do_vmaxnm): Likewise.
3900 (do_vrint_1): Likewise.
3901 (insns): New entry for vins, vmovx.
3902 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3903 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3904 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3905 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3906 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3907 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3908 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3909
3910 2016-02-24 Renlin Li <renlin.li@arm.com>
3911
3912 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3913 (neon_shape_class): New SC_HALF.
3914 (neon_shape_el): New SE_H.
3915 (neon_shape_el_size): New size for SE_H.
3916 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3917 (neon_select_shape): Add SE_H support code.
3918 (el_type_of_type_chk): Use N_F_ALL.
3919 (do_vfp_nsyn_cvt): Add SE_H shape support.
3920 (do_neon_cvtz): Likewise.
3921 (do_neon_cvt_1): Likewise.
3922 (do_neon_cvttb_1): Likewise.
3923
3924 2016-02-24 Renlin Li <renlin.li@arm.com>
3925
3926 * testsuite/gas/arm/copro.d: Adjust output.
3927 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3928
3929 2016-02-24 Renlin Li <renlin.li@arm.com>
3930
3931 * testsuite/gas/arm/mask_1.d: New.
3932 * testsuite/gas/arm/mask_1.s: New.
3933
3934 2016-02-24 Renlin Li <renlin.li@arm.com>
3935
3936 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3937 * testsuite/gas/arm/copro.d: Update.
3938
3939 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3940
3941 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3942 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3943
3944 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3945
3946 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3947
3948 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3949
3950 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3951 hpux.
3952
3953 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3954
3955 * output-file.c (output_file_create): Make file name argument const.
3956 (output_file_close): Likewise.
3957 * output-file.h (output_file_create): Adjust.
3958 (output_file_close): Likewise.
3959 * depend.c (quote_string_for_make): Make src argument const char *.
3960 (register_dependency): Likewise.
3961 (wrap_output): Likewise.
3962 * as.h (register_dependency): Adjust.
3963 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3964 as_where ();
3965 * symbols.c (S_SET_EXTERNAL): Likewise.
3966 * input-scrub.c (as_where): Return the file name.
3967 * as.h (as_where): Adjust prototype.
3968 * app.c (do_scrub_chars): Adjust.
3969 * cond.c (s_elseif): Likewise.
3970 (s_else): Likewise.
3971 (initialize_cframe): Likewise.
3972 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3973 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3974 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3975 * config/tc-aarch64.c (output_info): Likewise.
3976 * config/tc-ia64.c (md_assemble): Likewise.
3977 (dot_alias): Likewise.
3978 * config/tc-m68k.c (m68k_frob_label): Likewise.
3979 * config/tc-mmix.c (s_bspec): Likewise.
3980 (mmix_handle_mmixal): Likewise.
3981 * config/tc-rx.c (rx_include): Likewise.
3982 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3983 (tic54x_adjust_symtab): Likewise.
3984 * config/tc-xtensa.c (directive_push): Likewise.
3985 (xtensa_sanity_check): Likewise.
3986 (xtensa_relax_frag): Likewise.
3987 (md_convert_frag): Likewise.
3988 (tinsn_to_slotbuf): Likewise.
3989 * dwarf2dbg.c (dwarf2_where): Likewise.
3990 * ecoff.c (add_file): Likewise.
3991 (ecoff_generate_asm_lineno): Likewise.
3992 * expr.c (make_expr_symbol): Likewise.
3993 * frags.c (frag_new): Likewise.
3994 (frag_var_init): Likewise.
3995 * listing.c (listing_newline): Likewise.
3996 * messages.c (identify): Likewise.
3997 (as_show_where): Likewise.
3998 (as_warn_internal): Likewise.
3999 (as_bad_internal): Likewise.
4000 * read.c (s_irp): Likewise.
4001 (s_macro): Likewise.
4002 (s_reloc): Likewise.
4003 * stabs.c (stabs_generate_asm_file): Likewise.
4004 (stabs_generate_asm_lineno): Likewise.
4005 (stabs_generate_asm_func): Likewise.
4006 * write.c (fix_new_internal): Likewise.
4007 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4008 (as_warn_value_out_of_range): Adjust prototype.
4009 (as_bad_value_out_of_range): Adjust prototype.
4010 * messages.c (identify): Make file name argument const char *.
4011 (as_warn_internal): Likewise.
4012 (as_warn_where): Likewise.
4013 (as_bad_internal): Likewise.
4014 (as_bad_where): Likewise.
4015 (as_internal_value_out_of_range): Likewise.
4016 (as_warn_value_out_of_range): Likewise.
4017 (as_bad_value_out_of_range): Likewise.
4018 * as.h (found_comment_file): Change type to const char *.
4019 * cond.c (file_line::file): Likewise.
4020 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4021 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4022 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4023 * config/tc-aarch64.c (output_info): Likewise.
4024 * config/tc-alpha.c (insert_operand): Likewise.
4025 * config/tc-arc.c (insert_operand): Likewise.
4026 * config/tc-d30v.c (check_size): Likewise.
4027 * config/tc-ia64.c (struct alias): Likewise.
4028 * config/tc-m68k.c (struct label_line): Likewise.
4029 * config/tc-mcore.c (md_apply_fix): Likewise.
4030 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4031 * config/tc-mips.c (mips16_immed): Likewise.
4032 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4033 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4034 * config/tc-rx.c (rx_include): Likewise.
4035 * config/tc-s390.c (s390_insert_operand): Likewise.
4036 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4037 (tic54x_adjust_symtab): Likewise.
4038 * config/tc-tilegx.c (insert_operand): Likewise.
4039 (apply_special_operator): Likewise.
4040 * config/tc-tilepro.c (insert_operand): Likewise.
4041 * config/tc-xtensa.c (directive_push): Likewise.
4042 * ecoff.c (add_file): Likewise.
4043 (ecoff_generate_asm_lineno): Likewise.
4044 * listing.c (listing_newline): Likewise.
4045 * read.c (s_irp): Likewise.
4046 * write.c (install_reloc): Likewise.
4047 * write.h (struct fix): Likewise.
4048 * input-file.c (file_name): Change type to const char *.
4049 (saved_file::file_name): Likewise.
4050 (input_file_open): Change type of argument to const char *.
4051 * input-file.h (input_file_open): Adjust.
4052 * input-scrub.c (logical_input_file): change type to const char *.
4053 (physical_input_file): Likewise.
4054 (struct input_save): Adjust.
4055 (input_scrub_push): Adjust.
4056 (input_scrub_begin): Adjust.
4057 (as_where): Adjust.
4058 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4059 (input_scrub_include_file): Likewise.
4060 (new_logical_line_flags): Likewise.
4061 (new_logical_line): Likewise.
4062 * as.h: Adjust.
4063 * frags.h (struct frag): Change type of fr_file to const char *.
4064 * expr.c (expr_symbol_where): Change type of file argument to
4065 const char **.
4066 * expr.h (expr_symbol_where): Likewise.
4067 * config/tc-i370.c (md_apply_fix): adjust.
4068 * config/tc-mmix.c (mmix_md_end): Likewise.
4069 * config/tc-ppc.c (md_apply_fix): Likewise.
4070 * config/tc-s390.c (md_apply_fix): Likewise.
4071 * symbols.c (report_op_error): Likewise.
4072 (resolve_symbol_value): Likewise.
4073 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4074 (rsrc::file): Likewise.
4075 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4076 const char *.
4077 (xtensa_relax_frag): Likewise.
4078 (md_convert_frag): Likewise.
4079 (tinsn_to_slotbuf): Likewise.
4080 * expr.c (expr_symbol_line): Likewise.
4081 * macro.c (define_macro): Likewise.
4082 * macro.h (macro_struct): Likewise.
4083 * messages.c (as_show_where): Likewise.
4084 * read.c (s_macro): Likewise.
4085 * stabs.c (stabs_generate_asm_file): Likewise.
4086 (generate_asm_file): Likewise.
4087 (stabs_generate_asm_lineno): Likewise.
4088 * write.h (struct reloc_list): Likewise.
4089 * input-scrub.c (as_where): Change return type to const char *.
4090 * as.h (as_wheree): Adjust.
4091
4092 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * write.c (compress_debug): Move BFD compression bits setting
4095 to ...
4096 (write_object_file): Here.
4097
4098 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * config/tc-i386.c (register_number): Check RegVRex.
4101 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4102 with %zmm19 and %zmm3.
4103 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4104 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4105
4106 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4107 Jiong Wang <jiong.wang@arm.com>
4108
4109 * config/tc-arm.c (arm_ext_fp16): New.
4110 (arm_extensions): New entry for "fp16".
4111
4112 2016-02-19 Nick Clifton <nickc@redhat.com>
4113
4114 PR 19630
4115 * read.c (read_a_source_file): Check for assemble_one returning
4116 with input_line_pointer set to NULL.
4117
4118 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4119
4120 * listing.c (rebuffer_line): Change return type to void.
4121
4122 * symbols.c (decode_local_label_name): Make type a const char *.
4123 * listing.c (print_source): Make type of p const char *.
4124 (print_line): Make type of string const char *.
4125 (buffer_line): Return const char *.
4126 (title): Make type const char *.
4127 (subtitle): Likewise.
4128 (listing_listing): Make type of p const char *.
4129 * messages.c (as_internal_value_out_of_range): Make type of prefix
4130 const char *.
4131 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4132 and string const char *.
4133 * read.c (_bfd_rel): Make type of name const char *.
4134 * app.c (out_string): Change type to const char *.
4135 (struct app_save::out_string): Likewise.
4136
4137 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4138 Nick Clifton <nickc@redhat.com>
4139
4140 * read.c (finish_bundle): Avoid recording a negative alignment.
4141 (do_align): Use unsigned values for n, len and max. Only create
4142 a frag if the alignment requirement is greater than the minimum
4143 byte alignment. Avoid recording a negative alignment.
4144 (s_align): Use unsigned values where appropriate.
4145 (bss_alloc): Use an unsigned value for the alignment.
4146 (sizeof_sleb128): Add a comment noting that we encode one octet
4147 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4148 (emit_leb129_expr): Abort if the emitted encoding was longer than
4149 expected.
4150 * read.h (output_leb128): Update prototype.
4151 (sizeof_leb128): Update prototype.
4152 (bss_alloc): Update prototype.
4153 * write.c (record_alignment): Use an unsigned value for the
4154 alignment. Do not record alignments less than the minimum
4155 alignment for a byte.
4156 * write.h (record_alignment): Update prototype.
4157
4158 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4159
4160 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4161 .init.literal/.fini.literal section name.
4162 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4163 list of xtensa tests.
4164 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4165 init-fini-literals test result patterns.
4166 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4167 init-fini-literals test.
4168
4169 2016-02-17 Nick Clifton <nickc@redhat.com>
4170
4171 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4172 devices.csv file as of March 2016.
4173
4174 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4175
4176 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4177 function.
4178 (tc_arc_regname_to_dw2regnum): Likewise.
4179 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4180 (tc_cfi_frame_initial_instructions): Likewise.
4181 (tc_regname_to_dw2regnum): Likewise.
4182 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4183 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4184 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4185
4186 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4187
4188 * doc/internals.texi (S_IS_EXTERN): Remove.
4189
4190 2016-02-16 Nick Clifton <nickc@redhat.com>
4191
4192 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4193 update.
4194
4195 2016-02-16 Renlin Li <renlin.li@arm.com>
4196
4197 PR gas/19620
4198 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4199 * testsuite/gas/aarch64/movw_label.d: New.
4200 * testsuite/gas/aarch64/movw_label.s: New.
4201
4202 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4203
4204 PR gas/19556
4205 * config/rx-parse.y (MOV): Opcode generation for index
4206 register addressing mode.
4207 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4208 * testsuite/gas/rx/pr19665.s: New file.
4209 * testsuite/gas/rx/pr19665.s: New file.
4210 * testsuite/gas/rx/mov.d: Update expected output.
4211
4212 2016-02-15 Nick Clifton <nickc@redhat.com>
4213
4214 * doc/as.texinfo (.section): Document that numeric values can now
4215 be used for the flags and type fields of the ELF target's .section
4216 directive. Add notes about the restrictions on setting flags and
4217 types.
4218 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4219 to be given processor specific section types. Allow processor and
4220 application specific flags of a section to be set after
4221 definition.
4222 (obj_elf_parse_section_letters): Handle parsing numeric values.
4223 (obj_elf_section_type): Handle parsing numeric values.
4224 (obj_elf_section): Allow numeric type values.
4225 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4226 * testsuite/gas/elf/section10.d: New test.
4227 * testsuite/gas/elf/section10.s: Source file for new test.
4228 * testsuite/gas/elf/elf.exp: Run the new test.
4229 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4230 the description of the flags produced by readelf.
4231 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4232 * NEWS: Mention the new feature.
4233
4234 2016-02-11 Nick Clifton <nickc@redhat.com>
4235
4236 PR gas/19614
4237 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4238 until it is actually used.
4239 (cfi_set_sections): Set cfi_sections_set to true.
4240 (dot_cfi_startproc): Likewise.
4241 (dot_cfi_endproc): Likewise.
4242 (dot_cfi_fde_data): Likewise.
4243 (cfi_finish): Likewise.
4244 (dot_cfi_sections): Do not set cfi_sections_set.
4245 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4246 their own cfi section name. Also note that the directive can be
4247 reissued provided that CFI generation has not started.
4248 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4249 .cfi_endproc directives so that the redefinition of .cfi_sections
4250 will trigger the generation of the error message.
4251 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4252 number of error message.
4253
4254 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4255 Janek van Oirschot <jvanoirs@synopsys.com>
4256
4257 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4258 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4259 Define.
4260 (arc_flags, arc_relax_type): New structure.
4261 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4262 (RELAX_TABLE_ENTRY_MAX): New define.
4263 (relaxation_state, md_relax_table, arc_relaxable_insns)
4264 (arc_num_relaxable_ins): New variable.
4265 (rlx_operand_type, arc_rlx_types): New enums.
4266 (arc_relaxable_ins): New structure.
4267 (OPTION_RELAX): New option.
4268 (arc_insn): New relax member.
4269 (arc_flags): Remove.
4270 (relax_insn_p): New function.
4271 (apply_fixups): Likewise.
4272 (relaxable_operand): Likewise.
4273 (may_relax_expr): Likewise.
4274 (relaxable_flag): Likewise.
4275 (arc_pcrel_adjust): Likewise.
4276 (md_estimate_size_before_relax): Implement.
4277 (md_convert_frag): Likewise.
4278 (md_parse_option): Handle new mrelax option.
4279 (md_show_usage): Likewise.
4280 (assemble_insn): Set relax member.
4281 (emit_insn0): New function.
4282 (emit_insn1): Likewise.
4283 (emit_insn): Handle relaxation case.
4284 * NEWS: Mention the new relaxation option.
4285 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4286 * doc/as.texinfo (Target ARC Options): Likewise.
4287 * testsuite/gas/arc/relax-avoid1.d: New file.
4288 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4289 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4290 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4291 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4292 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4293 * testsuite/gas/arc/relax-b.d: Likewise.
4294 * testsuite/gas/arc/relax-b.s: Likewise.
4295
4296 2016-02-08 Nick Clifton <nickc@redhat.com>
4297
4298 * config/tc-ia64.c (dot_prologue): Fix formatting.
4299
4300 2016-02-04 Nick Clifton <nickc@redhat.com>
4301
4302 * config/obj-elf.c (obj_elf_change_section): Remove support for
4303 ARM NOREAD sections.
4304 * config/tc-arm.c (arm_elf_section_letter): Delete.
4305 * config/tc-arm.h (md_elf_section_letter): Delete.
4306 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4307 * testsuite/gas/arm/section-execute-only.d: Delete.
4308 * testsuite/gas/arm/section-execute-only.s: Delete.
4309
4310 2016-02-04 Nick Clifton <nickc@redhat.com>
4311
4312 PR target/19561
4313 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4314 to handle encoding of RRUX instruction.
4315 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4316 shift instructions.
4317 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4318
4319 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4320
4321 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4322 substitutions for BFD_RELOC_* as unsigned.
4323 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4324 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4325 * testsuite/gas/xtensa/loc.s: New file: loc test.
4326
4327 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4328
4329 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4330
4331 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4332
4333 PR gas/19520
4334 * NEWS: Mention new command line option -mrelax-relocations and
4335 new configure option --enable-x86-relax-relocations for x86
4336 target.
4337 * config.in: Regenerated.
4338 * configure.ac: Add --enable-x86-relax-relocations.
4339 (ac_default_x86_relax_relocations): New. Default to 1 except
4340 for x86 Solaris targets older than Solaris 12.
4341 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4342 * configure: Likewise.
4343 * config/tc-i386.c (generate_relax_relocations): New.
4344 (OPTION_MRELAX_RELOCATIONS): Likewise.
4345 (output_disp): Don't generate relax relocations if
4346 generate_relax_relocations is 0.
4347 (md_longopts): Add -mrelax-relocations.
4348 (md_show_usage): Likewise.
4349 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4350 * doc/c-i386.texi: Document -mrelax-relocations=.
4351 * testsuite/gas/i386/got-no-relax.d: New file.
4352 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4353 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4354 * testsuite/gas/i386/localpic.d: Likewise.
4355 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4356 * testsuite/gas/i386/reloc32.d: Likewise.
4357 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4358 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4359 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4360 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4361 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4362 x86-64-gotpcrel-no-relax.
4363
4364 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4367 for x86 target.
4368
4369 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4370
4371 * NEWS: Remove duplicated marker for 2.26.
4372
4373 2016-02-02 Renlin Li <renlin.li@arm.com>
4374
4375 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4376
4377 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4378
4379 * testsuite/gas/ip2k/allinsn.d: New file.
4380 * testsuite/gas/ip2k/allinsn.s: New file.
4381 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4382
4383 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4384
4385 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4386 some load instructions.
4387 * testsuite/gas/epiphany/allinsn.d: Likewise.
4388 * testsuite/gas/epiphany/regression.d: Likewise.
4389
4390 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4391
4392 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4393 suffixes from instruction mnemonics in expected output.
4394 * testsuite/gas/epiphany/allinsn.d: Likewise.
4395 * testsuite/gas/epiphany/regression.d: Likewise.
4396 * testsuite/gas/epiphany/sample.d: Likewise.
4397
4398 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4399
4400 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4401 names.
4402 * testsuite/gas/epiphany/allinsn.d: Likewise.
4403 * testsuite/gas/epiphany/sample.d: Likewise.
4404
4405 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4406
4407 * testsuite/gas/epiphany/sample.d: Update expected output.
4408
4409 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4410
4411 * config/tc-arc.c (md_apply_fix): Allow addendum.
4412 (arc_reloc_op): Allow complex expressions for tpoff.
4413 (md_apply_fix): Handle resolved TLS local symbol.
4414 * testsuite/gas/arc/tls-relocs1.d: New file.
4415 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4416
4417 2016-02-01 Loria <Loria@phantasia.org>
4418
4419 PR target/19311
4420 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4421 efficiency and avoid an LLVM loop optimization bug.
4422
4423 2016-02-01 Nick Clifton <nickc@redhat.com>
4424
4425 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4426 message extending a negative 32-bit value into a larger signed
4427 value on a 32-bit host.
4428
4429 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4430
4431 PR gas/19532
4432 * configure.ac (compressed_debug_sections): Replace == with =.
4433 * configure: Regenerated.
4434
4435 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4436 H.J. Lu <hongjiu.lu@intel.com>
4437
4438 * config/tc-i386.c (avoid_fence): New.
4439 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4440 is true.
4441 (OPTION_FENCE_AS_LOCK_ADD): New.
4442 (md_longopts): Add -mfence-as-lock-add.
4443 (md_parse_option): Handle -mfence-as-lock-add.
4444 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4445 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4446 * testsuite/gas/i386/i386.exp: Run new tests.
4447 * testsuite/gas/i386/fence-as-lock-add.s: New.
4448 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4449 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4450 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4451 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4452
4453 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4454
4455 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4456 * configure: Regenerated.
4457
4458 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4459
4460 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4461 (OPTION_MOMIT_LOCK_PREFIX): This.
4462 (md_longopts): Updated.
4463 (md_parse_option): Likewise.
4464
4465 2016-01-25 Catherine Moore <clm@codesourcery.com>
4466
4467 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4468 if abicalls are in effect.
4469 * testsuite/gas/mips/sdata-gp.s: New test.
4470 * testsuite/gas/mips/sdata-gp.d: New expected output
4471 * testsuite/gas/mips/mips.exp: Run new test.
4472
4473 2016-01-25 Renlin Li <renlin.li@arm.com>
4474
4475 * testsuite/gas/arm/thumb2_it_search.d: New.
4476 * testsuite/gas/arm/thumb2_it_search.s: New.
4477
4478 2016-01-21 Nick Clifton <nickc@redhat.com>
4479
4480 PR gas/19454
4481 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4482 with arm-netbsdelf target.
4483 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4484
4485 2016-01-20 Nick Clifton <nickc@redhat.com>
4486
4487 PR 19456
4488 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4489 * testsuite/gas/arm/blx-bl-convert.d
4490 * testsuite/gas/arm/plt-1.d: Likewise.
4491 * testsuite/gas/arm/reloc-bad.d: Likewise.
4492 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4493 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4494 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4495 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4496
4497 PR 19499
4498 * doc/as.texinfo (Errors): Correct documentation describing the
4499 interaction of .file and .line with warning and error messages.
4500
4501 PR 19458
4502 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4503 * testsuite/gas/arm/archv8m-main.d: Likewise.
4504 * testsuite/gas/arm/archv8m-base.d: Likewise.
4505
4506 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4507
4508 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4509 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4510 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4511
4512 2016-01-20 Mickael Guene <mickael.guene@st.com>
4513 Terry Guo <terry.guo@arm.com>
4514
4515 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4516 SHF_ARM_NOREAD section flag.
4517 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4518 handle letter 'y'.
4519 (arm_elf_section_letter) : Declare it.
4520 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4521 SHF_ARM_NOREAD section flag.
4522 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4523
4524 * testsuite/gas/arm/section-execute-only.s: New test case.
4525 * testsuite/gas/arm/section-execute-only.d: Expected output.
4526
4527 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4528
4529 * config/tc-mips.c (micromips_insn_length): Remove the mention
4530 of 48-bit microMIPS instructions.
4531
4532 2016-01-18 Alan Modra <amodra@gmail.com>
4533
4534 * configure: Regenerate.
4535
4536 2016-01-17 Alan Modra <amodra@gmail.com>
4537
4538 * configure: Regenerate.
4539
4540 2016-01-17 Alan Modra <amodra@gmail.com>
4541
4542 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4543
4544 2016-01-14 Nick Clifton <nickc@redhat.com>
4545
4546 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4547 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4548 * testsuite/gas/rl78/rl78.exp: Run the new test.
4549
4550 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4551
4552 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4553 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4554
4555 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4556
4557 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4558
4559 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4560
4561 * config/tc-h8300.c (get_operand): Remove spurious condition in
4562 test for closing parenthesis.
4563
4564 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4565
4566 * config/tc-arm.c (arm_ext_v8_2): New.
4567 (insns): Add "esb".
4568 * testsuite/gas/arm/armv8_2-a.d: New.
4569 * testsuite/gas/arm/armv8_2-a.s: New.
4570
4571 2016-01-12 Alan Modra <amodra@gmail.com>
4572
4573 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4574
4575 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4576
4577 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4578 xvcmpnesp, xvcmpnesp.>: Delete tests.
4579 * testsuite/gas/ppc/power9.s: Likewise.
4580 * testsuite/gas/ppc/vsx3.d: Likewise.
4581 * testsuite/gas/ppc/vsx3.s: Likewise.
4582
4583 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4584
4585 PR gas/13050
4586 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4587 * testsuite/gas/m68k/p13050-1.s: New file.
4588 * testsuite/gas/m68k/p13050-2.d: New file.
4589 * testsuite/gas/m68k/p13050-2.s: New file.
4590
4591 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4592
4593 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4594 * testsuite/gas/arc/add.d: Likewise.
4595 * testsuite/gas/arc/and.d: Likewise.
4596 * testsuite/gas/arc/asl.d: Likewise.
4597 * testsuite/gas/arc/asr.d: Likewise.
4598 * testsuite/gas/arc/bic.d: Likewise.
4599 * testsuite/gas/arc/extb.d: Likewise.
4600 * testsuite/gas/arc/extw.d: Likewise.
4601 * testsuite/gas/arc/j.d: Likewise.
4602 * testsuite/gas/arc/jl.d: Likewise.
4603 * testsuite/gas/arc/ld2.d: Likewise.
4604 * testsuite/gas/arc/lsr.d: Likewise.
4605 * testsuite/gas/arc/mov.d: Likewise.
4606 * testsuite/gas/arc/or.d: Likewise.
4607 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4608 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4609 * testsuite/gas/arc/pic-relocs.d: Likewise.
4610 * testsuite/gas/arc/plt-relocs.d: Likewise.
4611 * testsuite/gas/arc/rlc.d: Likewise.
4612 * testsuite/gas/arc/ror.d: Likewise.
4613 * testsuite/gas/arc/rrc.d: Likewise.
4614 * testsuite/gas/arc/sbc.d: Likewise.
4615 * testsuite/gas/arc/sda-relocs.d: Likewise.
4616 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4617 * testsuite/gas/arc/sexb.d: Likewise.
4618 * testsuite/gas/arc/sexw.d: Likewise.
4619 * testsuite/gas/arc/st.d: Likewise.
4620 * testsuite/gas/arc/sub.d: Likewise.
4621 * testsuite/gas/arc/tls-relocs.d: Likewise.
4622 * testsuite/gas/arc/xor.d: Likewise.
4623
4624 2016-01-01 Alan Modra <amodra@gmail.com>
4625
4626 Update year range in copyright notice of all files.
4627
4628 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4629 \f
4630 Copyright (C) 2016 Free Software Foundation, Inc.
4631
4632 Copying and distribution of this file, with or without modification,
4633 are permitted in any medium without royalty provided the copyright
4634 notice and this notice are preserved.
4635
4636 Local Variables:
4637 mode: change-log
4638 left-margin: 8
4639 fill-column: 74
4640 version-control: never
4641 End:
This page took 0.1357 seconds and 3 git commands to generate.