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