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