1 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
5 * doc/as.texinfo: Document new arch strings.
6 * doc/c-s390.texi: Likewise.
8 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
10 * config/tc-s390.c: Set all facitily bits by default
12 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
14 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
16 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
18 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
21 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
23 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
24 (set_cpu_arch): Updated.
25 (md_parse_option): Likewise.
26 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
27 iamcu-inval-2 and iamcu-inval-3.
28 * testsuite/gas/i386/iamcu-4.d: New file.
29 * testsuite/gas/i386/iamcu-4.s: Likewise.
30 * testsuite/gas/i386/iamcu-5.d: Likewise.
31 * testsuite/gas/i386/iamcu-5.s: Likewise.
32 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
33 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
34 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
35 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
37 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
39 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
40 ARMv8-A CPUs except xgene1.
42 2016-08-31 Alan Modra <amodra@gmail.com>
44 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
45 ppc_cpu rather than calling ppc_mach to determine VLE mode.
46 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
48 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
50 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
52 * testsuite/gas/sparc/crypto.s: Likewise.
54 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
56 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
57 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
58 their lowecase counterpart special registers. Write register
60 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
61 operation, special register and then case. Use different register for
62 each operation. Add tests for new special registers.
63 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
65 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
66 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
68 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
70 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
72 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
74 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
75 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
76 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
78 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
80 * config/tc-i386.c (cpu_arch): Add .ptwrite.
81 * doc/c-i386.texi: Document ptwrite and .ptwrite.
82 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
83 x86-64-ptwrite and x86-64-ptwrite-intel.
84 * testsuite/gas/i386/ptwrite-intel.d: New file.
85 * testsuite/gas/i386/ptwrite.d: Likewise.
86 * testsuite/gas/i386/ptwrite.s: Likewise.
87 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
88 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
89 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
91 2016-08-19 Tamar Christina <tamar.christina@arm.com>
93 * config/tc-arm.c (do_co_reg2c): Added constraint.
94 * testsuite/gas/arm/dest-unpredictable.s: New.
95 * testsuite/gas/arm/dest-unpredictable.l: New.
96 * testsuite/gas/arm/dest-unpredictable.d: New.
98 2016-08-19 Nick Clifton <nickc@redhat.com>
100 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
101 ordering of sections.
102 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
103 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
104 * testsuite/gas/ia64/alias.d: Likewise.
105 * testsuite/gas/ia64/group-1.d: Likewise.
106 * testsuite/gas/ia64/group-2.d: Likewise.
107 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
108 * testsuite/gas/ia64/secname.d: Likewise.
109 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
110 * testsuite/gas/ia64/unwind.d: Likewise.
111 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
112 * testsuite/gas/ia64/xdata.d: Likewise.
113 * testsuite/gas/mmix/bspec-1.d: Likewise.
114 * testsuite/gas/mmix/bspec-2.d: Likewise.
115 * testsuite/gas/mmix/byte-1.d: Likewise.
116 * testsuite/gas/mmix/loc-1.d: Likewise.
117 * testsuite/gas/mmix/loc-2.d: Likewise.
118 * testsuite/gas/mmix/loc-3.d: Likewise.
119 * testsuite/gas/mmix/loc-4.d: Likewise.
120 * testsuite/gas/mmix/loc-5.d: Likewise.
121 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
123 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
125 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
126 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
127 Add tests for -0.0. Add an end-of-file comment.
129 2016-08-05 Nick Clifton <nickc@redhat.com>
132 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
133 registers are pushed.
134 (do_vfp_nsyn_pop): Check that no more than 16 registers are
136 * testsuite/gas/arm/pr20429.s: New test.
137 * testsuite/gas/arm/pr20429.d: New test driver.
138 * testsuite/gas/arm/pr20429.1: Expected error output.
141 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
143 (aarch64_init): Treat rs_align frags in code sections as
144 containing code, not data.
145 * testsuite/gas/aarch64/pr20364.s: New test.
146 * testsuite/gas/aarch64/pr20364.d: New test driver.
148 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
151 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
152 of 64-bit relocation types when assembling for a 32-bit Solaris
155 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
157 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
159 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
160 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
161 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
162 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
164 (sparc_elf_setup): Delete.
165 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
168 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
170 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
171 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
172 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
173 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
174 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
175 (get_append_method): Also return APPEND_ADD_COMPACT for
176 microMIPS instructions.
177 (find_altered_mips16_opcode): Exclude macros from matching.
179 (find_altered_opcode): ... to this new function.
180 (find_altered_micromips_opcode): New function.
181 (frag_branch_delay_slot_size): Likewise.
182 (append_insn): Handle microMIPS branch/jump compaction.
183 (macro_start): Likewise.
184 (relaxed_micromips_32bit_branch_length): Likewise.
185 (md_convert_frag): Likewise.
186 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
187 for delay slot filling.
188 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
190 * testsuite/gas/mips/micromips-size-1.s: Likewise.
191 * testsuite/gas/mips/micromips.l: Adjust line numbers.
192 * testsuite/gas/mips/micromips-warn.l: Likewise.
193 * testsuite/gas/mips/micromips-size-1.l: Likewise.
194 * testsuite/gas/mips/micromips.d: Adjust padding.
195 * testsuite/gas/mips/micromips-trap.d: Likewise.
196 * testsuite/gas/mips/micromips-insn32.d: Likewise.
197 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
198 * testsuite/gas/mips/micromips@beq.d: Update patterns for
199 branch/jump compaction.
200 * testsuite/gas/mips/micromips@bge.d: Likewise.
201 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
202 * testsuite/gas/mips/micromips@blt.d: Likewise.
203 * testsuite/gas/mips/micromips@bltu.d: Likewise.
204 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
205 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
206 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
207 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
208 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
209 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
210 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
211 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
213 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
215 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
216 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
217 * testsuite/gas/mips/micromips@relax.d: Likewise.
218 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
219 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
220 * testsuite/gas/mips/branch-extern-2.d: Likewise.
221 * testsuite/gas/mips/branch-extern-4.d: Likewise.
222 * testsuite/gas/mips/branch-section-2.d: Likewise.
223 * testsuite/gas/mips/branch-section-4.d: Likewise.
224 * testsuite/gas/mips/branch-weak-2.d: Likewise.
225 * testsuite/gas/mips/branch-weak-5.d: Likewise.
226 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
227 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
228 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
229 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
231 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
233 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
235 * testsuite/gas/mips/micromips-compact.d: New test.
236 * testsuite/gas/mips/mips.exp: Run the new test.
238 2016-07-27 Graham Markall <graham.markall@embecosm.com>
240 * config/tc-arc.c: Add new global arc_addrtype_hash.
241 Define O_colon and O_addrtype.
242 (debug_exp): Add O_colon and O_addrtype.
243 (tokenize_arguments): Handle colon and address type
245 (declare_addrtype): New function.
246 (md_begin): Initialise arc_addrtype_hash.
247 (arc_parse_name): Add lookup of address types.
248 (assemble_insn): Handle colons and address types by
250 * testsuite/gas/arc/nps400-8.s: New file.
251 * testsuite/gas/arc/nps400-8.d: New file.
252 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
253 * testsuite/gas/arc/nps400-8.d: Add expected PMU
256 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
258 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
259 (RELAX_MICROMIPS_INSN32): New macro.
260 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
261 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
262 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
263 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
264 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
266 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
268 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
270 (md_convert_frag): Likewise.
271 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
273 * testsuite/gas/mips/micromips-branch-relax.l: Update line
275 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
276 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
277 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
279 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
281 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
283 * testsuite/gas/mips/mips.exp: Run the new tests.
285 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
287 * configure: Regenerated.
289 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
291 * testsuite/gas/arc/dsp.d: New file.
292 * testsuite/gas/arc/dsp.s: Likewise.
293 * testsuite/gas/arc/fpu.d: Likewise.
294 * testsuite/gas/arc/fpu.s: Likewise.
295 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
296 * testsuite/gas/arc/ext3op.d: Likewise.
297 * testsuite/gas/arc/tdpfp.d: Likewise.
298 * testsuite/gas/arc/tfpuda.d: Likewise.
300 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
302 * config/tc-mips.c (mips_force_relocation): Remove
303 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
305 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
307 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
308 Adjust comments for BAL to JALX linker conversion.
309 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
310 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
312 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
313 * testsuite/gas/mips/branch-local-4.d: New test.
314 * testsuite/gas/mips/branch-local-n32-4.d: New test.
315 * testsuite/gas/mips/branch-local-n64-4.d: New test.
316 * testsuite/gas/mips/branch-addend.d: New test.
317 * testsuite/gas/mips/branch-addend-n32.d: New test.
318 * testsuite/gas/mips/branch-addend-n64.d: New test.
319 * testsuite/gas/mips/branch-local-4.s: New test source.
320 * testsuite/gas/mips/branch-addend.s: New test source.
321 * testsuite/gas/mips/mips.exp: Run the new tests.
323 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
325 * config/tc-mips.c (mips_force_relocation): Also retain branch
326 relocations against MIPS16 and microMIPS symbols.
327 (fix_bad_cross_mode_jump_p): New function.
328 (fix_bad_same_mode_jalx_p): Likewise.
329 (fix_bad_misaligned_jump_p): Likewise.
330 (fix_bad_cross_mode_branch_p): Likewise.
331 (fix_bad_misaligned_branch_p): Likewise.
332 (fix_validate_branch): Likewise.
333 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
334 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
335 etc. Verify the ISA mode and alignment of the jump target.
336 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
337 with a call to `fix_validate_branch'.
338 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
339 <BFD_RELOC_16_PCREL_S2>: Likewise.
340 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
341 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
342 Verify the ISA mode and alignment of the branch target.
343 (md_convert_frag): Verify the ISA mode and alignment of resolved
344 MIPS16 branch targets.
345 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
346 branch targets with `.insn'.
347 * testsuite/gas/mips/branch-misc-5.s: Likewise.
348 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
350 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
351 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
352 non-instruction branch target with `.insn'.
353 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
354 with external symbols.
355 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
356 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
357 * testsuite/gas/mips/micromips-trap.d: Likewise.
358 * testsuite/gas/mips/micromips.d: Likewise.
359 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
360 targets with `.insn'.
361 * testsuite/gas/mips/mips16.d: Update accordingly.
362 * testsuite/gas/mips/mips16-64.d: Likewise.
363 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
364 branch target with `.insn'.
365 * testsuite/gas/mips/relax-swap3.s: Likewise.
366 * testsuite/gas/mips/branch-local-2.l: New list test.
367 * testsuite/gas/mips/branch-local-3.l: New list test.
368 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
369 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
370 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
371 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
372 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
373 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
374 * testsuite/gas/mips/unaligned-jump-3.d: New test.
375 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
376 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
377 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
378 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
380 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
382 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
383 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
384 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
385 * testsuite/gas/mips/unaligned-branch-3.d: New test.
386 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
387 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
388 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
389 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
390 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
391 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
392 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
393 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
394 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
395 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
397 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
399 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
400 * testsuite/gas/mips/branch-local-2.s: New test source.
401 * testsuite/gas/mips/branch-local-3.s: New test source.
402 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
403 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
404 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
405 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
406 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
407 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
408 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
409 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
410 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
412 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
414 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
415 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
416 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
417 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
418 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
419 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
420 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
422 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
424 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
426 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
428 * testsuite/gas/mips/mips.exp: Run the new tests.
430 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
432 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
434 (do_pseudo_b): Adjust.
435 (do_pseudo_bal): Likewise.
436 (do_pseudo_bge): Likewise.
437 (do_pseudo_bges): Likewise.
438 (do_pseudo_bgt): Likewise.
439 (do_pseudo_bgts): Likewise.
440 (do_pseudo_ble): Likewise.
441 (do_pseudo_bles): Likewise.
442 (do_pseudo_blt): Likewise.
443 (do_pseudo_blts): Likewise.
444 (do_pseudo_br): Likewise.
445 (do_pseudo_bral): Likewise.
446 (do_pseudo_la): Likewise.
447 (do_pseudo_li): Likewise.
448 (do_pseudo_ls_bhw): Likewise.
449 (do_pseudo_ls_bhwp): Likewise.
450 (do_pseudo_ls_bhwpc): Likewise.
451 (do_pseudo_ls_bhwi): Likewise.
452 (do_pseudo_move): Likewise.
453 (do_pseudo_neg): Likewise.
454 (do_pseudo_not): Likewise.
455 (do_pseudo_pushpopm): Likewise.
456 (do_pseudo_pushpop): Likewise.
457 (do_pseudo_v3push): Likewise.
458 (do_pseudo_v3pop): Likewise.
459 (do_pseudo_pushpop_stack): Likewise.
460 (do_pseudo_push_bhwd): Likewise.
461 (do_pseudo_pop_bhwd): Likewise.
462 (do_pseudo_pusha): Likewise.
463 (do_pseudo_pushi): Likewise.
465 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
467 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
468 bfd_reloc_code_real_type.
470 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
472 * config/tc-sparc.c (pop_table): Remove sentinel.
473 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
476 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
478 * config/tc-z8k.c (newfix): Make type of type argument
479 bfd_reloc_code_real_type.
480 (apply_fix): Likewise.
482 2016-07-16 Alan Modra <amodra@gmail.com>
484 * config/tc-epiphany.c: Don't include libbfd.h.
485 * config/tc-frv.c: Likewise.
486 * config/tc-ip2k.c: Likewise.
487 * config/tc-iq2000.c: Likewise.
488 * config/tc-m32c.c: Likewise.
489 * config/tc-mep.c: Likewise.
490 * config/tc-mt.c: Likewise.
491 * config/tc-nios2.c: Likewise.
493 2016-07-16 Alan Modra <amodra@gmail.com>
495 * config/bfin-parse.y: Don't include libbfd.h.
496 * config/tc-bfin.c: Likewise.
497 * config/tc-rl78.c: Likewise.
498 * config/tc-rx.c: Likewise.
499 * config/tc-metag.c: Likewise.
500 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
501 * Makefile.am: Update dependencies.
502 * Makefile.in: Regenerate.
504 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
506 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
507 (mips_force_relocation_abs): New prototype.
508 * config/tc-mips.c (mips_force_relocation_abs): New function.
509 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
510 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
511 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
512 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
513 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
515 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
517 * testsuite/gas/mips/branch-absolute-addend.d: New test.
518 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
519 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
521 * testsuite/gas/mips/mips.exp: Run the new tests.
523 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
525 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
526 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
527 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
529 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
530 in `bar', export `foo'.
531 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
533 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
534 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
535 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
537 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
540 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
542 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
543 * testsuite/gas/mips/branch-absolute.d: New test.
544 * testsuite/gas/mips/branch-absolute-n32.d: New test.
545 * testsuite/gas/mips/branch-absolute-n64.d: New test.
546 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
547 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
548 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
549 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
550 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
552 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
554 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
555 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
556 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
557 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
559 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
561 * testsuite/gas/mips/branch-absolute.s: New test source.
562 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
563 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
565 * testsuite/gas/mips/micromips-branch-absolute.s: New test
567 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
569 * testsuite/gas/mips/mips.exp: Run the new tests.
571 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
573 * testsuite/gas/mips/nal-1.d: New test.
574 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
575 * testsuite/gas/mips/nal-2.d: New test.
576 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
577 * testsuite/gas/mips/nal.s: New test source.
578 * testsuite/gas/mips/mips.exp: Run the new tests.
580 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
582 * testsuite/gas/sparc/ldtxa.s: New file.
583 * testsuite/gas/sparc/ldtxa.d: Likewise.
584 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
586 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
588 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
589 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
590 as it is no longer needed.
592 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
594 * config/tc-mips.c (append_insn): Remove extraneous
597 2016-07-04 Jan Beulich <jbeulich@suse.com>
599 * config/tc-i386.c (check_qword_reg): Correct register kind
601 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
602 16-bit register cases.
603 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
606 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
608 * testsuite/gas/mips/ecoff@ld.d: Remove test.
609 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
610 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
611 * testsuite/gas/mips/ecoff@sd.d: Remove test.
612 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
613 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
615 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
616 * testsuite/gas/mips/bge.d: Likewise.
617 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
618 * testsuite/gas/mips/bgeu.d: Likewise.
619 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
620 * testsuite/gas/mips/blt.d: Likewise.
621 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
622 * testsuite/gas/mips/bltu.d: Likewise.
623 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
624 * testsuite/gas/mips/branch-likely.d: Likewise.
625 * testsuite/gas/mips/la.d: Likewise.
626 * testsuite/gas/mips/lb.d: Likewise.
627 * testsuite/gas/mips/lifloat.d: Likewise.
628 * testsuite/gas/mips/sb.d: Likewise.
629 * testsuite/gas/mips/uld.d: Likewise.
630 * testsuite/gas/mips/ulh.d: Likewise.
631 * testsuite/gas/mips/ulw.d: Likewise.
632 * testsuite/gas/mips/usd.d: Likewise.
633 * testsuite/gas/mips/ush.d: Likewise.
634 * testsuite/gas/mips/usw.d: Likewise.
636 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
638 * testsuite/gas/mips/branch-misc-2.s: Move non
639 locally-defined-global symbol tests...
640 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
641 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
642 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
643 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
644 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
645 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
646 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
647 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
648 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
649 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
650 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
651 * testsuite/gas/mips/branch-misc-5.d: New test.
652 * testsuite/gas/mips/branch-misc-5pic.d: New test.
653 * testsuite/gas/mips/branch-misc-5-64.d: New test.
654 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
655 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
656 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
657 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
658 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
659 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
660 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
661 * testsuite/gas/mips/mips.exp: Run the new tests.
663 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
665 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
667 * testsuite/gas/mips/beq.d: Update accordingly.
668 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
669 * testsuite/gas/mips/micromips@beq.d: Likewise.
671 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
673 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
674 tests to NewABI targets.
676 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
678 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
681 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
683 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
685 (aarch64_features): Initialize require fields.
686 (aarch64_parse_features): Handle dependencies.
687 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
688 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
689 * testsuite/gas/aarch64/illegal-nofp16.s: New.
690 * testsuite/gas/aarch64/illegal-nofp16.l: New.
691 * testsuite/gas/aarch64/illegal-nofp16.d: New.
693 2016-07-01 Nick Clifton <nickc@redhat.com>
695 * macro.c (macro_expand_body): Use a buffer big enough to hold an
696 extremely large integer.
698 2016-07-01 Jan Beulich <jbeulich@suse.com>
700 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
702 2016-07-01 Tristan Gingold <gingold@adacore.com>
704 * NEWS: Add marker for 2.27.
706 2016-07-01 Jan Beulich <jbeulich@suse.com>
708 * tc-i386.c (i386_index_check): Add special checks for bndmk,
710 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
711 as well as scaling by other than 1 tests.
712 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
714 2016-07-01 Jan Beulich <jbeulich@suse.com>
716 * tc-i386.c (md_assemble): Alter address size checking for MPX
718 * testsuite/gas/i386/mpx-inval-2.s: New.
719 * testsuite/gas/i386/mpx-inval-2.l: New.
720 * testsuite/gas/i386/i386.exp: Run new test.
722 2016-07-01 Jan Beulich <jbeulich@suse.com>
725 * config/tc-i386.c (match_template): Add char parameter,
726 consumed in Intel mode for an extra suffix check.
727 (md_assemble): New local variable mnem_suffix.
728 * testsuite/gas/i386/suffix-bad.s: New.
729 * testsuite/gas/i386/suffix-bad.l: New.
730 * testsuite/gas/i386/i386.exp: Run new test (twice).
732 2016-07-01 Jan Beulich <jbeulich@suse.com>
734 * testsuite/gas/i386/movz.s: New.
735 * testsuite/gas/i386/movz32.d: New.
736 * testsuite/gas/i386/movz64.d: New.
737 * testsuite/gas/i386/i386.exp: Run new tests.
739 2016-07-01 Jan Beulich <jbeulich@suse.com>
741 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
742 (md_assemble): Free first memory operand string.
743 (i386_index_check): Use repprefixok to distingush xlat from
744 other (real) string ops.
745 (maybe_adjust_templates): New.
746 (i386_att_operand). Call it. Store first memory operand string.
747 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
748 * testsuite/gas/i386/intel-movs.s: New.
749 * testsuite/gas/i386/intel-movs32.d: New.
750 * testsuite/gas/i386/intel-movs64.d: New.
751 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
752 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
754 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
756 * config/tc-mips.c (get_append_method): Fix a comment typo.
758 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
759 Maciej W. Rozycki <macro@imgtec.com>
761 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
762 case MIPS16 handling.
763 * testsuite/gas/mips/branch-swap-3.d: New test.
764 * testsuite/gas/mips/branch-swap-4.d: New test.
765 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
766 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
767 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
768 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
769 * testsuite/gas/mips/branch-swap-3.s: New test source.
770 * testsuite/gas/mips/mips.exp: Run the new tests.
772 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
774 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
777 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
780 * write.c (subsegs_finish_section): Force no section padding to
781 alignment on failed assembly, always set last frag's alignment
783 * testsuite/gas/all/pr20312.l: New list test.
784 * testsuite/gas/all/pr20312.s: New test source.
785 * testsuite/gas/all/gas.exp: Run the new test
787 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
789 * config.in (TARGET_WITH_CPU): Undefine.
790 * configure.ac: Add --with-cpu support, and define in config.h.
791 * configure: Regenerate.
792 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
793 * NEWS: Mention new configure option.
795 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
797 * testsuite/gas/arm/armv8_2+rdma.d: New.
799 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
801 * NEWS: Mention --enable-compressed-debug-sections=gas is the
802 default for Linux/x86 targets.
803 * configure.tgt (ac_default_compressed_debug_sections): Default
804 to yes for Linux/x86 targets.
806 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
808 * write.c: Remove "libbfd.h" inclusion.
810 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
812 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
815 2016-06-28 Alan Modra <amodra@gmail.com>
818 * testsuite/gas/elf/section11.s: Don't start directives in first column.
820 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
822 * testsuite/gas/aarch64/diagnostic.s,
823 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
825 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
827 * config/tc-mips.c (mips16_reloc_p): Handle
828 BFD_RELOC_MIPS16_16_PCREL_S1.
829 (b_reloc_p): Likewise.
830 (limited_pcrel_reloc_p): Likewise.
831 (md_pcrel_from): Likewise.
832 (md_apply_fix): Likewise.
833 (tc_gen_reloc): Likewise.
834 (md_convert_frag): Likewise.
835 (mips_fix_adjustable): Update comment.
836 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
837 output, add dump patterns.
838 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
839 output, add dump patterns.
840 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
841 output, add dump patterns.
842 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
843 output, add dump patterns.
844 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
845 output, add dump patterns.
846 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
847 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
848 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
849 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
850 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
851 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
852 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
853 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
854 * testsuite/gas/mips/branch-weak-6.d: New test.
855 * testsuite/gas/mips/branch-weak-7.d: New test.
856 * testsuite/gas/mips/mips.exp: Run the new tests.
858 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
860 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
861 cfi_add_CFA_def_cfa to generate default CFA with offset
862 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
864 2016-06-27 Nick Clifton <nickc@redhat.com>
867 * as.h (do_not_pad_sections_to_alignment): New global variable.
868 * as.c (show_usage): Add --no-pad-sections.
869 (parse_args): Likewise.
870 * write.c (size_seg): Skip padding the end of the section if
871 requested from the command line.
872 (SUB_SEGMENT_ALIGN): Likewise.
873 * doc/as.texinfo: Document the new option.
874 * NEWS: Mention the new feature.
875 * testsuite/gas/elf/section11.s: New test.
876 * testsuite/gas/elf/section11.d: New test driver.
877 * testsuite/gas/elf/elf.exp: Run the new test.
879 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
881 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
882 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
884 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
886 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
888 (map_suffix_reloc_to_operator): Likewise.
889 (map_operator_to_reloc): Likewise.
891 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
893 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
894 element in relax_table.
896 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
898 * config/tc-aarch64.c: Make the type of reg_entry::type
901 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
903 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
904 (md_parse_option): Adjust.
905 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
906 with iteration from 0 to ARRAY_SIZE.
907 * config/tc-mcore.c (md_begin): Likewise.
908 * config/tc-visium.c (visium_parse_arch): Likewise.
910 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
912 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
913 and simplify accordingly.
914 (tic54x_include): Adjust.
915 (tic54x_mlib): Likewise.
917 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
919 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
921 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
923 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
924 unchanged with relaxed MIPS16 instructions.
925 (mips16_extended_frag): Adjust accordingly. Return 1 right
926 away if a relocation will be required for the symbol requested.
927 Remove dead first relaxation pass code.
928 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
929 (md_convert_frag): Adjust symbol value calculation. Raise an
930 error if a relocation is required for the symbol requested.
931 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
933 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
934 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
935 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
936 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
937 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
938 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
939 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
940 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
941 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
942 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
943 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
944 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
945 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
946 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
947 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
948 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
949 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
950 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
951 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
952 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
953 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
954 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
955 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
956 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
957 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
958 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
959 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
960 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
961 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
962 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
963 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
964 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
965 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
966 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
967 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
968 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
969 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
970 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
971 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
972 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
973 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
974 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
975 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
976 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
977 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
978 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
979 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
980 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
981 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
982 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
983 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
984 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
985 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
986 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
987 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
988 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
989 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
990 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
991 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
992 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
993 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
994 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
995 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
996 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
997 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
998 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
999 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1000 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1001 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1002 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1003 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1004 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1005 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1006 * testsuite/gas/mips/mips.exp: Run the new tests.
1008 2016-06-24 Alan Modra <amodra@gmail.com>
1010 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1012 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1014 * config/tc-mips.c (b_reloc_p): New function.
1015 (mips_fix_adjustable): Also keep the original microMIPS symbol
1016 referred from branch relocations.
1017 * testsuite/gas/mips/branch-local-1.d: New test.
1018 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1019 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1020 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1022 * testsuite/gas/mips/branch-local-1.s: New test source.
1023 * testsuite/gas/mips/mips.exp: Run the new cases.
1025 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1027 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1028 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1029 options. Correct erroneous enabling of SPFP instructions when
1032 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1034 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1035 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1036 setbool, xor3>: New tests.
1037 * testsuite/gas/ppc/power9.s: Likewise.
1039 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1041 * config/tc-xtensa.c: Include elf/xtensa.h.
1043 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1045 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1046 <BFD_RELOC_LO16_PCREL>: New switch cases.
1047 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1048 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1049 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1050 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1052 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1053 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1054 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1055 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1056 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1057 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1058 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1059 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1060 * testsuite/gas/mips/mips.exp: Run the new tests.
1062 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1064 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1065 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1066 via `fixP->fx_addsy'.
1068 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1070 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1071 Calculate relocation from the containing aligned doubleword.
1072 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1073 addend from the containing aligned doubleword.
1075 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1077 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1078 rather than `mips_opts' for the R6 ISA check.
1079 (mips_fix_adjustable): Likewise.
1080 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1081 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1082 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1083 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1084 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1085 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1086 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1087 * testsuite/gas/mips/mips.exp: Run the new tests.
1089 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1091 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1092 Add nps400 option and feature. Add check for nps400
1093 feature. Refactor existing checks to check subclass before
1095 (md_show_usage): Document flags for NPS-400 and add some other
1097 (cpu_type): Remove nps400 CPU type entry
1098 (check_zol): Remove bfd_mach_arc_nps400 case.
1099 (md_show_usage): Add help on -mcpu=nps400.
1100 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1102 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1103 -fpuda flags. Document -mcpu=nps400.
1104 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1105 expected flags to match ARC700 instead of NPS400.
1106 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1107 * testsuite/gas/arc/nps-400-2.d: Likewise.
1108 * testsuite/gas/arc/nps-400-3.d: Likewise.
1109 * testsuite/gas/arc/nps-400-4.d: Likewise.
1110 * testsuite/gas/arc/nps-400-5.d: Likewise.
1111 * testsuite/gas/arc/nps-400-6.d: Likewise.
1112 * testsuite/gas/arc/nps-400-7.d: Likewise.
1113 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1114 avoid clash with cbba instruction.
1115 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1116 * testsuite/gas/arc/textinsn3op.d: Likewise.
1117 * testsuite/gas/arc/textinsn3op.s: Likewise.
1118 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1119 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1121 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1123 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1124 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1126 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1128 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1131 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1133 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1135 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1137 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1138 %hmcddfr and %hva_mask_nz.
1139 (sparc_ip): New handling of asr/privileged/hyperprivileged
1140 registers, adapted to the new form of the sparc opcodes table.
1141 * testsuite/gas/sparc/rdasr.s: New file.
1142 * testsuite/gas/sparc/rdasr.d: Likewise.
1143 * testsuite/gas/sparc/wrasr.s: Likewise.
1144 * testsuite/gas/sparc/wrasr.d: Likewise.
1145 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1147 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1148 registers require it.
1149 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1150 registers and write instruction modalities.
1151 * testsuite/gas/sparc/wrpr.d: Likewise.
1152 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1154 * testsuite/gas/sparc/rdhpr.d: Likewise.
1155 * testsuite/gas/sparc/wrhpr.s: Likewise.
1156 * testsuite/gas/sparc/wrhpr.d: Likewise.
1158 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1160 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1161 architectures to use the right opcode architecture.
1162 (sparc_md_end): Handle v9{c,d,e,v,m}.
1163 (sparc_ip): Fix some comments.
1164 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1165 instruction, which is v9d.
1166 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1167 instruction from the test, as %mwait is not readable.
1168 * testsuite/gas/sparc/mwait.d: Likewise.
1169 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1170 mismatch architecture errors.
1171 * testsuite/gas/sparc/mism-2.s: New file.
1173 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1175 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1176 empty string to mark the end of the array.
1177 (hpriv_reg_table): Likewise.
1178 (v9a_asr_table): Likewise.
1179 (cmp_reg_entry): Handle entries with NULL names.
1181 (F_POP_PCREL): Likewise.
1182 (F_POP_TLS_CALL): Likewise.
1183 (F_POP_POSTFIX): Likewise.
1184 (struct pop_entry): New type.
1185 (pop_table): New variable.
1186 (enum pop_entry_type): New type.
1187 (struct perc_entry): Likewise.
1188 (NUM_PERC_ENTRIES): Define.
1189 (perc_table): New variable.
1190 (cmp_perc_entry): New function.
1191 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1193 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1194 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1197 2016-06-15 Nick Clifton <nickc@redhat.com>
1199 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1201 * config/tc-mcore.c (md_assemble): Likewise.
1202 * config/tc-mn10200.c (md_assemble): Likewise.
1203 * config/tc-moxie.c (md_assemble): Likewise.
1204 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1205 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1206 exception targets. Add alpha, hppa, microblaze and rl78 to list
1208 (forward): Add microblaze to list of exceptions.
1209 (fwdexp): Add alpha to list of exceptions.
1210 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1211 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1212 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1213 mn10200 to list of exceptions.
1214 (align2): Expect to fail for nds32.
1215 (cond): Add alpha and rl78 to list of exceptions.
1216 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1217 * testsuite/gas/all/string.d: Skip for tic4x.
1218 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1219 target does not support ELF.
1220 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1221 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1222 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1223 tests for sh-pe and sh-rtemscoff targets.
1224 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1226 (type): Run the noifunc version for alpha-freebsd and visium.
1227 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1228 mn10200 or moxie targets.
1229 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1230 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1232 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1233 mcore and rx targets.
1234 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1236 (purge): Expect to fail on the ns32k and vax.
1237 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1238 * testsuite/gas/nds32/ls.d: Likewise.
1239 * testsuite/gas/nds32/sys-reg.d: Likewise.
1240 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1241 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1242 * testsuite/gas/pe/section-align-3.d: Likewise.
1243 * testsuite/gas/pe/section-exclude.d: Likewise.
1244 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1246 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1247 for variations in whitespace.
1248 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1250 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1251 Installs a 32-bit value without generating warnings on 64-bit
1253 Use the new macro to replace the .word directives.
1255 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1257 * testsuite/gas/arc/add_s.d: New file.
1258 * testsuite/gas/arc/add_s.s: New file.
1260 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1262 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1263 * testsuite/gas/arc/nps400-6.d: Likewise.
1265 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1267 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1269 * testsuite/gas/arc/nps400-6.d: Likewise.
1271 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1273 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1274 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1275 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1276 * testsuite/gas/arc/nps400-6.d: Likewise.
1278 2016-06-14 Nick Clifton <nickc@redhat.com>
1280 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1283 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1285 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1286 JALR relocations on R6.
1287 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1288 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1289 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1290 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1291 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1292 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1294 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1295 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1297 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1298 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1300 * testsuite/gas/mips/mips.exp: Run the new tests.
1302 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1304 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1305 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1308 2016-06-13 Nick Clifton <nickc@redhat.com>
1310 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1311 that are not supported.
1313 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1315 * config/tc-cr16.c (check_range): Likewise.
1316 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1318 2016-06-08 Renlin Li <renlin.li@arm.com>
1320 * config/tc-aarch64.c (print_operands): Substitute size.
1321 (output_operand_error_record): Likewise.
1323 2016-06-07 Alan Modra <amodra@gmail.com>
1325 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1326 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1327 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1328 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1329 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1330 add vle_opcodes twice.
1331 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1333 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1335 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1336 (arm_ext_ras): Renamed from arm_ext_v8_2.
1337 (insns): Update for arm_ext_v8_2 renaming.
1338 (arm_extensions): Add "ras".
1339 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1340 * testsuite/gas/arm/armv8-a+ras.d: New.
1341 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1344 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1346 * itbl-parse.y (yyerror): Use modern argument declaration style.
1348 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1350 * config/tc-sh.c (parse_reg): Change type of mode argument to
1352 (get_operand): Adjust.
1353 (insert): Change type of how to bfd_reloc_code_real_type.
1354 (insert4): Likewise.
1355 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1356 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1358 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1360 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1363 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1366 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1367 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1368 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1369 * gas/testsuite/gas/ppc/power8.s: Likewise.
1370 * gas/testsuite/gas/ppc/power8.d: Likewise.
1371 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1373 * gas/testsuite/gas/ppc/power4.d: Likewise.
1375 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1378 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1379 * testsuite/gas/i386/x86-64-branch.d: Updated.
1380 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1381 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1382 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1384 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1386 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1387 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1389 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1391 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1392 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1394 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1396 * configure.tgt: Replace -uclibc with *.
1398 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1400 * config/tc-arc.c (parse_opcode_flags): New function.
1401 (find_opcode_match): Move flag parsing code out to new function.
1402 Ignore operands marked IGNORE.
1403 (build_fake_opcode_hash_entry): New function.
1404 (find_special_case_long_opcode): New function.
1405 (find_special_case): Lookup long opcodes.
1406 * testsuite/gas/arc/nps400-7.d: New file.
1407 * testsuite/gas/arc/nps400-7.s: New file.
1409 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1411 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1413 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1415 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1416 sentinal with iteration to array size.
1418 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1420 * config/xtensa-relax.h: Move typedefs of enums to the enums
1423 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1425 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1428 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1430 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1431 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1432 * testsuite/gas/arc/nps-400-1.d: Likewise.
1434 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1437 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1438 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1439 noavx512ifma and noavx512vbmi.
1440 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1441 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1443 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1444 * testsuite/gas/i386/noavx512-1.l: New file.
1445 * testsuite/gas/i386/noavx512-1.s: Likewise.
1446 * testsuite/gas/i386/noavx512-2.l: Likewise.
1447 * testsuite/gas/i386/noavx512-2.s: Likewise.
1449 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1452 * config/tc-i386.c (cpu_arch): Add 687.
1453 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1454 nosse4.1, nosse4.2, nosse4 and noavx2.
1455 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1456 register. Check cpuregxmm instead of cpusse for XMM register.
1457 Check cpuregymm instead of cpuavx for YMM register. Check
1458 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1459 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1460 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1461 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1462 * testsuite/gas/i386/arch-10.d (as): Likewise.
1463 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1464 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1465 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1467 * testsuite/gas/i386/no87-3.l: New file.
1468 * testsuite/gas/i386/no87-3.s: Likewise.
1469 * testsuite/gas/i386/noavx-3.l: Likewise.
1470 * testsuite/gas/i386/noavx-3.s: Likewise.
1471 * testsuite/gas/i386/noavx-4.d: Likewise.
1472 * testsuite/gas/i386/noavx-4.s: Likewise.
1473 * testsuite/gas/i386/nosse-4.l: Likewise.
1474 * testsuite/gas/i386/nosse-4.s: Likewise.
1475 * testsuite/gas/i386/nosse-5.d: Likewise.
1476 * testsuite/gas/i386/nosse-5.s: Likewise.
1478 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1481 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1483 (match_template): Check Intel64/AMD64 ISA.
1485 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1488 * config/tc-i386.c (intel64): New.
1489 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1490 (md_parse_option): Set intel64 instead of cpuamd64 and
1493 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1495 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1498 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1500 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1501 * testsuite/gas/ppc/altivec3.s: Likewise.
1502 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1503 * testsuite/gas/ppc/power9.s: Likewise.
1505 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1507 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1508 * testsuite/gas/i386/noavx-1.l: Likewise.
1509 * testsuite/gas/i386/nommx-1.l: Likewise.
1510 * testsuite/gas/i386/nosse-1.l: Likewise.
1511 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1512 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1513 * testsuite/gas/i386/noavx-1.s: Likewise.
1514 * testsuite/gas/i386/nommx-1.s: Likewise.
1515 * testsuite/gas/i386/nosse-1.s: Likewise.
1516 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1518 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1520 * config/tc-metag.c (metag_handle_align): Make the type of noop
1523 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1525 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1526 bfd_reloc_code_real_type.
1528 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1531 * config/tc-i386.c (cpu_flags_match): Require another match
1533 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1534 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1535 * testsuite/gas/i386/avx512vl-1.l: New file.
1536 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1537 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1538 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1539 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1540 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1541 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1542 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1544 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1547 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1548 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1549 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1551 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1553 * config/tc-i386.c (arch_entry): Remove negated.
1554 (noarch_entry): New struct.
1555 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1557 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1558 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1560 (output_message): New function.
1561 (show_arch): Use it. Handle cpu_noarch.
1562 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1563 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1564 * testsuite/gas/i386/noavx-1.l: New file.
1565 * testsuite/gas/i386/noavx-1.s: Likewise.
1566 * testsuite/gas/i386/noavx-2.s: Likewise.
1567 * testsuite/gas/i386/noavx-2.l: Likewise.
1568 * testsuite/gas/i386/nommx-1.s: Likewise.
1569 * testsuite/gas/i386/nommx-1.l: Likewise.
1570 * testsuite/gas/i386/nommx-2.s: Likewise.
1571 * testsuite/gas/i386/nommx-2.l: Likewise.
1572 * testsuite/gas/i386/nommx-3.s: Likewise.
1573 * testsuite/gas/i386/nommx-3.l: Likewise.
1574 * testsuite/gas/i386/nosse-1.s: Likewise.
1575 * testsuite/gas/i386/nosse-1.l: Likewise.
1576 * testsuite/gas/i386/nosse-2.s: Likewise.
1577 * testsuite/gas/i386/nosse-2.l: Likewise.
1578 * testsuite/gas/i386/nosse-3.s: Likewise.
1579 * testsuite/gas/i386/nosse-3.l: Likewise.
1581 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1584 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1585 instruction if supported by the currently selected fpu variant.
1586 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1587 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1589 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1591 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1592 jump relocations against MIPS16 or microMIPS symbols on RELA
1594 * testsuite/gas/mips/jalx-local.d: New test.
1595 * testsuite/gas/mips/jalx-local-n32.d: New test.
1596 * testsuite/gas/mips/jalx-local-n64.d: New test.
1597 * testsuite/gas/mips/jalx-local.s: New test source.
1598 * testsuite/gas/mips/mips.exp: Run the new tests.
1600 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1602 * config/tc-mips.c (md_apply_fix)
1603 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1606 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1608 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1609 operator to operatorT.
1610 (map_suffix_reloc_to_operator): Change return type to operatorT.
1612 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1614 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1616 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1618 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1619 handler_charp to const char *.
1621 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1623 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1624 (ft32_target_format): Likewise.
1625 (TARGET_FORMAT): Adjust.
1627 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1629 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1630 (ia64_frob_label): Likewise.
1632 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1634 * config/tc-cr16.c (check_range): Make type of retval op_err.
1635 * config/tc-crx.c: Likewise.
1637 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1639 * config/tc-arc.c (md_begin): Add XY registers.
1640 (cpu_types): Code density is default off for ARC EM.
1642 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1644 * config/tc-arc.c (attributes_t): Renamed attribute class to
1646 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1648 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1650 * configuse.tgt: Add entry for arm-phoenix.
1652 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1654 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1656 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1658 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1660 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1662 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1663 (md_begin): Likewise.
1664 (encode_condition): Likewise.
1665 (encode_cc3): Likewise.
1666 (encode_cc2): Likewise.
1667 (encode_operand): Likewise.
1668 (tic54x_undefined_symbol): Likewise.
1670 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1672 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1674 * doc/c-mips.texi: Document p6600 -march option.
1676 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1679 * config/tc-i386.c (md_apply_fix): Preserve addend for
1680 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1681 * testsuite/gas/i386/addend.d: New file.
1682 * testsuite/gas/i386/addend.s: Likewise.
1683 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1684 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1685 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1686 * testsuite/gas/i386/reloc32.d: Updated.
1688 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1690 * config/tc-mips.c (append_insn): Correct the encoding of a
1691 constant argument for microMIPS JALX.
1692 (tc_gen_reloc): Correct the encoding of an in-place addend for
1694 * testsuite/gas/mips/jalx-addend.d: New test.
1695 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1696 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1697 * testsuite/gas/mips/jalx-imm.d: New test.
1698 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1699 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1700 * testsuite/gas/mips/jalx-addend.s: New test source.
1701 * testsuite/gas/mips/jalx-imm.s: New test source.
1702 * testsuite/gas/mips/mips.exp: Run the new tests.
1704 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1706 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1709 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1711 * config/tc-arc.c (find_opcode_match): Remove casting away of
1713 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1715 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1717 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1719 (md_convert_frag): Likewise.
1721 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1723 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1724 cached opcode to NULL when we reach a non-matching opcode.
1725 * testsuite/gas/arc/asm-errors-2.d: New file.
1726 * testsuite/gas/arc/asm-errors-2.err: New file.
1727 * testsuite/gas/arc/asm-errors-2.s: New file.
1729 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1731 * config/tc-arc.c (tokenize_arguments): Add checks for array
1733 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1734 * testsuite/gas/arc/asm-errors.err: Update expected results.
1736 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1738 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1739 int to enum rx_cpu_types.
1741 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1743 * config/tc-dlx.c (struct machine_it): change the type of a field from
1744 int to bfd_reloc_code_real_type.
1745 * config/tc-tic4x.c: Likewise.
1747 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1749 * config/tc-v850.c (v850_target_arch): change type to enum
1751 * config/tc-v850.h (v850_target_arch): Likewise.
1753 2016-05-18 Alan Modra <amodra@gmail.com>
1755 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1756 allowed negative range.
1757 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1758 * testsuite/gas/ppc/power9.d: Update.
1760 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1762 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1763 disassembling and stop skipping targets.
1764 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1765 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1766 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1767 instruction for targets that have stronger alignment requirement.
1768 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1769 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1770 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1771 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1772 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1773 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1774 * testsuite/gas/arm/archv8m-main.d: Likewise.
1775 * testsuite/gas/arm/archv8m.s: Add label.
1776 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1777 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1778 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1780 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1782 * config/tc-m32r.c (mach_table): Make static and const.
1784 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1786 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1789 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1791 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1793 * config/tc-msp430.c (md_begin): Likewise.
1795 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1797 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1798 bfd_reloc_code_real_type where appropriate.
1799 (fixup16): Likewise.
1800 (fixup8_xg): Likewise.
1802 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1804 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1806 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1808 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1809 * testsuite/gas/ppc/power9.s: Likewise.
1811 2016-05-13 Alan Modra <amodra@gmail.com>
1813 * config/obj-coff.c (weak_uniquify): Delete unused var.
1815 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1817 * app.c (app_push): Use XNEW and related macros.
1818 * as.c (parse_args): Likewise.
1819 * cgen.c (make_right_shifted_expr): Likewise.
1820 (gas_cgen_tc_gen_reloc): Likewise.
1821 * config/bfin-defs.h: Likewise.
1822 * config/bfin-parse.y: Likewise.
1823 * config/obj-coff.c (stack_init): Likewise.
1824 (stack_push): Likewise.
1825 (coff_obj_symbol_new_hook): Likewise.
1826 (coff_obj_symbol_clone_hook): Likewise.
1827 (add_lineno): Likewise.
1828 (coff_frob_symbol): Likewise.
1829 * config/obj-elf.c (obj_elf_section_name): Likewise.
1830 (build_group_lists): Likewise.
1831 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1832 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1833 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1834 (find_or_make_literal_pool): Likewise.
1835 (add_to_lit_pool): Likewise.
1836 (fill_instruction_hash_table): Likewise.
1837 * config/tc-alpha.c (load_expression): Likewise.
1838 (emit_jsrjmp): Likewise.
1839 (s_alpha_ent): Likewise.
1840 (s_alpha_end): Likewise.
1841 (s_alpha_linkage): Likewise.
1842 (md_begin): Likewise.
1843 (tc_gen_reloc): Likewise.
1844 * config/tc-arc.c (arc_insert_opcode): Likewise.
1845 (arc_extcorereg): Likewise.
1846 * config/tc-bfin.c: Likewise.
1847 * config/tc-cr16.c: Likewise.
1848 * config/tc-cris.c: Likewise.
1849 * config/tc-crx.c (preprocess_reglist): Likewise.
1850 * config/tc-d10v.c: Likewise.
1851 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1852 (frv_tomcat_shuffle): Likewise.
1853 * config/tc-h8300.c: Likewise.
1854 * config/tc-i370.c (i370_macro): Likewise.
1855 * config/tc-i386.c (lex_got): Likewise.
1856 (md_parse_option): Likewise.
1857 * config/tc-ia64.c (alloc_record): Likewise.
1858 (set_imask): Likewise.
1859 (save_prologue_count): Likewise.
1860 (dot_proc): Likewise.
1861 (dot_endp): Likewise.
1862 (ia64_frob_label): Likewise.
1863 (add_qp_imply): Likewise.
1864 (add_qp_mutex): Likewise.
1865 (mark_resource): Likewise.
1866 (dot_alias): Likewise.
1867 * config/tc-m68hc11.c: Likewise.
1868 * config/tc-m68k.c (m68k_frob_label): Likewise.
1870 (mri_control_label): Likewise.
1871 (push_mri_control): Likewise.
1872 (build_mri_control_operand): Likewise.
1873 (s_mri_else): Likewise.
1874 (s_mri_break): Likewise.
1875 (s_mri_next): Likewise.
1876 (s_mri_for): Likewise.
1877 (s_mri_endw): Likewise.
1878 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1879 * config/tc-microblaze.c: Likewise.
1880 * config/tc-mmix.c (s_loc): Likewise.
1881 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1882 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1883 * config/tc-rl78.c: Likewise.
1884 * config/tc-rx.c (rx_include): Likewise.
1885 * config/tc-sh.c: Likewise.
1886 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1887 * config/tc-sparc.c: Likewise.
1888 * config/tc-spu.c: Likewise.
1889 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1890 (tic6x_start_unwind_section): Likewise.
1891 * config/tc-tilegx.c: Likewise.
1892 * config/tc-tilepro.c: Likewise.
1893 * config/tc-v850.c: Likewise.
1894 * config/tc-visium.c: Likewise.
1895 * config/tc-xgate.c: Likewise.
1896 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1897 (new_resource_table): Likewise.
1898 (resize_resource_table): Likewise.
1899 (xtensa_create_trampoline_frag): Likewise.
1900 (xtensa_maybe_create_literal_pool_frag): Likewise.
1901 (cache_literal_section): Likewise.
1902 * config/xtensa-relax.c (append_transition): Likewise.
1903 (append_condition): Likewise.
1904 (append_value_condition): Likewise.
1905 (append_constant_value_condition): Likewise.
1906 (append_literal_op): Likewise.
1907 (append_label_op): Likewise.
1908 (append_constant_op): Likewise.
1909 (append_field_op): Likewise.
1910 (append_user_fn_field_op): Likewise.
1911 (enter_opname_n): Likewise.
1912 (enter_opname): Likewise.
1913 (split_string): Likewise.
1914 (parse_insn_templ): Likewise.
1915 (clone_req_or_option_list): Likewise.
1916 (clone_req_option_list): Likewise.
1917 (parse_option_cond): Likewise.
1918 (parse_insn_pattern): Likewise.
1919 (parse_insn_repl): Likewise.
1920 (build_transition): Likewise.
1921 (build_transition_table): Likewise.
1922 * dw2gencfi.c (alloc_fde_entry): Likewise.
1923 (alloc_cfi_insn_data): Likewise.
1924 (cfi_add_CFA_remember_state): Likewise.
1925 (dot_cfi_escape): Likewise.
1926 (dot_cfi_fde_data): Likewise.
1927 (select_cie_for_fde): Likewise.
1928 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1929 * ecoff.c (ecoff_add_bytes): Likewise.
1930 (ecoff_build_debug): Likewise.
1931 * input-scrub.c (input_scrub_push): Likewise.
1932 (input_scrub_begin): Likewise.
1933 (input_scrub_next_buffer): Likewise.
1934 * itbl-ops.c (append_insns_as_macros): Likewise.
1935 (alloc_entry): Likewise.
1936 (alloc_field): Likewise.
1937 * listing.c (listing_newline): Likewise.
1938 (listing_listing): Likewise.
1939 * macro.c (get_any_string): Likewise.
1940 (delete_macro): Likewise.
1941 * stabs.c (generate_asm_file): Likewise.
1942 (stabs_generate_asm_lineno): Likewise.
1943 * subsegs.c (subseg_change): Likewise.
1944 (subseg_get): Likewise.
1945 * symbols.c (define_dollar_label): Likewise.
1946 (symbol_relc_make_sym): Likewise.
1947 * write.c (write_relocs): Likewise.
1949 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1951 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1952 (weak_name2altname): Likewise.
1953 (weak_uniquify): Likewise.
1954 (obj_coff_section): Likewise.
1955 (obj_coff_init_stab_section): Likewise.
1956 * config/obj-elf.c (obj_elf_section_name): Likewise.
1957 (obj_elf_init_stab_section): Likewise.
1958 * config/obj-evax.c (evax_shorten_name): Likewise.
1959 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1960 * config/tc-aarch64.c (create_register_alias): Likewise.
1961 * config/tc-alpha.c (load_expression): Likewise.
1962 (s_alpha_file): Likewise.
1963 (s_alpha_section_name): Likewise.
1964 (tc_gen_reloc): Likewise.
1965 * config/tc-arc.c (md_assemble): Likewise.
1966 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1967 (start_unwind_section): Likewise.
1968 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1969 (hppa_elf_mark_end_of_function): Likewise.
1970 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1971 (nios2_negate_arg): Likewise.
1972 * config/tc-rx.c (rx_section): Likewise.
1973 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1974 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1975 * config/tc-tic54x.c (tic54x_include): Likewise.
1976 (tic54x_macro_info): Likewise.
1977 (subsym_get_arg): Likewise.
1978 (subsym_substitute): Likewise.
1979 (tic54x_start_line_hook): Likewise.
1980 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1981 (xg_reverse_shift_count): Likewise.
1982 * config/xtensa-relax.c (enter_opname_n): Likewise.
1983 (split_string): Likewise.
1984 * dwarf2dbg.c (get_filenum): Likewise.
1985 (process_entries): Likewise.
1986 * expr.c (operand): Likewise.
1987 * itbl-ops.c (alloc_entry): Likewise.
1988 * listing.c (listing_message): Likewise.
1989 (listing_title): Likewise.
1990 * macro.c (check_macro): Likewise.
1991 * stabs.c (s_xstab): Likewise.
1992 * symbols.c (symbol_relc_make_expr): Likewise.
1993 * write.c (compress_debug): Likewise.
1995 2016-05-12 Nick Clifton <nickc@redhat.com>
1998 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2000 2016-05-11 Nick Clifton <nickc@redhat.com>
2003 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2004 big endian ARM configurations.
2006 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2007 Matthew Fortune <matthew.fortune@imgtec.com>
2009 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2011 (md_longopts): Likewise.
2012 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2013 (mips_ases): Define availability for DSPr3.
2014 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2015 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2016 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2018 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2019 .set nodspr3. Fix -mdspr2 formatting.
2020 * testsuite/gas/mips/mips32-dspr3.d: New file.
2021 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2022 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2024 2016-05-11 Nick Clifton <nickc@redhat.com>
2027 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2028 to the pool uses O_constant.
2029 * testsuite/gas/arm/pr20068.s: New test.
2030 * testsuite/gas/arm/pr20068.d: Test driver.
2032 2016-05-11 Nick Clifton <nickc@redhat.com>
2034 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2035 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2036 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2037 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2038 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2039 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2040 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2041 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2042 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2044 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2046 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2047 * testsuite/gas/i386/prefix.d: Adjust.
2048 * testsuite/gas/i386/rdpid.s: New test.
2049 * testsuite/gas/i386/rdpid.d: Ditto.
2050 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2051 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2052 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2053 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2055 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2057 * config/tc-i386.c (cpu_arch): Add RDPID.
2058 * doc/c-i386.texi: Document RDPID.
2060 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2062 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2063 set branch type of a symbol.
2065 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2067 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2068 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2070 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2071 (aeabi_set_public_attributes): Memorize the feature bits of the
2072 architecture selected for Tag_CPU_arch. Use it to set
2073 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2074 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2075 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2076 * testsuite/gas/arm/arch7em-bad-1.d: This.
2077 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2078 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2079 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2080 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2081 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2082 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2083 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2084 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2086 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2088 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2089 allowed_archs an array with 2 entries.
2090 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2091 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2092 (arm_extensions): Use separate entries in allowed_archs when several
2093 archs are allowed to use an extension and change ARCH_ANY in
2094 ARM_ARCH_NONE in allowed_archs.
2095 (arm_parse_extension): Check that, for each allowed_archs entry, all
2096 bits are set in the current architecture, ignoring ARM_ANY entries.
2097 (s_arm_arch_extension): Likewise.
2099 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2101 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2102 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2103 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2104 shared with a non M profile architecture.
2105 (do_rn): New function.
2106 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2108 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2109 (insns): Add ARMv8-M Security Extensions instructions.
2110 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2111 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2112 * testsuite/gas/arm/archv8m-cmse.s: New file.
2113 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2114 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2115 * testsuite/gas/arm/any-cmse.d: Likewise.
2116 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2117 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2118 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2119 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2120 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2121 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2123 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2125 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2126 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2128 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2130 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2131 (fpu_arch_vfp_v3): Likewise.
2132 (fpu_arch_neon_v1): Likewise.
2133 (arm_arch_full): Likewise.
2134 (parse_neon_el_struct_list): Initialize fields of firsttype.
2136 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2138 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2139 (arc_extinsn): Handle new introduced syntax.
2140 * testsuite/gas/arc/textinsn1op.d: New file.
2141 * testsuite/gas/arc/textinsn1op.s: Likewise.
2142 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2144 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2146 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2147 DW_LNS_fixed_advance_pc.
2149 2016-04-27 Alan Modra <amodra@gmail.com>
2151 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2152 (xmemdup0): New inline function.
2154 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2156 * config/tc-mips.c (code_option_type): New enum.
2157 (parse_code_option): Return status indicating option type.
2158 (s_mipsset): Update `parse_code_option' call site accordingly.
2159 Always set register sizes from the ISA with ISA overrides.
2160 (s_module): Update `parse_code_option' call site.
2161 * testsuite/gas/mips/isa-override-1.d: New test.
2162 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2163 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2164 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2165 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2166 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2167 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2168 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2169 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2170 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2171 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2172 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2173 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2174 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2175 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2176 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2177 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2178 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2179 * testsuite/gas/mips/isa-override-2.l: New list test.
2180 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2181 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2182 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2183 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2184 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2185 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2186 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2187 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2188 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2189 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2190 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2192 * testsuite/gas/mips/isa-override-1.s: New test source.
2193 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2194 * testsuite/gas/mips/isa-override-2.s: New test source.
2195 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2196 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2197 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2198 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2199 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2200 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2201 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2202 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2203 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2204 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2205 * testsuite/gas/mips/mips.exp: Run the new tests.
2207 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2210 * config/tc-bfin.c: Likewise.
2211 * config/tc-ia64.c: Likewise.
2212 * config/tc-mep.c: Likewise.
2213 * config/tc-metag.c: Likewise.
2214 * config/tc-nios2.c: Likewise.
2215 * config/tc-rl78.c: Likewise.
2217 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2219 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2220 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2221 (ARC Directives): Add NPS400 to .cpu directive list.
2223 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2225 * config/tc-aarch64.c (aarch64_features): Add "ras".
2226 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2227 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2228 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2229 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2230 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2232 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2234 * testsuite/gas/arc/nps400-6.d: New file.
2235 * testsuite/gas/arc/nps400-6.s: New file.
2237 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2239 * testsuite/gas/arc/nps400-4.d: New file.
2240 * testsuite/gas/arc/nps400-4.s: New file.
2241 * testsuite/gas/arc/nps400-5.d: New file.
2242 * testsuite/gas/arc/nps400-5.s: New file.
2244 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2246 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2249 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2251 Revert prevous change.
2252 * config/tc-arc.c (arc_option): Make .cpu directive
2253 case-sensitive again.
2255 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2257 * config/tc-arc.c (arc_option): Make .cpu directive
2260 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2262 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2264 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2266 * config/tc-mips.c (md_begin): Remove useless assignment.
2268 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2270 * Makefile.in: Regenerated with automake 1.11.6.
2271 * aclocal.m4: Likewise.
2272 * doc/Makefile.in: Likewise.
2274 2016-04-15 Alan Modra <amodra@gmail.com>
2276 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2278 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2280 * config/tc-nios2.c (nios2_as_options): Make file static.
2281 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2282 * config/tc-sparc.c (native_op_table): Likewise.
2284 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2286 * config/tc-m32c.c (M32C_Macros): Remove.
2287 * config/tc-msp430.c (option_numbers): Likewise.
2289 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2291 * testsuite/gas/arc/nps400-3.d: New file.
2292 * testsuite/gas/arc/nps400-3.s: New file.
2294 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2296 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2297 * testsuite/gas/arc/warn.s: Likewise.
2298 * testsuite/gas/elf/elf.exp: Run test for arc.
2300 2016-04-14 Nick Clifton <nickc@redhat.com>
2303 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2304 sections possibly having the SHF_STRINGS flag bit set.
2305 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2307 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2309 * config/tc-arc.c (mach_type_specified_p): Change type to
2311 (arc_option): Set private flags when parsing cpu pseudo-op.
2312 (md_parse_option): Set mach_type_specified_p to TRUE.
2314 2016-04-13 Nick Clifton <nickc@redhat.com>
2317 * testsuite/gas/v850/pr19937.s: New test.
2318 * testsuite/gas/v850/pr19937.d: New test control file.
2319 * testsuite/gas/v850/basic.exp: Run the new test.
2321 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2322 Andrew Bennett <andrew.bennett@imgtec.com>
2324 * config/tc-mips.c (relaxed_branch_length): Use the long
2325 sequence where the target is a weak symbol.
2326 (relaxed_micromips_32bit_branch_length): Likewise.
2327 (relaxed_micromips_16bit_branch_length): Likewise.
2328 * testsuite/gas/mips/branch-weak-1.d: New test.
2329 * testsuite/gas/mips/branch-weak-2.d: New test.
2330 * testsuite/gas/mips/branch-weak-3.d: New test.
2331 * testsuite/gas/mips/branch-weak-4.d: New test.
2332 * testsuite/gas/mips/branch-weak-5.d: New test.
2333 * testsuite/gas/mips/branch-weak.l: New stderr output.
2334 * testsuite/gas/mips/branch-weak.s: New test source.
2335 * testsuite/gas/mips/mips.exp: Run the new tests.
2337 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2339 * config/tc-mips.c (relaxed_branch_length): Use the long
2340 sequence where the distance cannot be determined.
2341 (relaxed_micromips_32bit_branch_length): Likewise.
2342 * testsuite/gas/mips/branch-extern-1.d: New test.
2343 * testsuite/gas/mips/branch-extern-2.d: New test.
2344 * testsuite/gas/mips/branch-extern-3.d: New test.
2345 * testsuite/gas/mips/branch-extern-4.d: New test.
2346 * testsuite/gas/mips/branch-extern.l: New stderr output.
2347 * testsuite/gas/mips/branch-extern.s: New test source.
2348 * testsuite/gas/mips/branch-section-1.d: New test.
2349 * testsuite/gas/mips/branch-section-2.d: New test.
2350 * testsuite/gas/mips/branch-section-3.d: New test.
2351 * testsuite/gas/mips/branch-section-4.d: New test.
2352 * testsuite/gas/mips/branch-section.l: New stderr output.
2353 * testsuite/gas/mips/branch-section.s: New test source.
2354 * testsuite/gas/mips/mips.exp: Run the new tests.
2356 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2358 * testsuite/gas/arc/textauxregister.d: New file.
2359 * testsuite/gas/arc/textauxregister.s: Likewise.
2360 * testsuite/gas/arc/textcondcode.d: Likewise.
2361 * testsuite/gas/arc/textcondcode.s: Likewise.
2362 * testsuite/gas/arc/textcoreregister.d: Likewise.
2363 * testsuite/gas/arc/textcoreregister.s: Likewise.
2364 * testsuite/gas/arc/textpseudoop.d: Likewise.
2365 * testsuite/gas/arc/textpseudoop.s: Likewise.
2366 * testsuite/gas/arc/ld2.d: Update test.
2367 * testsuite/gas/arc/st.d: Likewise.
2368 * testsuite/gas/arc/taux.d: Likewise.
2369 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2370 .extCoreRegister and .extAuxRegister documentation.
2371 * config/tc-arc.c (arc_extcorereg): New function.
2372 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2373 .extAuxRegister pseudo-ops.
2374 (extRegister_t): New type.
2375 (ext_condcode, arc_aux_hash): New global variable.
2376 (find_opcode_match): Check for extensions.
2377 (preprocess_operands): Likewise.
2378 (md_begin): Add aux registers in a hash.
2379 (assemble_insn): Update use arc_flags member.
2380 (tokenize_extregister): New function.
2381 (create_extcore_section): Likewise.
2382 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2384 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2386 * testsuite/gas/arc/noargs_a7.d: New file.
2387 * testsuite/gas/arc/noargs_a7.s: Likewise.
2388 * testsuite/gas/arc/noargs_hs.d: Likewise.
2389 * testsuite/gas/arc/noargs_hs.s: Likewise.
2391 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2393 * testsuite/gas/arc/textinsn-errors.d: New File.
2394 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2395 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2396 * testsuite/gas/arc/textinsn2op.d: Likewise.
2397 * testsuite/gas/arc/textinsn2op.s: Likewise.
2398 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2399 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2400 * testsuite/gas/arc/textinsn3op.d: Likewise.
2401 * testsuite/gas/arc/textinsn3op.s: Likewise.
2402 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2404 * config/tc-arc.c (arcext_section): New variable.
2405 (arc_extinsn): New function.
2406 (md_pseudo_table): Add .extInstruction pseudo op.
2407 (attributes_t): New type.
2408 (suffixclass, syntaxclass, syntaxclassmod): New constant
2410 (find_opcode_match): Remove arc_num_opcodes.
2411 (md_begin): Likewise.
2412 (tokenize_extinsn): New function.
2413 (arc_set_ext_seg): Likewise.
2414 (create_extinst_section): Likewise.
2416 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2418 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2419 (arc_adjust_symtab): New function.
2420 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2421 (obj_adjust_symtab): Likewise.
2422 * testsuite/gas/arc/taux.d: New file.
2423 * testsuite/gas/arc/taux.s: Likewise.
2425 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2427 * config/tc-mips.c (s_option): Sanitize `.option picX'
2429 * testsuite/gas/mips/option-pic-1.d: New test.
2430 * testsuite/gas/mips/option-pic-2.l: New list test.
2431 * testsuite/gas/mips/option-pic-1.s: New test source.
2432 * testsuite/gas/mips/option-pic-2.s: New test source.
2433 * testsuite/gas/mips/mips.exp: Run the new tests.
2435 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2437 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2439 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2440 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2441 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2442 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2443 * testsuite/gas/mips/mips.exp: Run the new tests.
2445 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2447 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2449 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2451 * messages.c (as_bad): Fix a typo in description.
2453 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2455 * config/tc-mips.c (mips_check_options): Unify messages.
2457 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2459 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2462 2016-04-08 Nick Clifton <nickc@redhat.com>
2465 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2466 COFF and AOUT sparc targets.
2468 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2470 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2471 * testsuite/gas/arc/nps400-2.d: New file.
2472 * testsuite/gas/arc/nps400-2.s: New file.
2474 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2476 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2478 (arc_opcode_hash_entry_iterator_init): New function.
2479 (arc_opcode_hash_entry_iterator_next): New function.
2480 (find_opcode_match): Iterate over all arc_opcode entries
2481 referenced by the arc_opcode_hash_entry passed in as a parameter.
2483 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2485 * config/tc-arc.c (arc_find_opcode): Now returns
2486 arc_opcode_hash_entry pointer.
2487 (find_opcode_match): Update argument type, extract arc_opcode from
2488 incoming arc_opcode_hash_entry.
2489 (find_special_case_pseudo): Update return type.
2490 (find_special_case_flag): Update return type.
2491 (find_special_case): Update return type.
2492 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2493 instruction mnemonic, then use find_opcode_match to identify
2494 specific arc_opcode.
2496 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2498 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2499 (arc_find_opcode): New function.
2500 (find_special_case_pseudo): Use arc_find_opcode.
2501 (find_special_case_flag): Likewise.
2502 (assemble_tokens): Likewise.
2503 (md_begin): Build hash using struct arc_opcode_hash_entry.
2505 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2507 * config/tc-arc.c (arc_option): Prepare string for automatic
2509 (declare_register): Likewise.
2511 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2513 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2514 Correct entry for RDMA. Alpha sort entries.
2516 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2518 * config/tc-arc.c (tokenize_flags): Allow greater range of
2519 characters into flag names.
2521 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2523 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2525 (preprocess_operands): Delete.
2526 (assemble_tokens): Remove call to preprocess_operands.
2528 2016-04-07 Nick Clifton <nickc@redhat.com>
2531 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2532 inside a %-macro could not be fully parsed.
2533 * expr.c (integer_constant): Accept and ignore U suffixes to
2535 (operand): When a missing closing parenthesis is encountered,
2536 report the character that was found instead.
2537 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2538 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2539 * testsuite/gas/sparc/pr19910-1.s: New test.
2540 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2541 * testsuite/gas/sparc/pr19910-2.s: New test.
2542 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2544 2016-04-06 Nick Clifton <nickc@redhat.com>
2546 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2547 an EINT instruction. Warn/fix as necessary.
2548 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2549 * testsuite/gas/msp430/bad.l: Update expected messages.
2551 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2553 * testsuite/gas/arc/nps400-1.d: Update expected results.
2554 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2556 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2558 * config/tc-arc.c (is_code_density_p): Compare directly the
2560 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2561 (check_cpu_feature): New function.
2562 (find_opcode_match): Use check_cpu_feature function.
2563 (preprocess_operands): Likewise.
2564 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2565 * testsuite/gas/arc/tdpfp.d: New file.
2566 * testsuite/gas/arc/tfpuda.d: Likewise.
2567 * testsuite/gas/arc/tfpx.s: Likewise.
2569 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2571 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2572 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2573 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2574 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2575 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2576 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2577 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2578 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2580 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2582 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2584 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2585 JUMP instructions type.
2586 * testsuite/gas/arc/relocs-errors.d: New file.
2587 * testsuite/gas/arc/relocs-errors.err: Likewise.
2588 * testsuite/gas/arc/relocs-errors.s: Likewise.
2590 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2593 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2594 only if i.disp_encoding != disp_encoding_32bit.
2595 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2596 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2597 * gas/testsuite/gas/i386/disp32.d: Updated.
2598 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2600 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2603 * testsuite/gas/i386/i386.exp: Run pr19498.
2604 * testsuite/gas/i386/pr19498.d: New file.
2605 * testsuite/gas/i386/pr19498.s: Likewise.
2607 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2609 * config/tc-arc.h: Include 'opcode/arc.h'.
2610 (MAX_INSN_ARGS): Delete.
2611 (MAX_INSN_FLGS): Delete.
2613 2016-04-04 Alan Modra <amodra@gmail.com>
2616 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2617 from function on all paths that set sy_resolving.
2619 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2621 * app.c (app_push): use XNEW macro.
2623 * config/obj-elf.c (obj_elf_change_section): Likewise.
2624 (elf_copy_symbol_attributes): Likewise.
2625 (obj_elf_size): Likewise.
2626 (build_group_lists): Likewise.
2627 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2628 (md_assemble): Likewise.
2629 (tc_gen_reloc): Likewise.
2630 (get_upper_str): Likewise.
2631 (aarch64_parse_features): Likewise.
2632 * config/tc-arm.c (insert_reg_alias): Likewise.
2633 (insert_neon_reg_alias): Likewise.
2634 (find_or_make_literal_pool): Likewise.
2635 (s_arm_elf_cons): Likewise.
2636 (add_unwind_opcode): Likewise.
2637 (arm_parse_extension): Likewise.
2638 * config/tc-avr.c (create_record_for_frag): Likewise.
2639 * config/tc-crx.c: Likewise.
2640 * config/tc-d30v.c: Likewise.
2641 * config/tc-dlx.c (s_proc): Likewise.
2642 * config/tc-ft32.c: Likewise.
2643 * config/tc-h8300.c: Likewise.
2644 * config/tc-hppa.c (pa_proc): Likewise.
2645 (create_new_space): Likewise.
2646 (create_new_subspace): Likewise.
2647 * config/tc-i860.c: Likewise.
2648 * config/tc-i960.c: Likewise.
2649 * config/tc-ia64.c: Likewise.
2650 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2651 (iq2000_record_hi16): Likewise.
2652 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2653 * config/tc-m32r.c (debug_sym): Likewise.
2654 (m32r_record_hi16): Likewise.
2655 * config/tc-m68k.c (m68k_ip): Likewise.
2656 (md_begin): Likewise.
2657 * config/tc-mcore.c: Likewise.
2658 * config/tc-microblaze.c (check_got): Likewise.
2659 * config/tc-mips.c (append_insn): Likewise.
2660 (s_mipsset): Likewise.
2661 (mips_record_label): Likewise.
2662 (s_mips_end): Likewise.
2663 * config/tc-mmix.c (mmix_frob_file): Likewise.
2664 * config/tc-mn10200.c: Likewise.
2665 * config/tc-mn10300.c: Likewise.
2666 * config/tc-moxie.c: Likewise.
2667 * config/tc-msp430.c: Likewise.
2668 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2669 * config/tc-ns32k.c: Likewise.
2670 * config/tc-or1k.c: Likewise.
2671 * config/tc-pdp11.c: Likewise.
2672 * config/tc-pj.c (fake_opcode): Likewise.
2673 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2674 (ppc_macro): Likewise.
2675 (ppc_dwsect): Likewise.
2676 (ppc_machine): Likewise.
2677 * config/tc-rl78.c (rl78_frag_init): Likewise.
2678 * config/tc-rx.c (rx_frag_init): Likewise.
2679 * config/tc-s390.c (s390_lit_suffix): Likewise.
2680 (s390_machine): Likewise.
2681 (s390_machinemode): Likewise.
2682 * config/tc-score.c (s3_insert_reg): Likewise.
2683 (s3_gen_reloc): Likewise.
2684 * config/tc-score7.c (s7_insert_reg): Likewise.
2685 (s7_gen_reloc): Likewise.
2686 * config/tc-tic30.c (tic30_operand): Likewise.
2687 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2688 * config/tc-tic54x.c (stag_add_field): Likewise.
2689 (tic54x_struct): Likewise.
2690 (tic54x_space): Likewise.
2691 (tic54x_field): Likewise.
2692 (tic54x_mlib): Likewise.
2693 (subsym_substitute): Likewise.
2694 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2695 * config/tc-vax.c: Likewise.
2696 * config/tc-xc16x.c: Likewise.
2697 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2698 (directive_push): Likewise.
2699 (xtensa_begin_directive): Likewise.
2700 (tokenize_arguments): Likewise.
2701 (xtensa_add_literal_sym): Likewise.
2702 (new_resource_table): Likewise.
2703 (resize_resource_table): Likewise.
2704 (emit_single_op): Likewise.
2705 (xtensa_create_trampoline_frag): Likewise.
2706 (xtensa_maybe_create_literal_pool_frag): Likewise.
2707 (xtensa_add_config_info): Likewise.
2708 (xtensa_realloc_fixup_cache): Likewise.
2709 (add_subseg_info): Likewise.
2710 (cache_literal_section): Likewise.
2711 (add_xt_block_frags): Likewise.
2712 (add_xt_prop_frags): Likewise.
2713 (init_op_placement_info_table): Likewise.
2714 (build_section_rename): Likewise.
2715 * config/tc-z80.c: Likewise.
2716 * config/tc-z8k.c: Likewise.
2717 * depend.c (register_dependency): Likewise.
2718 * dwarf2dbg.c (get_line_subseg): Likewise.
2719 (dwarf2_gen_line_info_1): Likewise.
2720 (get_filenum): Likewise.
2721 * ecoff.c (allocate_scope): Likewise.
2722 (allocate_vlinks): Likewise.
2723 (allocate_shash): Likewise.
2724 (allocate_thash): Likewise.
2725 (allocate_tag): Likewise.
2726 (allocate_forward): Likewise.
2727 (allocate_thead): Likewise.
2728 (allocate_lineno_list): Likewise.
2729 * expr.c (make_expr_symbol): Likewise.
2730 * hash.c (hash_new_sized): Likewise.
2731 * input-file.c (input_file_push): Likewise.
2732 * listing.c (file_info): Likewise.
2733 (listing_newline): Likewise.
2734 * macro.c (new_formal): Likewise.
2735 (define_macro): Likewise.
2736 * remap.c (add_debug_prefix_map): Likewise.
2737 * symbols.c (symbol_find_noref): Likewise.
2738 (define_dollar_label): Likewise.
2739 (fb_label_instance_inc): Likewise.
2740 (symbol_relc_make_value): Likewise.
2742 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2744 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2745 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2746 (ppc_znop): Likewise.
2747 (ppc_pe_section): Likewise.
2748 (ppc_frob_symbol): Likewise.
2749 * config/tc-tic30.c (tic30_operand): Likewise.
2750 * config/tc-tic4x.c (tic4x_sect): Likewise.
2751 (tic4x_usect): Likewise.
2753 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2755 * config/tc-alpha.c: Const qualify FLT_CHARS.
2756 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2757 * config/tc-cris.h: Likewise.
2759 * config/tc-mmix.c (md_atof): Adjust comment.
2760 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2761 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2763 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2765 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2766 * config/tc-score7.c (s7_gen_reloc): Likewise.
2768 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2770 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2771 bfd_reloc_code_real_type.
2773 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2775 * config/bfin-parse.y (current_inputline): Remove definition.
2776 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2778 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2780 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2783 2016-04-02 Alan Modra <amodra@gmail.com>
2786 * read.c (assign_symbol): Consume rest of line after an error
2787 rather than continuing to process the line.
2789 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2791 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2792 (MAX_FLAG_NAME_LENGTH): ...this.
2793 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2794 * config/tc-arc.c (tokenize_flags): Likewise.
2796 2016-04-01 Alan Modra <amodra@gmail.com>
2798 * cgen.c (weak_operand_overflow_check): Return const char*.
2799 * messages.c (as_internal_value_out_of_range): Formatting.
2800 (as_warn_value_out_of_range): Consify prefix param.
2801 (as_bad_value_out_of_range): Likewise.
2802 * read.c (s_errwarn): Constify msg..
2803 (s_float_space, float_cons): ..and err.
2804 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2805 ieee_md_atof, vax_md_atof): Update prototypes.
2806 * tc.h (md_atof): Update prototype.
2807 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2808 * config/atof-vax.c (vax_md_atof): Likewise.
2809 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2810 * config/tc-aarch64.c (md_atof): Return const char*.
2811 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2812 (s_alpha_comm): Constify sec_name.
2813 (section_name): Constify.
2814 (s_alpha_section): Consify name..
2815 (alpha_elf_section_letter): ..and ptr_msg param..
2816 (md_atof): ..and return.
2817 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2818 * config/tc-arc.c (md_atof): Return const char*.
2819 * config/tc-arm.c (md_atof): Likewise.
2820 * config/tc-avr.c (md_atof): Likewise.
2821 * config/tc-bfin.c (md_atof): Likewise.
2822 * config/tc-cr16.c (md_atof): Likewise.
2823 * config/tc-cris.c (md_atof): Likewise.
2824 * config/tc-crx.c (md_atof): Likewise.
2825 * config/tc-d10v.c (md_atof): Likewise.
2826 * config/tc-d30v.c (md_atof): Likewise.
2827 * config/tc-dlx.c (md_atof): Likewise.
2828 * config/tc-epiphany.c (md_atof): Likewise.
2829 * config/tc-fr30.c (md_atof): Likewise.
2830 * config/tc-frv.c (md_atof): Likewise.
2831 * config/tc-ft32.c (md_atof): Likewise.
2832 * config/tc-h8300.c (md_atof): Likewise.
2833 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2834 (struct default_space_dict): Likewise.
2835 (create_new_space): Constify name param.
2836 (create_new_subspace): Likewise.
2837 (is_defined_space, is_defined_subspace): Likewise.
2838 (pa_parse_space_stmt): Constify space_name param.
2839 (md_atof): Return const char*.
2840 (pa_spaces_begin): Constify name.
2841 * config/tc-i370.c (md_atof): Return const char*.
2842 * config/tc-i386.c (md_atof): Likewise.
2843 (x86_64_section_letter): Constify ptr_msg param.
2844 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2845 * config/tc-i860.c (struct i860_it): Constify error.
2846 (md_atof): Return const char*.
2847 * config/tc-i960.c (md_atof): Likewise.
2848 * config/tc-ia64.c (md_atof): Likewise.
2849 (ia64_elf_section_letter): Constify ptr_msg param.
2850 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2851 * config/tc-ip2k.c (md_atof): Return const char*.
2852 * config/tc-iq2000.c (md_atof): Likewise.
2853 * config/tc-lm32.c (md_atof): Likewise.
2854 * config/tc-m32c.c (md_atof): Likewise.
2855 * config/tc-m32r.c (md_atof): Likewise.
2856 * config/tc-m68hc11.c (md_atof): Likewise.
2857 * config/tc-m68k.c (md_atof): Likewise.
2858 * config/tc-mcore.c (md_atof): Likewise.
2859 * config/tc-mep.c (md_atof): Likewise.
2860 (mep_elf_section_letter): Constify ptr_msg param.
2861 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2862 * config/tc-metag.c (md_atof): Return const char*.
2863 * config/tc-microblaze.c (md_atof): Likewise.
2864 * config/tc-microblaze.h (md_atof): Delete prototype.
2865 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2866 (md_atof): Return const char*.
2867 * config/tc-mmix.c (md_atof): Likewise.
2868 * config/tc-mn10200.c (md_atof): Likewise.
2869 * config/tc-mn10300.c (md_atof): Likewise.
2870 * config/tc-moxie.c (md_atof): Likewise.
2871 * config/tc-msp430.c (md_atof): Likewise.
2872 * config/tc-mt.c (md_atof): Likewise.
2873 * config/tc-nds32.c (md_atof): Likewise.
2874 * config/tc-nios2.c (md_atof): Likewise.
2875 (nios2_elf_section_letter): Constify ptr_msg param.
2876 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2877 * config/tc-ns32k.c (md_atof): Return const char*.
2878 * config/tc-or1k.c (md_atof): Likewise.
2879 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2880 (md_atof): Return const char*.
2881 * config/tc-pj.c (md_atof): Likewise.
2882 * config/tc-ppc.c (md_atof): Likewise.
2883 * config/tc-rl78.c (md_atof): Likewise.
2884 * config/tc-rx.c (md_atof): Likewise.
2885 * config/tc-s390.c (md_atof): Likewise.
2886 * config/tc-score.c (s3_atof, md_atof): Likewise.
2887 * config/tc-sh.c (md_atof): Likewise.
2888 * config/tc-sparc.c (struct sparc_it): Constify error.
2889 (md_atof): Return const char*.
2890 * config/tc-spu.c (md_atof): Likewise.
2891 * config/tc-tic30.c (md_atof): Likewise.
2892 * config/tc-tic4x.c (md_atof): Likewise.
2893 * config/tc-tic54x.c (md_atof): Likewise.
2894 * config/tc-tic6x.c (md_atof): Likewise.
2895 * config/tc-tilegx.c (md_atof): Likewise.
2896 * config/tc-tilepro.c (md_atof): Likewise.
2897 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2898 * config/tc-vax.c (md_atof): Likewise.
2899 * config/tc-visium.c (md_atof): Likewise.
2900 * config/tc-xc16x.c (md_atof): Likewise.
2901 * config/tc-xgate.c (md_atof): Likewise.
2902 * config/tc-xstormy16.c (md_atof): Likewise.
2903 * config/tc-xtensa.c (md_atof): Likewise.
2904 * config/tc-z80.c (md_atof): Likewise.
2905 * config/tc-z8k.c (md_atof): Likewise.
2907 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2909 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2911 (xtensa_section_rename): Make argument type const char *.
2912 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2914 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2916 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2919 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2921 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2923 (m32c_indirect_operand): Likewise.
2924 * config/tc-nds32.c (do_pseudo_b): Likewise.
2925 (do_pseudo_bal): Likewise.
2926 (do_pseudo_ls_bhw): Likewise.
2928 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2930 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2932 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2934 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2936 * config/tc-sparc.c (s_register): Cast a literal to char * in
2939 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2941 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2943 * config/tc-m32r.c (expand_debug_syms): Likewise.
2944 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2945 * config/tc-z80.c (md_begin): Likewise.
2946 * stabs.c (stabs_generate_asm_func): Likewise.
2948 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2950 * cgen.c: Modernize the way functions declare arguments.
2951 * config/tc-bfin.c: Likewise.
2952 * config/tc-pdp11.c: Likewise.
2953 * literal.c: Likewise.
2955 * stabs.c: Likewise.
2957 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2959 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2960 variables unsigned char[].
2961 * config/tc-alpha.c (alpha_handle_align): Likewise.
2962 * config/tc-arm.c (arm_handle_align): Likewise.
2963 * config/tc-z80.c: Likewise.
2965 2016-03-30 Nick Clifton <nickc@redhat.com>
2968 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2971 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2973 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2974 * testsuite/gas/elf/elf.exp: Likewise.
2975 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2977 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2979 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2981 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2983 * testsuite/gas/arc/ext2op.d: New file.
2984 * testsuite/gas/arc/ext2op.s: Likewise.
2985 * testsuite/gas/arc/ext3op.d: Likewise.
2986 * testsuite/gas/arc/ext3op.s: Likewise.
2988 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2990 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2992 * config/tc-alpha.c (md_parse_option): Likewise.
2993 * config/tc-arc.c (md_parse_option): Likewise.
2994 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2995 (md_parse_option): Likewise.
2996 * config/tc-avr.c (md_parse_option): Likewise.
2997 * config/tc-bfin.c (md_parse_option): Likewise.
2998 * config/tc-cr16.c (md_parse_option): Likewise.
2999 * config/tc-cris.c (s_cris_arch): Likewise.
3000 (md_parse_option): Likewise.
3001 * config/tc-crx.c (md_parse_option): Likewise.
3002 * config/tc-d10v.c (md_parse_option): Likewise.
3003 * config/tc-d30v.c (md_parse_option): Likewise.
3004 * config/tc-dlx.c (md_parse_option): Likewise.
3005 * config/tc-epiphany.c (md_parse_option): Likewise.
3006 * config/tc-fr30.c (md_parse_option): Likewise.
3007 * config/tc-frv.c (md_parse_option): Likewise.
3008 * config/tc-ft32.c (md_parse_option): Likewise.
3009 * config/tc-h8300.c (md_parse_option): Likewise.
3010 * config/tc-hppa.c (md_parse_option): Likewise.
3011 * config/tc-i370.c (md_parse_option): Likewise.
3012 * config/tc-i386.c (md_parse_option): Likewise.
3013 * config/tc-i860.c (md_parse_option): Likewise.
3014 * config/tc-i960.c (md_parse_option): Likewise.
3015 * config/tc-ia64.c (md_parse_option): Likewise.
3016 * config/tc-ip2k.c (md_parse_option): Likewise.
3017 * config/tc-iq2000.c (md_parse_option): Likewise.
3018 * config/tc-lm32.c (md_parse_option): Likewise.
3019 * config/tc-m32c.c (md_parse_option): Likewise.
3020 * config/tc-m32r.c (md_parse_option): Likewise.
3021 * config/tc-m68hc11.c (md_parse_option): Likewise.
3022 * config/tc-m68k.c (md_parse_option): Likewise.
3023 * config/tc-mcore.c (md_parse_option): Likewise.
3024 * config/tc-mep.c (md_parse_option): Likewise.
3025 * config/tc-metag.c (struct metag_long_option): Likewise.
3026 (md_parse_option): Likewise.
3027 * config/tc-microblaze.c (md_parse_option): Likewise.
3028 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3029 * config/tc-mips.c (md_parse_option): Adjust.
3030 * config/tc-mmix.c (md_parse_option): Likewise.
3031 * config/tc-mn10200.c (md_parse_option): Likewise.
3032 * config/tc-mn10300.c (md_parse_option): Likewise.
3033 * config/tc-moxie.c (md_parse_option): Likewise.
3034 * config/tc-msp430.c (md_parse_option): Likewise.
3035 * config/tc-mt.c (md_parse_option): Likewise.
3036 * config/tc-nds32.c (md_parse_option): Likewise.
3037 * config/tc-nds32.h (nds32_parse_option): Likewise.
3038 * config/tc-nios2.c (md_parse_option): Likewise.
3039 * config/tc-ns32k.c (md_parse_option): Likewise.
3040 * config/tc-or1k.c (md_parse_option): Likewise.
3041 * config/tc-pdp11.c (md_parse_option): Likewise.
3042 * config/tc-pj.c (md_parse_option): Likewise.
3043 * config/tc-ppc.c (md_parse_option): Likewise.
3044 * config/tc-rl78.c (md_parse_option): Likewise.
3045 * config/tc-rx.c (md_parse_option): Likewise.
3046 * config/tc-s390.c (s390_parse_cpu): Likewise.
3047 * config/tc-score.c (md_parse_option): Likewise.
3048 * config/tc-sh.c (md_parse_option): Likewise.
3049 * config/tc-sparc.c (md_parse_option): Likewise.
3050 * config/tc-spu.c (md_parse_option): Likewise.
3051 * config/tc-tic30.c (md_parse_option): Likewise.
3052 * config/tc-tic4x.c (md_parse_option): Likewise.
3053 * config/tc-tic54x.c (md_parse_option): Likewise.
3054 * config/tc-tic6x.c (md_parse_option): Likewise.
3055 * config/tc-tilegx.c (md_parse_option): Likewise.
3056 * config/tc-tilepro.c (md_parse_option): Likewise.
3057 * config/tc-v850.c (md_parse_option): Likewise.
3058 * config/tc-vax.c (md_parse_option): Likewise.
3059 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3060 * config/tc-xc16x.c (md_parse_option): Likewise.
3061 * config/tc-xgate.c (md_parse_option): Likewise.
3062 * config/tc-xstormy16.c (md_parse_option): Likewise.
3063 * config/tc-xtensa.c (md_parse_option): Likewise.
3064 * config/tc-z80.c (md_parse_option): Likewise.
3065 * config/tc-z8k.c (md_parse_option): Likewise.
3066 * tc.h (md_parse_option): Likewise.
3068 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3070 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3071 * config/tc-hppa.c (fix_new_hppa): Likewise.
3072 (pa_vtable_entry): Likewise.
3073 (pa_vtable_inherit): Likewise.
3074 * config/tc-m68k.c (md_begin): Likewise.
3076 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3078 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3079 * config/obj-elf.h (obj_elf_section_name): Adjust.
3080 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3081 (aarch64_parse_cpu): Likewise.
3082 (aarch64_parse_arch): Likewise.
3083 * config/tc-arm.c (arm_parse_extension): Likewise.
3084 (arm_parse_cpu): Likewise.
3085 (arm_parse_arch): Likewise.
3086 * config/tc-nds32.c: Likewise.
3087 * config/xtensa-relax.c (parse_special_fn): Likewise.
3088 * stabs.c (generate_asm_file): Likewise.
3090 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3092 * config/tc-cr16.c (cr16_assemble): New function.
3093 (md_assemble): Call cr16_assemble.
3095 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3097 * as.c (parse_args): Adjust.
3098 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3099 * config/obj-elf.c (elf_frob_symbol): Adjust.
3101 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3103 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3104 registers to be in the 16..31 range.
3106 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3108 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3111 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3113 * config/tc-visium.c (md_atof): Localize the string returned on
3116 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3118 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3119 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3120 * config/tc-m68hc11.c (md_begin): Likewise.
3121 (print_opcode_list): Likewise.
3122 * config/tc-msp430.c (msp430_section): Likewise.
3123 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3124 (s3_build_dependency_insn_hsh): Likewise.
3125 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3126 (s7_build_dependency_insn_hsh): Likewise.
3127 * config/tc-tic4x.c: Likewise.
3128 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3129 (subsym_get_arg): Likewise.
3130 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3131 (get_directive): Likewise.
3132 (cache_literal_section): Likewise.
3133 * config/xtensa-relax.c: Likewise.
3134 * symbols.c (symbol_create): Likewise.
3135 (local_symbol_make): Likewise.
3136 (symbol_relc_make_expr): Likewise.
3138 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3140 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3143 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3145 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3148 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3150 * config/tc-ia64.c (ia64_do_align): Remove.
3151 (ia64_cons_align): Call do_align () directly.
3152 (dot_proc): Likewise.
3153 (stmt_float_cons): Likewise.
3155 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3157 * listing.c (listing_message): Use XNEW style allocation macros.
3158 * read.c (read_a_source_file): Likewise.
3159 (read_symbol_name): Likewise.
3160 (s_mri_common): Likewise.
3161 (assign_symbol): Likewise.
3162 (s_reloc): Likewise.
3163 (emit_expr_with_reloc): Likewise.
3164 (s_incbin): Likewise.
3165 (s_include): Likewise.
3166 * sb.c (sb_build): Likewise.
3167 (sb_check): Likewise.
3169 2016-03-22 Alan Modra <amodra@gmail.com>
3171 * write.c (record_alignment): Revert 2016-02-18 change.
3173 2016-03-22 Alan Modra <amodra@gmail.com>
3175 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3176 (emit_jsrjmp, tc_gen_reloc): Likewise.
3177 * config/tc-i370.c (i370_macro): Likewise.
3179 2016-03-22 Nick Clifton <nickc@redhat.com>
3181 * configure: Regenerate.
3183 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3185 * testsuite/gas/arc/nps400-0.d: New file.
3186 * testsuite/gas/arc/nps400-0.s: New file.
3187 * testsuite/gas/arc/nps400-1.d: New file.
3188 * testsuite/gas/arc/nps400-1.s: New file.
3190 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3192 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3193 declarations to start of block. Reset code on all flags before
3194 attempting to match them. Handle multiple hits on the same flag.
3196 * testsuite/gas/arc/asm-errors.d: New file.
3197 * testsuite/gas/arc/asm-errors.err: New file.
3198 * testsuite/gas/arc/asm-errors.s: New file.
3200 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3202 * config/tc-arc.c (cpu_types): Add nps400 entry.
3203 (check_zol): Handle nps400.
3205 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3207 * config/tc-arc.c (arc_select_cpu): Remove use of
3210 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3212 * config/tc-arc.c (arc_target): Delay initialisation until
3214 (arc_target_name): Likewise.
3215 (arc_features): Likewise.
3216 (arc_mach_type): Likewise.
3217 (cpu_types): Remove "all" entry.
3218 (arc_select_cpu): New function, most of the content is from...
3219 (md_parse_option): ... here. Call new arc_select_cpu.
3220 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3222 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3224 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3225 * testsuite/gas/arc/inline-data-2.d: New file.
3227 2016-03-21 Nick Clifton <nickc@redhat.com>
3229 * atof-generic.c: Replace use of alloca with call to xmalloc.
3231 * dwarf2dbg.c: Likewise.
3232 * macro.c: Likewise.
3233 * remap.c: Likewise.
3234 * stabs.c: Likewise.
3235 * symbols.c: Likewise.
3236 * config/obj-elf.c: Likewise.
3237 * config/tc-aarch64.c: Likewise.
3238 * config/tc-arc.c: Likewise.
3239 * config/tc-arm.c: Likewise.
3240 * config/tc-avr.c: Likewise.
3241 * config/tc-ia64.c: Likewise.
3242 * config/tc-mips.c: Likewise.
3243 * config/tc-msp430.c: Likewise.
3244 * config/tc-nds32.c: Likewise.
3245 * config/tc-ppc.c: Likewise.
3246 * config/tc-sh.c: Likewise.
3247 * config/tc-tic30.c: Likewise.
3248 * config/tc-tic54x.c: Likewise.
3249 * config/tc-xstormy16.c: Likewise.
3250 * config/te-vms.c: Likewise.
3251 * configure: Regenerate.
3253 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3255 * tc-i386.c (f32_1): Change type to unsigned char[].
3275 (jump_31): Likewise.
3276 (f32_patt): Likewise.
3277 (f16_patt): Likewise.
3286 (alt_patt): Likewise.
3288 2016-03-18 Nick Clifton <nickc@redhat.com>
3290 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3291 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3292 .tlsdescldr and .xword directives.
3295 * testsuite/gas/aarch64/pr19721.s: New test source file.
3296 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3298 * doc/as.texinfo: Place the target specific command line options
3299 into their own man page section.
3301 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3303 * config/tc-arm.c (N_S_32): New.
3304 (N_F_16_32): Likewise.
3305 (N_SUF_32): Support N_F16.
3306 (N_IF_32): Likewise.
3307 (neon_dyadic_misc): Likewise.
3308 (do_neon_cmp): Likewise.
3309 (do_neon_cmp_inv): Likewise.
3310 (do_neon_mul): Likewise.
3311 (do_neon_fcmp_absolute): Likewise.
3312 (do_neon_step): Likewise.
3313 (do_neon_abs_neg): Likewise.
3314 (CVT_FLAVOR_VAR): Likewise.
3315 (do_neon_cvt_1): Likewise.
3316 (do_neon_recip_est): Likewise.
3317 (do_vmaxnm): Likewise.
3318 (do_vrint_1): Likewise.
3319 (neon_check_type): Check architecture support for FP16 extension.
3320 (insns): Update comments.
3321 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3322 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3323 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3324 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3326 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3328 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3331 2016-03-16 Nick Clifton <nickc@redhat.com>
3333 * read.c (emit_expr_with_reloc): Add code check a bignum with
3335 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3337 * testsuite/gas/elf/bignum.s: New test source file.
3338 * testsuite/gas/elf/bignum.d: New test driver file.
3339 * testsuite/gas/elf/elf.exp: Run the new test.
3341 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3343 * doc/c-i386.texi (Register Naming): Update to details of the
3344 latest architecture version.
3346 2016-03-10 Mickael Guene <mickael.guene@st.com>
3349 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3351 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3352 (do_t_mov_cmp): Likewise.
3353 (do_t_add_sub): Protect against bad relocations usage.
3354 (do_t_mov_cmp): Likewise.
3355 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3356 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3357 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3358 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3360 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3362 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3364 (do_neon_ld_st_lane): Likewise.
3365 (do_neon_ld_dup): Likewise.
3367 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3369 * testsuite/gas/arc/inline-data-1.d: New file.
3370 * testsuite/gas/arc/inline-data-1.s: New file.
3372 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3374 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3375 * doc/c-arm.texi: Add cortex-r8.
3377 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3379 * config/tc-arc.c: Add const qualifiers.
3380 * config/tc-h8300.c (md_begin): Likewise.
3381 * config/tc-ia64.c (print_prmask): Likewise.
3382 * config/tc-msp430.c (msp430_operands): Likewise.
3383 * config/tc-nds32.c (struct suffix_name): Likewise.
3384 (struct nds32_parse_option_table): Likewise.
3385 (struct nds32_set_option_table): Likewise.
3386 (do_pseudo_pushpopm): Likewise.
3387 (do_pseudo_pushpop_stack): Likewise.
3388 (nds32_relax_relocs): Likewise.
3389 (nds32_flag): Likewise.
3390 (struct nds32_hint_map): Likewise.
3391 (nds32_find_reloc_table): Likewise.
3392 (nds32_match_hint_insn): Likewise.
3393 * config/tc-s390.c: Likewise.
3394 * config/tc-sh.c (get_specific): Likewise.
3395 * config/tc-tic30.c: Likewise.
3396 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3397 (tic4x_indirect_parse): Likewise.
3398 * config/tc-vax.c (vax_cons): Likewise.
3399 * config/tc-z80.c (struct reg_entry): Likewise.
3400 * config/tc-epiphany.c (md_assemble): Adjust.
3401 (epiphany_assemble): New function.
3402 (epiphany_elf_section_rtn): Call do_align directly.
3403 (epiphany_elf_section_text): Likewise.
3404 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3405 (ip2k_elf_section_text): Likewise.
3406 * read.c (do_align): Make it not static.
3407 * read.h (do_align): New prototype.
3409 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3411 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3412 for ARMv8.1 AdvSIMD use.
3413 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3414 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3416 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3418 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3420 (record_feature_use): New.
3421 (mark_feature_used): Use record_feature_use.
3422 (do_neon_qrdmlah): New.
3423 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3425 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3426 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3427 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3428 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3429 Make source file explicit.
3430 * testsuite/gas/arm/armv8-a+rdma.l: New.
3431 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3432 directives. Fix white-space.
3433 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3435 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3437 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3439 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3440 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3442 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3443 (tc_arc_fix_adjustable): Changed default return value to 1.
3444 * testsuite/gas/arc/j.d: Updated expected symbol
3445 * testsuite/gas/arc/jl.d: Likewise
3446 * testsuite/gas/arc/relax-avoid1.d: Likewise
3447 * testsuite/gas/arc/st.d: Likewise
3449 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3451 * config/tc-arc.c: Enable code density instructions for ARC EM.
3453 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3456 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3458 * as.c (flag_use_elf_stt_common): New.
3459 (show_usage): Add --elf-stt-common=.
3460 (option_values): Add OPTION_ELF_STT_COMMON.
3461 (std_longopts): Add --elf-stt-common=.
3462 (parse_args): Handle --elf-stt-common=.
3463 * as.h (flag_use_elf_stt_common): New.
3464 * config.in: Regenerated.
3465 * configure: Likewise.
3466 * configure.ac: Add --enable-elf-stt-common and define
3467 DEFAULT_GENERATE_ELF_STT_COMMON.
3468 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3469 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3470 * doc/as.texinfo: Document --elf-stt-common=.
3471 * testsuite/gas/elf/common3.s: New file.
3472 * testsuite/gas/elf/common3a.d: Likewise.
3473 * testsuite/gas/elf/common3b.d: Likewise.
3474 * testsuite/gas/elf/common4.s: Likewise.
3475 * testsuite/gas/elf/common4a.d: Likewise.
3476 * testsuite/gas/elf/common4b.d: Likewise.
3477 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3478 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3479 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3481 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3482 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3483 --elf-stt-common=no to as.
3484 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3485 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3486 --elf-stt-common=no to as.
3487 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3488 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3489 of dw2-compress-3 and dw2-compressed-3.
3491 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3493 * as.c (select_emulation_mode): Add const qualifiers.
3495 * config/bfin-defs.h: Likewise.
3496 * config/bfin-parse.y: Likewise.
3497 * config/rx-parse.y: Likewise.
3498 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3499 (struct aarch64_cpu_option_table): Likewise.
3500 (struct aarch64_arch_option_table): Likewise.
3501 (struct aarch64_option_cpu_value_table): Likewise.
3502 (struct aarch64_long_option_table): Likewise.
3503 (struct aarch64_option_abi_value_table): Likewise.
3504 * config/tc-arm.c (struct reloc_entry): Likewise.
3505 (tc_gen_reloc): Likewise.
3506 (struct arm_option_table): Likewise.
3507 (struct arm_legacy_option_table): Likewise.
3508 (struct arm_cpu_option_table): Likewise.
3509 (struct arm_arch_option_table): Likewise.
3510 (struct arm_option_extension_value_table): Likewise.
3511 (struct arm_option_fpu_value_table): Likewise.
3512 (struct arm_option_value_table): Likewise.
3513 (struct arm_long_option_table): Likewise.
3514 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3515 (struct mcu_type_s): Likewise.
3516 (struct exp_mod_s): Likewise.
3517 (avr_operand): Likewise.
3518 (avr_operands): Likewise.
3519 * config/tc-d10v.c (md_begin): Likewise.
3520 * config/tc-dlx.c: Likewise.
3521 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3522 * config/tc-ft32.c (parse_condition): Likewise.
3523 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3524 * config/tc-hppa.c (pa_ip): Likewise.
3525 (hppa_regname_to_dw2regnum): Likewise.
3526 * config/tc-i370.c (i370_elf_suffix): Likewise.
3527 * config/tc-i960.c (struct tabentry): Likewise.
3528 * config/tc-m32r.c: Likewise.
3529 * config/tc-m68k.c: Likewise.
3530 * config/tc-m68k.h: Likewise.
3531 * config/tc-mcore.c (parse_psrmod): Likewise.
3532 * config/tc-metag.c (struct metag_core_option): Likewise.
3533 (struct metag_long_option): Likewise.
3534 * config/tc-microblaze.c: Likewise.
3535 * config/tc-mips.c (macro): Likewise.
3536 * config/tc-mn10200.c: Likewise.
3537 * config/tc-mn10300.c: Likewise.
3538 * config/tc-msp430.c (struct rcodes_s): Likewise.
3539 (struct hcodes_s): Likewise.
3540 (md_parse_option): Likewise.
3541 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3542 (optlist): Likewise.
3543 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3544 (tc_ppc_regname_to_dw2regnum): Likewise.
3545 * config/tc-ppc.h: Likewise.
3546 * config/tc-rl78.c: Likewise.
3547 * config/tc-rx.c (struct cpu_type): Likewise.
3548 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3549 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3550 (sparc_ip): Likewise.
3551 * config/tc-spu.c (insn_fmt_string): Likewise.
3552 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3553 * config/tc-v850.c: Likewise.
3554 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3555 (struct visium_long_option_table): Likewise.
3556 * config/tc-xgate.c: Likewise.
3557 * config/tc-z8k.c: Likewise.
3558 * read.c (add_include_dir): Likewise.
3561 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3563 * testsuite/gas/all/gas.exp: Change target pattern to cover
3565 * testsuite/gas/all/redef3.d: Likewise.
3566 * testsuite/gas/elf/elf.exp: Likewise.
3568 2016-02-24 Renlin Li <renlin.li@arm.com>
3570 * config/tc-arm.c (BAD_FP16): New error message macro.
3571 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3572 fp16 scalar instructions.
3573 (neon_check_type): Allow different size from key.
3574 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3575 (try_vfp_nsyn): Likewise.
3576 (do_vfp_nsyn_mla_mls): Likewise.
3577 (do_vfp_nsyn_fma_fms): Likewise.
3578 (do_vfp_nsyn_ldm_stm): Likewise
3579 (do_vfp_nsyn_sqrt): Likewise
3580 (do_vfp_nsyn_div): Likewise
3581 (do_vfp_nsyn_nmul): Likewise.
3582 (do_vfp_nsyn_cmp): Likewise.
3583 (do_neon_shll): Likewise.
3584 (do_vfp_nsyn_cvt_fpv8): Likewise.
3585 (do_neon_cvttb_2): Likewise.
3586 (do_neon_mov): Likewise.
3587 (do_neon_rshift_round_imm): Likewise.
3588 (do_neon_ldr_str): Likewise.
3589 (do_vfp_nsyn_fpv8): Likewise.
3590 (do_vmaxnm): Likewise.
3591 (do_vrint_1): Likewise.
3592 (insns): New entry for vins, vmovx.
3593 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3594 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3595 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3596 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3597 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3598 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3599 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3601 2016-02-24 Renlin Li <renlin.li@arm.com>
3603 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3604 (neon_shape_class): New SC_HALF.
3605 (neon_shape_el): New SE_H.
3606 (neon_shape_el_size): New size for SE_H.
3607 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3608 (neon_select_shape): Add SE_H support code.
3609 (el_type_of_type_chk): Use N_F_ALL.
3610 (do_vfp_nsyn_cvt): Add SE_H shape support.
3611 (do_neon_cvtz): Likewise.
3612 (do_neon_cvt_1): Likewise.
3613 (do_neon_cvttb_1): Likewise.
3615 2016-02-24 Renlin Li <renlin.li@arm.com>
3617 * testsuite/gas/arm/copro.d: Adjust output.
3618 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3620 2016-02-24 Renlin Li <renlin.li@arm.com>
3622 * testsuite/gas/arm/mask_1.d: New.
3623 * testsuite/gas/arm/mask_1.s: New.
3625 2016-02-24 Renlin Li <renlin.li@arm.com>
3627 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3628 * testsuite/gas/arm/copro.d: Update.
3630 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3632 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3633 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3635 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3637 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3639 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3641 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3644 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3646 * output-file.c (output_file_create): Make file name argument const.
3647 (output_file_close): Likewise.
3648 * output-file.h (output_file_create): Adjust.
3649 (output_file_close): Likewise.
3650 * depend.c (quote_string_for_make): Make src argument const char *.
3651 (register_dependency): Likewise.
3652 (wrap_output): Likewise.
3653 * as.h (register_dependency): Adjust.
3654 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3656 * symbols.c (S_SET_EXTERNAL): Likewise.
3657 * input-scrub.c (as_where): Return the file name.
3658 * as.h (as_where): Adjust prototype.
3659 * app.c (do_scrub_chars): Adjust.
3660 * cond.c (s_elseif): Likewise.
3662 (initialize_cframe): Likewise.
3663 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3664 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3665 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3666 * config/tc-aarch64.c (output_info): Likewise.
3667 * config/tc-ia64.c (md_assemble): Likewise.
3668 (dot_alias): Likewise.
3669 * config/tc-m68k.c (m68k_frob_label): Likewise.
3670 * config/tc-mmix.c (s_bspec): Likewise.
3671 (mmix_handle_mmixal): Likewise.
3672 * config/tc-rx.c (rx_include): Likewise.
3673 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3674 (tic54x_adjust_symtab): Likewise.
3675 * config/tc-xtensa.c (directive_push): Likewise.
3676 (xtensa_sanity_check): Likewise.
3677 (xtensa_relax_frag): Likewise.
3678 (md_convert_frag): Likewise.
3679 (tinsn_to_slotbuf): Likewise.
3680 * dwarf2dbg.c (dwarf2_where): Likewise.
3681 * ecoff.c (add_file): Likewise.
3682 (ecoff_generate_asm_lineno): Likewise.
3683 * expr.c (make_expr_symbol): Likewise.
3684 * frags.c (frag_new): Likewise.
3685 (frag_var_init): Likewise.
3686 * listing.c (listing_newline): Likewise.
3687 * messages.c (identify): Likewise.
3688 (as_show_where): Likewise.
3689 (as_warn_internal): Likewise.
3690 (as_bad_internal): Likewise.
3691 * read.c (s_irp): Likewise.
3692 (s_macro): Likewise.
3693 (s_reloc): Likewise.
3694 * stabs.c (stabs_generate_asm_file): Likewise.
3695 (stabs_generate_asm_lineno): Likewise.
3696 (stabs_generate_asm_func): Likewise.
3697 * write.c (fix_new_internal): Likewise.
3698 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3699 (as_warn_value_out_of_range): Adjust prototype.
3700 (as_bad_value_out_of_range): Adjust prototype.
3701 * messages.c (identify): Make file name argument const char *.
3702 (as_warn_internal): Likewise.
3703 (as_warn_where): Likewise.
3704 (as_bad_internal): Likewise.
3705 (as_bad_where): Likewise.
3706 (as_internal_value_out_of_range): Likewise.
3707 (as_warn_value_out_of_range): Likewise.
3708 (as_bad_value_out_of_range): Likewise.
3709 * as.h (found_comment_file): Change type to const char *.
3710 * cond.c (file_line::file): Likewise.
3711 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3712 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3713 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3714 * config/tc-aarch64.c (output_info): Likewise.
3715 * config/tc-alpha.c (insert_operand): Likewise.
3716 * config/tc-arc.c (insert_operand): Likewise.
3717 * config/tc-d30v.c (check_size): Likewise.
3718 * config/tc-ia64.c (struct alias): Likewise.
3719 * config/tc-m68k.c (struct label_line): Likewise.
3720 * config/tc-mcore.c (md_apply_fix): Likewise.
3721 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3722 * config/tc-mips.c (mips16_immed): Likewise.
3723 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3724 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3725 * config/tc-rx.c (rx_include): Likewise.
3726 * config/tc-s390.c (s390_insert_operand): Likewise.
3727 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3728 (tic54x_adjust_symtab): Likewise.
3729 * config/tc-tilegx.c (insert_operand): Likewise.
3730 (apply_special_operator): Likewise.
3731 * config/tc-tilepro.c (insert_operand): Likewise.
3732 * config/tc-xtensa.c (directive_push): Likewise.
3733 * ecoff.c (add_file): Likewise.
3734 (ecoff_generate_asm_lineno): Likewise.
3735 * listing.c (listing_newline): Likewise.
3736 * read.c (s_irp): Likewise.
3737 * write.c (install_reloc): Likewise.
3738 * write.h (struct fix): Likewise.
3739 * input-file.c (file_name): Change type to const char *.
3740 (saved_file::file_name): Likewise.
3741 (input_file_open): Change type of argument to const char *.
3742 * input-file.h (input_file_open): Adjust.
3743 * input-scrub.c (logical_input_file): change type to const char *.
3744 (physical_input_file): Likewise.
3745 (struct input_save): Adjust.
3746 (input_scrub_push): Adjust.
3747 (input_scrub_begin): Adjust.
3749 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3750 (input_scrub_include_file): Likewise.
3751 (new_logical_line_flags): Likewise.
3752 (new_logical_line): Likewise.
3754 * frags.h (struct frag): Change type of fr_file to const char *.
3755 * expr.c (expr_symbol_where): Change type of file argument to
3757 * expr.h (expr_symbol_where): Likewise.
3758 * config/tc-i370.c (md_apply_fix): adjust.
3759 * config/tc-mmix.c (mmix_md_end): Likewise.
3760 * config/tc-ppc.c (md_apply_fix): Likewise.
3761 * config/tc-s390.c (md_apply_fix): Likewise.
3762 * symbols.c (report_op_error): Likewise.
3763 (resolve_symbol_value): Likewise.
3764 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3765 (rsrc::file): Likewise.
3766 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3768 (xtensa_relax_frag): Likewise.
3769 (md_convert_frag): Likewise.
3770 (tinsn_to_slotbuf): Likewise.
3771 * expr.c (expr_symbol_line): Likewise.
3772 * macro.c (define_macro): Likewise.
3773 * macro.h (macro_struct): Likewise.
3774 * messages.c (as_show_where): Likewise.
3775 * read.c (s_macro): Likewise.
3776 * stabs.c (stabs_generate_asm_file): Likewise.
3777 (generate_asm_file): Likewise.
3778 (stabs_generate_asm_lineno): Likewise.
3779 * write.h (struct reloc_list): Likewise.
3780 * input-scrub.c (as_where): Change return type to const char *.
3781 * as.h (as_wheree): Adjust.
3783 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3785 * write.c (compress_debug): Move BFD compression bits setting
3787 (write_object_file): Here.
3789 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3791 * config/tc-i386.c (register_number): Check RegVRex.
3792 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3793 with %zmm19 and %zmm3.
3794 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3795 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3797 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3798 Jiong Wang <jiong.wang@arm.com>
3800 * config/tc-arm.c (arm_ext_fp16): New.
3801 (arm_extensions): New entry for "fp16".
3803 2016-02-19 Nick Clifton <nickc@redhat.com>
3806 * read.c (read_a_source_file): Check for assemble_one returning
3807 with input_line_pointer set to NULL.
3809 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3811 * listing.c (rebuffer_line): Change return type to void.
3813 * symbols.c (decode_local_label_name): Make type a const char *.
3814 * listing.c (print_source): Make type of p const char *.
3815 (print_line): Make type of string const char *.
3816 (buffer_line): Return const char *.
3817 (title): Make type const char *.
3818 (subtitle): Likewise.
3819 (listing_listing): Make type of p const char *.
3820 * messages.c (as_internal_value_out_of_range): Make type of prefix
3822 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3823 and string const char *.
3824 * read.c (_bfd_rel): Make type of name const char *.
3825 * app.c (out_string): Change type to const char *.
3826 (struct app_save::out_string): Likewise.
3828 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3829 Nick Clifton <nickc@redhat.com>
3831 * read.c (finish_bundle): Avoid recording a negative alignment.
3832 (do_align): Use unsigned values for n, len and max. Only create
3833 a frag if the alignment requirement is greater than the minimum
3834 byte alignment. Avoid recording a negative alignment.
3835 (s_align): Use unsigned values where appropriate.
3836 (bss_alloc): Use an unsigned value for the alignment.
3837 (sizeof_sleb128): Add a comment noting that we encode one octet
3838 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3839 (emit_leb129_expr): Abort if the emitted encoding was longer than
3841 * read.h (output_leb128): Update prototype.
3842 (sizeof_leb128): Update prototype.
3843 (bss_alloc): Update prototype.
3844 * write.c (record_alignment): Use an unsigned value for the
3845 alignment. Do not record alignments less than the minimum
3846 alignment for a byte.
3847 * write.h (record_alignment): Update prototype.
3849 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3851 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3852 .init.literal/.fini.literal section name.
3853 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3854 list of xtensa tests.
3855 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3856 init-fini-literals test result patterns.
3857 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3858 init-fini-literals test.
3860 2016-02-17 Nick Clifton <nickc@redhat.com>
3862 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3863 devices.csv file as of March 2016.
3865 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3867 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3869 (tc_arc_regname_to_dw2regnum): Likewise.
3870 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3871 (tc_cfi_frame_initial_instructions): Likewise.
3872 (tc_regname_to_dw2regnum): Likewise.
3873 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3874 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3875 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3877 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3879 * doc/internals.texi (S_IS_EXTERN): Remove.
3881 2016-02-16 Nick Clifton <nickc@redhat.com>
3883 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3886 2016-02-16 Renlin Li <renlin.li@arm.com>
3889 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3890 * testsuite/gas/aarch64/movw_label.d: New.
3891 * testsuite/gas/aarch64/movw_label.s: New.
3893 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3896 * config/rx-parse.y (MOV): Opcode generation for index
3897 register addressing mode.
3898 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3899 * testsuite/gas/rx/pr19665.s: New file.
3900 * testsuite/gas/rx/pr19665.s: New file.
3901 * testsuite/gas/rx/mov.d: Update expected output.
3903 2016-02-15 Nick Clifton <nickc@redhat.com>
3905 * doc/as.texinfo (.section): Document that numeric values can now
3906 be used for the flags and type fields of the ELF target's .section
3907 directive. Add notes about the restrictions on setting flags and
3909 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3910 to be given processor specific section types. Allow processor and
3911 application specific flags of a section to be set after
3913 (obj_elf_parse_section_letters): Handle parsing numeric values.
3914 (obj_elf_section_type): Handle parsing numeric values.
3915 (obj_elf_section): Allow numeric type values.
3916 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3917 * testsuite/gas/elf/section10.d: New test.
3918 * testsuite/gas/elf/section10.s: Source file for new test.
3919 * testsuite/gas/elf/elf.exp: Run the new test.
3920 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3921 the description of the flags produced by readelf.
3922 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3923 * NEWS: Mention the new feature.
3925 2016-02-11 Nick Clifton <nickc@redhat.com>
3928 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3929 until it is actually used.
3930 (cfi_set_sections): Set cfi_sections_set to true.
3931 (dot_cfi_startproc): Likewise.
3932 (dot_cfi_endproc): Likewise.
3933 (dot_cfi_fde_data): Likewise.
3934 (cfi_finish): Likewise.
3935 (dot_cfi_sections): Do not set cfi_sections_set.
3936 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3937 their own cfi section name. Also note that the directive can be
3938 reissued provided that CFI generation has not started.
3939 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3940 .cfi_endproc directives so that the redefinition of .cfi_sections
3941 will trigger the generation of the error message.
3942 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3943 number of error message.
3945 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3946 Janek van Oirschot <jvanoirs@synopsys.com>
3948 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3949 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3951 (arc_flags, arc_relax_type): New structure.
3952 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3953 (RELAX_TABLE_ENTRY_MAX): New define.
3954 (relaxation_state, md_relax_table, arc_relaxable_insns)
3955 (arc_num_relaxable_ins): New variable.
3956 (rlx_operand_type, arc_rlx_types): New enums.
3957 (arc_relaxable_ins): New structure.
3958 (OPTION_RELAX): New option.
3959 (arc_insn): New relax member.
3960 (arc_flags): Remove.
3961 (relax_insn_p): New function.
3962 (apply_fixups): Likewise.
3963 (relaxable_operand): Likewise.
3964 (may_relax_expr): Likewise.
3965 (relaxable_flag): Likewise.
3966 (arc_pcrel_adjust): Likewise.
3967 (md_estimate_size_before_relax): Implement.
3968 (md_convert_frag): Likewise.
3969 (md_parse_option): Handle new mrelax option.
3970 (md_show_usage): Likewise.
3971 (assemble_insn): Set relax member.
3972 (emit_insn0): New function.
3973 (emit_insn1): Likewise.
3974 (emit_insn): Handle relaxation case.
3975 * NEWS: Mention the new relaxation option.
3976 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3977 * doc/as.texinfo (Target ARC Options): Likewise.
3978 * testsuite/gas/arc/relax-avoid1.d: New file.
3979 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3980 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3981 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3982 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3983 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3984 * testsuite/gas/arc/relax-b.d: Likewise.
3985 * testsuite/gas/arc/relax-b.s: Likewise.
3987 2016-02-08 Nick Clifton <nickc@redhat.com>
3989 * config/tc-ia64.c (dot_prologue): Fix formatting.
3991 2016-02-04 Nick Clifton <nickc@redhat.com>
3993 * config/obj-elf.c (obj_elf_change_section): Remove support for
3994 ARM NOREAD sections.
3995 * config/tc-arm.c (arm_elf_section_letter): Delete.
3996 * config/tc-arm.h (md_elf_section_letter): Delete.
3997 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3998 * testsuite/gas/arm/section-execute-only.d: Delete.
3999 * testsuite/gas/arm/section-execute-only.s: Delete.
4001 2016-02-04 Nick Clifton <nickc@redhat.com>
4004 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4005 to handle encoding of RRUX instruction.
4006 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4008 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4010 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4012 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4013 substitutions for BFD_RELOC_* as unsigned.
4014 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4015 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4016 * testsuite/gas/xtensa/loc.s: New file: loc test.
4018 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4020 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4022 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4025 * NEWS: Mention new command line option -mrelax-relocations and
4026 new configure option --enable-x86-relax-relocations for x86
4028 * config.in: Regenerated.
4029 * configure.ac: Add --enable-x86-relax-relocations.
4030 (ac_default_x86_relax_relocations): New. Default to 1 except
4031 for x86 Solaris targets older than Solaris 12.
4032 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4033 * configure: Likewise.
4034 * config/tc-i386.c (generate_relax_relocations): New.
4035 (OPTION_MRELAX_RELOCATIONS): Likewise.
4036 (output_disp): Don't generate relax relocations if
4037 generate_relax_relocations is 0.
4038 (md_longopts): Add -mrelax-relocations.
4039 (md_show_usage): Likewise.
4040 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4041 * doc/c-i386.texi: Document -mrelax-relocations=.
4042 * testsuite/gas/i386/got-no-relax.d: New file.
4043 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4044 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4045 * testsuite/gas/i386/localpic.d: Likewise.
4046 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4047 * testsuite/gas/i386/reloc32.d: Likewise.
4048 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4049 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4050 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4051 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4052 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4053 x86-64-gotpcrel-no-relax.
4055 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4057 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4060 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4062 * NEWS: Remove duplicated marker for 2.26.
4064 2016-02-02 Renlin Li <renlin.li@arm.com>
4066 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4068 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4070 * testsuite/gas/ip2k/allinsn.d: New file.
4071 * testsuite/gas/ip2k/allinsn.s: New file.
4072 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4074 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4076 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4077 some load instructions.
4078 * testsuite/gas/epiphany/allinsn.d: Likewise.
4079 * testsuite/gas/epiphany/regression.d: Likewise.
4081 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4083 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4084 suffixes from instruction mnemonics in expected output.
4085 * testsuite/gas/epiphany/allinsn.d: Likewise.
4086 * testsuite/gas/epiphany/regression.d: Likewise.
4087 * testsuite/gas/epiphany/sample.d: Likewise.
4089 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4091 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4093 * testsuite/gas/epiphany/allinsn.d: Likewise.
4094 * testsuite/gas/epiphany/sample.d: Likewise.
4096 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4098 * testsuite/gas/epiphany/sample.d: Update expected output.
4100 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4102 * config/tc-arc.c (md_apply_fix): Allow addendum.
4103 (arc_reloc_op): Allow complex expressions for tpoff.
4104 (md_apply_fix): Handle resolved TLS local symbol.
4105 * testsuite/gas/arc/tls-relocs1.d: New file.
4106 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4108 2016-02-01 Loria <Loria@phantasia.org>
4111 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4112 efficiency and avoid an LLVM loop optimization bug.
4114 2016-02-01 Nick Clifton <nickc@redhat.com>
4116 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4117 message extending a negative 32-bit value into a larger signed
4118 value on a 32-bit host.
4120 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4123 * configure.ac (compressed_debug_sections): Replace == with =.
4124 * configure: Regenerated.
4126 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4127 H.J. Lu <hongjiu.lu@intel.com>
4129 * config/tc-i386.c (avoid_fence): New.
4130 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4132 (OPTION_FENCE_AS_LOCK_ADD): New.
4133 (md_longopts): Add -mfence-as-lock-add.
4134 (md_parse_option): Handle -mfence-as-lock-add.
4135 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4136 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4137 * testsuite/gas/i386/i386.exp: Run new tests.
4138 * testsuite/gas/i386/fence-as-lock-add.s: New.
4139 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4140 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4141 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4142 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4144 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4146 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4147 * configure: Regenerated.
4149 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4151 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4152 (OPTION_MOMIT_LOCK_PREFIX): This.
4153 (md_longopts): Updated.
4154 (md_parse_option): Likewise.
4156 2016-01-25 Catherine Moore <clm@codesourcery.com>
4158 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4159 if abicalls are in effect.
4160 * testsuite/gas/mips/sdata-gp.s: New test.
4161 * testsuite/gas/mips/sdata-gp.d: New expected output
4162 * testsuite/gas/mips/mips.exp: Run new test.
4164 2016-01-25 Renlin Li <renlin.li@arm.com>
4166 * testsuite/gas/arm/thumb2_it_search.d: New.
4167 * testsuite/gas/arm/thumb2_it_search.s: New.
4169 2016-01-21 Nick Clifton <nickc@redhat.com>
4172 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4173 with arm-netbsdelf target.
4174 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4176 2016-01-20 Nick Clifton <nickc@redhat.com>
4179 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4180 * testsuite/gas/arm/blx-bl-convert.d
4181 * testsuite/gas/arm/plt-1.d: Likewise.
4182 * testsuite/gas/arm/reloc-bad.d: Likewise.
4183 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4184 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4185 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4186 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4189 * doc/as.texinfo (Errors): Correct documentation describing the
4190 interaction of .file and .line with warning and error messages.
4193 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4194 * testsuite/gas/arm/archv8m-main.d: Likewise.
4195 * testsuite/gas/arm/archv8m-base.d: Likewise.
4197 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4199 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4200 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4201 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4203 2016-01-20 Mickael Guene <mickael.guene@st.com>
4204 Terry Guo <terry.guo@arm.com>
4206 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4207 SHF_ARM_NOREAD section flag.
4208 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4210 (arm_elf_section_letter) : Declare it.
4211 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4212 SHF_ARM_NOREAD section flag.
4213 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4215 * testsuite/gas/arm/section-execute-only.s: New test case.
4216 * testsuite/gas/arm/section-execute-only.d: Expected output.
4218 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4220 * config/tc-mips.c (micromips_insn_length): Remove the mention
4221 of 48-bit microMIPS instructions.
4223 2016-01-18 Alan Modra <amodra@gmail.com>
4225 * configure: Regenerate.
4227 2016-01-17 Alan Modra <amodra@gmail.com>
4229 * configure: Regenerate.
4231 2016-01-17 Alan Modra <amodra@gmail.com>
4233 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4235 2016-01-14 Nick Clifton <nickc@redhat.com>
4237 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4238 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4239 * testsuite/gas/rl78/rl78.exp: Run the new test.
4241 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4243 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4244 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4246 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4248 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4250 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4252 * config/tc-h8300.c (get_operand): Remove spurious condition in
4253 test for closing parenthesis.
4255 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4257 * config/tc-arm.c (arm_ext_v8_2): New.
4259 * testsuite/gas/arm/armv8_2-a.d: New.
4260 * testsuite/gas/arm/armv8_2-a.s: New.
4262 2016-01-12 Alan Modra <amodra@gmail.com>
4264 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4266 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4268 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4269 xvcmpnesp, xvcmpnesp.>: Delete tests.
4270 * testsuite/gas/ppc/power9.s: Likewise.
4271 * testsuite/gas/ppc/vsx3.d: Likewise.
4272 * testsuite/gas/ppc/vsx3.s: Likewise.
4274 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4277 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4278 * testsuite/gas/m68k/p13050-1.s: New file.
4279 * testsuite/gas/m68k/p13050-2.d: New file.
4280 * testsuite/gas/m68k/p13050-2.s: New file.
4282 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4284 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4285 * testsuite/gas/arc/add.d: Likewise.
4286 * testsuite/gas/arc/and.d: Likewise.
4287 * testsuite/gas/arc/asl.d: Likewise.
4288 * testsuite/gas/arc/asr.d: Likewise.
4289 * testsuite/gas/arc/bic.d: Likewise.
4290 * testsuite/gas/arc/extb.d: Likewise.
4291 * testsuite/gas/arc/extw.d: Likewise.
4292 * testsuite/gas/arc/j.d: Likewise.
4293 * testsuite/gas/arc/jl.d: Likewise.
4294 * testsuite/gas/arc/ld2.d: Likewise.
4295 * testsuite/gas/arc/lsr.d: Likewise.
4296 * testsuite/gas/arc/mov.d: Likewise.
4297 * testsuite/gas/arc/or.d: Likewise.
4298 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4299 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4300 * testsuite/gas/arc/pic-relocs.d: Likewise.
4301 * testsuite/gas/arc/plt-relocs.d: Likewise.
4302 * testsuite/gas/arc/rlc.d: Likewise.
4303 * testsuite/gas/arc/ror.d: Likewise.
4304 * testsuite/gas/arc/rrc.d: Likewise.
4305 * testsuite/gas/arc/sbc.d: Likewise.
4306 * testsuite/gas/arc/sda-relocs.d: Likewise.
4307 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4308 * testsuite/gas/arc/sexb.d: Likewise.
4309 * testsuite/gas/arc/sexw.d: Likewise.
4310 * testsuite/gas/arc/st.d: Likewise.
4311 * testsuite/gas/arc/sub.d: Likewise.
4312 * testsuite/gas/arc/tls-relocs.d: Likewise.
4313 * testsuite/gas/arc/xor.d: Likewise.
4315 2016-01-01 Alan Modra <amodra@gmail.com>
4317 Update year range in copyright notice of all files.
4319 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4321 Copyright (C) 2016 Free Software Foundation, Inc.
4323 Copying and distribution of this file, with or without modification,
4324 are permitted in any medium without royalty provided the copyright
4325 notice and this notice are preserved.
4331 version-control: never