1 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
3 * testsuite/gas/arc/textinsnxop.d: New file.
4 * testsuite/gas/arc/textinsnxop.s: Likewise.
6 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
8 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
9 dcti-couples-v9 only in ELF targets to avoid spurious failures in
10 sparc-aout and sparc-coff targets.
12 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
14 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
15 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
16 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
17 <copy, paste.>: Update tests.
18 * testsuite/gas/ppc/power9.s: Likewise.
20 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
22 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
23 in "architecture mismatch" error messages.
25 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
27 * config/tc-sparc.c (md_assemble): Detect and warning on
28 unpredictable DCTI couples in certain arches.
29 (dcti_couples_detect): New global.
30 (md_longopts): Add command line option -dcti-couples-detect.
31 (md_show_usage): Document -dcti-couples-detect.
32 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
33 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
34 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
35 * testsuite/gas/sparc/dcti-couples.s: New file.
36 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
37 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
38 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
39 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
40 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
41 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
42 * doc/c-sparc.texi (Sparc-Opts): Likewise.
44 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
46 * testsuite/gas/arc/tls-relocs2.d: New file.
47 * testsuite/gas/arc/tls-relocs2.s: Likewise.
48 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
51 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
53 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
55 * doc/as.texinfo: Document new arch strings.
56 * doc/c-s390.texi: Likewise.
58 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
60 * config/tc-s390.c: Set all facitily bits by default
62 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
64 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
66 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
68 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
71 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
73 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
74 (set_cpu_arch): Updated.
75 (md_parse_option): Likewise.
76 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
77 iamcu-inval-2 and iamcu-inval-3.
78 * testsuite/gas/i386/iamcu-4.d: New file.
79 * testsuite/gas/i386/iamcu-4.s: Likewise.
80 * testsuite/gas/i386/iamcu-5.d: Likewise.
81 * testsuite/gas/i386/iamcu-5.s: Likewise.
82 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
83 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
84 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
85 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
87 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
89 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
90 ARMv8-A CPUs except xgene1.
92 2016-08-31 Alan Modra <amodra@gmail.com>
94 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
95 ppc_cpu rather than calling ppc_mach to determine VLE mode.
96 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
98 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
100 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
102 * testsuite/gas/sparc/crypto.s: Likewise.
104 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
106 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
107 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
108 their lowecase counterpart special registers. Write register
110 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
111 operation, special register and then case. Use different register for
112 each operation. Add tests for new special registers.
113 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
115 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
116 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
118 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
120 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
122 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
124 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
125 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
126 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
128 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
130 * config/tc-i386.c (cpu_arch): Add .ptwrite.
131 * doc/c-i386.texi: Document ptwrite and .ptwrite.
132 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
133 x86-64-ptwrite and x86-64-ptwrite-intel.
134 * testsuite/gas/i386/ptwrite-intel.d: New file.
135 * testsuite/gas/i386/ptwrite.d: Likewise.
136 * testsuite/gas/i386/ptwrite.s: Likewise.
137 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
138 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
139 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
141 2016-08-19 Tamar Christina <tamar.christina@arm.com>
143 * config/tc-arm.c (do_co_reg2c): Added constraint.
144 * testsuite/gas/arm/dest-unpredictable.s: New.
145 * testsuite/gas/arm/dest-unpredictable.l: New.
146 * testsuite/gas/arm/dest-unpredictable.d: New.
148 2016-08-19 Nick Clifton <nickc@redhat.com>
150 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
151 ordering of sections.
152 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
153 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
154 * testsuite/gas/ia64/alias.d: Likewise.
155 * testsuite/gas/ia64/group-1.d: Likewise.
156 * testsuite/gas/ia64/group-2.d: Likewise.
157 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
158 * testsuite/gas/ia64/secname.d: Likewise.
159 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
160 * testsuite/gas/ia64/unwind.d: Likewise.
161 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
162 * testsuite/gas/ia64/xdata.d: Likewise.
163 * testsuite/gas/mmix/bspec-1.d: Likewise.
164 * testsuite/gas/mmix/bspec-2.d: Likewise.
165 * testsuite/gas/mmix/byte-1.d: Likewise.
166 * testsuite/gas/mmix/loc-1.d: Likewise.
167 * testsuite/gas/mmix/loc-2.d: Likewise.
168 * testsuite/gas/mmix/loc-3.d: Likewise.
169 * testsuite/gas/mmix/loc-4.d: Likewise.
170 * testsuite/gas/mmix/loc-5.d: Likewise.
171 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
173 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
175 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
176 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
177 Add tests for -0.0. Add an end-of-file comment.
179 2016-08-05 Nick Clifton <nickc@redhat.com>
182 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
183 registers are pushed.
184 (do_vfp_nsyn_pop): Check that no more than 16 registers are
186 * testsuite/gas/arm/pr20429.s: New test.
187 * testsuite/gas/arm/pr20429.d: New test driver.
188 * testsuite/gas/arm/pr20429.1: Expected error output.
191 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
193 (aarch64_init): Treat rs_align frags in code sections as
194 containing code, not data.
195 * testsuite/gas/aarch64/pr20364.s: New test.
196 * testsuite/gas/aarch64/pr20364.d: New test driver.
198 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
201 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
202 of 64-bit relocation types when assembling for a 32-bit Solaris
205 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
207 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
209 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
210 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
211 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
212 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
214 (sparc_elf_setup): Delete.
215 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
218 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
220 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
221 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
222 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
223 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
224 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
225 (get_append_method): Also return APPEND_ADD_COMPACT for
226 microMIPS instructions.
227 (find_altered_mips16_opcode): Exclude macros from matching.
229 (find_altered_opcode): ... to this new function.
230 (find_altered_micromips_opcode): New function.
231 (frag_branch_delay_slot_size): Likewise.
232 (append_insn): Handle microMIPS branch/jump compaction.
233 (macro_start): Likewise.
234 (relaxed_micromips_32bit_branch_length): Likewise.
235 (md_convert_frag): Likewise.
236 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
237 for delay slot filling.
238 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
240 * testsuite/gas/mips/micromips-size-1.s: Likewise.
241 * testsuite/gas/mips/micromips.l: Adjust line numbers.
242 * testsuite/gas/mips/micromips-warn.l: Likewise.
243 * testsuite/gas/mips/micromips-size-1.l: Likewise.
244 * testsuite/gas/mips/micromips.d: Adjust padding.
245 * testsuite/gas/mips/micromips-trap.d: Likewise.
246 * testsuite/gas/mips/micromips-insn32.d: Likewise.
247 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
248 * testsuite/gas/mips/micromips@beq.d: Update patterns for
249 branch/jump compaction.
250 * testsuite/gas/mips/micromips@bge.d: Likewise.
251 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
252 * testsuite/gas/mips/micromips@blt.d: Likewise.
253 * testsuite/gas/mips/micromips@bltu.d: Likewise.
254 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
255 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
256 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
257 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
258 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
259 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
260 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
261 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
263 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
265 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
266 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
267 * testsuite/gas/mips/micromips@relax.d: Likewise.
268 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
269 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
270 * testsuite/gas/mips/branch-extern-2.d: Likewise.
271 * testsuite/gas/mips/branch-extern-4.d: Likewise.
272 * testsuite/gas/mips/branch-section-2.d: Likewise.
273 * testsuite/gas/mips/branch-section-4.d: Likewise.
274 * testsuite/gas/mips/branch-weak-2.d: Likewise.
275 * testsuite/gas/mips/branch-weak-5.d: Likewise.
276 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
277 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
278 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
279 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
281 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
283 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
285 * testsuite/gas/mips/micromips-compact.d: New test.
286 * testsuite/gas/mips/mips.exp: Run the new test.
288 2016-07-27 Graham Markall <graham.markall@embecosm.com>
290 * config/tc-arc.c: Add new global arc_addrtype_hash.
291 Define O_colon and O_addrtype.
292 (debug_exp): Add O_colon and O_addrtype.
293 (tokenize_arguments): Handle colon and address type
295 (declare_addrtype): New function.
296 (md_begin): Initialise arc_addrtype_hash.
297 (arc_parse_name): Add lookup of address types.
298 (assemble_insn): Handle colons and address types by
300 * testsuite/gas/arc/nps400-8.s: New file.
301 * testsuite/gas/arc/nps400-8.d: New file.
302 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
303 * testsuite/gas/arc/nps400-8.d: Add expected PMU
306 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
308 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
309 (RELAX_MICROMIPS_INSN32): New macro.
310 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
311 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
312 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
313 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
314 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
316 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
318 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
320 (md_convert_frag): Likewise.
321 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
323 * testsuite/gas/mips/micromips-branch-relax.l: Update line
325 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
326 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
327 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
329 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
331 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
333 * testsuite/gas/mips/mips.exp: Run the new tests.
335 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
337 * configure: Regenerated.
339 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
341 * testsuite/gas/arc/dsp.d: New file.
342 * testsuite/gas/arc/dsp.s: Likewise.
343 * testsuite/gas/arc/fpu.d: Likewise.
344 * testsuite/gas/arc/fpu.s: Likewise.
345 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
346 * testsuite/gas/arc/ext3op.d: Likewise.
347 * testsuite/gas/arc/tdpfp.d: Likewise.
348 * testsuite/gas/arc/tfpuda.d: Likewise.
350 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
352 * config/tc-mips.c (mips_force_relocation): Remove
353 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
355 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
357 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
358 Adjust comments for BAL to JALX linker conversion.
359 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
360 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
362 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
363 * testsuite/gas/mips/branch-local-4.d: New test.
364 * testsuite/gas/mips/branch-local-n32-4.d: New test.
365 * testsuite/gas/mips/branch-local-n64-4.d: New test.
366 * testsuite/gas/mips/branch-addend.d: New test.
367 * testsuite/gas/mips/branch-addend-n32.d: New test.
368 * testsuite/gas/mips/branch-addend-n64.d: New test.
369 * testsuite/gas/mips/branch-local-4.s: New test source.
370 * testsuite/gas/mips/branch-addend.s: New test source.
371 * testsuite/gas/mips/mips.exp: Run the new tests.
373 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
375 * config/tc-mips.c (mips_force_relocation): Also retain branch
376 relocations against MIPS16 and microMIPS symbols.
377 (fix_bad_cross_mode_jump_p): New function.
378 (fix_bad_same_mode_jalx_p): Likewise.
379 (fix_bad_misaligned_jump_p): Likewise.
380 (fix_bad_cross_mode_branch_p): Likewise.
381 (fix_bad_misaligned_branch_p): Likewise.
382 (fix_validate_branch): Likewise.
383 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
384 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
385 etc. Verify the ISA mode and alignment of the jump target.
386 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
387 with a call to `fix_validate_branch'.
388 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
389 <BFD_RELOC_16_PCREL_S2>: Likewise.
390 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
391 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
392 Verify the ISA mode and alignment of the branch target.
393 (md_convert_frag): Verify the ISA mode and alignment of resolved
394 MIPS16 branch targets.
395 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
396 branch targets with `.insn'.
397 * testsuite/gas/mips/branch-misc-5.s: Likewise.
398 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
400 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
401 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
402 non-instruction branch target with `.insn'.
403 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
404 with external symbols.
405 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
406 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
407 * testsuite/gas/mips/micromips-trap.d: Likewise.
408 * testsuite/gas/mips/micromips.d: Likewise.
409 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
410 targets with `.insn'.
411 * testsuite/gas/mips/mips16.d: Update accordingly.
412 * testsuite/gas/mips/mips16-64.d: Likewise.
413 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
414 branch target with `.insn'.
415 * testsuite/gas/mips/relax-swap3.s: Likewise.
416 * testsuite/gas/mips/branch-local-2.l: New list test.
417 * testsuite/gas/mips/branch-local-3.l: New list test.
418 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
419 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
420 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
421 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
422 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
423 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
424 * testsuite/gas/mips/unaligned-jump-3.d: New test.
425 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
426 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
427 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
428 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
430 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
432 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
433 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
434 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
435 * testsuite/gas/mips/unaligned-branch-3.d: New test.
436 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
437 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
438 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
439 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
440 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
441 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
442 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
443 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
444 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
445 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
447 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
449 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
450 * testsuite/gas/mips/branch-local-2.s: New test source.
451 * testsuite/gas/mips/branch-local-3.s: New test source.
452 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
453 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
454 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
455 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
456 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
457 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
458 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
459 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
460 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
462 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
464 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
465 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
466 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
467 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
468 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
469 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
470 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
472 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
474 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
476 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
478 * testsuite/gas/mips/mips.exp: Run the new tests.
480 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
482 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
484 (do_pseudo_b): Adjust.
485 (do_pseudo_bal): Likewise.
486 (do_pseudo_bge): Likewise.
487 (do_pseudo_bges): Likewise.
488 (do_pseudo_bgt): Likewise.
489 (do_pseudo_bgts): Likewise.
490 (do_pseudo_ble): Likewise.
491 (do_pseudo_bles): Likewise.
492 (do_pseudo_blt): Likewise.
493 (do_pseudo_blts): Likewise.
494 (do_pseudo_br): Likewise.
495 (do_pseudo_bral): Likewise.
496 (do_pseudo_la): Likewise.
497 (do_pseudo_li): Likewise.
498 (do_pseudo_ls_bhw): Likewise.
499 (do_pseudo_ls_bhwp): Likewise.
500 (do_pseudo_ls_bhwpc): Likewise.
501 (do_pseudo_ls_bhwi): Likewise.
502 (do_pseudo_move): Likewise.
503 (do_pseudo_neg): Likewise.
504 (do_pseudo_not): Likewise.
505 (do_pseudo_pushpopm): Likewise.
506 (do_pseudo_pushpop): Likewise.
507 (do_pseudo_v3push): Likewise.
508 (do_pseudo_v3pop): Likewise.
509 (do_pseudo_pushpop_stack): Likewise.
510 (do_pseudo_push_bhwd): Likewise.
511 (do_pseudo_pop_bhwd): Likewise.
512 (do_pseudo_pusha): Likewise.
513 (do_pseudo_pushi): Likewise.
515 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
517 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
518 bfd_reloc_code_real_type.
520 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
522 * config/tc-sparc.c (pop_table): Remove sentinel.
523 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
526 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
528 * config/tc-z8k.c (newfix): Make type of type argument
529 bfd_reloc_code_real_type.
530 (apply_fix): Likewise.
532 2016-07-16 Alan Modra <amodra@gmail.com>
534 * config/tc-epiphany.c: Don't include libbfd.h.
535 * config/tc-frv.c: Likewise.
536 * config/tc-ip2k.c: Likewise.
537 * config/tc-iq2000.c: Likewise.
538 * config/tc-m32c.c: Likewise.
539 * config/tc-mep.c: Likewise.
540 * config/tc-mt.c: Likewise.
541 * config/tc-nios2.c: Likewise.
543 2016-07-16 Alan Modra <amodra@gmail.com>
545 * config/bfin-parse.y: Don't include libbfd.h.
546 * config/tc-bfin.c: Likewise.
547 * config/tc-rl78.c: Likewise.
548 * config/tc-rx.c: Likewise.
549 * config/tc-metag.c: Likewise.
550 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
551 * Makefile.am: Update dependencies.
552 * Makefile.in: Regenerate.
554 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
556 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
557 (mips_force_relocation_abs): New prototype.
558 * config/tc-mips.c (mips_force_relocation_abs): New function.
559 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
560 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
561 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
562 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
563 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
565 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
567 * testsuite/gas/mips/branch-absolute-addend.d: New test.
568 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
569 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
571 * testsuite/gas/mips/mips.exp: Run the new tests.
573 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
575 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
576 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
577 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
579 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
580 in `bar', export `foo'.
581 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
583 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
584 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
585 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
587 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
590 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
592 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
593 * testsuite/gas/mips/branch-absolute.d: New test.
594 * testsuite/gas/mips/branch-absolute-n32.d: New test.
595 * testsuite/gas/mips/branch-absolute-n64.d: New test.
596 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
597 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
598 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
599 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
600 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
602 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
604 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
605 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
606 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
607 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
609 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
611 * testsuite/gas/mips/branch-absolute.s: New test source.
612 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
613 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
615 * testsuite/gas/mips/micromips-branch-absolute.s: New test
617 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
619 * testsuite/gas/mips/mips.exp: Run the new tests.
621 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
623 * testsuite/gas/mips/nal-1.d: New test.
624 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
625 * testsuite/gas/mips/nal-2.d: New test.
626 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
627 * testsuite/gas/mips/nal.s: New test source.
628 * testsuite/gas/mips/mips.exp: Run the new tests.
630 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
632 * testsuite/gas/sparc/ldtxa.s: New file.
633 * testsuite/gas/sparc/ldtxa.d: Likewise.
634 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
636 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
638 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
639 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
640 as it is no longer needed.
642 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
644 * config/tc-mips.c (append_insn): Remove extraneous
647 2016-07-04 Jan Beulich <jbeulich@suse.com>
649 * config/tc-i386.c (check_qword_reg): Correct register kind
651 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
652 16-bit register cases.
653 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
656 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
658 * testsuite/gas/mips/ecoff@ld.d: Remove test.
659 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
660 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
661 * testsuite/gas/mips/ecoff@sd.d: Remove test.
662 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
663 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
665 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
666 * testsuite/gas/mips/bge.d: Likewise.
667 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
668 * testsuite/gas/mips/bgeu.d: Likewise.
669 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
670 * testsuite/gas/mips/blt.d: Likewise.
671 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
672 * testsuite/gas/mips/bltu.d: Likewise.
673 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
674 * testsuite/gas/mips/branch-likely.d: Likewise.
675 * testsuite/gas/mips/la.d: Likewise.
676 * testsuite/gas/mips/lb.d: Likewise.
677 * testsuite/gas/mips/lifloat.d: Likewise.
678 * testsuite/gas/mips/sb.d: Likewise.
679 * testsuite/gas/mips/uld.d: Likewise.
680 * testsuite/gas/mips/ulh.d: Likewise.
681 * testsuite/gas/mips/ulw.d: Likewise.
682 * testsuite/gas/mips/usd.d: Likewise.
683 * testsuite/gas/mips/ush.d: Likewise.
684 * testsuite/gas/mips/usw.d: Likewise.
686 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
688 * testsuite/gas/mips/branch-misc-2.s: Move non
689 locally-defined-global symbol tests...
690 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
691 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
692 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
693 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
694 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
695 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
696 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
697 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
698 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
699 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
700 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
701 * testsuite/gas/mips/branch-misc-5.d: New test.
702 * testsuite/gas/mips/branch-misc-5pic.d: New test.
703 * testsuite/gas/mips/branch-misc-5-64.d: New test.
704 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
705 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
706 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
707 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
708 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
709 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
710 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
711 * testsuite/gas/mips/mips.exp: Run the new tests.
713 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
715 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
717 * testsuite/gas/mips/beq.d: Update accordingly.
718 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
719 * testsuite/gas/mips/micromips@beq.d: Likewise.
721 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
723 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
724 tests to NewABI targets.
726 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
728 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
731 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
733 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
735 (aarch64_features): Initialize require fields.
736 (aarch64_parse_features): Handle dependencies.
737 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
738 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
739 * testsuite/gas/aarch64/illegal-nofp16.s: New.
740 * testsuite/gas/aarch64/illegal-nofp16.l: New.
741 * testsuite/gas/aarch64/illegal-nofp16.d: New.
743 2016-07-01 Nick Clifton <nickc@redhat.com>
745 * macro.c (macro_expand_body): Use a buffer big enough to hold an
746 extremely large integer.
748 2016-07-01 Jan Beulich <jbeulich@suse.com>
750 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
752 2016-07-01 Tristan Gingold <gingold@adacore.com>
754 * NEWS: Add marker for 2.27.
756 2016-07-01 Jan Beulich <jbeulich@suse.com>
758 * tc-i386.c (i386_index_check): Add special checks for bndmk,
760 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
761 as well as scaling by other than 1 tests.
762 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
764 2016-07-01 Jan Beulich <jbeulich@suse.com>
766 * tc-i386.c (md_assemble): Alter address size checking for MPX
768 * testsuite/gas/i386/mpx-inval-2.s: New.
769 * testsuite/gas/i386/mpx-inval-2.l: New.
770 * testsuite/gas/i386/i386.exp: Run new test.
772 2016-07-01 Jan Beulich <jbeulich@suse.com>
775 * config/tc-i386.c (match_template): Add char parameter,
776 consumed in Intel mode for an extra suffix check.
777 (md_assemble): New local variable mnem_suffix.
778 * testsuite/gas/i386/suffix-bad.s: New.
779 * testsuite/gas/i386/suffix-bad.l: New.
780 * testsuite/gas/i386/i386.exp: Run new test (twice).
782 2016-07-01 Jan Beulich <jbeulich@suse.com>
784 * testsuite/gas/i386/movz.s: New.
785 * testsuite/gas/i386/movz32.d: New.
786 * testsuite/gas/i386/movz64.d: New.
787 * testsuite/gas/i386/i386.exp: Run new tests.
789 2016-07-01 Jan Beulich <jbeulich@suse.com>
791 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
792 (md_assemble): Free first memory operand string.
793 (i386_index_check): Use repprefixok to distingush xlat from
794 other (real) string ops.
795 (maybe_adjust_templates): New.
796 (i386_att_operand). Call it. Store first memory operand string.
797 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
798 * testsuite/gas/i386/intel-movs.s: New.
799 * testsuite/gas/i386/intel-movs32.d: New.
800 * testsuite/gas/i386/intel-movs64.d: New.
801 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
802 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
804 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
806 * config/tc-mips.c (get_append_method): Fix a comment typo.
808 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
809 Maciej W. Rozycki <macro@imgtec.com>
811 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
812 case MIPS16 handling.
813 * testsuite/gas/mips/branch-swap-3.d: New test.
814 * testsuite/gas/mips/branch-swap-4.d: New test.
815 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
816 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
817 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
818 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
819 * testsuite/gas/mips/branch-swap-3.s: New test source.
820 * testsuite/gas/mips/mips.exp: Run the new tests.
822 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
824 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
827 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
830 * write.c (subsegs_finish_section): Force no section padding to
831 alignment on failed assembly, always set last frag's alignment
833 * testsuite/gas/all/pr20312.l: New list test.
834 * testsuite/gas/all/pr20312.s: New test source.
835 * testsuite/gas/all/gas.exp: Run the new test
837 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
839 * config.in (TARGET_WITH_CPU): Undefine.
840 * configure.ac: Add --with-cpu support, and define in config.h.
841 * configure: Regenerate.
842 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
843 * NEWS: Mention new configure option.
845 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
847 * testsuite/gas/arm/armv8_2+rdma.d: New.
849 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
851 * NEWS: Mention --enable-compressed-debug-sections=gas is the
852 default for Linux/x86 targets.
853 * configure.tgt (ac_default_compressed_debug_sections): Default
854 to yes for Linux/x86 targets.
856 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
858 * write.c: Remove "libbfd.h" inclusion.
860 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
862 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
865 2016-06-28 Alan Modra <amodra@gmail.com>
868 * testsuite/gas/elf/section11.s: Don't start directives in first column.
870 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
872 * testsuite/gas/aarch64/diagnostic.s,
873 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
875 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
877 * config/tc-mips.c (mips16_reloc_p): Handle
878 BFD_RELOC_MIPS16_16_PCREL_S1.
879 (b_reloc_p): Likewise.
880 (limited_pcrel_reloc_p): Likewise.
881 (md_pcrel_from): Likewise.
882 (md_apply_fix): Likewise.
883 (tc_gen_reloc): Likewise.
884 (md_convert_frag): Likewise.
885 (mips_fix_adjustable): Update comment.
886 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
887 output, add dump patterns.
888 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
889 output, add dump patterns.
890 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
891 output, add dump patterns.
892 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
893 output, add dump patterns.
894 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
895 output, add dump patterns.
896 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
897 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
898 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
899 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
900 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
901 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
902 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
903 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
904 * testsuite/gas/mips/branch-weak-6.d: New test.
905 * testsuite/gas/mips/branch-weak-7.d: New test.
906 * testsuite/gas/mips/mips.exp: Run the new tests.
908 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
910 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
911 cfi_add_CFA_def_cfa to generate default CFA with offset
912 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
914 2016-06-27 Nick Clifton <nickc@redhat.com>
917 * as.h (do_not_pad_sections_to_alignment): New global variable.
918 * as.c (show_usage): Add --no-pad-sections.
919 (parse_args): Likewise.
920 * write.c (size_seg): Skip padding the end of the section if
921 requested from the command line.
922 (SUB_SEGMENT_ALIGN): Likewise.
923 * doc/as.texinfo: Document the new option.
924 * NEWS: Mention the new feature.
925 * testsuite/gas/elf/section11.s: New test.
926 * testsuite/gas/elf/section11.d: New test driver.
927 * testsuite/gas/elf/elf.exp: Run the new test.
929 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
931 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
932 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
934 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
936 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
938 (map_suffix_reloc_to_operator): Likewise.
939 (map_operator_to_reloc): Likewise.
941 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
943 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
944 element in relax_table.
946 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
948 * config/tc-aarch64.c: Make the type of reg_entry::type
951 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
953 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
954 (md_parse_option): Adjust.
955 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
956 with iteration from 0 to ARRAY_SIZE.
957 * config/tc-mcore.c (md_begin): Likewise.
958 * config/tc-visium.c (visium_parse_arch): Likewise.
960 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
962 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
963 and simplify accordingly.
964 (tic54x_include): Adjust.
965 (tic54x_mlib): Likewise.
967 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
969 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
971 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
973 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
974 unchanged with relaxed MIPS16 instructions.
975 (mips16_extended_frag): Adjust accordingly. Return 1 right
976 away if a relocation will be required for the symbol requested.
977 Remove dead first relaxation pass code.
978 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
979 (md_convert_frag): Adjust symbol value calculation. Raise an
980 error if a relocation is required for the symbol requested.
981 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
983 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
984 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
985 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
986 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
987 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
988 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
989 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
990 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
991 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
992 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
993 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
994 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
995 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
996 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
997 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
998 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
999 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1000 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1001 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1002 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1003 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1004 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1005 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1006 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1007 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1008 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1009 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1010 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1011 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1012 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1013 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1014 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1015 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1016 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1017 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1018 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1019 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1020 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1021 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1022 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1023 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1024 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1025 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1026 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1027 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1028 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1029 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1030 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1031 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1032 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1033 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1034 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1035 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1036 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1037 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1038 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1039 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1040 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1041 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1042 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1043 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1044 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1045 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1046 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1047 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1048 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1049 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1050 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1051 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1052 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1053 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1054 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1055 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1056 * testsuite/gas/mips/mips.exp: Run the new tests.
1058 2016-06-24 Alan Modra <amodra@gmail.com>
1060 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1062 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1064 * config/tc-mips.c (b_reloc_p): New function.
1065 (mips_fix_adjustable): Also keep the original microMIPS symbol
1066 referred from branch relocations.
1067 * testsuite/gas/mips/branch-local-1.d: New test.
1068 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1069 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1070 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1072 * testsuite/gas/mips/branch-local-1.s: New test source.
1073 * testsuite/gas/mips/mips.exp: Run the new cases.
1075 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1077 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1078 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1079 options. Correct erroneous enabling of SPFP instructions when
1082 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1084 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1085 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1086 setbool, xor3>: New tests.
1087 * testsuite/gas/ppc/power9.s: Likewise.
1089 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1091 * config/tc-xtensa.c: Include elf/xtensa.h.
1093 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1095 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1096 <BFD_RELOC_LO16_PCREL>: New switch cases.
1097 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1098 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1099 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1100 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1102 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1103 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1104 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1105 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1106 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1107 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1108 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1109 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1110 * testsuite/gas/mips/mips.exp: Run the new tests.
1112 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1114 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1115 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1116 via `fixP->fx_addsy'.
1118 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1120 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1121 Calculate relocation from the containing aligned doubleword.
1122 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1123 addend from the containing aligned doubleword.
1125 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1127 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1128 rather than `mips_opts' for the R6 ISA check.
1129 (mips_fix_adjustable): Likewise.
1130 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1131 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1132 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1133 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1134 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1135 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1136 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1137 * testsuite/gas/mips/mips.exp: Run the new tests.
1139 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1141 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1142 Add nps400 option and feature. Add check for nps400
1143 feature. Refactor existing checks to check subclass before
1145 (md_show_usage): Document flags for NPS-400 and add some other
1147 (cpu_type): Remove nps400 CPU type entry
1148 (check_zol): Remove bfd_mach_arc_nps400 case.
1149 (md_show_usage): Add help on -mcpu=nps400.
1150 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1152 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1153 -fpuda flags. Document -mcpu=nps400.
1154 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1155 expected flags to match ARC700 instead of NPS400.
1156 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1157 * testsuite/gas/arc/nps-400-2.d: Likewise.
1158 * testsuite/gas/arc/nps-400-3.d: Likewise.
1159 * testsuite/gas/arc/nps-400-4.d: Likewise.
1160 * testsuite/gas/arc/nps-400-5.d: Likewise.
1161 * testsuite/gas/arc/nps-400-6.d: Likewise.
1162 * testsuite/gas/arc/nps-400-7.d: Likewise.
1163 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1164 avoid clash with cbba instruction.
1165 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1166 * testsuite/gas/arc/textinsn3op.d: Likewise.
1167 * testsuite/gas/arc/textinsn3op.s: Likewise.
1168 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1169 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1171 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1173 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1174 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1176 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1178 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1181 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1183 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1185 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1187 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1188 %hmcddfr and %hva_mask_nz.
1189 (sparc_ip): New handling of asr/privileged/hyperprivileged
1190 registers, adapted to the new form of the sparc opcodes table.
1191 * testsuite/gas/sparc/rdasr.s: New file.
1192 * testsuite/gas/sparc/rdasr.d: Likewise.
1193 * testsuite/gas/sparc/wrasr.s: Likewise.
1194 * testsuite/gas/sparc/wrasr.d: Likewise.
1195 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1197 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1198 registers require it.
1199 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1200 registers and write instruction modalities.
1201 * testsuite/gas/sparc/wrpr.d: Likewise.
1202 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1204 * testsuite/gas/sparc/rdhpr.d: Likewise.
1205 * testsuite/gas/sparc/wrhpr.s: Likewise.
1206 * testsuite/gas/sparc/wrhpr.d: Likewise.
1208 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1210 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1211 architectures to use the right opcode architecture.
1212 (sparc_md_end): Handle v9{c,d,e,v,m}.
1213 (sparc_ip): Fix some comments.
1214 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1215 instruction, which is v9d.
1216 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1217 instruction from the test, as %mwait is not readable.
1218 * testsuite/gas/sparc/mwait.d: Likewise.
1219 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1220 mismatch architecture errors.
1221 * testsuite/gas/sparc/mism-2.s: New file.
1223 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1225 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1226 empty string to mark the end of the array.
1227 (hpriv_reg_table): Likewise.
1228 (v9a_asr_table): Likewise.
1229 (cmp_reg_entry): Handle entries with NULL names.
1231 (F_POP_PCREL): Likewise.
1232 (F_POP_TLS_CALL): Likewise.
1233 (F_POP_POSTFIX): Likewise.
1234 (struct pop_entry): New type.
1235 (pop_table): New variable.
1236 (enum pop_entry_type): New type.
1237 (struct perc_entry): Likewise.
1238 (NUM_PERC_ENTRIES): Define.
1239 (perc_table): New variable.
1240 (cmp_perc_entry): New function.
1241 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1243 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1244 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1247 2016-06-15 Nick Clifton <nickc@redhat.com>
1249 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1251 * config/tc-mcore.c (md_assemble): Likewise.
1252 * config/tc-mn10200.c (md_assemble): Likewise.
1253 * config/tc-moxie.c (md_assemble): Likewise.
1254 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1255 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1256 exception targets. Add alpha, hppa, microblaze and rl78 to list
1258 (forward): Add microblaze to list of exceptions.
1259 (fwdexp): Add alpha to list of exceptions.
1260 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1261 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1262 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1263 mn10200 to list of exceptions.
1264 (align2): Expect to fail for nds32.
1265 (cond): Add alpha and rl78 to list of exceptions.
1266 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1267 * testsuite/gas/all/string.d: Skip for tic4x.
1268 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1269 target does not support ELF.
1270 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1271 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1272 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1273 tests for sh-pe and sh-rtemscoff targets.
1274 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1276 (type): Run the noifunc version for alpha-freebsd and visium.
1277 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1278 mn10200 or moxie targets.
1279 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1280 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1282 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1283 mcore and rx targets.
1284 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1286 (purge): Expect to fail on the ns32k and vax.
1287 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1288 * testsuite/gas/nds32/ls.d: Likewise.
1289 * testsuite/gas/nds32/sys-reg.d: Likewise.
1290 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1291 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1292 * testsuite/gas/pe/section-align-3.d: Likewise.
1293 * testsuite/gas/pe/section-exclude.d: Likewise.
1294 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1296 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1297 for variations in whitespace.
1298 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1300 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1301 Installs a 32-bit value without generating warnings on 64-bit
1303 Use the new macro to replace the .word directives.
1305 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1307 * testsuite/gas/arc/add_s.d: New file.
1308 * testsuite/gas/arc/add_s.s: New file.
1310 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1312 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1313 * testsuite/gas/arc/nps400-6.d: Likewise.
1315 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1317 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1319 * testsuite/gas/arc/nps400-6.d: Likewise.
1321 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1323 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1324 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1325 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1326 * testsuite/gas/arc/nps400-6.d: Likewise.
1328 2016-06-14 Nick Clifton <nickc@redhat.com>
1330 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1333 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1335 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1336 JALR relocations on R6.
1337 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1338 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1339 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1340 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1341 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1342 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1344 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1345 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1347 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1348 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1350 * testsuite/gas/mips/mips.exp: Run the new tests.
1352 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1354 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1355 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1358 2016-06-13 Nick Clifton <nickc@redhat.com>
1360 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1361 that are not supported.
1363 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1365 * config/tc-cr16.c (check_range): Likewise.
1366 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1368 2016-06-08 Renlin Li <renlin.li@arm.com>
1370 * config/tc-aarch64.c (print_operands): Substitute size.
1371 (output_operand_error_record): Likewise.
1373 2016-06-07 Alan Modra <amodra@gmail.com>
1375 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1376 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1377 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1378 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1379 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1380 add vle_opcodes twice.
1381 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1383 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1385 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1386 (arm_ext_ras): Renamed from arm_ext_v8_2.
1387 (insns): Update for arm_ext_v8_2 renaming.
1388 (arm_extensions): Add "ras".
1389 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1390 * testsuite/gas/arm/armv8-a+ras.d: New.
1391 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1394 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1396 * itbl-parse.y (yyerror): Use modern argument declaration style.
1398 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1400 * config/tc-sh.c (parse_reg): Change type of mode argument to
1402 (get_operand): Adjust.
1403 (insert): Change type of how to bfd_reloc_code_real_type.
1404 (insert4): Likewise.
1405 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1406 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1408 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1410 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1413 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1416 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1417 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1418 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1419 * gas/testsuite/gas/ppc/power8.s: Likewise.
1420 * gas/testsuite/gas/ppc/power8.d: Likewise.
1421 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1423 * gas/testsuite/gas/ppc/power4.d: Likewise.
1425 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1428 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1429 * testsuite/gas/i386/x86-64-branch.d: Updated.
1430 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1431 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1432 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1434 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1436 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1437 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1439 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1441 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1442 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1444 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1446 * configure.tgt: Replace -uclibc with *.
1448 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1450 * config/tc-arc.c (parse_opcode_flags): New function.
1451 (find_opcode_match): Move flag parsing code out to new function.
1452 Ignore operands marked IGNORE.
1453 (build_fake_opcode_hash_entry): New function.
1454 (find_special_case_long_opcode): New function.
1455 (find_special_case): Lookup long opcodes.
1456 * testsuite/gas/arc/nps400-7.d: New file.
1457 * testsuite/gas/arc/nps400-7.s: New file.
1459 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1461 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1463 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1465 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1466 sentinal with iteration to array size.
1468 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1470 * config/xtensa-relax.h: Move typedefs of enums to the enums
1473 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1475 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1478 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1480 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1481 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1482 * testsuite/gas/arc/nps-400-1.d: Likewise.
1484 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1487 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1488 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1489 noavx512ifma and noavx512vbmi.
1490 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1491 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1493 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1494 * testsuite/gas/i386/noavx512-1.l: New file.
1495 * testsuite/gas/i386/noavx512-1.s: Likewise.
1496 * testsuite/gas/i386/noavx512-2.l: Likewise.
1497 * testsuite/gas/i386/noavx512-2.s: Likewise.
1499 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1502 * config/tc-i386.c (cpu_arch): Add 687.
1503 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1504 nosse4.1, nosse4.2, nosse4 and noavx2.
1505 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1506 register. Check cpuregxmm instead of cpusse for XMM register.
1507 Check cpuregymm instead of cpuavx for YMM register. Check
1508 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1509 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1510 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1511 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1512 * testsuite/gas/i386/arch-10.d (as): Likewise.
1513 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1514 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1515 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1517 * testsuite/gas/i386/no87-3.l: New file.
1518 * testsuite/gas/i386/no87-3.s: Likewise.
1519 * testsuite/gas/i386/noavx-3.l: Likewise.
1520 * testsuite/gas/i386/noavx-3.s: Likewise.
1521 * testsuite/gas/i386/noavx-4.d: Likewise.
1522 * testsuite/gas/i386/noavx-4.s: Likewise.
1523 * testsuite/gas/i386/nosse-4.l: Likewise.
1524 * testsuite/gas/i386/nosse-4.s: Likewise.
1525 * testsuite/gas/i386/nosse-5.d: Likewise.
1526 * testsuite/gas/i386/nosse-5.s: Likewise.
1528 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1531 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1533 (match_template): Check Intel64/AMD64 ISA.
1535 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1538 * config/tc-i386.c (intel64): New.
1539 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1540 (md_parse_option): Set intel64 instead of cpuamd64 and
1543 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1545 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1548 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1550 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1551 * testsuite/gas/ppc/altivec3.s: Likewise.
1552 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1553 * testsuite/gas/ppc/power9.s: Likewise.
1555 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1557 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1558 * testsuite/gas/i386/noavx-1.l: Likewise.
1559 * testsuite/gas/i386/nommx-1.l: Likewise.
1560 * testsuite/gas/i386/nosse-1.l: Likewise.
1561 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1562 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1563 * testsuite/gas/i386/noavx-1.s: Likewise.
1564 * testsuite/gas/i386/nommx-1.s: Likewise.
1565 * testsuite/gas/i386/nosse-1.s: Likewise.
1566 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1568 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1570 * config/tc-metag.c (metag_handle_align): Make the type of noop
1573 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1575 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1576 bfd_reloc_code_real_type.
1578 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1581 * config/tc-i386.c (cpu_flags_match): Require another match
1583 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1584 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1585 * testsuite/gas/i386/avx512vl-1.l: New file.
1586 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1587 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1588 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1589 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1590 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1591 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1592 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1594 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1597 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1598 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1599 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1601 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1603 * config/tc-i386.c (arch_entry): Remove negated.
1604 (noarch_entry): New struct.
1605 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1607 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1608 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1610 (output_message): New function.
1611 (show_arch): Use it. Handle cpu_noarch.
1612 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1613 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1614 * testsuite/gas/i386/noavx-1.l: New file.
1615 * testsuite/gas/i386/noavx-1.s: Likewise.
1616 * testsuite/gas/i386/noavx-2.s: Likewise.
1617 * testsuite/gas/i386/noavx-2.l: Likewise.
1618 * testsuite/gas/i386/nommx-1.s: Likewise.
1619 * testsuite/gas/i386/nommx-1.l: Likewise.
1620 * testsuite/gas/i386/nommx-2.s: Likewise.
1621 * testsuite/gas/i386/nommx-2.l: Likewise.
1622 * testsuite/gas/i386/nommx-3.s: Likewise.
1623 * testsuite/gas/i386/nommx-3.l: Likewise.
1624 * testsuite/gas/i386/nosse-1.s: Likewise.
1625 * testsuite/gas/i386/nosse-1.l: Likewise.
1626 * testsuite/gas/i386/nosse-2.s: Likewise.
1627 * testsuite/gas/i386/nosse-2.l: Likewise.
1628 * testsuite/gas/i386/nosse-3.s: Likewise.
1629 * testsuite/gas/i386/nosse-3.l: Likewise.
1631 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1634 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1635 instruction if supported by the currently selected fpu variant.
1636 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1637 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1639 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1641 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1642 jump relocations against MIPS16 or microMIPS symbols on RELA
1644 * testsuite/gas/mips/jalx-local.d: New test.
1645 * testsuite/gas/mips/jalx-local-n32.d: New test.
1646 * testsuite/gas/mips/jalx-local-n64.d: New test.
1647 * testsuite/gas/mips/jalx-local.s: New test source.
1648 * testsuite/gas/mips/mips.exp: Run the new tests.
1650 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1652 * config/tc-mips.c (md_apply_fix)
1653 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1656 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1658 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1659 operator to operatorT.
1660 (map_suffix_reloc_to_operator): Change return type to operatorT.
1662 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1664 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1666 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1668 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1669 handler_charp to const char *.
1671 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1673 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1674 (ft32_target_format): Likewise.
1675 (TARGET_FORMAT): Adjust.
1677 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1679 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1680 (ia64_frob_label): Likewise.
1682 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1684 * config/tc-cr16.c (check_range): Make type of retval op_err.
1685 * config/tc-crx.c: Likewise.
1687 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1689 * config/tc-arc.c (md_begin): Add XY registers.
1690 (cpu_types): Code density is default off for ARC EM.
1692 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1694 * config/tc-arc.c (attributes_t): Renamed attribute class to
1696 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1698 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1700 * configuse.tgt: Add entry for arm-phoenix.
1702 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1704 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1706 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1708 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1710 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1712 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1713 (md_begin): Likewise.
1714 (encode_condition): Likewise.
1715 (encode_cc3): Likewise.
1716 (encode_cc2): Likewise.
1717 (encode_operand): Likewise.
1718 (tic54x_undefined_symbol): Likewise.
1720 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1722 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1724 * doc/c-mips.texi: Document p6600 -march option.
1726 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1729 * config/tc-i386.c (md_apply_fix): Preserve addend for
1730 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1731 * testsuite/gas/i386/addend.d: New file.
1732 * testsuite/gas/i386/addend.s: Likewise.
1733 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1734 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1735 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1736 * testsuite/gas/i386/reloc32.d: Updated.
1738 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1740 * config/tc-mips.c (append_insn): Correct the encoding of a
1741 constant argument for microMIPS JALX.
1742 (tc_gen_reloc): Correct the encoding of an in-place addend for
1744 * testsuite/gas/mips/jalx-addend.d: New test.
1745 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1746 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1747 * testsuite/gas/mips/jalx-imm.d: New test.
1748 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1749 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1750 * testsuite/gas/mips/jalx-addend.s: New test source.
1751 * testsuite/gas/mips/jalx-imm.s: New test source.
1752 * testsuite/gas/mips/mips.exp: Run the new tests.
1754 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1756 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1759 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1761 * config/tc-arc.c (find_opcode_match): Remove casting away of
1763 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1765 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1767 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1769 (md_convert_frag): Likewise.
1771 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1773 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1774 cached opcode to NULL when we reach a non-matching opcode.
1775 * testsuite/gas/arc/asm-errors-2.d: New file.
1776 * testsuite/gas/arc/asm-errors-2.err: New file.
1777 * testsuite/gas/arc/asm-errors-2.s: New file.
1779 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1781 * config/tc-arc.c (tokenize_arguments): Add checks for array
1783 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1784 * testsuite/gas/arc/asm-errors.err: Update expected results.
1786 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1788 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1789 int to enum rx_cpu_types.
1791 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1793 * config/tc-dlx.c (struct machine_it): change the type of a field from
1794 int to bfd_reloc_code_real_type.
1795 * config/tc-tic4x.c: Likewise.
1797 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1799 * config/tc-v850.c (v850_target_arch): change type to enum
1801 * config/tc-v850.h (v850_target_arch): Likewise.
1803 2016-05-18 Alan Modra <amodra@gmail.com>
1805 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1806 allowed negative range.
1807 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1808 * testsuite/gas/ppc/power9.d: Update.
1810 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1812 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1813 disassembling and stop skipping targets.
1814 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1815 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1816 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1817 instruction for targets that have stronger alignment requirement.
1818 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1819 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1820 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1821 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1822 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1823 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1824 * testsuite/gas/arm/archv8m-main.d: Likewise.
1825 * testsuite/gas/arm/archv8m.s: Add label.
1826 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1827 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1828 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1830 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1832 * config/tc-m32r.c (mach_table): Make static and const.
1834 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1836 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1839 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1841 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1843 * config/tc-msp430.c (md_begin): Likewise.
1845 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1847 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1848 bfd_reloc_code_real_type where appropriate.
1849 (fixup16): Likewise.
1850 (fixup8_xg): Likewise.
1852 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1854 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1856 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1858 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1859 * testsuite/gas/ppc/power9.s: Likewise.
1861 2016-05-13 Alan Modra <amodra@gmail.com>
1863 * config/obj-coff.c (weak_uniquify): Delete unused var.
1865 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1867 * app.c (app_push): Use XNEW and related macros.
1868 * as.c (parse_args): Likewise.
1869 * cgen.c (make_right_shifted_expr): Likewise.
1870 (gas_cgen_tc_gen_reloc): Likewise.
1871 * config/bfin-defs.h: Likewise.
1872 * config/bfin-parse.y: Likewise.
1873 * config/obj-coff.c (stack_init): Likewise.
1874 (stack_push): Likewise.
1875 (coff_obj_symbol_new_hook): Likewise.
1876 (coff_obj_symbol_clone_hook): Likewise.
1877 (add_lineno): Likewise.
1878 (coff_frob_symbol): Likewise.
1879 * config/obj-elf.c (obj_elf_section_name): Likewise.
1880 (build_group_lists): Likewise.
1881 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1882 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1883 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1884 (find_or_make_literal_pool): Likewise.
1885 (add_to_lit_pool): Likewise.
1886 (fill_instruction_hash_table): Likewise.
1887 * config/tc-alpha.c (load_expression): Likewise.
1888 (emit_jsrjmp): Likewise.
1889 (s_alpha_ent): Likewise.
1890 (s_alpha_end): Likewise.
1891 (s_alpha_linkage): Likewise.
1892 (md_begin): Likewise.
1893 (tc_gen_reloc): Likewise.
1894 * config/tc-arc.c (arc_insert_opcode): Likewise.
1895 (arc_extcorereg): Likewise.
1896 * config/tc-bfin.c: Likewise.
1897 * config/tc-cr16.c: Likewise.
1898 * config/tc-cris.c: Likewise.
1899 * config/tc-crx.c (preprocess_reglist): Likewise.
1900 * config/tc-d10v.c: Likewise.
1901 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1902 (frv_tomcat_shuffle): Likewise.
1903 * config/tc-h8300.c: Likewise.
1904 * config/tc-i370.c (i370_macro): Likewise.
1905 * config/tc-i386.c (lex_got): Likewise.
1906 (md_parse_option): Likewise.
1907 * config/tc-ia64.c (alloc_record): Likewise.
1908 (set_imask): Likewise.
1909 (save_prologue_count): Likewise.
1910 (dot_proc): Likewise.
1911 (dot_endp): Likewise.
1912 (ia64_frob_label): Likewise.
1913 (add_qp_imply): Likewise.
1914 (add_qp_mutex): Likewise.
1915 (mark_resource): Likewise.
1916 (dot_alias): Likewise.
1917 * config/tc-m68hc11.c: Likewise.
1918 * config/tc-m68k.c (m68k_frob_label): Likewise.
1920 (mri_control_label): Likewise.
1921 (push_mri_control): Likewise.
1922 (build_mri_control_operand): Likewise.
1923 (s_mri_else): Likewise.
1924 (s_mri_break): Likewise.
1925 (s_mri_next): Likewise.
1926 (s_mri_for): Likewise.
1927 (s_mri_endw): Likewise.
1928 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1929 * config/tc-microblaze.c: Likewise.
1930 * config/tc-mmix.c (s_loc): Likewise.
1931 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1932 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1933 * config/tc-rl78.c: Likewise.
1934 * config/tc-rx.c (rx_include): Likewise.
1935 * config/tc-sh.c: Likewise.
1936 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1937 * config/tc-sparc.c: Likewise.
1938 * config/tc-spu.c: Likewise.
1939 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1940 (tic6x_start_unwind_section): Likewise.
1941 * config/tc-tilegx.c: Likewise.
1942 * config/tc-tilepro.c: Likewise.
1943 * config/tc-v850.c: Likewise.
1944 * config/tc-visium.c: Likewise.
1945 * config/tc-xgate.c: Likewise.
1946 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1947 (new_resource_table): Likewise.
1948 (resize_resource_table): Likewise.
1949 (xtensa_create_trampoline_frag): Likewise.
1950 (xtensa_maybe_create_literal_pool_frag): Likewise.
1951 (cache_literal_section): Likewise.
1952 * config/xtensa-relax.c (append_transition): Likewise.
1953 (append_condition): Likewise.
1954 (append_value_condition): Likewise.
1955 (append_constant_value_condition): Likewise.
1956 (append_literal_op): Likewise.
1957 (append_label_op): Likewise.
1958 (append_constant_op): Likewise.
1959 (append_field_op): Likewise.
1960 (append_user_fn_field_op): Likewise.
1961 (enter_opname_n): Likewise.
1962 (enter_opname): Likewise.
1963 (split_string): Likewise.
1964 (parse_insn_templ): Likewise.
1965 (clone_req_or_option_list): Likewise.
1966 (clone_req_option_list): Likewise.
1967 (parse_option_cond): Likewise.
1968 (parse_insn_pattern): Likewise.
1969 (parse_insn_repl): Likewise.
1970 (build_transition): Likewise.
1971 (build_transition_table): Likewise.
1972 * dw2gencfi.c (alloc_fde_entry): Likewise.
1973 (alloc_cfi_insn_data): Likewise.
1974 (cfi_add_CFA_remember_state): Likewise.
1975 (dot_cfi_escape): Likewise.
1976 (dot_cfi_fde_data): Likewise.
1977 (select_cie_for_fde): Likewise.
1978 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1979 * ecoff.c (ecoff_add_bytes): Likewise.
1980 (ecoff_build_debug): Likewise.
1981 * input-scrub.c (input_scrub_push): Likewise.
1982 (input_scrub_begin): Likewise.
1983 (input_scrub_next_buffer): Likewise.
1984 * itbl-ops.c (append_insns_as_macros): Likewise.
1985 (alloc_entry): Likewise.
1986 (alloc_field): Likewise.
1987 * listing.c (listing_newline): Likewise.
1988 (listing_listing): Likewise.
1989 * macro.c (get_any_string): Likewise.
1990 (delete_macro): Likewise.
1991 * stabs.c (generate_asm_file): Likewise.
1992 (stabs_generate_asm_lineno): Likewise.
1993 * subsegs.c (subseg_change): Likewise.
1994 (subseg_get): Likewise.
1995 * symbols.c (define_dollar_label): Likewise.
1996 (symbol_relc_make_sym): Likewise.
1997 * write.c (write_relocs): Likewise.
1999 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2001 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2002 (weak_name2altname): Likewise.
2003 (weak_uniquify): Likewise.
2004 (obj_coff_section): Likewise.
2005 (obj_coff_init_stab_section): Likewise.
2006 * config/obj-elf.c (obj_elf_section_name): Likewise.
2007 (obj_elf_init_stab_section): Likewise.
2008 * config/obj-evax.c (evax_shorten_name): Likewise.
2009 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2010 * config/tc-aarch64.c (create_register_alias): Likewise.
2011 * config/tc-alpha.c (load_expression): Likewise.
2012 (s_alpha_file): Likewise.
2013 (s_alpha_section_name): Likewise.
2014 (tc_gen_reloc): Likewise.
2015 * config/tc-arc.c (md_assemble): Likewise.
2016 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2017 (start_unwind_section): Likewise.
2018 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2019 (hppa_elf_mark_end_of_function): Likewise.
2020 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2021 (nios2_negate_arg): Likewise.
2022 * config/tc-rx.c (rx_section): Likewise.
2023 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2024 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2025 * config/tc-tic54x.c (tic54x_include): Likewise.
2026 (tic54x_macro_info): Likewise.
2027 (subsym_get_arg): Likewise.
2028 (subsym_substitute): Likewise.
2029 (tic54x_start_line_hook): Likewise.
2030 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2031 (xg_reverse_shift_count): Likewise.
2032 * config/xtensa-relax.c (enter_opname_n): Likewise.
2033 (split_string): Likewise.
2034 * dwarf2dbg.c (get_filenum): Likewise.
2035 (process_entries): Likewise.
2036 * expr.c (operand): Likewise.
2037 * itbl-ops.c (alloc_entry): Likewise.
2038 * listing.c (listing_message): Likewise.
2039 (listing_title): Likewise.
2040 * macro.c (check_macro): Likewise.
2041 * stabs.c (s_xstab): Likewise.
2042 * symbols.c (symbol_relc_make_expr): Likewise.
2043 * write.c (compress_debug): Likewise.
2045 2016-05-12 Nick Clifton <nickc@redhat.com>
2048 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2050 2016-05-11 Nick Clifton <nickc@redhat.com>
2053 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2054 big endian ARM configurations.
2056 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2057 Matthew Fortune <matthew.fortune@imgtec.com>
2059 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2061 (md_longopts): Likewise.
2062 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2063 (mips_ases): Define availability for DSPr3.
2064 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2065 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2066 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2068 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2069 .set nodspr3. Fix -mdspr2 formatting.
2070 * testsuite/gas/mips/mips32-dspr3.d: New file.
2071 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2072 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2074 2016-05-11 Nick Clifton <nickc@redhat.com>
2077 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2078 to the pool uses O_constant.
2079 * testsuite/gas/arm/pr20068.s: New test.
2080 * testsuite/gas/arm/pr20068.d: Test driver.
2082 2016-05-11 Nick Clifton <nickc@redhat.com>
2084 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2085 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2086 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2087 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2088 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2089 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2090 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2091 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2092 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2094 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2096 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2097 * testsuite/gas/i386/prefix.d: Adjust.
2098 * testsuite/gas/i386/rdpid.s: New test.
2099 * testsuite/gas/i386/rdpid.d: Ditto.
2100 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2101 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2102 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2103 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2105 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2107 * config/tc-i386.c (cpu_arch): Add RDPID.
2108 * doc/c-i386.texi: Document RDPID.
2110 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2112 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2113 set branch type of a symbol.
2115 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2117 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2118 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2120 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2121 (aeabi_set_public_attributes): Memorize the feature bits of the
2122 architecture selected for Tag_CPU_arch. Use it to set
2123 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2124 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2125 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2126 * testsuite/gas/arm/arch7em-bad-1.d: This.
2127 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2128 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2129 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2130 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2131 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2132 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2133 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2134 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2136 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2138 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2139 allowed_archs an array with 2 entries.
2140 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2141 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2142 (arm_extensions): Use separate entries in allowed_archs when several
2143 archs are allowed to use an extension and change ARCH_ANY in
2144 ARM_ARCH_NONE in allowed_archs.
2145 (arm_parse_extension): Check that, for each allowed_archs entry, all
2146 bits are set in the current architecture, ignoring ARM_ANY entries.
2147 (s_arm_arch_extension): Likewise.
2149 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2151 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2152 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2153 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2154 shared with a non M profile architecture.
2155 (do_rn): New function.
2156 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2158 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2159 (insns): Add ARMv8-M Security Extensions instructions.
2160 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2161 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2162 * testsuite/gas/arm/archv8m-cmse.s: New file.
2163 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2164 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2165 * testsuite/gas/arm/any-cmse.d: Likewise.
2166 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2167 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2168 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2169 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2170 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2171 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2173 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2175 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2176 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2178 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2180 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2181 (fpu_arch_vfp_v3): Likewise.
2182 (fpu_arch_neon_v1): Likewise.
2183 (arm_arch_full): Likewise.
2184 (parse_neon_el_struct_list): Initialize fields of firsttype.
2186 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2188 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2189 (arc_extinsn): Handle new introduced syntax.
2190 * testsuite/gas/arc/textinsn1op.d: New file.
2191 * testsuite/gas/arc/textinsn1op.s: Likewise.
2192 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2194 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2196 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2197 DW_LNS_fixed_advance_pc.
2199 2016-04-27 Alan Modra <amodra@gmail.com>
2201 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2202 (xmemdup0): New inline function.
2204 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2206 * config/tc-mips.c (code_option_type): New enum.
2207 (parse_code_option): Return status indicating option type.
2208 (s_mipsset): Update `parse_code_option' call site accordingly.
2209 Always set register sizes from the ISA with ISA overrides.
2210 (s_module): Update `parse_code_option' call site.
2211 * testsuite/gas/mips/isa-override-1.d: New test.
2212 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2213 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2214 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2215 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2216 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2217 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2218 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2219 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2220 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2221 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2222 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2223 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2224 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2225 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2226 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2227 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2228 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2229 * testsuite/gas/mips/isa-override-2.l: New list test.
2230 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2231 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2232 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2233 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2234 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2235 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2236 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2237 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2238 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2239 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2240 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2242 * testsuite/gas/mips/isa-override-1.s: New test source.
2243 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2244 * testsuite/gas/mips/isa-override-2.s: New test source.
2245 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2246 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2247 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2248 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2249 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2250 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2251 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2252 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2253 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2254 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2255 * testsuite/gas/mips/mips.exp: Run the new tests.
2257 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2260 * config/tc-bfin.c: Likewise.
2261 * config/tc-ia64.c: Likewise.
2262 * config/tc-mep.c: Likewise.
2263 * config/tc-metag.c: Likewise.
2264 * config/tc-nios2.c: Likewise.
2265 * config/tc-rl78.c: Likewise.
2267 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2269 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2270 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2271 (ARC Directives): Add NPS400 to .cpu directive list.
2273 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2275 * config/tc-aarch64.c (aarch64_features): Add "ras".
2276 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2277 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2278 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2279 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2280 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2282 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2284 * testsuite/gas/arc/nps400-6.d: New file.
2285 * testsuite/gas/arc/nps400-6.s: New file.
2287 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2289 * testsuite/gas/arc/nps400-4.d: New file.
2290 * testsuite/gas/arc/nps400-4.s: New file.
2291 * testsuite/gas/arc/nps400-5.d: New file.
2292 * testsuite/gas/arc/nps400-5.s: New file.
2294 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2296 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2299 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2301 Revert prevous change.
2302 * config/tc-arc.c (arc_option): Make .cpu directive
2303 case-sensitive again.
2305 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2307 * config/tc-arc.c (arc_option): Make .cpu directive
2310 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2312 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2314 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2316 * config/tc-mips.c (md_begin): Remove useless assignment.
2318 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2320 * Makefile.in: Regenerated with automake 1.11.6.
2321 * aclocal.m4: Likewise.
2322 * doc/Makefile.in: Likewise.
2324 2016-04-15 Alan Modra <amodra@gmail.com>
2326 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2328 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2330 * config/tc-nios2.c (nios2_as_options): Make file static.
2331 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2332 * config/tc-sparc.c (native_op_table): Likewise.
2334 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2336 * config/tc-m32c.c (M32C_Macros): Remove.
2337 * config/tc-msp430.c (option_numbers): Likewise.
2339 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2341 * testsuite/gas/arc/nps400-3.d: New file.
2342 * testsuite/gas/arc/nps400-3.s: New file.
2344 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2346 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2347 * testsuite/gas/arc/warn.s: Likewise.
2348 * testsuite/gas/elf/elf.exp: Run test for arc.
2350 2016-04-14 Nick Clifton <nickc@redhat.com>
2353 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2354 sections possibly having the SHF_STRINGS flag bit set.
2355 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2357 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2359 * config/tc-arc.c (mach_type_specified_p): Change type to
2361 (arc_option): Set private flags when parsing cpu pseudo-op.
2362 (md_parse_option): Set mach_type_specified_p to TRUE.
2364 2016-04-13 Nick Clifton <nickc@redhat.com>
2367 * testsuite/gas/v850/pr19937.s: New test.
2368 * testsuite/gas/v850/pr19937.d: New test control file.
2369 * testsuite/gas/v850/basic.exp: Run the new test.
2371 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2372 Andrew Bennett <andrew.bennett@imgtec.com>
2374 * config/tc-mips.c (relaxed_branch_length): Use the long
2375 sequence where the target is a weak symbol.
2376 (relaxed_micromips_32bit_branch_length): Likewise.
2377 (relaxed_micromips_16bit_branch_length): Likewise.
2378 * testsuite/gas/mips/branch-weak-1.d: New test.
2379 * testsuite/gas/mips/branch-weak-2.d: New test.
2380 * testsuite/gas/mips/branch-weak-3.d: New test.
2381 * testsuite/gas/mips/branch-weak-4.d: New test.
2382 * testsuite/gas/mips/branch-weak-5.d: New test.
2383 * testsuite/gas/mips/branch-weak.l: New stderr output.
2384 * testsuite/gas/mips/branch-weak.s: New test source.
2385 * testsuite/gas/mips/mips.exp: Run the new tests.
2387 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2389 * config/tc-mips.c (relaxed_branch_length): Use the long
2390 sequence where the distance cannot be determined.
2391 (relaxed_micromips_32bit_branch_length): Likewise.
2392 * testsuite/gas/mips/branch-extern-1.d: New test.
2393 * testsuite/gas/mips/branch-extern-2.d: New test.
2394 * testsuite/gas/mips/branch-extern-3.d: New test.
2395 * testsuite/gas/mips/branch-extern-4.d: New test.
2396 * testsuite/gas/mips/branch-extern.l: New stderr output.
2397 * testsuite/gas/mips/branch-extern.s: New test source.
2398 * testsuite/gas/mips/branch-section-1.d: New test.
2399 * testsuite/gas/mips/branch-section-2.d: New test.
2400 * testsuite/gas/mips/branch-section-3.d: New test.
2401 * testsuite/gas/mips/branch-section-4.d: New test.
2402 * testsuite/gas/mips/branch-section.l: New stderr output.
2403 * testsuite/gas/mips/branch-section.s: New test source.
2404 * testsuite/gas/mips/mips.exp: Run the new tests.
2406 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2408 * testsuite/gas/arc/textauxregister.d: New file.
2409 * testsuite/gas/arc/textauxregister.s: Likewise.
2410 * testsuite/gas/arc/textcondcode.d: Likewise.
2411 * testsuite/gas/arc/textcondcode.s: Likewise.
2412 * testsuite/gas/arc/textcoreregister.d: Likewise.
2413 * testsuite/gas/arc/textcoreregister.s: Likewise.
2414 * testsuite/gas/arc/textpseudoop.d: Likewise.
2415 * testsuite/gas/arc/textpseudoop.s: Likewise.
2416 * testsuite/gas/arc/ld2.d: Update test.
2417 * testsuite/gas/arc/st.d: Likewise.
2418 * testsuite/gas/arc/taux.d: Likewise.
2419 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2420 .extCoreRegister and .extAuxRegister documentation.
2421 * config/tc-arc.c (arc_extcorereg): New function.
2422 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2423 .extAuxRegister pseudo-ops.
2424 (extRegister_t): New type.
2425 (ext_condcode, arc_aux_hash): New global variable.
2426 (find_opcode_match): Check for extensions.
2427 (preprocess_operands): Likewise.
2428 (md_begin): Add aux registers in a hash.
2429 (assemble_insn): Update use arc_flags member.
2430 (tokenize_extregister): New function.
2431 (create_extcore_section): Likewise.
2432 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2434 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2436 * testsuite/gas/arc/noargs_a7.d: New file.
2437 * testsuite/gas/arc/noargs_a7.s: Likewise.
2438 * testsuite/gas/arc/noargs_hs.d: Likewise.
2439 * testsuite/gas/arc/noargs_hs.s: Likewise.
2441 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2443 * testsuite/gas/arc/textinsn-errors.d: New File.
2444 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2445 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2446 * testsuite/gas/arc/textinsn2op.d: Likewise.
2447 * testsuite/gas/arc/textinsn2op.s: Likewise.
2448 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2449 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2450 * testsuite/gas/arc/textinsn3op.d: Likewise.
2451 * testsuite/gas/arc/textinsn3op.s: Likewise.
2452 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2454 * config/tc-arc.c (arcext_section): New variable.
2455 (arc_extinsn): New function.
2456 (md_pseudo_table): Add .extInstruction pseudo op.
2457 (attributes_t): New type.
2458 (suffixclass, syntaxclass, syntaxclassmod): New constant
2460 (find_opcode_match): Remove arc_num_opcodes.
2461 (md_begin): Likewise.
2462 (tokenize_extinsn): New function.
2463 (arc_set_ext_seg): Likewise.
2464 (create_extinst_section): Likewise.
2466 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2468 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2469 (arc_adjust_symtab): New function.
2470 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2471 (obj_adjust_symtab): Likewise.
2472 * testsuite/gas/arc/taux.d: New file.
2473 * testsuite/gas/arc/taux.s: Likewise.
2475 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2477 * config/tc-mips.c (s_option): Sanitize `.option picX'
2479 * testsuite/gas/mips/option-pic-1.d: New test.
2480 * testsuite/gas/mips/option-pic-2.l: New list test.
2481 * testsuite/gas/mips/option-pic-1.s: New test source.
2482 * testsuite/gas/mips/option-pic-2.s: New test source.
2483 * testsuite/gas/mips/mips.exp: Run the new tests.
2485 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2487 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2489 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2490 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2491 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2492 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2493 * testsuite/gas/mips/mips.exp: Run the new tests.
2495 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2497 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2499 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2501 * messages.c (as_bad): Fix a typo in description.
2503 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2505 * config/tc-mips.c (mips_check_options): Unify messages.
2507 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2509 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2512 2016-04-08 Nick Clifton <nickc@redhat.com>
2515 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2516 COFF and AOUT sparc targets.
2518 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2520 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2521 * testsuite/gas/arc/nps400-2.d: New file.
2522 * testsuite/gas/arc/nps400-2.s: New file.
2524 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2526 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2528 (arc_opcode_hash_entry_iterator_init): New function.
2529 (arc_opcode_hash_entry_iterator_next): New function.
2530 (find_opcode_match): Iterate over all arc_opcode entries
2531 referenced by the arc_opcode_hash_entry passed in as a parameter.
2533 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2535 * config/tc-arc.c (arc_find_opcode): Now returns
2536 arc_opcode_hash_entry pointer.
2537 (find_opcode_match): Update argument type, extract arc_opcode from
2538 incoming arc_opcode_hash_entry.
2539 (find_special_case_pseudo): Update return type.
2540 (find_special_case_flag): Update return type.
2541 (find_special_case): Update return type.
2542 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2543 instruction mnemonic, then use find_opcode_match to identify
2544 specific arc_opcode.
2546 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2548 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2549 (arc_find_opcode): New function.
2550 (find_special_case_pseudo): Use arc_find_opcode.
2551 (find_special_case_flag): Likewise.
2552 (assemble_tokens): Likewise.
2553 (md_begin): Build hash using struct arc_opcode_hash_entry.
2555 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2557 * config/tc-arc.c (arc_option): Prepare string for automatic
2559 (declare_register): Likewise.
2561 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2563 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2564 Correct entry for RDMA. Alpha sort entries.
2566 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2568 * config/tc-arc.c (tokenize_flags): Allow greater range of
2569 characters into flag names.
2571 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2573 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2575 (preprocess_operands): Delete.
2576 (assemble_tokens): Remove call to preprocess_operands.
2578 2016-04-07 Nick Clifton <nickc@redhat.com>
2581 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2582 inside a %-macro could not be fully parsed.
2583 * expr.c (integer_constant): Accept and ignore U suffixes to
2585 (operand): When a missing closing parenthesis is encountered,
2586 report the character that was found instead.
2587 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2588 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2589 * testsuite/gas/sparc/pr19910-1.s: New test.
2590 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2591 * testsuite/gas/sparc/pr19910-2.s: New test.
2592 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2594 2016-04-06 Nick Clifton <nickc@redhat.com>
2596 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2597 an EINT instruction. Warn/fix as necessary.
2598 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2599 * testsuite/gas/msp430/bad.l: Update expected messages.
2601 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2603 * testsuite/gas/arc/nps400-1.d: Update expected results.
2604 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2606 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2608 * config/tc-arc.c (is_code_density_p): Compare directly the
2610 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2611 (check_cpu_feature): New function.
2612 (find_opcode_match): Use check_cpu_feature function.
2613 (preprocess_operands): Likewise.
2614 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2615 * testsuite/gas/arc/tdpfp.d: New file.
2616 * testsuite/gas/arc/tfpuda.d: Likewise.
2617 * testsuite/gas/arc/tfpx.s: Likewise.
2619 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2621 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2622 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2623 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2624 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2625 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2626 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2627 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2628 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2630 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2632 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2634 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2635 JUMP instructions type.
2636 * testsuite/gas/arc/relocs-errors.d: New file.
2637 * testsuite/gas/arc/relocs-errors.err: Likewise.
2638 * testsuite/gas/arc/relocs-errors.s: Likewise.
2640 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2643 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2644 only if i.disp_encoding != disp_encoding_32bit.
2645 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2646 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2647 * gas/testsuite/gas/i386/disp32.d: Updated.
2648 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2650 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2653 * testsuite/gas/i386/i386.exp: Run pr19498.
2654 * testsuite/gas/i386/pr19498.d: New file.
2655 * testsuite/gas/i386/pr19498.s: Likewise.
2657 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2659 * config/tc-arc.h: Include 'opcode/arc.h'.
2660 (MAX_INSN_ARGS): Delete.
2661 (MAX_INSN_FLGS): Delete.
2663 2016-04-04 Alan Modra <amodra@gmail.com>
2666 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2667 from function on all paths that set sy_resolving.
2669 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2671 * app.c (app_push): use XNEW macro.
2673 * config/obj-elf.c (obj_elf_change_section): Likewise.
2674 (elf_copy_symbol_attributes): Likewise.
2675 (obj_elf_size): Likewise.
2676 (build_group_lists): Likewise.
2677 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2678 (md_assemble): Likewise.
2679 (tc_gen_reloc): Likewise.
2680 (get_upper_str): Likewise.
2681 (aarch64_parse_features): Likewise.
2682 * config/tc-arm.c (insert_reg_alias): Likewise.
2683 (insert_neon_reg_alias): Likewise.
2684 (find_or_make_literal_pool): Likewise.
2685 (s_arm_elf_cons): Likewise.
2686 (add_unwind_opcode): Likewise.
2687 (arm_parse_extension): Likewise.
2688 * config/tc-avr.c (create_record_for_frag): Likewise.
2689 * config/tc-crx.c: Likewise.
2690 * config/tc-d30v.c: Likewise.
2691 * config/tc-dlx.c (s_proc): Likewise.
2692 * config/tc-ft32.c: Likewise.
2693 * config/tc-h8300.c: Likewise.
2694 * config/tc-hppa.c (pa_proc): Likewise.
2695 (create_new_space): Likewise.
2696 (create_new_subspace): Likewise.
2697 * config/tc-i860.c: Likewise.
2698 * config/tc-i960.c: Likewise.
2699 * config/tc-ia64.c: Likewise.
2700 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2701 (iq2000_record_hi16): Likewise.
2702 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2703 * config/tc-m32r.c (debug_sym): Likewise.
2704 (m32r_record_hi16): Likewise.
2705 * config/tc-m68k.c (m68k_ip): Likewise.
2706 (md_begin): Likewise.
2707 * config/tc-mcore.c: Likewise.
2708 * config/tc-microblaze.c (check_got): Likewise.
2709 * config/tc-mips.c (append_insn): Likewise.
2710 (s_mipsset): Likewise.
2711 (mips_record_label): Likewise.
2712 (s_mips_end): Likewise.
2713 * config/tc-mmix.c (mmix_frob_file): Likewise.
2714 * config/tc-mn10200.c: Likewise.
2715 * config/tc-mn10300.c: Likewise.
2716 * config/tc-moxie.c: Likewise.
2717 * config/tc-msp430.c: Likewise.
2718 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2719 * config/tc-ns32k.c: Likewise.
2720 * config/tc-or1k.c: Likewise.
2721 * config/tc-pdp11.c: Likewise.
2722 * config/tc-pj.c (fake_opcode): Likewise.
2723 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2724 (ppc_macro): Likewise.
2725 (ppc_dwsect): Likewise.
2726 (ppc_machine): Likewise.
2727 * config/tc-rl78.c (rl78_frag_init): Likewise.
2728 * config/tc-rx.c (rx_frag_init): Likewise.
2729 * config/tc-s390.c (s390_lit_suffix): Likewise.
2730 (s390_machine): Likewise.
2731 (s390_machinemode): Likewise.
2732 * config/tc-score.c (s3_insert_reg): Likewise.
2733 (s3_gen_reloc): Likewise.
2734 * config/tc-score7.c (s7_insert_reg): Likewise.
2735 (s7_gen_reloc): Likewise.
2736 * config/tc-tic30.c (tic30_operand): Likewise.
2737 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2738 * config/tc-tic54x.c (stag_add_field): Likewise.
2739 (tic54x_struct): Likewise.
2740 (tic54x_space): Likewise.
2741 (tic54x_field): Likewise.
2742 (tic54x_mlib): Likewise.
2743 (subsym_substitute): Likewise.
2744 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2745 * config/tc-vax.c: Likewise.
2746 * config/tc-xc16x.c: Likewise.
2747 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2748 (directive_push): Likewise.
2749 (xtensa_begin_directive): Likewise.
2750 (tokenize_arguments): Likewise.
2751 (xtensa_add_literal_sym): Likewise.
2752 (new_resource_table): Likewise.
2753 (resize_resource_table): Likewise.
2754 (emit_single_op): Likewise.
2755 (xtensa_create_trampoline_frag): Likewise.
2756 (xtensa_maybe_create_literal_pool_frag): Likewise.
2757 (xtensa_add_config_info): Likewise.
2758 (xtensa_realloc_fixup_cache): Likewise.
2759 (add_subseg_info): Likewise.
2760 (cache_literal_section): Likewise.
2761 (add_xt_block_frags): Likewise.
2762 (add_xt_prop_frags): Likewise.
2763 (init_op_placement_info_table): Likewise.
2764 (build_section_rename): Likewise.
2765 * config/tc-z80.c: Likewise.
2766 * config/tc-z8k.c: Likewise.
2767 * depend.c (register_dependency): Likewise.
2768 * dwarf2dbg.c (get_line_subseg): Likewise.
2769 (dwarf2_gen_line_info_1): Likewise.
2770 (get_filenum): Likewise.
2771 * ecoff.c (allocate_scope): Likewise.
2772 (allocate_vlinks): Likewise.
2773 (allocate_shash): Likewise.
2774 (allocate_thash): Likewise.
2775 (allocate_tag): Likewise.
2776 (allocate_forward): Likewise.
2777 (allocate_thead): Likewise.
2778 (allocate_lineno_list): Likewise.
2779 * expr.c (make_expr_symbol): Likewise.
2780 * hash.c (hash_new_sized): Likewise.
2781 * input-file.c (input_file_push): Likewise.
2782 * listing.c (file_info): Likewise.
2783 (listing_newline): Likewise.
2784 * macro.c (new_formal): Likewise.
2785 (define_macro): Likewise.
2786 * remap.c (add_debug_prefix_map): Likewise.
2787 * symbols.c (symbol_find_noref): Likewise.
2788 (define_dollar_label): Likewise.
2789 (fb_label_instance_inc): Likewise.
2790 (symbol_relc_make_value): Likewise.
2792 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2794 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2795 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2796 (ppc_znop): Likewise.
2797 (ppc_pe_section): Likewise.
2798 (ppc_frob_symbol): Likewise.
2799 * config/tc-tic30.c (tic30_operand): Likewise.
2800 * config/tc-tic4x.c (tic4x_sect): Likewise.
2801 (tic4x_usect): Likewise.
2803 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2805 * config/tc-alpha.c: Const qualify FLT_CHARS.
2806 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2807 * config/tc-cris.h: Likewise.
2809 * config/tc-mmix.c (md_atof): Adjust comment.
2810 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2811 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2813 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2815 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2816 * config/tc-score7.c (s7_gen_reloc): Likewise.
2818 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2820 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2821 bfd_reloc_code_real_type.
2823 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2825 * config/bfin-parse.y (current_inputline): Remove definition.
2826 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2828 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2830 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2833 2016-04-02 Alan Modra <amodra@gmail.com>
2836 * read.c (assign_symbol): Consume rest of line after an error
2837 rather than continuing to process the line.
2839 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2841 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2842 (MAX_FLAG_NAME_LENGTH): ...this.
2843 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2844 * config/tc-arc.c (tokenize_flags): Likewise.
2846 2016-04-01 Alan Modra <amodra@gmail.com>
2848 * cgen.c (weak_operand_overflow_check): Return const char*.
2849 * messages.c (as_internal_value_out_of_range): Formatting.
2850 (as_warn_value_out_of_range): Consify prefix param.
2851 (as_bad_value_out_of_range): Likewise.
2852 * read.c (s_errwarn): Constify msg..
2853 (s_float_space, float_cons): ..and err.
2854 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2855 ieee_md_atof, vax_md_atof): Update prototypes.
2856 * tc.h (md_atof): Update prototype.
2857 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2858 * config/atof-vax.c (vax_md_atof): Likewise.
2859 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2860 * config/tc-aarch64.c (md_atof): Return const char*.
2861 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2862 (s_alpha_comm): Constify sec_name.
2863 (section_name): Constify.
2864 (s_alpha_section): Consify name..
2865 (alpha_elf_section_letter): ..and ptr_msg param..
2866 (md_atof): ..and return.
2867 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2868 * config/tc-arc.c (md_atof): Return const char*.
2869 * config/tc-arm.c (md_atof): Likewise.
2870 * config/tc-avr.c (md_atof): Likewise.
2871 * config/tc-bfin.c (md_atof): Likewise.
2872 * config/tc-cr16.c (md_atof): Likewise.
2873 * config/tc-cris.c (md_atof): Likewise.
2874 * config/tc-crx.c (md_atof): Likewise.
2875 * config/tc-d10v.c (md_atof): Likewise.
2876 * config/tc-d30v.c (md_atof): Likewise.
2877 * config/tc-dlx.c (md_atof): Likewise.
2878 * config/tc-epiphany.c (md_atof): Likewise.
2879 * config/tc-fr30.c (md_atof): Likewise.
2880 * config/tc-frv.c (md_atof): Likewise.
2881 * config/tc-ft32.c (md_atof): Likewise.
2882 * config/tc-h8300.c (md_atof): Likewise.
2883 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2884 (struct default_space_dict): Likewise.
2885 (create_new_space): Constify name param.
2886 (create_new_subspace): Likewise.
2887 (is_defined_space, is_defined_subspace): Likewise.
2888 (pa_parse_space_stmt): Constify space_name param.
2889 (md_atof): Return const char*.
2890 (pa_spaces_begin): Constify name.
2891 * config/tc-i370.c (md_atof): Return const char*.
2892 * config/tc-i386.c (md_atof): Likewise.
2893 (x86_64_section_letter): Constify ptr_msg param.
2894 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2895 * config/tc-i860.c (struct i860_it): Constify error.
2896 (md_atof): Return const char*.
2897 * config/tc-i960.c (md_atof): Likewise.
2898 * config/tc-ia64.c (md_atof): Likewise.
2899 (ia64_elf_section_letter): Constify ptr_msg param.
2900 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2901 * config/tc-ip2k.c (md_atof): Return const char*.
2902 * config/tc-iq2000.c (md_atof): Likewise.
2903 * config/tc-lm32.c (md_atof): Likewise.
2904 * config/tc-m32c.c (md_atof): Likewise.
2905 * config/tc-m32r.c (md_atof): Likewise.
2906 * config/tc-m68hc11.c (md_atof): Likewise.
2907 * config/tc-m68k.c (md_atof): Likewise.
2908 * config/tc-mcore.c (md_atof): Likewise.
2909 * config/tc-mep.c (md_atof): Likewise.
2910 (mep_elf_section_letter): Constify ptr_msg param.
2911 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2912 * config/tc-metag.c (md_atof): Return const char*.
2913 * config/tc-microblaze.c (md_atof): Likewise.
2914 * config/tc-microblaze.h (md_atof): Delete prototype.
2915 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2916 (md_atof): Return const char*.
2917 * config/tc-mmix.c (md_atof): Likewise.
2918 * config/tc-mn10200.c (md_atof): Likewise.
2919 * config/tc-mn10300.c (md_atof): Likewise.
2920 * config/tc-moxie.c (md_atof): Likewise.
2921 * config/tc-msp430.c (md_atof): Likewise.
2922 * config/tc-mt.c (md_atof): Likewise.
2923 * config/tc-nds32.c (md_atof): Likewise.
2924 * config/tc-nios2.c (md_atof): Likewise.
2925 (nios2_elf_section_letter): Constify ptr_msg param.
2926 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2927 * config/tc-ns32k.c (md_atof): Return const char*.
2928 * config/tc-or1k.c (md_atof): Likewise.
2929 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2930 (md_atof): Return const char*.
2931 * config/tc-pj.c (md_atof): Likewise.
2932 * config/tc-ppc.c (md_atof): Likewise.
2933 * config/tc-rl78.c (md_atof): Likewise.
2934 * config/tc-rx.c (md_atof): Likewise.
2935 * config/tc-s390.c (md_atof): Likewise.
2936 * config/tc-score.c (s3_atof, md_atof): Likewise.
2937 * config/tc-sh.c (md_atof): Likewise.
2938 * config/tc-sparc.c (struct sparc_it): Constify error.
2939 (md_atof): Return const char*.
2940 * config/tc-spu.c (md_atof): Likewise.
2941 * config/tc-tic30.c (md_atof): Likewise.
2942 * config/tc-tic4x.c (md_atof): Likewise.
2943 * config/tc-tic54x.c (md_atof): Likewise.
2944 * config/tc-tic6x.c (md_atof): Likewise.
2945 * config/tc-tilegx.c (md_atof): Likewise.
2946 * config/tc-tilepro.c (md_atof): Likewise.
2947 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2948 * config/tc-vax.c (md_atof): Likewise.
2949 * config/tc-visium.c (md_atof): Likewise.
2950 * config/tc-xc16x.c (md_atof): Likewise.
2951 * config/tc-xgate.c (md_atof): Likewise.
2952 * config/tc-xstormy16.c (md_atof): Likewise.
2953 * config/tc-xtensa.c (md_atof): Likewise.
2954 * config/tc-z80.c (md_atof): Likewise.
2955 * config/tc-z8k.c (md_atof): Likewise.
2957 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2959 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2961 (xtensa_section_rename): Make argument type const char *.
2962 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2964 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2966 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2969 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2971 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2973 (m32c_indirect_operand): Likewise.
2974 * config/tc-nds32.c (do_pseudo_b): Likewise.
2975 (do_pseudo_bal): Likewise.
2976 (do_pseudo_ls_bhw): Likewise.
2978 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2980 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2982 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2984 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2986 * config/tc-sparc.c (s_register): Cast a literal to char * in
2989 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2991 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2993 * config/tc-m32r.c (expand_debug_syms): Likewise.
2994 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2995 * config/tc-z80.c (md_begin): Likewise.
2996 * stabs.c (stabs_generate_asm_func): Likewise.
2998 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3000 * cgen.c: Modernize the way functions declare arguments.
3001 * config/tc-bfin.c: Likewise.
3002 * config/tc-pdp11.c: Likewise.
3003 * literal.c: Likewise.
3005 * stabs.c: Likewise.
3007 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3009 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3010 variables unsigned char[].
3011 * config/tc-alpha.c (alpha_handle_align): Likewise.
3012 * config/tc-arm.c (arm_handle_align): Likewise.
3013 * config/tc-z80.c: Likewise.
3015 2016-03-30 Nick Clifton <nickc@redhat.com>
3018 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3021 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3023 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3024 * testsuite/gas/elf/elf.exp: Likewise.
3025 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3027 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3029 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3031 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3033 * testsuite/gas/arc/ext2op.d: New file.
3034 * testsuite/gas/arc/ext2op.s: Likewise.
3035 * testsuite/gas/arc/ext3op.d: Likewise.
3036 * testsuite/gas/arc/ext3op.s: Likewise.
3038 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3040 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3042 * config/tc-alpha.c (md_parse_option): Likewise.
3043 * config/tc-arc.c (md_parse_option): Likewise.
3044 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3045 (md_parse_option): Likewise.
3046 * config/tc-avr.c (md_parse_option): Likewise.
3047 * config/tc-bfin.c (md_parse_option): Likewise.
3048 * config/tc-cr16.c (md_parse_option): Likewise.
3049 * config/tc-cris.c (s_cris_arch): Likewise.
3050 (md_parse_option): Likewise.
3051 * config/tc-crx.c (md_parse_option): Likewise.
3052 * config/tc-d10v.c (md_parse_option): Likewise.
3053 * config/tc-d30v.c (md_parse_option): Likewise.
3054 * config/tc-dlx.c (md_parse_option): Likewise.
3055 * config/tc-epiphany.c (md_parse_option): Likewise.
3056 * config/tc-fr30.c (md_parse_option): Likewise.
3057 * config/tc-frv.c (md_parse_option): Likewise.
3058 * config/tc-ft32.c (md_parse_option): Likewise.
3059 * config/tc-h8300.c (md_parse_option): Likewise.
3060 * config/tc-hppa.c (md_parse_option): Likewise.
3061 * config/tc-i370.c (md_parse_option): Likewise.
3062 * config/tc-i386.c (md_parse_option): Likewise.
3063 * config/tc-i860.c (md_parse_option): Likewise.
3064 * config/tc-i960.c (md_parse_option): Likewise.
3065 * config/tc-ia64.c (md_parse_option): Likewise.
3066 * config/tc-ip2k.c (md_parse_option): Likewise.
3067 * config/tc-iq2000.c (md_parse_option): Likewise.
3068 * config/tc-lm32.c (md_parse_option): Likewise.
3069 * config/tc-m32c.c (md_parse_option): Likewise.
3070 * config/tc-m32r.c (md_parse_option): Likewise.
3071 * config/tc-m68hc11.c (md_parse_option): Likewise.
3072 * config/tc-m68k.c (md_parse_option): Likewise.
3073 * config/tc-mcore.c (md_parse_option): Likewise.
3074 * config/tc-mep.c (md_parse_option): Likewise.
3075 * config/tc-metag.c (struct metag_long_option): Likewise.
3076 (md_parse_option): Likewise.
3077 * config/tc-microblaze.c (md_parse_option): Likewise.
3078 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3079 * config/tc-mips.c (md_parse_option): Adjust.
3080 * config/tc-mmix.c (md_parse_option): Likewise.
3081 * config/tc-mn10200.c (md_parse_option): Likewise.
3082 * config/tc-mn10300.c (md_parse_option): Likewise.
3083 * config/tc-moxie.c (md_parse_option): Likewise.
3084 * config/tc-msp430.c (md_parse_option): Likewise.
3085 * config/tc-mt.c (md_parse_option): Likewise.
3086 * config/tc-nds32.c (md_parse_option): Likewise.
3087 * config/tc-nds32.h (nds32_parse_option): Likewise.
3088 * config/tc-nios2.c (md_parse_option): Likewise.
3089 * config/tc-ns32k.c (md_parse_option): Likewise.
3090 * config/tc-or1k.c (md_parse_option): Likewise.
3091 * config/tc-pdp11.c (md_parse_option): Likewise.
3092 * config/tc-pj.c (md_parse_option): Likewise.
3093 * config/tc-ppc.c (md_parse_option): Likewise.
3094 * config/tc-rl78.c (md_parse_option): Likewise.
3095 * config/tc-rx.c (md_parse_option): Likewise.
3096 * config/tc-s390.c (s390_parse_cpu): Likewise.
3097 * config/tc-score.c (md_parse_option): Likewise.
3098 * config/tc-sh.c (md_parse_option): Likewise.
3099 * config/tc-sparc.c (md_parse_option): Likewise.
3100 * config/tc-spu.c (md_parse_option): Likewise.
3101 * config/tc-tic30.c (md_parse_option): Likewise.
3102 * config/tc-tic4x.c (md_parse_option): Likewise.
3103 * config/tc-tic54x.c (md_parse_option): Likewise.
3104 * config/tc-tic6x.c (md_parse_option): Likewise.
3105 * config/tc-tilegx.c (md_parse_option): Likewise.
3106 * config/tc-tilepro.c (md_parse_option): Likewise.
3107 * config/tc-v850.c (md_parse_option): Likewise.
3108 * config/tc-vax.c (md_parse_option): Likewise.
3109 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3110 * config/tc-xc16x.c (md_parse_option): Likewise.
3111 * config/tc-xgate.c (md_parse_option): Likewise.
3112 * config/tc-xstormy16.c (md_parse_option): Likewise.
3113 * config/tc-xtensa.c (md_parse_option): Likewise.
3114 * config/tc-z80.c (md_parse_option): Likewise.
3115 * config/tc-z8k.c (md_parse_option): Likewise.
3116 * tc.h (md_parse_option): Likewise.
3118 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3120 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3121 * config/tc-hppa.c (fix_new_hppa): Likewise.
3122 (pa_vtable_entry): Likewise.
3123 (pa_vtable_inherit): Likewise.
3124 * config/tc-m68k.c (md_begin): Likewise.
3126 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3128 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3129 * config/obj-elf.h (obj_elf_section_name): Adjust.
3130 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3131 (aarch64_parse_cpu): Likewise.
3132 (aarch64_parse_arch): Likewise.
3133 * config/tc-arm.c (arm_parse_extension): Likewise.
3134 (arm_parse_cpu): Likewise.
3135 (arm_parse_arch): Likewise.
3136 * config/tc-nds32.c: Likewise.
3137 * config/xtensa-relax.c (parse_special_fn): Likewise.
3138 * stabs.c (generate_asm_file): Likewise.
3140 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3142 * config/tc-cr16.c (cr16_assemble): New function.
3143 (md_assemble): Call cr16_assemble.
3145 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3147 * as.c (parse_args): Adjust.
3148 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3149 * config/obj-elf.c (elf_frob_symbol): Adjust.
3151 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3153 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3154 registers to be in the 16..31 range.
3156 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3158 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3161 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3163 * config/tc-visium.c (md_atof): Localize the string returned on
3166 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3168 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3169 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3170 * config/tc-m68hc11.c (md_begin): Likewise.
3171 (print_opcode_list): Likewise.
3172 * config/tc-msp430.c (msp430_section): Likewise.
3173 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3174 (s3_build_dependency_insn_hsh): Likewise.
3175 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3176 (s7_build_dependency_insn_hsh): Likewise.
3177 * config/tc-tic4x.c: Likewise.
3178 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3179 (subsym_get_arg): Likewise.
3180 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3181 (get_directive): Likewise.
3182 (cache_literal_section): Likewise.
3183 * config/xtensa-relax.c: Likewise.
3184 * symbols.c (symbol_create): Likewise.
3185 (local_symbol_make): Likewise.
3186 (symbol_relc_make_expr): Likewise.
3188 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3190 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3193 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3195 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3198 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3200 * config/tc-ia64.c (ia64_do_align): Remove.
3201 (ia64_cons_align): Call do_align () directly.
3202 (dot_proc): Likewise.
3203 (stmt_float_cons): Likewise.
3205 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3207 * listing.c (listing_message): Use XNEW style allocation macros.
3208 * read.c (read_a_source_file): Likewise.
3209 (read_symbol_name): Likewise.
3210 (s_mri_common): Likewise.
3211 (assign_symbol): Likewise.
3212 (s_reloc): Likewise.
3213 (emit_expr_with_reloc): Likewise.
3214 (s_incbin): Likewise.
3215 (s_include): Likewise.
3216 * sb.c (sb_build): Likewise.
3217 (sb_check): Likewise.
3219 2016-03-22 Alan Modra <amodra@gmail.com>
3221 * write.c (record_alignment): Revert 2016-02-18 change.
3223 2016-03-22 Alan Modra <amodra@gmail.com>
3225 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3226 (emit_jsrjmp, tc_gen_reloc): Likewise.
3227 * config/tc-i370.c (i370_macro): Likewise.
3229 2016-03-22 Nick Clifton <nickc@redhat.com>
3231 * configure: Regenerate.
3233 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3235 * testsuite/gas/arc/nps400-0.d: New file.
3236 * testsuite/gas/arc/nps400-0.s: New file.
3237 * testsuite/gas/arc/nps400-1.d: New file.
3238 * testsuite/gas/arc/nps400-1.s: New file.
3240 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3242 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3243 declarations to start of block. Reset code on all flags before
3244 attempting to match them. Handle multiple hits on the same flag.
3246 * testsuite/gas/arc/asm-errors.d: New file.
3247 * testsuite/gas/arc/asm-errors.err: New file.
3248 * testsuite/gas/arc/asm-errors.s: New file.
3250 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3252 * config/tc-arc.c (cpu_types): Add nps400 entry.
3253 (check_zol): Handle nps400.
3255 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3257 * config/tc-arc.c (arc_select_cpu): Remove use of
3260 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3262 * config/tc-arc.c (arc_target): Delay initialisation until
3264 (arc_target_name): Likewise.
3265 (arc_features): Likewise.
3266 (arc_mach_type): Likewise.
3267 (cpu_types): Remove "all" entry.
3268 (arc_select_cpu): New function, most of the content is from...
3269 (md_parse_option): ... here. Call new arc_select_cpu.
3270 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3272 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3274 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3275 * testsuite/gas/arc/inline-data-2.d: New file.
3277 2016-03-21 Nick Clifton <nickc@redhat.com>
3279 * atof-generic.c: Replace use of alloca with call to xmalloc.
3281 * dwarf2dbg.c: Likewise.
3282 * macro.c: Likewise.
3283 * remap.c: Likewise.
3284 * stabs.c: Likewise.
3285 * symbols.c: Likewise.
3286 * config/obj-elf.c: Likewise.
3287 * config/tc-aarch64.c: Likewise.
3288 * config/tc-arc.c: Likewise.
3289 * config/tc-arm.c: Likewise.
3290 * config/tc-avr.c: Likewise.
3291 * config/tc-ia64.c: Likewise.
3292 * config/tc-mips.c: Likewise.
3293 * config/tc-msp430.c: Likewise.
3294 * config/tc-nds32.c: Likewise.
3295 * config/tc-ppc.c: Likewise.
3296 * config/tc-sh.c: Likewise.
3297 * config/tc-tic30.c: Likewise.
3298 * config/tc-tic54x.c: Likewise.
3299 * config/tc-xstormy16.c: Likewise.
3300 * config/te-vms.c: Likewise.
3301 * configure: Regenerate.
3303 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3305 * tc-i386.c (f32_1): Change type to unsigned char[].
3325 (jump_31): Likewise.
3326 (f32_patt): Likewise.
3327 (f16_patt): Likewise.
3336 (alt_patt): Likewise.
3338 2016-03-18 Nick Clifton <nickc@redhat.com>
3340 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3341 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3342 .tlsdescldr and .xword directives.
3345 * testsuite/gas/aarch64/pr19721.s: New test source file.
3346 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3348 * doc/as.texinfo: Place the target specific command line options
3349 into their own man page section.
3351 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3353 * config/tc-arm.c (N_S_32): New.
3354 (N_F_16_32): Likewise.
3355 (N_SUF_32): Support N_F16.
3356 (N_IF_32): Likewise.
3357 (neon_dyadic_misc): Likewise.
3358 (do_neon_cmp): Likewise.
3359 (do_neon_cmp_inv): Likewise.
3360 (do_neon_mul): Likewise.
3361 (do_neon_fcmp_absolute): Likewise.
3362 (do_neon_step): Likewise.
3363 (do_neon_abs_neg): Likewise.
3364 (CVT_FLAVOR_VAR): Likewise.
3365 (do_neon_cvt_1): Likewise.
3366 (do_neon_recip_est): Likewise.
3367 (do_vmaxnm): Likewise.
3368 (do_vrint_1): Likewise.
3369 (neon_check_type): Check architecture support for FP16 extension.
3370 (insns): Update comments.
3371 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3372 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3373 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3374 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3376 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3378 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3381 2016-03-16 Nick Clifton <nickc@redhat.com>
3383 * read.c (emit_expr_with_reloc): Add code check a bignum with
3385 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3387 * testsuite/gas/elf/bignum.s: New test source file.
3388 * testsuite/gas/elf/bignum.d: New test driver file.
3389 * testsuite/gas/elf/elf.exp: Run the new test.
3391 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3393 * doc/c-i386.texi (Register Naming): Update to details of the
3394 latest architecture version.
3396 2016-03-10 Mickael Guene <mickael.guene@st.com>
3399 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3401 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3402 (do_t_mov_cmp): Likewise.
3403 (do_t_add_sub): Protect against bad relocations usage.
3404 (do_t_mov_cmp): Likewise.
3405 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3406 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3407 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3408 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3410 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3412 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3414 (do_neon_ld_st_lane): Likewise.
3415 (do_neon_ld_dup): Likewise.
3417 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3419 * testsuite/gas/arc/inline-data-1.d: New file.
3420 * testsuite/gas/arc/inline-data-1.s: New file.
3422 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3424 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3425 * doc/c-arm.texi: Add cortex-r8.
3427 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3429 * config/tc-arc.c: Add const qualifiers.
3430 * config/tc-h8300.c (md_begin): Likewise.
3431 * config/tc-ia64.c (print_prmask): Likewise.
3432 * config/tc-msp430.c (msp430_operands): Likewise.
3433 * config/tc-nds32.c (struct suffix_name): Likewise.
3434 (struct nds32_parse_option_table): Likewise.
3435 (struct nds32_set_option_table): Likewise.
3436 (do_pseudo_pushpopm): Likewise.
3437 (do_pseudo_pushpop_stack): Likewise.
3438 (nds32_relax_relocs): Likewise.
3439 (nds32_flag): Likewise.
3440 (struct nds32_hint_map): Likewise.
3441 (nds32_find_reloc_table): Likewise.
3442 (nds32_match_hint_insn): Likewise.
3443 * config/tc-s390.c: Likewise.
3444 * config/tc-sh.c (get_specific): Likewise.
3445 * config/tc-tic30.c: Likewise.
3446 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3447 (tic4x_indirect_parse): Likewise.
3448 * config/tc-vax.c (vax_cons): Likewise.
3449 * config/tc-z80.c (struct reg_entry): Likewise.
3450 * config/tc-epiphany.c (md_assemble): Adjust.
3451 (epiphany_assemble): New function.
3452 (epiphany_elf_section_rtn): Call do_align directly.
3453 (epiphany_elf_section_text): Likewise.
3454 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3455 (ip2k_elf_section_text): Likewise.
3456 * read.c (do_align): Make it not static.
3457 * read.h (do_align): New prototype.
3459 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3461 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3462 for ARMv8.1 AdvSIMD use.
3463 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3464 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3466 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3468 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3470 (record_feature_use): New.
3471 (mark_feature_used): Use record_feature_use.
3472 (do_neon_qrdmlah): New.
3473 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3475 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3476 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3477 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3478 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3479 Make source file explicit.
3480 * testsuite/gas/arm/armv8-a+rdma.l: New.
3481 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3482 directives. Fix white-space.
3483 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3485 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3487 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3489 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3490 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3492 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3493 (tc_arc_fix_adjustable): Changed default return value to 1.
3494 * testsuite/gas/arc/j.d: Updated expected symbol
3495 * testsuite/gas/arc/jl.d: Likewise
3496 * testsuite/gas/arc/relax-avoid1.d: Likewise
3497 * testsuite/gas/arc/st.d: Likewise
3499 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3501 * config/tc-arc.c: Enable code density instructions for ARC EM.
3503 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3506 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3508 * as.c (flag_use_elf_stt_common): New.
3509 (show_usage): Add --elf-stt-common=.
3510 (option_values): Add OPTION_ELF_STT_COMMON.
3511 (std_longopts): Add --elf-stt-common=.
3512 (parse_args): Handle --elf-stt-common=.
3513 * as.h (flag_use_elf_stt_common): New.
3514 * config.in: Regenerated.
3515 * configure: Likewise.
3516 * configure.ac: Add --enable-elf-stt-common and define
3517 DEFAULT_GENERATE_ELF_STT_COMMON.
3518 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3519 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3520 * doc/as.texinfo: Document --elf-stt-common=.
3521 * testsuite/gas/elf/common3.s: New file.
3522 * testsuite/gas/elf/common3a.d: Likewise.
3523 * testsuite/gas/elf/common3b.d: Likewise.
3524 * testsuite/gas/elf/common4.s: Likewise.
3525 * testsuite/gas/elf/common4a.d: Likewise.
3526 * testsuite/gas/elf/common4b.d: Likewise.
3527 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3528 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3529 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3531 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3532 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3533 --elf-stt-common=no to as.
3534 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3535 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3536 --elf-stt-common=no to as.
3537 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3538 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3539 of dw2-compress-3 and dw2-compressed-3.
3541 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3543 * as.c (select_emulation_mode): Add const qualifiers.
3545 * config/bfin-defs.h: Likewise.
3546 * config/bfin-parse.y: Likewise.
3547 * config/rx-parse.y: Likewise.
3548 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3549 (struct aarch64_cpu_option_table): Likewise.
3550 (struct aarch64_arch_option_table): Likewise.
3551 (struct aarch64_option_cpu_value_table): Likewise.
3552 (struct aarch64_long_option_table): Likewise.
3553 (struct aarch64_option_abi_value_table): Likewise.
3554 * config/tc-arm.c (struct reloc_entry): Likewise.
3555 (tc_gen_reloc): Likewise.
3556 (struct arm_option_table): Likewise.
3557 (struct arm_legacy_option_table): Likewise.
3558 (struct arm_cpu_option_table): Likewise.
3559 (struct arm_arch_option_table): Likewise.
3560 (struct arm_option_extension_value_table): Likewise.
3561 (struct arm_option_fpu_value_table): Likewise.
3562 (struct arm_option_value_table): Likewise.
3563 (struct arm_long_option_table): Likewise.
3564 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3565 (struct mcu_type_s): Likewise.
3566 (struct exp_mod_s): Likewise.
3567 (avr_operand): Likewise.
3568 (avr_operands): Likewise.
3569 * config/tc-d10v.c (md_begin): Likewise.
3570 * config/tc-dlx.c: Likewise.
3571 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3572 * config/tc-ft32.c (parse_condition): Likewise.
3573 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3574 * config/tc-hppa.c (pa_ip): Likewise.
3575 (hppa_regname_to_dw2regnum): Likewise.
3576 * config/tc-i370.c (i370_elf_suffix): Likewise.
3577 * config/tc-i960.c (struct tabentry): Likewise.
3578 * config/tc-m32r.c: Likewise.
3579 * config/tc-m68k.c: Likewise.
3580 * config/tc-m68k.h: Likewise.
3581 * config/tc-mcore.c (parse_psrmod): Likewise.
3582 * config/tc-metag.c (struct metag_core_option): Likewise.
3583 (struct metag_long_option): Likewise.
3584 * config/tc-microblaze.c: Likewise.
3585 * config/tc-mips.c (macro): Likewise.
3586 * config/tc-mn10200.c: Likewise.
3587 * config/tc-mn10300.c: Likewise.
3588 * config/tc-msp430.c (struct rcodes_s): Likewise.
3589 (struct hcodes_s): Likewise.
3590 (md_parse_option): Likewise.
3591 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3592 (optlist): Likewise.
3593 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3594 (tc_ppc_regname_to_dw2regnum): Likewise.
3595 * config/tc-ppc.h: Likewise.
3596 * config/tc-rl78.c: Likewise.
3597 * config/tc-rx.c (struct cpu_type): Likewise.
3598 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3599 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3600 (sparc_ip): Likewise.
3601 * config/tc-spu.c (insn_fmt_string): Likewise.
3602 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3603 * config/tc-v850.c: Likewise.
3604 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3605 (struct visium_long_option_table): Likewise.
3606 * config/tc-xgate.c: Likewise.
3607 * config/tc-z8k.c: Likewise.
3608 * read.c (add_include_dir): Likewise.
3611 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3613 * testsuite/gas/all/gas.exp: Change target pattern to cover
3615 * testsuite/gas/all/redef3.d: Likewise.
3616 * testsuite/gas/elf/elf.exp: Likewise.
3618 2016-02-24 Renlin Li <renlin.li@arm.com>
3620 * config/tc-arm.c (BAD_FP16): New error message macro.
3621 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3622 fp16 scalar instructions.
3623 (neon_check_type): Allow different size from key.
3624 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3625 (try_vfp_nsyn): Likewise.
3626 (do_vfp_nsyn_mla_mls): Likewise.
3627 (do_vfp_nsyn_fma_fms): Likewise.
3628 (do_vfp_nsyn_ldm_stm): Likewise
3629 (do_vfp_nsyn_sqrt): Likewise
3630 (do_vfp_nsyn_div): Likewise
3631 (do_vfp_nsyn_nmul): Likewise.
3632 (do_vfp_nsyn_cmp): Likewise.
3633 (do_neon_shll): Likewise.
3634 (do_vfp_nsyn_cvt_fpv8): Likewise.
3635 (do_neon_cvttb_2): Likewise.
3636 (do_neon_mov): Likewise.
3637 (do_neon_rshift_round_imm): Likewise.
3638 (do_neon_ldr_str): Likewise.
3639 (do_vfp_nsyn_fpv8): Likewise.
3640 (do_vmaxnm): Likewise.
3641 (do_vrint_1): Likewise.
3642 (insns): New entry for vins, vmovx.
3643 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3644 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3645 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3646 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3647 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3648 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3649 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3651 2016-02-24 Renlin Li <renlin.li@arm.com>
3653 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3654 (neon_shape_class): New SC_HALF.
3655 (neon_shape_el): New SE_H.
3656 (neon_shape_el_size): New size for SE_H.
3657 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3658 (neon_select_shape): Add SE_H support code.
3659 (el_type_of_type_chk): Use N_F_ALL.
3660 (do_vfp_nsyn_cvt): Add SE_H shape support.
3661 (do_neon_cvtz): Likewise.
3662 (do_neon_cvt_1): Likewise.
3663 (do_neon_cvttb_1): Likewise.
3665 2016-02-24 Renlin Li <renlin.li@arm.com>
3667 * testsuite/gas/arm/copro.d: Adjust output.
3668 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3670 2016-02-24 Renlin Li <renlin.li@arm.com>
3672 * testsuite/gas/arm/mask_1.d: New.
3673 * testsuite/gas/arm/mask_1.s: New.
3675 2016-02-24 Renlin Li <renlin.li@arm.com>
3677 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3678 * testsuite/gas/arm/copro.d: Update.
3680 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3682 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3683 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3685 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3687 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3689 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3691 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3694 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3696 * output-file.c (output_file_create): Make file name argument const.
3697 (output_file_close): Likewise.
3698 * output-file.h (output_file_create): Adjust.
3699 (output_file_close): Likewise.
3700 * depend.c (quote_string_for_make): Make src argument const char *.
3701 (register_dependency): Likewise.
3702 (wrap_output): Likewise.
3703 * as.h (register_dependency): Adjust.
3704 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3706 * symbols.c (S_SET_EXTERNAL): Likewise.
3707 * input-scrub.c (as_where): Return the file name.
3708 * as.h (as_where): Adjust prototype.
3709 * app.c (do_scrub_chars): Adjust.
3710 * cond.c (s_elseif): Likewise.
3712 (initialize_cframe): Likewise.
3713 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3714 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3715 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3716 * config/tc-aarch64.c (output_info): Likewise.
3717 * config/tc-ia64.c (md_assemble): Likewise.
3718 (dot_alias): Likewise.
3719 * config/tc-m68k.c (m68k_frob_label): Likewise.
3720 * config/tc-mmix.c (s_bspec): Likewise.
3721 (mmix_handle_mmixal): Likewise.
3722 * config/tc-rx.c (rx_include): Likewise.
3723 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3724 (tic54x_adjust_symtab): Likewise.
3725 * config/tc-xtensa.c (directive_push): Likewise.
3726 (xtensa_sanity_check): Likewise.
3727 (xtensa_relax_frag): Likewise.
3728 (md_convert_frag): Likewise.
3729 (tinsn_to_slotbuf): Likewise.
3730 * dwarf2dbg.c (dwarf2_where): Likewise.
3731 * ecoff.c (add_file): Likewise.
3732 (ecoff_generate_asm_lineno): Likewise.
3733 * expr.c (make_expr_symbol): Likewise.
3734 * frags.c (frag_new): Likewise.
3735 (frag_var_init): Likewise.
3736 * listing.c (listing_newline): Likewise.
3737 * messages.c (identify): Likewise.
3738 (as_show_where): Likewise.
3739 (as_warn_internal): Likewise.
3740 (as_bad_internal): Likewise.
3741 * read.c (s_irp): Likewise.
3742 (s_macro): Likewise.
3743 (s_reloc): Likewise.
3744 * stabs.c (stabs_generate_asm_file): Likewise.
3745 (stabs_generate_asm_lineno): Likewise.
3746 (stabs_generate_asm_func): Likewise.
3747 * write.c (fix_new_internal): Likewise.
3748 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3749 (as_warn_value_out_of_range): Adjust prototype.
3750 (as_bad_value_out_of_range): Adjust prototype.
3751 * messages.c (identify): Make file name argument const char *.
3752 (as_warn_internal): Likewise.
3753 (as_warn_where): Likewise.
3754 (as_bad_internal): Likewise.
3755 (as_bad_where): Likewise.
3756 (as_internal_value_out_of_range): Likewise.
3757 (as_warn_value_out_of_range): Likewise.
3758 (as_bad_value_out_of_range): Likewise.
3759 * as.h (found_comment_file): Change type to const char *.
3760 * cond.c (file_line::file): Likewise.
3761 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3762 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3763 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3764 * config/tc-aarch64.c (output_info): Likewise.
3765 * config/tc-alpha.c (insert_operand): Likewise.
3766 * config/tc-arc.c (insert_operand): Likewise.
3767 * config/tc-d30v.c (check_size): Likewise.
3768 * config/tc-ia64.c (struct alias): Likewise.
3769 * config/tc-m68k.c (struct label_line): Likewise.
3770 * config/tc-mcore.c (md_apply_fix): Likewise.
3771 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3772 * config/tc-mips.c (mips16_immed): Likewise.
3773 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3774 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3775 * config/tc-rx.c (rx_include): Likewise.
3776 * config/tc-s390.c (s390_insert_operand): Likewise.
3777 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3778 (tic54x_adjust_symtab): Likewise.
3779 * config/tc-tilegx.c (insert_operand): Likewise.
3780 (apply_special_operator): Likewise.
3781 * config/tc-tilepro.c (insert_operand): Likewise.
3782 * config/tc-xtensa.c (directive_push): Likewise.
3783 * ecoff.c (add_file): Likewise.
3784 (ecoff_generate_asm_lineno): Likewise.
3785 * listing.c (listing_newline): Likewise.
3786 * read.c (s_irp): Likewise.
3787 * write.c (install_reloc): Likewise.
3788 * write.h (struct fix): Likewise.
3789 * input-file.c (file_name): Change type to const char *.
3790 (saved_file::file_name): Likewise.
3791 (input_file_open): Change type of argument to const char *.
3792 * input-file.h (input_file_open): Adjust.
3793 * input-scrub.c (logical_input_file): change type to const char *.
3794 (physical_input_file): Likewise.
3795 (struct input_save): Adjust.
3796 (input_scrub_push): Adjust.
3797 (input_scrub_begin): Adjust.
3799 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3800 (input_scrub_include_file): Likewise.
3801 (new_logical_line_flags): Likewise.
3802 (new_logical_line): Likewise.
3804 * frags.h (struct frag): Change type of fr_file to const char *.
3805 * expr.c (expr_symbol_where): Change type of file argument to
3807 * expr.h (expr_symbol_where): Likewise.
3808 * config/tc-i370.c (md_apply_fix): adjust.
3809 * config/tc-mmix.c (mmix_md_end): Likewise.
3810 * config/tc-ppc.c (md_apply_fix): Likewise.
3811 * config/tc-s390.c (md_apply_fix): Likewise.
3812 * symbols.c (report_op_error): Likewise.
3813 (resolve_symbol_value): Likewise.
3814 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3815 (rsrc::file): Likewise.
3816 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3818 (xtensa_relax_frag): Likewise.
3819 (md_convert_frag): Likewise.
3820 (tinsn_to_slotbuf): Likewise.
3821 * expr.c (expr_symbol_line): Likewise.
3822 * macro.c (define_macro): Likewise.
3823 * macro.h (macro_struct): Likewise.
3824 * messages.c (as_show_where): Likewise.
3825 * read.c (s_macro): Likewise.
3826 * stabs.c (stabs_generate_asm_file): Likewise.
3827 (generate_asm_file): Likewise.
3828 (stabs_generate_asm_lineno): Likewise.
3829 * write.h (struct reloc_list): Likewise.
3830 * input-scrub.c (as_where): Change return type to const char *.
3831 * as.h (as_wheree): Adjust.
3833 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3835 * write.c (compress_debug): Move BFD compression bits setting
3837 (write_object_file): Here.
3839 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3841 * config/tc-i386.c (register_number): Check RegVRex.
3842 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3843 with %zmm19 and %zmm3.
3844 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3845 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3847 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3848 Jiong Wang <jiong.wang@arm.com>
3850 * config/tc-arm.c (arm_ext_fp16): New.
3851 (arm_extensions): New entry for "fp16".
3853 2016-02-19 Nick Clifton <nickc@redhat.com>
3856 * read.c (read_a_source_file): Check for assemble_one returning
3857 with input_line_pointer set to NULL.
3859 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3861 * listing.c (rebuffer_line): Change return type to void.
3863 * symbols.c (decode_local_label_name): Make type a const char *.
3864 * listing.c (print_source): Make type of p const char *.
3865 (print_line): Make type of string const char *.
3866 (buffer_line): Return const char *.
3867 (title): Make type const char *.
3868 (subtitle): Likewise.
3869 (listing_listing): Make type of p const char *.
3870 * messages.c (as_internal_value_out_of_range): Make type of prefix
3872 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3873 and string const char *.
3874 * read.c (_bfd_rel): Make type of name const char *.
3875 * app.c (out_string): Change type to const char *.
3876 (struct app_save::out_string): Likewise.
3878 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3879 Nick Clifton <nickc@redhat.com>
3881 * read.c (finish_bundle): Avoid recording a negative alignment.
3882 (do_align): Use unsigned values for n, len and max. Only create
3883 a frag if the alignment requirement is greater than the minimum
3884 byte alignment. Avoid recording a negative alignment.
3885 (s_align): Use unsigned values where appropriate.
3886 (bss_alloc): Use an unsigned value for the alignment.
3887 (sizeof_sleb128): Add a comment noting that we encode one octet
3888 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3889 (emit_leb129_expr): Abort if the emitted encoding was longer than
3891 * read.h (output_leb128): Update prototype.
3892 (sizeof_leb128): Update prototype.
3893 (bss_alloc): Update prototype.
3894 * write.c (record_alignment): Use an unsigned value for the
3895 alignment. Do not record alignments less than the minimum
3896 alignment for a byte.
3897 * write.h (record_alignment): Update prototype.
3899 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3901 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3902 .init.literal/.fini.literal section name.
3903 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3904 list of xtensa tests.
3905 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3906 init-fini-literals test result patterns.
3907 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3908 init-fini-literals test.
3910 2016-02-17 Nick Clifton <nickc@redhat.com>
3912 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3913 devices.csv file as of March 2016.
3915 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3917 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3919 (tc_arc_regname_to_dw2regnum): Likewise.
3920 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3921 (tc_cfi_frame_initial_instructions): Likewise.
3922 (tc_regname_to_dw2regnum): Likewise.
3923 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3924 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3925 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3927 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3929 * doc/internals.texi (S_IS_EXTERN): Remove.
3931 2016-02-16 Nick Clifton <nickc@redhat.com>
3933 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3936 2016-02-16 Renlin Li <renlin.li@arm.com>
3939 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3940 * testsuite/gas/aarch64/movw_label.d: New.
3941 * testsuite/gas/aarch64/movw_label.s: New.
3943 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3946 * config/rx-parse.y (MOV): Opcode generation for index
3947 register addressing mode.
3948 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3949 * testsuite/gas/rx/pr19665.s: New file.
3950 * testsuite/gas/rx/pr19665.s: New file.
3951 * testsuite/gas/rx/mov.d: Update expected output.
3953 2016-02-15 Nick Clifton <nickc@redhat.com>
3955 * doc/as.texinfo (.section): Document that numeric values can now
3956 be used for the flags and type fields of the ELF target's .section
3957 directive. Add notes about the restrictions on setting flags and
3959 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3960 to be given processor specific section types. Allow processor and
3961 application specific flags of a section to be set after
3963 (obj_elf_parse_section_letters): Handle parsing numeric values.
3964 (obj_elf_section_type): Handle parsing numeric values.
3965 (obj_elf_section): Allow numeric type values.
3966 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3967 * testsuite/gas/elf/section10.d: New test.
3968 * testsuite/gas/elf/section10.s: Source file for new test.
3969 * testsuite/gas/elf/elf.exp: Run the new test.
3970 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3971 the description of the flags produced by readelf.
3972 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3973 * NEWS: Mention the new feature.
3975 2016-02-11 Nick Clifton <nickc@redhat.com>
3978 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3979 until it is actually used.
3980 (cfi_set_sections): Set cfi_sections_set to true.
3981 (dot_cfi_startproc): Likewise.
3982 (dot_cfi_endproc): Likewise.
3983 (dot_cfi_fde_data): Likewise.
3984 (cfi_finish): Likewise.
3985 (dot_cfi_sections): Do not set cfi_sections_set.
3986 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3987 their own cfi section name. Also note that the directive can be
3988 reissued provided that CFI generation has not started.
3989 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3990 .cfi_endproc directives so that the redefinition of .cfi_sections
3991 will trigger the generation of the error message.
3992 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3993 number of error message.
3995 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3996 Janek van Oirschot <jvanoirs@synopsys.com>
3998 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3999 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4001 (arc_flags, arc_relax_type): New structure.
4002 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4003 (RELAX_TABLE_ENTRY_MAX): New define.
4004 (relaxation_state, md_relax_table, arc_relaxable_insns)
4005 (arc_num_relaxable_ins): New variable.
4006 (rlx_operand_type, arc_rlx_types): New enums.
4007 (arc_relaxable_ins): New structure.
4008 (OPTION_RELAX): New option.
4009 (arc_insn): New relax member.
4010 (arc_flags): Remove.
4011 (relax_insn_p): New function.
4012 (apply_fixups): Likewise.
4013 (relaxable_operand): Likewise.
4014 (may_relax_expr): Likewise.
4015 (relaxable_flag): Likewise.
4016 (arc_pcrel_adjust): Likewise.
4017 (md_estimate_size_before_relax): Implement.
4018 (md_convert_frag): Likewise.
4019 (md_parse_option): Handle new mrelax option.
4020 (md_show_usage): Likewise.
4021 (assemble_insn): Set relax member.
4022 (emit_insn0): New function.
4023 (emit_insn1): Likewise.
4024 (emit_insn): Handle relaxation case.
4025 * NEWS: Mention the new relaxation option.
4026 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4027 * doc/as.texinfo (Target ARC Options): Likewise.
4028 * testsuite/gas/arc/relax-avoid1.d: New file.
4029 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4030 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4031 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4032 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4033 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4034 * testsuite/gas/arc/relax-b.d: Likewise.
4035 * testsuite/gas/arc/relax-b.s: Likewise.
4037 2016-02-08 Nick Clifton <nickc@redhat.com>
4039 * config/tc-ia64.c (dot_prologue): Fix formatting.
4041 2016-02-04 Nick Clifton <nickc@redhat.com>
4043 * config/obj-elf.c (obj_elf_change_section): Remove support for
4044 ARM NOREAD sections.
4045 * config/tc-arm.c (arm_elf_section_letter): Delete.
4046 * config/tc-arm.h (md_elf_section_letter): Delete.
4047 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4048 * testsuite/gas/arm/section-execute-only.d: Delete.
4049 * testsuite/gas/arm/section-execute-only.s: Delete.
4051 2016-02-04 Nick Clifton <nickc@redhat.com>
4054 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4055 to handle encoding of RRUX instruction.
4056 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4058 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4060 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4062 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4063 substitutions for BFD_RELOC_* as unsigned.
4064 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4065 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4066 * testsuite/gas/xtensa/loc.s: New file: loc test.
4068 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4070 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4072 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4075 * NEWS: Mention new command line option -mrelax-relocations and
4076 new configure option --enable-x86-relax-relocations for x86
4078 * config.in: Regenerated.
4079 * configure.ac: Add --enable-x86-relax-relocations.
4080 (ac_default_x86_relax_relocations): New. Default to 1 except
4081 for x86 Solaris targets older than Solaris 12.
4082 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4083 * configure: Likewise.
4084 * config/tc-i386.c (generate_relax_relocations): New.
4085 (OPTION_MRELAX_RELOCATIONS): Likewise.
4086 (output_disp): Don't generate relax relocations if
4087 generate_relax_relocations is 0.
4088 (md_longopts): Add -mrelax-relocations.
4089 (md_show_usage): Likewise.
4090 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4091 * doc/c-i386.texi: Document -mrelax-relocations=.
4092 * testsuite/gas/i386/got-no-relax.d: New file.
4093 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4094 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4095 * testsuite/gas/i386/localpic.d: Likewise.
4096 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4097 * testsuite/gas/i386/reloc32.d: Likewise.
4098 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4099 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4100 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4101 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4102 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4103 x86-64-gotpcrel-no-relax.
4105 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4107 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4110 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4112 * NEWS: Remove duplicated marker for 2.26.
4114 2016-02-02 Renlin Li <renlin.li@arm.com>
4116 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4118 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4120 * testsuite/gas/ip2k/allinsn.d: New file.
4121 * testsuite/gas/ip2k/allinsn.s: New file.
4122 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4124 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4126 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4127 some load instructions.
4128 * testsuite/gas/epiphany/allinsn.d: Likewise.
4129 * testsuite/gas/epiphany/regression.d: Likewise.
4131 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4133 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4134 suffixes from instruction mnemonics in expected output.
4135 * testsuite/gas/epiphany/allinsn.d: Likewise.
4136 * testsuite/gas/epiphany/regression.d: Likewise.
4137 * testsuite/gas/epiphany/sample.d: Likewise.
4139 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4141 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4143 * testsuite/gas/epiphany/allinsn.d: Likewise.
4144 * testsuite/gas/epiphany/sample.d: Likewise.
4146 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4148 * testsuite/gas/epiphany/sample.d: Update expected output.
4150 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4152 * config/tc-arc.c (md_apply_fix): Allow addendum.
4153 (arc_reloc_op): Allow complex expressions for tpoff.
4154 (md_apply_fix): Handle resolved TLS local symbol.
4155 * testsuite/gas/arc/tls-relocs1.d: New file.
4156 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4158 2016-02-01 Loria <Loria@phantasia.org>
4161 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4162 efficiency and avoid an LLVM loop optimization bug.
4164 2016-02-01 Nick Clifton <nickc@redhat.com>
4166 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4167 message extending a negative 32-bit value into a larger signed
4168 value on a 32-bit host.
4170 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4173 * configure.ac (compressed_debug_sections): Replace == with =.
4174 * configure: Regenerated.
4176 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4177 H.J. Lu <hongjiu.lu@intel.com>
4179 * config/tc-i386.c (avoid_fence): New.
4180 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4182 (OPTION_FENCE_AS_LOCK_ADD): New.
4183 (md_longopts): Add -mfence-as-lock-add.
4184 (md_parse_option): Handle -mfence-as-lock-add.
4185 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4186 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4187 * testsuite/gas/i386/i386.exp: Run new tests.
4188 * testsuite/gas/i386/fence-as-lock-add.s: New.
4189 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4190 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4191 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4192 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4194 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4196 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4197 * configure: Regenerated.
4199 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4201 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4202 (OPTION_MOMIT_LOCK_PREFIX): This.
4203 (md_longopts): Updated.
4204 (md_parse_option): Likewise.
4206 2016-01-25 Catherine Moore <clm@codesourcery.com>
4208 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4209 if abicalls are in effect.
4210 * testsuite/gas/mips/sdata-gp.s: New test.
4211 * testsuite/gas/mips/sdata-gp.d: New expected output
4212 * testsuite/gas/mips/mips.exp: Run new test.
4214 2016-01-25 Renlin Li <renlin.li@arm.com>
4216 * testsuite/gas/arm/thumb2_it_search.d: New.
4217 * testsuite/gas/arm/thumb2_it_search.s: New.
4219 2016-01-21 Nick Clifton <nickc@redhat.com>
4222 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4223 with arm-netbsdelf target.
4224 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4226 2016-01-20 Nick Clifton <nickc@redhat.com>
4229 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4230 * testsuite/gas/arm/blx-bl-convert.d
4231 * testsuite/gas/arm/plt-1.d: Likewise.
4232 * testsuite/gas/arm/reloc-bad.d: Likewise.
4233 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4234 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4235 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4236 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4239 * doc/as.texinfo (Errors): Correct documentation describing the
4240 interaction of .file and .line with warning and error messages.
4243 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4244 * testsuite/gas/arm/archv8m-main.d: Likewise.
4245 * testsuite/gas/arm/archv8m-base.d: Likewise.
4247 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4249 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4250 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4251 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4253 2016-01-20 Mickael Guene <mickael.guene@st.com>
4254 Terry Guo <terry.guo@arm.com>
4256 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4257 SHF_ARM_NOREAD section flag.
4258 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4260 (arm_elf_section_letter) : Declare it.
4261 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4262 SHF_ARM_NOREAD section flag.
4263 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4265 * testsuite/gas/arm/section-execute-only.s: New test case.
4266 * testsuite/gas/arm/section-execute-only.d: Expected output.
4268 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4270 * config/tc-mips.c (micromips_insn_length): Remove the mention
4271 of 48-bit microMIPS instructions.
4273 2016-01-18 Alan Modra <amodra@gmail.com>
4275 * configure: Regenerate.
4277 2016-01-17 Alan Modra <amodra@gmail.com>
4279 * configure: Regenerate.
4281 2016-01-17 Alan Modra <amodra@gmail.com>
4283 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4285 2016-01-14 Nick Clifton <nickc@redhat.com>
4287 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4288 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4289 * testsuite/gas/rl78/rl78.exp: Run the new test.
4291 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4293 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4294 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4296 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4298 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4300 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4302 * config/tc-h8300.c (get_operand): Remove spurious condition in
4303 test for closing parenthesis.
4305 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4307 * config/tc-arm.c (arm_ext_v8_2): New.
4309 * testsuite/gas/arm/armv8_2-a.d: New.
4310 * testsuite/gas/arm/armv8_2-a.s: New.
4312 2016-01-12 Alan Modra <amodra@gmail.com>
4314 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4316 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4318 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4319 xvcmpnesp, xvcmpnesp.>: Delete tests.
4320 * testsuite/gas/ppc/power9.s: Likewise.
4321 * testsuite/gas/ppc/vsx3.d: Likewise.
4322 * testsuite/gas/ppc/vsx3.s: Likewise.
4324 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4327 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4328 * testsuite/gas/m68k/p13050-1.s: New file.
4329 * testsuite/gas/m68k/p13050-2.d: New file.
4330 * testsuite/gas/m68k/p13050-2.s: New file.
4332 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4334 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4335 * testsuite/gas/arc/add.d: Likewise.
4336 * testsuite/gas/arc/and.d: Likewise.
4337 * testsuite/gas/arc/asl.d: Likewise.
4338 * testsuite/gas/arc/asr.d: Likewise.
4339 * testsuite/gas/arc/bic.d: Likewise.
4340 * testsuite/gas/arc/extb.d: Likewise.
4341 * testsuite/gas/arc/extw.d: Likewise.
4342 * testsuite/gas/arc/j.d: Likewise.
4343 * testsuite/gas/arc/jl.d: Likewise.
4344 * testsuite/gas/arc/ld2.d: Likewise.
4345 * testsuite/gas/arc/lsr.d: Likewise.
4346 * testsuite/gas/arc/mov.d: Likewise.
4347 * testsuite/gas/arc/or.d: Likewise.
4348 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4349 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4350 * testsuite/gas/arc/pic-relocs.d: Likewise.
4351 * testsuite/gas/arc/plt-relocs.d: Likewise.
4352 * testsuite/gas/arc/rlc.d: Likewise.
4353 * testsuite/gas/arc/ror.d: Likewise.
4354 * testsuite/gas/arc/rrc.d: Likewise.
4355 * testsuite/gas/arc/sbc.d: Likewise.
4356 * testsuite/gas/arc/sda-relocs.d: Likewise.
4357 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4358 * testsuite/gas/arc/sexb.d: Likewise.
4359 * testsuite/gas/arc/sexw.d: Likewise.
4360 * testsuite/gas/arc/st.d: Likewise.
4361 * testsuite/gas/arc/sub.d: Likewise.
4362 * testsuite/gas/arc/tls-relocs.d: Likewise.
4363 * testsuite/gas/arc/xor.d: Likewise.
4365 2016-01-01 Alan Modra <amodra@gmail.com>
4367 Update year range in copyright notice of all files.
4369 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4371 Copyright (C) 2016 Free Software Foundation, Inc.
4373 Copying and distribution of this file, with or without modification,
4374 are permitted in any medium without royalty provided the copyright
4375 notice and this notice are preserved.
4381 version-control: never