1 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
3 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
4 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
5 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
6 <copy, paste.>: Update tests.
7 * testsuite/gas/ppc/power9.s: Likewise.
9 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
11 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
12 in "architecture mismatch" error messages.
14 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
16 * config/tc-sparc.c (md_assemble): Detect and warning on
17 unpredictable DCTI couples in certain arches.
18 (dcti_couples_detect): New global.
19 (md_longopts): Add command line option -dcti-couples-detect.
20 (md_show_usage): Document -dcti-couples-detect.
21 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
22 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
23 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
24 * testsuite/gas/sparc/dcti-couples.s: New file.
25 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
26 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
27 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
28 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
29 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
30 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
31 * doc/c-sparc.texi (Sparc-Opts): Likewise.
33 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
35 * testsuite/gas/arc/tls-relocs2.d: New file.
36 * testsuite/gas/arc/tls-relocs2.s: Likewise.
37 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
40 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
42 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
44 * doc/as.texinfo: Document new arch strings.
45 * doc/c-s390.texi: Likewise.
47 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
49 * config/tc-s390.c: Set all facitily bits by default
51 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
53 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
55 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
57 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
60 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
62 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
63 (set_cpu_arch): Updated.
64 (md_parse_option): Likewise.
65 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
66 iamcu-inval-2 and iamcu-inval-3.
67 * testsuite/gas/i386/iamcu-4.d: New file.
68 * testsuite/gas/i386/iamcu-4.s: Likewise.
69 * testsuite/gas/i386/iamcu-5.d: Likewise.
70 * testsuite/gas/i386/iamcu-5.s: Likewise.
71 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
72 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
73 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
74 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
76 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
78 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
79 ARMv8-A CPUs except xgene1.
81 2016-08-31 Alan Modra <amodra@gmail.com>
83 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
84 ppc_cpu rather than calling ppc_mach to determine VLE mode.
85 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
87 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
89 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
91 * testsuite/gas/sparc/crypto.s: Likewise.
93 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
95 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
96 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
97 their lowecase counterpart special registers. Write register
99 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
100 operation, special register and then case. Use different register for
101 each operation. Add tests for new special registers.
102 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
104 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
105 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
107 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
109 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
111 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
113 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
114 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
115 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
117 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
119 * config/tc-i386.c (cpu_arch): Add .ptwrite.
120 * doc/c-i386.texi: Document ptwrite and .ptwrite.
121 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
122 x86-64-ptwrite and x86-64-ptwrite-intel.
123 * testsuite/gas/i386/ptwrite-intel.d: New file.
124 * testsuite/gas/i386/ptwrite.d: Likewise.
125 * testsuite/gas/i386/ptwrite.s: Likewise.
126 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
127 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
128 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
130 2016-08-19 Tamar Christina <tamar.christina@arm.com>
132 * config/tc-arm.c (do_co_reg2c): Added constraint.
133 * testsuite/gas/arm/dest-unpredictable.s: New.
134 * testsuite/gas/arm/dest-unpredictable.l: New.
135 * testsuite/gas/arm/dest-unpredictable.d: New.
137 2016-08-19 Nick Clifton <nickc@redhat.com>
139 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
140 ordering of sections.
141 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
142 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
143 * testsuite/gas/ia64/alias.d: Likewise.
144 * testsuite/gas/ia64/group-1.d: Likewise.
145 * testsuite/gas/ia64/group-2.d: Likewise.
146 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
147 * testsuite/gas/ia64/secname.d: Likewise.
148 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
149 * testsuite/gas/ia64/unwind.d: Likewise.
150 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
151 * testsuite/gas/ia64/xdata.d: Likewise.
152 * testsuite/gas/mmix/bspec-1.d: Likewise.
153 * testsuite/gas/mmix/bspec-2.d: Likewise.
154 * testsuite/gas/mmix/byte-1.d: Likewise.
155 * testsuite/gas/mmix/loc-1.d: Likewise.
156 * testsuite/gas/mmix/loc-2.d: Likewise.
157 * testsuite/gas/mmix/loc-3.d: Likewise.
158 * testsuite/gas/mmix/loc-4.d: Likewise.
159 * testsuite/gas/mmix/loc-5.d: Likewise.
160 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
162 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
164 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
165 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
166 Add tests for -0.0. Add an end-of-file comment.
168 2016-08-05 Nick Clifton <nickc@redhat.com>
171 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
172 registers are pushed.
173 (do_vfp_nsyn_pop): Check that no more than 16 registers are
175 * testsuite/gas/arm/pr20429.s: New test.
176 * testsuite/gas/arm/pr20429.d: New test driver.
177 * testsuite/gas/arm/pr20429.1: Expected error output.
180 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
182 (aarch64_init): Treat rs_align frags in code sections as
183 containing code, not data.
184 * testsuite/gas/aarch64/pr20364.s: New test.
185 * testsuite/gas/aarch64/pr20364.d: New test driver.
187 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
190 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
191 of 64-bit relocation types when assembling for a 32-bit Solaris
194 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
196 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
198 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
199 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
200 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
201 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
203 (sparc_elf_setup): Delete.
204 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
207 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
209 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
210 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
211 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
212 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
213 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
214 (get_append_method): Also return APPEND_ADD_COMPACT for
215 microMIPS instructions.
216 (find_altered_mips16_opcode): Exclude macros from matching.
218 (find_altered_opcode): ... to this new function.
219 (find_altered_micromips_opcode): New function.
220 (frag_branch_delay_slot_size): Likewise.
221 (append_insn): Handle microMIPS branch/jump compaction.
222 (macro_start): Likewise.
223 (relaxed_micromips_32bit_branch_length): Likewise.
224 (md_convert_frag): Likewise.
225 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
226 for delay slot filling.
227 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
229 * testsuite/gas/mips/micromips-size-1.s: Likewise.
230 * testsuite/gas/mips/micromips.l: Adjust line numbers.
231 * testsuite/gas/mips/micromips-warn.l: Likewise.
232 * testsuite/gas/mips/micromips-size-1.l: Likewise.
233 * testsuite/gas/mips/micromips.d: Adjust padding.
234 * testsuite/gas/mips/micromips-trap.d: Likewise.
235 * testsuite/gas/mips/micromips-insn32.d: Likewise.
236 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
237 * testsuite/gas/mips/micromips@beq.d: Update patterns for
238 branch/jump compaction.
239 * testsuite/gas/mips/micromips@bge.d: Likewise.
240 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
241 * testsuite/gas/mips/micromips@blt.d: Likewise.
242 * testsuite/gas/mips/micromips@bltu.d: Likewise.
243 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
244 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
245 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
246 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
247 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
248 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
249 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
250 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
252 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
254 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
255 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
256 * testsuite/gas/mips/micromips@relax.d: Likewise.
257 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
258 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
259 * testsuite/gas/mips/branch-extern-2.d: Likewise.
260 * testsuite/gas/mips/branch-extern-4.d: Likewise.
261 * testsuite/gas/mips/branch-section-2.d: Likewise.
262 * testsuite/gas/mips/branch-section-4.d: Likewise.
263 * testsuite/gas/mips/branch-weak-2.d: Likewise.
264 * testsuite/gas/mips/branch-weak-5.d: Likewise.
265 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
266 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
267 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
268 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
270 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
272 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
274 * testsuite/gas/mips/micromips-compact.d: New test.
275 * testsuite/gas/mips/mips.exp: Run the new test.
277 2016-07-27 Graham Markall <graham.markall@embecosm.com>
279 * config/tc-arc.c: Add new global arc_addrtype_hash.
280 Define O_colon and O_addrtype.
281 (debug_exp): Add O_colon and O_addrtype.
282 (tokenize_arguments): Handle colon and address type
284 (declare_addrtype): New function.
285 (md_begin): Initialise arc_addrtype_hash.
286 (arc_parse_name): Add lookup of address types.
287 (assemble_insn): Handle colons and address types by
289 * testsuite/gas/arc/nps400-8.s: New file.
290 * testsuite/gas/arc/nps400-8.d: New file.
291 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
292 * testsuite/gas/arc/nps400-8.d: Add expected PMU
295 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
297 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
298 (RELAX_MICROMIPS_INSN32): New macro.
299 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
300 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
301 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
302 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
303 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
305 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
307 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
309 (md_convert_frag): Likewise.
310 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
312 * testsuite/gas/mips/micromips-branch-relax.l: Update line
314 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
315 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
316 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
318 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
320 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
322 * testsuite/gas/mips/mips.exp: Run the new tests.
324 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
326 * configure: Regenerated.
328 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
330 * testsuite/gas/arc/dsp.d: New file.
331 * testsuite/gas/arc/dsp.s: Likewise.
332 * testsuite/gas/arc/fpu.d: Likewise.
333 * testsuite/gas/arc/fpu.s: Likewise.
334 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
335 * testsuite/gas/arc/ext3op.d: Likewise.
336 * testsuite/gas/arc/tdpfp.d: Likewise.
337 * testsuite/gas/arc/tfpuda.d: Likewise.
339 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
341 * config/tc-mips.c (mips_force_relocation): Remove
342 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
344 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
346 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
347 Adjust comments for BAL to JALX linker conversion.
348 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
349 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
351 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
352 * testsuite/gas/mips/branch-local-4.d: New test.
353 * testsuite/gas/mips/branch-local-n32-4.d: New test.
354 * testsuite/gas/mips/branch-local-n64-4.d: New test.
355 * testsuite/gas/mips/branch-addend.d: New test.
356 * testsuite/gas/mips/branch-addend-n32.d: New test.
357 * testsuite/gas/mips/branch-addend-n64.d: New test.
358 * testsuite/gas/mips/branch-local-4.s: New test source.
359 * testsuite/gas/mips/branch-addend.s: New test source.
360 * testsuite/gas/mips/mips.exp: Run the new tests.
362 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
364 * config/tc-mips.c (mips_force_relocation): Also retain branch
365 relocations against MIPS16 and microMIPS symbols.
366 (fix_bad_cross_mode_jump_p): New function.
367 (fix_bad_same_mode_jalx_p): Likewise.
368 (fix_bad_misaligned_jump_p): Likewise.
369 (fix_bad_cross_mode_branch_p): Likewise.
370 (fix_bad_misaligned_branch_p): Likewise.
371 (fix_validate_branch): Likewise.
372 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
373 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
374 etc. Verify the ISA mode and alignment of the jump target.
375 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
376 with a call to `fix_validate_branch'.
377 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
378 <BFD_RELOC_16_PCREL_S2>: Likewise.
379 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
380 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
381 Verify the ISA mode and alignment of the branch target.
382 (md_convert_frag): Verify the ISA mode and alignment of resolved
383 MIPS16 branch targets.
384 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
385 branch targets with `.insn'.
386 * testsuite/gas/mips/branch-misc-5.s: Likewise.
387 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
389 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
390 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
391 non-instruction branch target with `.insn'.
392 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
393 with external symbols.
394 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
395 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
396 * testsuite/gas/mips/micromips-trap.d: Likewise.
397 * testsuite/gas/mips/micromips.d: Likewise.
398 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
399 targets with `.insn'.
400 * testsuite/gas/mips/mips16.d: Update accordingly.
401 * testsuite/gas/mips/mips16-64.d: Likewise.
402 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
403 branch target with `.insn'.
404 * testsuite/gas/mips/relax-swap3.s: Likewise.
405 * testsuite/gas/mips/branch-local-2.l: New list test.
406 * testsuite/gas/mips/branch-local-3.l: New list test.
407 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
408 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
409 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
410 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
411 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
412 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
413 * testsuite/gas/mips/unaligned-jump-3.d: New test.
414 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
415 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
416 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
417 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
419 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
421 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
422 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
423 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
424 * testsuite/gas/mips/unaligned-branch-3.d: New test.
425 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
426 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
427 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
428 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
429 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
430 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
431 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
432 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
433 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
434 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
436 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
438 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
439 * testsuite/gas/mips/branch-local-2.s: New test source.
440 * testsuite/gas/mips/branch-local-3.s: New test source.
441 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
442 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
443 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
444 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
445 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
446 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
447 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
448 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
449 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
451 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
453 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
454 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
455 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
456 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
457 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
458 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
459 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
461 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
463 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
465 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
467 * testsuite/gas/mips/mips.exp: Run the new tests.
469 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
471 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
473 (do_pseudo_b): Adjust.
474 (do_pseudo_bal): Likewise.
475 (do_pseudo_bge): Likewise.
476 (do_pseudo_bges): Likewise.
477 (do_pseudo_bgt): Likewise.
478 (do_pseudo_bgts): Likewise.
479 (do_pseudo_ble): Likewise.
480 (do_pseudo_bles): Likewise.
481 (do_pseudo_blt): Likewise.
482 (do_pseudo_blts): Likewise.
483 (do_pseudo_br): Likewise.
484 (do_pseudo_bral): Likewise.
485 (do_pseudo_la): Likewise.
486 (do_pseudo_li): Likewise.
487 (do_pseudo_ls_bhw): Likewise.
488 (do_pseudo_ls_bhwp): Likewise.
489 (do_pseudo_ls_bhwpc): Likewise.
490 (do_pseudo_ls_bhwi): Likewise.
491 (do_pseudo_move): Likewise.
492 (do_pseudo_neg): Likewise.
493 (do_pseudo_not): Likewise.
494 (do_pseudo_pushpopm): Likewise.
495 (do_pseudo_pushpop): Likewise.
496 (do_pseudo_v3push): Likewise.
497 (do_pseudo_v3pop): Likewise.
498 (do_pseudo_pushpop_stack): Likewise.
499 (do_pseudo_push_bhwd): Likewise.
500 (do_pseudo_pop_bhwd): Likewise.
501 (do_pseudo_pusha): Likewise.
502 (do_pseudo_pushi): Likewise.
504 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
506 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
507 bfd_reloc_code_real_type.
509 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
511 * config/tc-sparc.c (pop_table): Remove sentinel.
512 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
515 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
517 * config/tc-z8k.c (newfix): Make type of type argument
518 bfd_reloc_code_real_type.
519 (apply_fix): Likewise.
521 2016-07-16 Alan Modra <amodra@gmail.com>
523 * config/tc-epiphany.c: Don't include libbfd.h.
524 * config/tc-frv.c: Likewise.
525 * config/tc-ip2k.c: Likewise.
526 * config/tc-iq2000.c: Likewise.
527 * config/tc-m32c.c: Likewise.
528 * config/tc-mep.c: Likewise.
529 * config/tc-mt.c: Likewise.
530 * config/tc-nios2.c: Likewise.
532 2016-07-16 Alan Modra <amodra@gmail.com>
534 * config/bfin-parse.y: Don't include libbfd.h.
535 * config/tc-bfin.c: Likewise.
536 * config/tc-rl78.c: Likewise.
537 * config/tc-rx.c: Likewise.
538 * config/tc-metag.c: Likewise.
539 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
540 * Makefile.am: Update dependencies.
541 * Makefile.in: Regenerate.
543 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
545 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
546 (mips_force_relocation_abs): New prototype.
547 * config/tc-mips.c (mips_force_relocation_abs): New function.
548 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
549 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
550 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
551 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
552 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
554 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
556 * testsuite/gas/mips/branch-absolute-addend.d: New test.
557 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
558 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
560 * testsuite/gas/mips/mips.exp: Run the new tests.
562 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
564 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
565 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
566 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
568 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
569 in `bar', export `foo'.
570 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
572 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
573 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
574 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
576 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
579 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
581 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
582 * testsuite/gas/mips/branch-absolute.d: New test.
583 * testsuite/gas/mips/branch-absolute-n32.d: New test.
584 * testsuite/gas/mips/branch-absolute-n64.d: New test.
585 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
586 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
587 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
588 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
589 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
591 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
593 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
594 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
595 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
596 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
598 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
600 * testsuite/gas/mips/branch-absolute.s: New test source.
601 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
602 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
604 * testsuite/gas/mips/micromips-branch-absolute.s: New test
606 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
608 * testsuite/gas/mips/mips.exp: Run the new tests.
610 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
612 * testsuite/gas/mips/nal-1.d: New test.
613 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
614 * testsuite/gas/mips/nal-2.d: New test.
615 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
616 * testsuite/gas/mips/nal.s: New test source.
617 * testsuite/gas/mips/mips.exp: Run the new tests.
619 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
621 * testsuite/gas/sparc/ldtxa.s: New file.
622 * testsuite/gas/sparc/ldtxa.d: Likewise.
623 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
625 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
627 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
628 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
629 as it is no longer needed.
631 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
633 * config/tc-mips.c (append_insn): Remove extraneous
636 2016-07-04 Jan Beulich <jbeulich@suse.com>
638 * config/tc-i386.c (check_qword_reg): Correct register kind
640 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
641 16-bit register cases.
642 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
645 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
647 * testsuite/gas/mips/ecoff@ld.d: Remove test.
648 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
649 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
650 * testsuite/gas/mips/ecoff@sd.d: Remove test.
651 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
652 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
654 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
655 * testsuite/gas/mips/bge.d: Likewise.
656 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
657 * testsuite/gas/mips/bgeu.d: Likewise.
658 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
659 * testsuite/gas/mips/blt.d: Likewise.
660 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
661 * testsuite/gas/mips/bltu.d: Likewise.
662 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
663 * testsuite/gas/mips/branch-likely.d: Likewise.
664 * testsuite/gas/mips/la.d: Likewise.
665 * testsuite/gas/mips/lb.d: Likewise.
666 * testsuite/gas/mips/lifloat.d: Likewise.
667 * testsuite/gas/mips/sb.d: Likewise.
668 * testsuite/gas/mips/uld.d: Likewise.
669 * testsuite/gas/mips/ulh.d: Likewise.
670 * testsuite/gas/mips/ulw.d: Likewise.
671 * testsuite/gas/mips/usd.d: Likewise.
672 * testsuite/gas/mips/ush.d: Likewise.
673 * testsuite/gas/mips/usw.d: Likewise.
675 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
677 * testsuite/gas/mips/branch-misc-2.s: Move non
678 locally-defined-global symbol tests...
679 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
680 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
681 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
682 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
683 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
684 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
685 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
686 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
687 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
688 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
689 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
690 * testsuite/gas/mips/branch-misc-5.d: New test.
691 * testsuite/gas/mips/branch-misc-5pic.d: New test.
692 * testsuite/gas/mips/branch-misc-5-64.d: New test.
693 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
694 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
695 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
696 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
697 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
698 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
699 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
700 * testsuite/gas/mips/mips.exp: Run the new tests.
702 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
704 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
706 * testsuite/gas/mips/beq.d: Update accordingly.
707 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
708 * testsuite/gas/mips/micromips@beq.d: Likewise.
710 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
712 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
713 tests to NewABI targets.
715 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
717 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
720 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
722 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
724 (aarch64_features): Initialize require fields.
725 (aarch64_parse_features): Handle dependencies.
726 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
727 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
728 * testsuite/gas/aarch64/illegal-nofp16.s: New.
729 * testsuite/gas/aarch64/illegal-nofp16.l: New.
730 * testsuite/gas/aarch64/illegal-nofp16.d: New.
732 2016-07-01 Nick Clifton <nickc@redhat.com>
734 * macro.c (macro_expand_body): Use a buffer big enough to hold an
735 extremely large integer.
737 2016-07-01 Jan Beulich <jbeulich@suse.com>
739 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
741 2016-07-01 Tristan Gingold <gingold@adacore.com>
743 * NEWS: Add marker for 2.27.
745 2016-07-01 Jan Beulich <jbeulich@suse.com>
747 * tc-i386.c (i386_index_check): Add special checks for bndmk,
749 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
750 as well as scaling by other than 1 tests.
751 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
753 2016-07-01 Jan Beulich <jbeulich@suse.com>
755 * tc-i386.c (md_assemble): Alter address size checking for MPX
757 * testsuite/gas/i386/mpx-inval-2.s: New.
758 * testsuite/gas/i386/mpx-inval-2.l: New.
759 * testsuite/gas/i386/i386.exp: Run new test.
761 2016-07-01 Jan Beulich <jbeulich@suse.com>
764 * config/tc-i386.c (match_template): Add char parameter,
765 consumed in Intel mode for an extra suffix check.
766 (md_assemble): New local variable mnem_suffix.
767 * testsuite/gas/i386/suffix-bad.s: New.
768 * testsuite/gas/i386/suffix-bad.l: New.
769 * testsuite/gas/i386/i386.exp: Run new test (twice).
771 2016-07-01 Jan Beulich <jbeulich@suse.com>
773 * testsuite/gas/i386/movz.s: New.
774 * testsuite/gas/i386/movz32.d: New.
775 * testsuite/gas/i386/movz64.d: New.
776 * testsuite/gas/i386/i386.exp: Run new tests.
778 2016-07-01 Jan Beulich <jbeulich@suse.com>
780 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
781 (md_assemble): Free first memory operand string.
782 (i386_index_check): Use repprefixok to distingush xlat from
783 other (real) string ops.
784 (maybe_adjust_templates): New.
785 (i386_att_operand). Call it. Store first memory operand string.
786 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
787 * testsuite/gas/i386/intel-movs.s: New.
788 * testsuite/gas/i386/intel-movs32.d: New.
789 * testsuite/gas/i386/intel-movs64.d: New.
790 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
791 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
793 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
795 * config/tc-mips.c (get_append_method): Fix a comment typo.
797 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
798 Maciej W. Rozycki <macro@imgtec.com>
800 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
801 case MIPS16 handling.
802 * testsuite/gas/mips/branch-swap-3.d: New test.
803 * testsuite/gas/mips/branch-swap-4.d: New test.
804 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
805 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
806 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
807 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
808 * testsuite/gas/mips/branch-swap-3.s: New test source.
809 * testsuite/gas/mips/mips.exp: Run the new tests.
811 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
813 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
816 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
819 * write.c (subsegs_finish_section): Force no section padding to
820 alignment on failed assembly, always set last frag's alignment
822 * testsuite/gas/all/pr20312.l: New list test.
823 * testsuite/gas/all/pr20312.s: New test source.
824 * testsuite/gas/all/gas.exp: Run the new test
826 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
828 * config.in (TARGET_WITH_CPU): Undefine.
829 * configure.ac: Add --with-cpu support, and define in config.h.
830 * configure: Regenerate.
831 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
832 * NEWS: Mention new configure option.
834 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
836 * testsuite/gas/arm/armv8_2+rdma.d: New.
838 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
840 * NEWS: Mention --enable-compressed-debug-sections=gas is the
841 default for Linux/x86 targets.
842 * configure.tgt (ac_default_compressed_debug_sections): Default
843 to yes for Linux/x86 targets.
845 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
847 * write.c: Remove "libbfd.h" inclusion.
849 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
851 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
854 2016-06-28 Alan Modra <amodra@gmail.com>
857 * testsuite/gas/elf/section11.s: Don't start directives in first column.
859 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
861 * testsuite/gas/aarch64/diagnostic.s,
862 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
864 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
866 * config/tc-mips.c (mips16_reloc_p): Handle
867 BFD_RELOC_MIPS16_16_PCREL_S1.
868 (b_reloc_p): Likewise.
869 (limited_pcrel_reloc_p): Likewise.
870 (md_pcrel_from): Likewise.
871 (md_apply_fix): Likewise.
872 (tc_gen_reloc): Likewise.
873 (md_convert_frag): Likewise.
874 (mips_fix_adjustable): Update comment.
875 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
876 output, add dump patterns.
877 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
878 output, add dump patterns.
879 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
880 output, add dump patterns.
881 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
882 output, add dump patterns.
883 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
884 output, add dump patterns.
885 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
886 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
887 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
888 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
889 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
890 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
891 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
892 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
893 * testsuite/gas/mips/branch-weak-6.d: New test.
894 * testsuite/gas/mips/branch-weak-7.d: New test.
895 * testsuite/gas/mips/mips.exp: Run the new tests.
897 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
899 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
900 cfi_add_CFA_def_cfa to generate default CFA with offset
901 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
903 2016-06-27 Nick Clifton <nickc@redhat.com>
906 * as.h (do_not_pad_sections_to_alignment): New global variable.
907 * as.c (show_usage): Add --no-pad-sections.
908 (parse_args): Likewise.
909 * write.c (size_seg): Skip padding the end of the section if
910 requested from the command line.
911 (SUB_SEGMENT_ALIGN): Likewise.
912 * doc/as.texinfo: Document the new option.
913 * NEWS: Mention the new feature.
914 * testsuite/gas/elf/section11.s: New test.
915 * testsuite/gas/elf/section11.d: New test driver.
916 * testsuite/gas/elf/elf.exp: Run the new test.
918 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
920 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
921 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
923 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
925 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
927 (map_suffix_reloc_to_operator): Likewise.
928 (map_operator_to_reloc): Likewise.
930 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
932 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
933 element in relax_table.
935 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
937 * config/tc-aarch64.c: Make the type of reg_entry::type
940 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
942 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
943 (md_parse_option): Adjust.
944 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
945 with iteration from 0 to ARRAY_SIZE.
946 * config/tc-mcore.c (md_begin): Likewise.
947 * config/tc-visium.c (visium_parse_arch): Likewise.
949 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
951 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
952 and simplify accordingly.
953 (tic54x_include): Adjust.
954 (tic54x_mlib): Likewise.
956 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
958 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
960 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
962 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
963 unchanged with relaxed MIPS16 instructions.
964 (mips16_extended_frag): Adjust accordingly. Return 1 right
965 away if a relocation will be required for the symbol requested.
966 Remove dead first relaxation pass code.
967 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
968 (md_convert_frag): Adjust symbol value calculation. Raise an
969 error if a relocation is required for the symbol requested.
970 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
972 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
973 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
974 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
975 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
976 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
977 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
978 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
979 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
980 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
981 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
982 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
983 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
984 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
985 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
986 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
987 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
988 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
989 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
990 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
991 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
992 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
993 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
994 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
995 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
996 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
997 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
998 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
999 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1000 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1001 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1002 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1003 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1004 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1005 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1006 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1007 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1008 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1009 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1010 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1011 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1012 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1013 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1014 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1015 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1016 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1017 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1018 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1019 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1020 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1021 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1022 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1023 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1024 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1025 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1026 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1027 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1028 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1029 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1030 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1031 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1032 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1033 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1034 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1035 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1036 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1037 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1038 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1039 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1040 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1041 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1042 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1043 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1044 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1045 * testsuite/gas/mips/mips.exp: Run the new tests.
1047 2016-06-24 Alan Modra <amodra@gmail.com>
1049 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1051 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1053 * config/tc-mips.c (b_reloc_p): New function.
1054 (mips_fix_adjustable): Also keep the original microMIPS symbol
1055 referred from branch relocations.
1056 * testsuite/gas/mips/branch-local-1.d: New test.
1057 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1058 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1059 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1061 * testsuite/gas/mips/branch-local-1.s: New test source.
1062 * testsuite/gas/mips/mips.exp: Run the new cases.
1064 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1066 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1067 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1068 options. Correct erroneous enabling of SPFP instructions when
1071 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1073 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1074 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1075 setbool, xor3>: New tests.
1076 * testsuite/gas/ppc/power9.s: Likewise.
1078 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1080 * config/tc-xtensa.c: Include elf/xtensa.h.
1082 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1084 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1085 <BFD_RELOC_LO16_PCREL>: New switch cases.
1086 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1087 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1088 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1089 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1091 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1092 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1093 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1094 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1095 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1096 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1097 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1098 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1099 * testsuite/gas/mips/mips.exp: Run the new tests.
1101 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1103 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1104 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1105 via `fixP->fx_addsy'.
1107 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1109 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1110 Calculate relocation from the containing aligned doubleword.
1111 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1112 addend from the containing aligned doubleword.
1114 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1116 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1117 rather than `mips_opts' for the R6 ISA check.
1118 (mips_fix_adjustable): Likewise.
1119 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1120 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1121 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1122 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1123 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1124 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1125 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1126 * testsuite/gas/mips/mips.exp: Run the new tests.
1128 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1130 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1131 Add nps400 option and feature. Add check for nps400
1132 feature. Refactor existing checks to check subclass before
1134 (md_show_usage): Document flags for NPS-400 and add some other
1136 (cpu_type): Remove nps400 CPU type entry
1137 (check_zol): Remove bfd_mach_arc_nps400 case.
1138 (md_show_usage): Add help on -mcpu=nps400.
1139 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1141 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1142 -fpuda flags. Document -mcpu=nps400.
1143 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1144 expected flags to match ARC700 instead of NPS400.
1145 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1146 * testsuite/gas/arc/nps-400-2.d: Likewise.
1147 * testsuite/gas/arc/nps-400-3.d: Likewise.
1148 * testsuite/gas/arc/nps-400-4.d: Likewise.
1149 * testsuite/gas/arc/nps-400-5.d: Likewise.
1150 * testsuite/gas/arc/nps-400-6.d: Likewise.
1151 * testsuite/gas/arc/nps-400-7.d: Likewise.
1152 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1153 avoid clash with cbba instruction.
1154 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1155 * testsuite/gas/arc/textinsn3op.d: Likewise.
1156 * testsuite/gas/arc/textinsn3op.s: Likewise.
1157 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1158 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1160 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1162 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1163 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1165 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1167 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1170 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1172 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1174 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1176 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1177 %hmcddfr and %hva_mask_nz.
1178 (sparc_ip): New handling of asr/privileged/hyperprivileged
1179 registers, adapted to the new form of the sparc opcodes table.
1180 * testsuite/gas/sparc/rdasr.s: New file.
1181 * testsuite/gas/sparc/rdasr.d: Likewise.
1182 * testsuite/gas/sparc/wrasr.s: Likewise.
1183 * testsuite/gas/sparc/wrasr.d: Likewise.
1184 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1186 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1187 registers require it.
1188 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1189 registers and write instruction modalities.
1190 * testsuite/gas/sparc/wrpr.d: Likewise.
1191 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1193 * testsuite/gas/sparc/rdhpr.d: Likewise.
1194 * testsuite/gas/sparc/wrhpr.s: Likewise.
1195 * testsuite/gas/sparc/wrhpr.d: Likewise.
1197 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1199 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1200 architectures to use the right opcode architecture.
1201 (sparc_md_end): Handle v9{c,d,e,v,m}.
1202 (sparc_ip): Fix some comments.
1203 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1204 instruction, which is v9d.
1205 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1206 instruction from the test, as %mwait is not readable.
1207 * testsuite/gas/sparc/mwait.d: Likewise.
1208 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1209 mismatch architecture errors.
1210 * testsuite/gas/sparc/mism-2.s: New file.
1212 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1214 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1215 empty string to mark the end of the array.
1216 (hpriv_reg_table): Likewise.
1217 (v9a_asr_table): Likewise.
1218 (cmp_reg_entry): Handle entries with NULL names.
1220 (F_POP_PCREL): Likewise.
1221 (F_POP_TLS_CALL): Likewise.
1222 (F_POP_POSTFIX): Likewise.
1223 (struct pop_entry): New type.
1224 (pop_table): New variable.
1225 (enum pop_entry_type): New type.
1226 (struct perc_entry): Likewise.
1227 (NUM_PERC_ENTRIES): Define.
1228 (perc_table): New variable.
1229 (cmp_perc_entry): New function.
1230 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1232 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1233 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1236 2016-06-15 Nick Clifton <nickc@redhat.com>
1238 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1240 * config/tc-mcore.c (md_assemble): Likewise.
1241 * config/tc-mn10200.c (md_assemble): Likewise.
1242 * config/tc-moxie.c (md_assemble): Likewise.
1243 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1244 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1245 exception targets. Add alpha, hppa, microblaze and rl78 to list
1247 (forward): Add microblaze to list of exceptions.
1248 (fwdexp): Add alpha to list of exceptions.
1249 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1250 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1251 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1252 mn10200 to list of exceptions.
1253 (align2): Expect to fail for nds32.
1254 (cond): Add alpha and rl78 to list of exceptions.
1255 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1256 * testsuite/gas/all/string.d: Skip for tic4x.
1257 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1258 target does not support ELF.
1259 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1260 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1261 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1262 tests for sh-pe and sh-rtemscoff targets.
1263 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1265 (type): Run the noifunc version for alpha-freebsd and visium.
1266 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1267 mn10200 or moxie targets.
1268 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1269 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1271 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1272 mcore and rx targets.
1273 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1275 (purge): Expect to fail on the ns32k and vax.
1276 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1277 * testsuite/gas/nds32/ls.d: Likewise.
1278 * testsuite/gas/nds32/sys-reg.d: Likewise.
1279 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1280 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1281 * testsuite/gas/pe/section-align-3.d: Likewise.
1282 * testsuite/gas/pe/section-exclude.d: Likewise.
1283 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1285 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1286 for variations in whitespace.
1287 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1289 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1290 Installs a 32-bit value without generating warnings on 64-bit
1292 Use the new macro to replace the .word directives.
1294 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1296 * testsuite/gas/arc/add_s.d: New file.
1297 * testsuite/gas/arc/add_s.s: New file.
1299 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1301 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1302 * testsuite/gas/arc/nps400-6.d: Likewise.
1304 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1306 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1308 * testsuite/gas/arc/nps400-6.d: Likewise.
1310 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1312 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1313 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1314 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1315 * testsuite/gas/arc/nps400-6.d: Likewise.
1317 2016-06-14 Nick Clifton <nickc@redhat.com>
1319 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1322 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1324 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1325 JALR relocations on R6.
1326 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1327 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1328 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1329 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1330 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1331 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1333 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1334 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1336 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1337 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1339 * testsuite/gas/mips/mips.exp: Run the new tests.
1341 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1343 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1344 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1347 2016-06-13 Nick Clifton <nickc@redhat.com>
1349 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1350 that are not supported.
1352 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1354 * config/tc-cr16.c (check_range): Likewise.
1355 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1357 2016-06-08 Renlin Li <renlin.li@arm.com>
1359 * config/tc-aarch64.c (print_operands): Substitute size.
1360 (output_operand_error_record): Likewise.
1362 2016-06-07 Alan Modra <amodra@gmail.com>
1364 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1365 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1366 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1367 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1368 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1369 add vle_opcodes twice.
1370 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1372 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1374 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1375 (arm_ext_ras): Renamed from arm_ext_v8_2.
1376 (insns): Update for arm_ext_v8_2 renaming.
1377 (arm_extensions): Add "ras".
1378 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1379 * testsuite/gas/arm/armv8-a+ras.d: New.
1380 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1383 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1385 * itbl-parse.y (yyerror): Use modern argument declaration style.
1387 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1389 * config/tc-sh.c (parse_reg): Change type of mode argument to
1391 (get_operand): Adjust.
1392 (insert): Change type of how to bfd_reloc_code_real_type.
1393 (insert4): Likewise.
1394 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1395 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1397 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1399 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1402 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1405 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1406 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1407 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1408 * gas/testsuite/gas/ppc/power8.s: Likewise.
1409 * gas/testsuite/gas/ppc/power8.d: Likewise.
1410 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1412 * gas/testsuite/gas/ppc/power4.d: Likewise.
1414 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1417 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1418 * testsuite/gas/i386/x86-64-branch.d: Updated.
1419 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1420 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1421 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1423 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1425 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1426 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1428 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1430 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1431 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1433 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1435 * configure.tgt: Replace -uclibc with *.
1437 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1439 * config/tc-arc.c (parse_opcode_flags): New function.
1440 (find_opcode_match): Move flag parsing code out to new function.
1441 Ignore operands marked IGNORE.
1442 (build_fake_opcode_hash_entry): New function.
1443 (find_special_case_long_opcode): New function.
1444 (find_special_case): Lookup long opcodes.
1445 * testsuite/gas/arc/nps400-7.d: New file.
1446 * testsuite/gas/arc/nps400-7.s: New file.
1448 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1450 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1452 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1454 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1455 sentinal with iteration to array size.
1457 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1459 * config/xtensa-relax.h: Move typedefs of enums to the enums
1462 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1464 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1467 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1469 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1470 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1471 * testsuite/gas/arc/nps-400-1.d: Likewise.
1473 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1476 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1477 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1478 noavx512ifma and noavx512vbmi.
1479 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1480 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1482 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1483 * testsuite/gas/i386/noavx512-1.l: New file.
1484 * testsuite/gas/i386/noavx512-1.s: Likewise.
1485 * testsuite/gas/i386/noavx512-2.l: Likewise.
1486 * testsuite/gas/i386/noavx512-2.s: Likewise.
1488 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1491 * config/tc-i386.c (cpu_arch): Add 687.
1492 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1493 nosse4.1, nosse4.2, nosse4 and noavx2.
1494 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1495 register. Check cpuregxmm instead of cpusse for XMM register.
1496 Check cpuregymm instead of cpuavx for YMM register. Check
1497 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1498 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1499 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1500 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1501 * testsuite/gas/i386/arch-10.d (as): Likewise.
1502 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1503 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1504 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1506 * testsuite/gas/i386/no87-3.l: New file.
1507 * testsuite/gas/i386/no87-3.s: Likewise.
1508 * testsuite/gas/i386/noavx-3.l: Likewise.
1509 * testsuite/gas/i386/noavx-3.s: Likewise.
1510 * testsuite/gas/i386/noavx-4.d: Likewise.
1511 * testsuite/gas/i386/noavx-4.s: Likewise.
1512 * testsuite/gas/i386/nosse-4.l: Likewise.
1513 * testsuite/gas/i386/nosse-4.s: Likewise.
1514 * testsuite/gas/i386/nosse-5.d: Likewise.
1515 * testsuite/gas/i386/nosse-5.s: Likewise.
1517 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1520 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1522 (match_template): Check Intel64/AMD64 ISA.
1524 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1527 * config/tc-i386.c (intel64): New.
1528 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1529 (md_parse_option): Set intel64 instead of cpuamd64 and
1532 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1534 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1537 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1539 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1540 * testsuite/gas/ppc/altivec3.s: Likewise.
1541 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1542 * testsuite/gas/ppc/power9.s: Likewise.
1544 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1546 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1547 * testsuite/gas/i386/noavx-1.l: Likewise.
1548 * testsuite/gas/i386/nommx-1.l: Likewise.
1549 * testsuite/gas/i386/nosse-1.l: Likewise.
1550 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1551 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1552 * testsuite/gas/i386/noavx-1.s: Likewise.
1553 * testsuite/gas/i386/nommx-1.s: Likewise.
1554 * testsuite/gas/i386/nosse-1.s: Likewise.
1555 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1557 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1559 * config/tc-metag.c (metag_handle_align): Make the type of noop
1562 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1564 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1565 bfd_reloc_code_real_type.
1567 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1570 * config/tc-i386.c (cpu_flags_match): Require another match
1572 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1573 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1574 * testsuite/gas/i386/avx512vl-1.l: New file.
1575 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1576 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1577 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1578 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1579 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1580 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1581 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1583 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1586 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1587 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1588 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1590 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1592 * config/tc-i386.c (arch_entry): Remove negated.
1593 (noarch_entry): New struct.
1594 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1596 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1597 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1599 (output_message): New function.
1600 (show_arch): Use it. Handle cpu_noarch.
1601 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1602 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1603 * testsuite/gas/i386/noavx-1.l: New file.
1604 * testsuite/gas/i386/noavx-1.s: Likewise.
1605 * testsuite/gas/i386/noavx-2.s: Likewise.
1606 * testsuite/gas/i386/noavx-2.l: Likewise.
1607 * testsuite/gas/i386/nommx-1.s: Likewise.
1608 * testsuite/gas/i386/nommx-1.l: Likewise.
1609 * testsuite/gas/i386/nommx-2.s: Likewise.
1610 * testsuite/gas/i386/nommx-2.l: Likewise.
1611 * testsuite/gas/i386/nommx-3.s: Likewise.
1612 * testsuite/gas/i386/nommx-3.l: Likewise.
1613 * testsuite/gas/i386/nosse-1.s: Likewise.
1614 * testsuite/gas/i386/nosse-1.l: Likewise.
1615 * testsuite/gas/i386/nosse-2.s: Likewise.
1616 * testsuite/gas/i386/nosse-2.l: Likewise.
1617 * testsuite/gas/i386/nosse-3.s: Likewise.
1618 * testsuite/gas/i386/nosse-3.l: Likewise.
1620 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1623 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1624 instruction if supported by the currently selected fpu variant.
1625 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1626 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1628 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1630 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1631 jump relocations against MIPS16 or microMIPS symbols on RELA
1633 * testsuite/gas/mips/jalx-local.d: New test.
1634 * testsuite/gas/mips/jalx-local-n32.d: New test.
1635 * testsuite/gas/mips/jalx-local-n64.d: New test.
1636 * testsuite/gas/mips/jalx-local.s: New test source.
1637 * testsuite/gas/mips/mips.exp: Run the new tests.
1639 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1641 * config/tc-mips.c (md_apply_fix)
1642 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1645 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1647 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1648 operator to operatorT.
1649 (map_suffix_reloc_to_operator): Change return type to operatorT.
1651 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1653 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1655 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1657 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1658 handler_charp to const char *.
1660 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1662 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1663 (ft32_target_format): Likewise.
1664 (TARGET_FORMAT): Adjust.
1666 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1668 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1669 (ia64_frob_label): Likewise.
1671 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1673 * config/tc-cr16.c (check_range): Make type of retval op_err.
1674 * config/tc-crx.c: Likewise.
1676 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1678 * config/tc-arc.c (md_begin): Add XY registers.
1679 (cpu_types): Code density is default off for ARC EM.
1681 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1683 * config/tc-arc.c (attributes_t): Renamed attribute class to
1685 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1687 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1689 * configuse.tgt: Add entry for arm-phoenix.
1691 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1693 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1695 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1697 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1699 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1701 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1702 (md_begin): Likewise.
1703 (encode_condition): Likewise.
1704 (encode_cc3): Likewise.
1705 (encode_cc2): Likewise.
1706 (encode_operand): Likewise.
1707 (tic54x_undefined_symbol): Likewise.
1709 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1711 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1713 * doc/c-mips.texi: Document p6600 -march option.
1715 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1718 * config/tc-i386.c (md_apply_fix): Preserve addend for
1719 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1720 * testsuite/gas/i386/addend.d: New file.
1721 * testsuite/gas/i386/addend.s: Likewise.
1722 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1723 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1724 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1725 * testsuite/gas/i386/reloc32.d: Updated.
1727 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1729 * config/tc-mips.c (append_insn): Correct the encoding of a
1730 constant argument for microMIPS JALX.
1731 (tc_gen_reloc): Correct the encoding of an in-place addend for
1733 * testsuite/gas/mips/jalx-addend.d: New test.
1734 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1735 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1736 * testsuite/gas/mips/jalx-imm.d: New test.
1737 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1738 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1739 * testsuite/gas/mips/jalx-addend.s: New test source.
1740 * testsuite/gas/mips/jalx-imm.s: New test source.
1741 * testsuite/gas/mips/mips.exp: Run the new tests.
1743 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1745 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1748 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1750 * config/tc-arc.c (find_opcode_match): Remove casting away of
1752 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1754 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1756 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1758 (md_convert_frag): Likewise.
1760 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1762 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1763 cached opcode to NULL when we reach a non-matching opcode.
1764 * testsuite/gas/arc/asm-errors-2.d: New file.
1765 * testsuite/gas/arc/asm-errors-2.err: New file.
1766 * testsuite/gas/arc/asm-errors-2.s: New file.
1768 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1770 * config/tc-arc.c (tokenize_arguments): Add checks for array
1772 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1773 * testsuite/gas/arc/asm-errors.err: Update expected results.
1775 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1777 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1778 int to enum rx_cpu_types.
1780 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1782 * config/tc-dlx.c (struct machine_it): change the type of a field from
1783 int to bfd_reloc_code_real_type.
1784 * config/tc-tic4x.c: Likewise.
1786 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1788 * config/tc-v850.c (v850_target_arch): change type to enum
1790 * config/tc-v850.h (v850_target_arch): Likewise.
1792 2016-05-18 Alan Modra <amodra@gmail.com>
1794 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1795 allowed negative range.
1796 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1797 * testsuite/gas/ppc/power9.d: Update.
1799 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1801 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1802 disassembling and stop skipping targets.
1803 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1804 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1805 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1806 instruction for targets that have stronger alignment requirement.
1807 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1808 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1809 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1810 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1811 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1812 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1813 * testsuite/gas/arm/archv8m-main.d: Likewise.
1814 * testsuite/gas/arm/archv8m.s: Add label.
1815 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1816 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1817 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1819 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1821 * config/tc-m32r.c (mach_table): Make static and const.
1823 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1825 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1828 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1830 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1832 * config/tc-msp430.c (md_begin): Likewise.
1834 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1836 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1837 bfd_reloc_code_real_type where appropriate.
1838 (fixup16): Likewise.
1839 (fixup8_xg): Likewise.
1841 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1843 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1845 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1847 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1848 * testsuite/gas/ppc/power9.s: Likewise.
1850 2016-05-13 Alan Modra <amodra@gmail.com>
1852 * config/obj-coff.c (weak_uniquify): Delete unused var.
1854 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1856 * app.c (app_push): Use XNEW and related macros.
1857 * as.c (parse_args): Likewise.
1858 * cgen.c (make_right_shifted_expr): Likewise.
1859 (gas_cgen_tc_gen_reloc): Likewise.
1860 * config/bfin-defs.h: Likewise.
1861 * config/bfin-parse.y: Likewise.
1862 * config/obj-coff.c (stack_init): Likewise.
1863 (stack_push): Likewise.
1864 (coff_obj_symbol_new_hook): Likewise.
1865 (coff_obj_symbol_clone_hook): Likewise.
1866 (add_lineno): Likewise.
1867 (coff_frob_symbol): Likewise.
1868 * config/obj-elf.c (obj_elf_section_name): Likewise.
1869 (build_group_lists): Likewise.
1870 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1871 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1872 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1873 (find_or_make_literal_pool): Likewise.
1874 (add_to_lit_pool): Likewise.
1875 (fill_instruction_hash_table): Likewise.
1876 * config/tc-alpha.c (load_expression): Likewise.
1877 (emit_jsrjmp): Likewise.
1878 (s_alpha_ent): Likewise.
1879 (s_alpha_end): Likewise.
1880 (s_alpha_linkage): Likewise.
1881 (md_begin): Likewise.
1882 (tc_gen_reloc): Likewise.
1883 * config/tc-arc.c (arc_insert_opcode): Likewise.
1884 (arc_extcorereg): Likewise.
1885 * config/tc-bfin.c: Likewise.
1886 * config/tc-cr16.c: Likewise.
1887 * config/tc-cris.c: Likewise.
1888 * config/tc-crx.c (preprocess_reglist): Likewise.
1889 * config/tc-d10v.c: Likewise.
1890 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1891 (frv_tomcat_shuffle): Likewise.
1892 * config/tc-h8300.c: Likewise.
1893 * config/tc-i370.c (i370_macro): Likewise.
1894 * config/tc-i386.c (lex_got): Likewise.
1895 (md_parse_option): Likewise.
1896 * config/tc-ia64.c (alloc_record): Likewise.
1897 (set_imask): Likewise.
1898 (save_prologue_count): Likewise.
1899 (dot_proc): Likewise.
1900 (dot_endp): Likewise.
1901 (ia64_frob_label): Likewise.
1902 (add_qp_imply): Likewise.
1903 (add_qp_mutex): Likewise.
1904 (mark_resource): Likewise.
1905 (dot_alias): Likewise.
1906 * config/tc-m68hc11.c: Likewise.
1907 * config/tc-m68k.c (m68k_frob_label): Likewise.
1909 (mri_control_label): Likewise.
1910 (push_mri_control): Likewise.
1911 (build_mri_control_operand): Likewise.
1912 (s_mri_else): Likewise.
1913 (s_mri_break): Likewise.
1914 (s_mri_next): Likewise.
1915 (s_mri_for): Likewise.
1916 (s_mri_endw): Likewise.
1917 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1918 * config/tc-microblaze.c: Likewise.
1919 * config/tc-mmix.c (s_loc): Likewise.
1920 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1921 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1922 * config/tc-rl78.c: Likewise.
1923 * config/tc-rx.c (rx_include): Likewise.
1924 * config/tc-sh.c: Likewise.
1925 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1926 * config/tc-sparc.c: Likewise.
1927 * config/tc-spu.c: Likewise.
1928 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1929 (tic6x_start_unwind_section): Likewise.
1930 * config/tc-tilegx.c: Likewise.
1931 * config/tc-tilepro.c: Likewise.
1932 * config/tc-v850.c: Likewise.
1933 * config/tc-visium.c: Likewise.
1934 * config/tc-xgate.c: Likewise.
1935 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1936 (new_resource_table): Likewise.
1937 (resize_resource_table): Likewise.
1938 (xtensa_create_trampoline_frag): Likewise.
1939 (xtensa_maybe_create_literal_pool_frag): Likewise.
1940 (cache_literal_section): Likewise.
1941 * config/xtensa-relax.c (append_transition): Likewise.
1942 (append_condition): Likewise.
1943 (append_value_condition): Likewise.
1944 (append_constant_value_condition): Likewise.
1945 (append_literal_op): Likewise.
1946 (append_label_op): Likewise.
1947 (append_constant_op): Likewise.
1948 (append_field_op): Likewise.
1949 (append_user_fn_field_op): Likewise.
1950 (enter_opname_n): Likewise.
1951 (enter_opname): Likewise.
1952 (split_string): Likewise.
1953 (parse_insn_templ): Likewise.
1954 (clone_req_or_option_list): Likewise.
1955 (clone_req_option_list): Likewise.
1956 (parse_option_cond): Likewise.
1957 (parse_insn_pattern): Likewise.
1958 (parse_insn_repl): Likewise.
1959 (build_transition): Likewise.
1960 (build_transition_table): Likewise.
1961 * dw2gencfi.c (alloc_fde_entry): Likewise.
1962 (alloc_cfi_insn_data): Likewise.
1963 (cfi_add_CFA_remember_state): Likewise.
1964 (dot_cfi_escape): Likewise.
1965 (dot_cfi_fde_data): Likewise.
1966 (select_cie_for_fde): Likewise.
1967 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1968 * ecoff.c (ecoff_add_bytes): Likewise.
1969 (ecoff_build_debug): Likewise.
1970 * input-scrub.c (input_scrub_push): Likewise.
1971 (input_scrub_begin): Likewise.
1972 (input_scrub_next_buffer): Likewise.
1973 * itbl-ops.c (append_insns_as_macros): Likewise.
1974 (alloc_entry): Likewise.
1975 (alloc_field): Likewise.
1976 * listing.c (listing_newline): Likewise.
1977 (listing_listing): Likewise.
1978 * macro.c (get_any_string): Likewise.
1979 (delete_macro): Likewise.
1980 * stabs.c (generate_asm_file): Likewise.
1981 (stabs_generate_asm_lineno): Likewise.
1982 * subsegs.c (subseg_change): Likewise.
1983 (subseg_get): Likewise.
1984 * symbols.c (define_dollar_label): Likewise.
1985 (symbol_relc_make_sym): Likewise.
1986 * write.c (write_relocs): Likewise.
1988 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1990 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1991 (weak_name2altname): Likewise.
1992 (weak_uniquify): Likewise.
1993 (obj_coff_section): Likewise.
1994 (obj_coff_init_stab_section): Likewise.
1995 * config/obj-elf.c (obj_elf_section_name): Likewise.
1996 (obj_elf_init_stab_section): Likewise.
1997 * config/obj-evax.c (evax_shorten_name): Likewise.
1998 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1999 * config/tc-aarch64.c (create_register_alias): Likewise.
2000 * config/tc-alpha.c (load_expression): Likewise.
2001 (s_alpha_file): Likewise.
2002 (s_alpha_section_name): Likewise.
2003 (tc_gen_reloc): Likewise.
2004 * config/tc-arc.c (md_assemble): Likewise.
2005 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2006 (start_unwind_section): Likewise.
2007 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2008 (hppa_elf_mark_end_of_function): Likewise.
2009 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2010 (nios2_negate_arg): Likewise.
2011 * config/tc-rx.c (rx_section): Likewise.
2012 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2013 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2014 * config/tc-tic54x.c (tic54x_include): Likewise.
2015 (tic54x_macro_info): Likewise.
2016 (subsym_get_arg): Likewise.
2017 (subsym_substitute): Likewise.
2018 (tic54x_start_line_hook): Likewise.
2019 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2020 (xg_reverse_shift_count): Likewise.
2021 * config/xtensa-relax.c (enter_opname_n): Likewise.
2022 (split_string): Likewise.
2023 * dwarf2dbg.c (get_filenum): Likewise.
2024 (process_entries): Likewise.
2025 * expr.c (operand): Likewise.
2026 * itbl-ops.c (alloc_entry): Likewise.
2027 * listing.c (listing_message): Likewise.
2028 (listing_title): Likewise.
2029 * macro.c (check_macro): Likewise.
2030 * stabs.c (s_xstab): Likewise.
2031 * symbols.c (symbol_relc_make_expr): Likewise.
2032 * write.c (compress_debug): Likewise.
2034 2016-05-12 Nick Clifton <nickc@redhat.com>
2037 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2039 2016-05-11 Nick Clifton <nickc@redhat.com>
2042 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2043 big endian ARM configurations.
2045 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2046 Matthew Fortune <matthew.fortune@imgtec.com>
2048 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2050 (md_longopts): Likewise.
2051 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2052 (mips_ases): Define availability for DSPr3.
2053 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2054 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2055 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2057 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2058 .set nodspr3. Fix -mdspr2 formatting.
2059 * testsuite/gas/mips/mips32-dspr3.d: New file.
2060 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2061 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2063 2016-05-11 Nick Clifton <nickc@redhat.com>
2066 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2067 to the pool uses O_constant.
2068 * testsuite/gas/arm/pr20068.s: New test.
2069 * testsuite/gas/arm/pr20068.d: Test driver.
2071 2016-05-11 Nick Clifton <nickc@redhat.com>
2073 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2074 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2075 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2076 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2077 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2078 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2079 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2080 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2081 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2083 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2085 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2086 * testsuite/gas/i386/prefix.d: Adjust.
2087 * testsuite/gas/i386/rdpid.s: New test.
2088 * testsuite/gas/i386/rdpid.d: Ditto.
2089 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2090 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2091 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2092 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2094 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2096 * config/tc-i386.c (cpu_arch): Add RDPID.
2097 * doc/c-i386.texi: Document RDPID.
2099 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2101 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2102 set branch type of a symbol.
2104 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2106 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2107 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2109 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2110 (aeabi_set_public_attributes): Memorize the feature bits of the
2111 architecture selected for Tag_CPU_arch. Use it to set
2112 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2113 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2114 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2115 * testsuite/gas/arm/arch7em-bad-1.d: This.
2116 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2117 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2118 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2119 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2120 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2121 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2122 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2123 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2125 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2127 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2128 allowed_archs an array with 2 entries.
2129 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2130 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2131 (arm_extensions): Use separate entries in allowed_archs when several
2132 archs are allowed to use an extension and change ARCH_ANY in
2133 ARM_ARCH_NONE in allowed_archs.
2134 (arm_parse_extension): Check that, for each allowed_archs entry, all
2135 bits are set in the current architecture, ignoring ARM_ANY entries.
2136 (s_arm_arch_extension): Likewise.
2138 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2140 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2141 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2142 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2143 shared with a non M profile architecture.
2144 (do_rn): New function.
2145 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2147 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2148 (insns): Add ARMv8-M Security Extensions instructions.
2149 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2150 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2151 * testsuite/gas/arm/archv8m-cmse.s: New file.
2152 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2153 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2154 * testsuite/gas/arm/any-cmse.d: Likewise.
2155 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2156 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2157 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2158 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2159 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2160 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2162 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2164 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2165 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2167 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2169 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2170 (fpu_arch_vfp_v3): Likewise.
2171 (fpu_arch_neon_v1): Likewise.
2172 (arm_arch_full): Likewise.
2173 (parse_neon_el_struct_list): Initialize fields of firsttype.
2175 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2177 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2178 (arc_extinsn): Handle new introduced syntax.
2179 * testsuite/gas/arc/textinsn1op.d: New file.
2180 * testsuite/gas/arc/textinsn1op.s: Likewise.
2181 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2183 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2185 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2186 DW_LNS_fixed_advance_pc.
2188 2016-04-27 Alan Modra <amodra@gmail.com>
2190 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2191 (xmemdup0): New inline function.
2193 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2195 * config/tc-mips.c (code_option_type): New enum.
2196 (parse_code_option): Return status indicating option type.
2197 (s_mipsset): Update `parse_code_option' call site accordingly.
2198 Always set register sizes from the ISA with ISA overrides.
2199 (s_module): Update `parse_code_option' call site.
2200 * testsuite/gas/mips/isa-override-1.d: New test.
2201 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2202 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2203 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2204 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2205 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2206 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2207 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2208 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2209 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2210 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2211 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2212 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2213 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2214 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2215 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2216 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2217 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2218 * testsuite/gas/mips/isa-override-2.l: New list test.
2219 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2220 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2221 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2222 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2223 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2224 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2225 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2226 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2227 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2228 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2229 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2231 * testsuite/gas/mips/isa-override-1.s: New test source.
2232 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2233 * testsuite/gas/mips/isa-override-2.s: New test source.
2234 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2235 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2236 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2237 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2238 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2239 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2240 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2241 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2242 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2243 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2244 * testsuite/gas/mips/mips.exp: Run the new tests.
2246 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2249 * config/tc-bfin.c: Likewise.
2250 * config/tc-ia64.c: Likewise.
2251 * config/tc-mep.c: Likewise.
2252 * config/tc-metag.c: Likewise.
2253 * config/tc-nios2.c: Likewise.
2254 * config/tc-rl78.c: Likewise.
2256 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2258 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2259 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2260 (ARC Directives): Add NPS400 to .cpu directive list.
2262 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2264 * config/tc-aarch64.c (aarch64_features): Add "ras".
2265 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2266 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2267 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2268 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2269 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2271 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2273 * testsuite/gas/arc/nps400-6.d: New file.
2274 * testsuite/gas/arc/nps400-6.s: New file.
2276 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2278 * testsuite/gas/arc/nps400-4.d: New file.
2279 * testsuite/gas/arc/nps400-4.s: New file.
2280 * testsuite/gas/arc/nps400-5.d: New file.
2281 * testsuite/gas/arc/nps400-5.s: New file.
2283 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2285 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2288 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2290 Revert prevous change.
2291 * config/tc-arc.c (arc_option): Make .cpu directive
2292 case-sensitive again.
2294 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2296 * config/tc-arc.c (arc_option): Make .cpu directive
2299 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2301 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2303 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2305 * config/tc-mips.c (md_begin): Remove useless assignment.
2307 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2309 * Makefile.in: Regenerated with automake 1.11.6.
2310 * aclocal.m4: Likewise.
2311 * doc/Makefile.in: Likewise.
2313 2016-04-15 Alan Modra <amodra@gmail.com>
2315 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2317 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2319 * config/tc-nios2.c (nios2_as_options): Make file static.
2320 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2321 * config/tc-sparc.c (native_op_table): Likewise.
2323 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2325 * config/tc-m32c.c (M32C_Macros): Remove.
2326 * config/tc-msp430.c (option_numbers): Likewise.
2328 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2330 * testsuite/gas/arc/nps400-3.d: New file.
2331 * testsuite/gas/arc/nps400-3.s: New file.
2333 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2335 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2336 * testsuite/gas/arc/warn.s: Likewise.
2337 * testsuite/gas/elf/elf.exp: Run test for arc.
2339 2016-04-14 Nick Clifton <nickc@redhat.com>
2342 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2343 sections possibly having the SHF_STRINGS flag bit set.
2344 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2346 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2348 * config/tc-arc.c (mach_type_specified_p): Change type to
2350 (arc_option): Set private flags when parsing cpu pseudo-op.
2351 (md_parse_option): Set mach_type_specified_p to TRUE.
2353 2016-04-13 Nick Clifton <nickc@redhat.com>
2356 * testsuite/gas/v850/pr19937.s: New test.
2357 * testsuite/gas/v850/pr19937.d: New test control file.
2358 * testsuite/gas/v850/basic.exp: Run the new test.
2360 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2361 Andrew Bennett <andrew.bennett@imgtec.com>
2363 * config/tc-mips.c (relaxed_branch_length): Use the long
2364 sequence where the target is a weak symbol.
2365 (relaxed_micromips_32bit_branch_length): Likewise.
2366 (relaxed_micromips_16bit_branch_length): Likewise.
2367 * testsuite/gas/mips/branch-weak-1.d: New test.
2368 * testsuite/gas/mips/branch-weak-2.d: New test.
2369 * testsuite/gas/mips/branch-weak-3.d: New test.
2370 * testsuite/gas/mips/branch-weak-4.d: New test.
2371 * testsuite/gas/mips/branch-weak-5.d: New test.
2372 * testsuite/gas/mips/branch-weak.l: New stderr output.
2373 * testsuite/gas/mips/branch-weak.s: New test source.
2374 * testsuite/gas/mips/mips.exp: Run the new tests.
2376 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2378 * config/tc-mips.c (relaxed_branch_length): Use the long
2379 sequence where the distance cannot be determined.
2380 (relaxed_micromips_32bit_branch_length): Likewise.
2381 * testsuite/gas/mips/branch-extern-1.d: New test.
2382 * testsuite/gas/mips/branch-extern-2.d: New test.
2383 * testsuite/gas/mips/branch-extern-3.d: New test.
2384 * testsuite/gas/mips/branch-extern-4.d: New test.
2385 * testsuite/gas/mips/branch-extern.l: New stderr output.
2386 * testsuite/gas/mips/branch-extern.s: New test source.
2387 * testsuite/gas/mips/branch-section-1.d: New test.
2388 * testsuite/gas/mips/branch-section-2.d: New test.
2389 * testsuite/gas/mips/branch-section-3.d: New test.
2390 * testsuite/gas/mips/branch-section-4.d: New test.
2391 * testsuite/gas/mips/branch-section.l: New stderr output.
2392 * testsuite/gas/mips/branch-section.s: New test source.
2393 * testsuite/gas/mips/mips.exp: Run the new tests.
2395 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2397 * testsuite/gas/arc/textauxregister.d: New file.
2398 * testsuite/gas/arc/textauxregister.s: Likewise.
2399 * testsuite/gas/arc/textcondcode.d: Likewise.
2400 * testsuite/gas/arc/textcondcode.s: Likewise.
2401 * testsuite/gas/arc/textcoreregister.d: Likewise.
2402 * testsuite/gas/arc/textcoreregister.s: Likewise.
2403 * testsuite/gas/arc/textpseudoop.d: Likewise.
2404 * testsuite/gas/arc/textpseudoop.s: Likewise.
2405 * testsuite/gas/arc/ld2.d: Update test.
2406 * testsuite/gas/arc/st.d: Likewise.
2407 * testsuite/gas/arc/taux.d: Likewise.
2408 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2409 .extCoreRegister and .extAuxRegister documentation.
2410 * config/tc-arc.c (arc_extcorereg): New function.
2411 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2412 .extAuxRegister pseudo-ops.
2413 (extRegister_t): New type.
2414 (ext_condcode, arc_aux_hash): New global variable.
2415 (find_opcode_match): Check for extensions.
2416 (preprocess_operands): Likewise.
2417 (md_begin): Add aux registers in a hash.
2418 (assemble_insn): Update use arc_flags member.
2419 (tokenize_extregister): New function.
2420 (create_extcore_section): Likewise.
2421 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2423 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2425 * testsuite/gas/arc/noargs_a7.d: New file.
2426 * testsuite/gas/arc/noargs_a7.s: Likewise.
2427 * testsuite/gas/arc/noargs_hs.d: Likewise.
2428 * testsuite/gas/arc/noargs_hs.s: Likewise.
2430 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2432 * testsuite/gas/arc/textinsn-errors.d: New File.
2433 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2434 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2435 * testsuite/gas/arc/textinsn2op.d: Likewise.
2436 * testsuite/gas/arc/textinsn2op.s: Likewise.
2437 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2438 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2439 * testsuite/gas/arc/textinsn3op.d: Likewise.
2440 * testsuite/gas/arc/textinsn3op.s: Likewise.
2441 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2443 * config/tc-arc.c (arcext_section): New variable.
2444 (arc_extinsn): New function.
2445 (md_pseudo_table): Add .extInstruction pseudo op.
2446 (attributes_t): New type.
2447 (suffixclass, syntaxclass, syntaxclassmod): New constant
2449 (find_opcode_match): Remove arc_num_opcodes.
2450 (md_begin): Likewise.
2451 (tokenize_extinsn): New function.
2452 (arc_set_ext_seg): Likewise.
2453 (create_extinst_section): Likewise.
2455 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2457 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2458 (arc_adjust_symtab): New function.
2459 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2460 (obj_adjust_symtab): Likewise.
2461 * testsuite/gas/arc/taux.d: New file.
2462 * testsuite/gas/arc/taux.s: Likewise.
2464 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2466 * config/tc-mips.c (s_option): Sanitize `.option picX'
2468 * testsuite/gas/mips/option-pic-1.d: New test.
2469 * testsuite/gas/mips/option-pic-2.l: New list test.
2470 * testsuite/gas/mips/option-pic-1.s: New test source.
2471 * testsuite/gas/mips/option-pic-2.s: New test source.
2472 * testsuite/gas/mips/mips.exp: Run the new tests.
2474 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2476 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2478 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2479 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2480 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2481 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2482 * testsuite/gas/mips/mips.exp: Run the new tests.
2484 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2486 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2488 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2490 * messages.c (as_bad): Fix a typo in description.
2492 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2494 * config/tc-mips.c (mips_check_options): Unify messages.
2496 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2498 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2501 2016-04-08 Nick Clifton <nickc@redhat.com>
2504 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2505 COFF and AOUT sparc targets.
2507 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2509 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2510 * testsuite/gas/arc/nps400-2.d: New file.
2511 * testsuite/gas/arc/nps400-2.s: New file.
2513 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2515 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2517 (arc_opcode_hash_entry_iterator_init): New function.
2518 (arc_opcode_hash_entry_iterator_next): New function.
2519 (find_opcode_match): Iterate over all arc_opcode entries
2520 referenced by the arc_opcode_hash_entry passed in as a parameter.
2522 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2524 * config/tc-arc.c (arc_find_opcode): Now returns
2525 arc_opcode_hash_entry pointer.
2526 (find_opcode_match): Update argument type, extract arc_opcode from
2527 incoming arc_opcode_hash_entry.
2528 (find_special_case_pseudo): Update return type.
2529 (find_special_case_flag): Update return type.
2530 (find_special_case): Update return type.
2531 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2532 instruction mnemonic, then use find_opcode_match to identify
2533 specific arc_opcode.
2535 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2537 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2538 (arc_find_opcode): New function.
2539 (find_special_case_pseudo): Use arc_find_opcode.
2540 (find_special_case_flag): Likewise.
2541 (assemble_tokens): Likewise.
2542 (md_begin): Build hash using struct arc_opcode_hash_entry.
2544 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2546 * config/tc-arc.c (arc_option): Prepare string for automatic
2548 (declare_register): Likewise.
2550 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2552 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2553 Correct entry for RDMA. Alpha sort entries.
2555 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2557 * config/tc-arc.c (tokenize_flags): Allow greater range of
2558 characters into flag names.
2560 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2562 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2564 (preprocess_operands): Delete.
2565 (assemble_tokens): Remove call to preprocess_operands.
2567 2016-04-07 Nick Clifton <nickc@redhat.com>
2570 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2571 inside a %-macro could not be fully parsed.
2572 * expr.c (integer_constant): Accept and ignore U suffixes to
2574 (operand): When a missing closing parenthesis is encountered,
2575 report the character that was found instead.
2576 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2577 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2578 * testsuite/gas/sparc/pr19910-1.s: New test.
2579 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2580 * testsuite/gas/sparc/pr19910-2.s: New test.
2581 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2583 2016-04-06 Nick Clifton <nickc@redhat.com>
2585 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2586 an EINT instruction. Warn/fix as necessary.
2587 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2588 * testsuite/gas/msp430/bad.l: Update expected messages.
2590 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2592 * testsuite/gas/arc/nps400-1.d: Update expected results.
2593 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2595 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2597 * config/tc-arc.c (is_code_density_p): Compare directly the
2599 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2600 (check_cpu_feature): New function.
2601 (find_opcode_match): Use check_cpu_feature function.
2602 (preprocess_operands): Likewise.
2603 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2604 * testsuite/gas/arc/tdpfp.d: New file.
2605 * testsuite/gas/arc/tfpuda.d: Likewise.
2606 * testsuite/gas/arc/tfpx.s: Likewise.
2608 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2610 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2611 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2612 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2613 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2614 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2615 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2616 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2617 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2619 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2621 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2623 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2624 JUMP instructions type.
2625 * testsuite/gas/arc/relocs-errors.d: New file.
2626 * testsuite/gas/arc/relocs-errors.err: Likewise.
2627 * testsuite/gas/arc/relocs-errors.s: Likewise.
2629 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2632 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2633 only if i.disp_encoding != disp_encoding_32bit.
2634 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2635 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2636 * gas/testsuite/gas/i386/disp32.d: Updated.
2637 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2639 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2642 * testsuite/gas/i386/i386.exp: Run pr19498.
2643 * testsuite/gas/i386/pr19498.d: New file.
2644 * testsuite/gas/i386/pr19498.s: Likewise.
2646 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2648 * config/tc-arc.h: Include 'opcode/arc.h'.
2649 (MAX_INSN_ARGS): Delete.
2650 (MAX_INSN_FLGS): Delete.
2652 2016-04-04 Alan Modra <amodra@gmail.com>
2655 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2656 from function on all paths that set sy_resolving.
2658 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2660 * app.c (app_push): use XNEW macro.
2662 * config/obj-elf.c (obj_elf_change_section): Likewise.
2663 (elf_copy_symbol_attributes): Likewise.
2664 (obj_elf_size): Likewise.
2665 (build_group_lists): Likewise.
2666 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2667 (md_assemble): Likewise.
2668 (tc_gen_reloc): Likewise.
2669 (get_upper_str): Likewise.
2670 (aarch64_parse_features): Likewise.
2671 * config/tc-arm.c (insert_reg_alias): Likewise.
2672 (insert_neon_reg_alias): Likewise.
2673 (find_or_make_literal_pool): Likewise.
2674 (s_arm_elf_cons): Likewise.
2675 (add_unwind_opcode): Likewise.
2676 (arm_parse_extension): Likewise.
2677 * config/tc-avr.c (create_record_for_frag): Likewise.
2678 * config/tc-crx.c: Likewise.
2679 * config/tc-d30v.c: Likewise.
2680 * config/tc-dlx.c (s_proc): Likewise.
2681 * config/tc-ft32.c: Likewise.
2682 * config/tc-h8300.c: Likewise.
2683 * config/tc-hppa.c (pa_proc): Likewise.
2684 (create_new_space): Likewise.
2685 (create_new_subspace): Likewise.
2686 * config/tc-i860.c: Likewise.
2687 * config/tc-i960.c: Likewise.
2688 * config/tc-ia64.c: Likewise.
2689 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2690 (iq2000_record_hi16): Likewise.
2691 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2692 * config/tc-m32r.c (debug_sym): Likewise.
2693 (m32r_record_hi16): Likewise.
2694 * config/tc-m68k.c (m68k_ip): Likewise.
2695 (md_begin): Likewise.
2696 * config/tc-mcore.c: Likewise.
2697 * config/tc-microblaze.c (check_got): Likewise.
2698 * config/tc-mips.c (append_insn): Likewise.
2699 (s_mipsset): Likewise.
2700 (mips_record_label): Likewise.
2701 (s_mips_end): Likewise.
2702 * config/tc-mmix.c (mmix_frob_file): Likewise.
2703 * config/tc-mn10200.c: Likewise.
2704 * config/tc-mn10300.c: Likewise.
2705 * config/tc-moxie.c: Likewise.
2706 * config/tc-msp430.c: Likewise.
2707 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2708 * config/tc-ns32k.c: Likewise.
2709 * config/tc-or1k.c: Likewise.
2710 * config/tc-pdp11.c: Likewise.
2711 * config/tc-pj.c (fake_opcode): Likewise.
2712 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2713 (ppc_macro): Likewise.
2714 (ppc_dwsect): Likewise.
2715 (ppc_machine): Likewise.
2716 * config/tc-rl78.c (rl78_frag_init): Likewise.
2717 * config/tc-rx.c (rx_frag_init): Likewise.
2718 * config/tc-s390.c (s390_lit_suffix): Likewise.
2719 (s390_machine): Likewise.
2720 (s390_machinemode): Likewise.
2721 * config/tc-score.c (s3_insert_reg): Likewise.
2722 (s3_gen_reloc): Likewise.
2723 * config/tc-score7.c (s7_insert_reg): Likewise.
2724 (s7_gen_reloc): Likewise.
2725 * config/tc-tic30.c (tic30_operand): Likewise.
2726 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2727 * config/tc-tic54x.c (stag_add_field): Likewise.
2728 (tic54x_struct): Likewise.
2729 (tic54x_space): Likewise.
2730 (tic54x_field): Likewise.
2731 (tic54x_mlib): Likewise.
2732 (subsym_substitute): Likewise.
2733 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2734 * config/tc-vax.c: Likewise.
2735 * config/tc-xc16x.c: Likewise.
2736 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2737 (directive_push): Likewise.
2738 (xtensa_begin_directive): Likewise.
2739 (tokenize_arguments): Likewise.
2740 (xtensa_add_literal_sym): Likewise.
2741 (new_resource_table): Likewise.
2742 (resize_resource_table): Likewise.
2743 (emit_single_op): Likewise.
2744 (xtensa_create_trampoline_frag): Likewise.
2745 (xtensa_maybe_create_literal_pool_frag): Likewise.
2746 (xtensa_add_config_info): Likewise.
2747 (xtensa_realloc_fixup_cache): Likewise.
2748 (add_subseg_info): Likewise.
2749 (cache_literal_section): Likewise.
2750 (add_xt_block_frags): Likewise.
2751 (add_xt_prop_frags): Likewise.
2752 (init_op_placement_info_table): Likewise.
2753 (build_section_rename): Likewise.
2754 * config/tc-z80.c: Likewise.
2755 * config/tc-z8k.c: Likewise.
2756 * depend.c (register_dependency): Likewise.
2757 * dwarf2dbg.c (get_line_subseg): Likewise.
2758 (dwarf2_gen_line_info_1): Likewise.
2759 (get_filenum): Likewise.
2760 * ecoff.c (allocate_scope): Likewise.
2761 (allocate_vlinks): Likewise.
2762 (allocate_shash): Likewise.
2763 (allocate_thash): Likewise.
2764 (allocate_tag): Likewise.
2765 (allocate_forward): Likewise.
2766 (allocate_thead): Likewise.
2767 (allocate_lineno_list): Likewise.
2768 * expr.c (make_expr_symbol): Likewise.
2769 * hash.c (hash_new_sized): Likewise.
2770 * input-file.c (input_file_push): Likewise.
2771 * listing.c (file_info): Likewise.
2772 (listing_newline): Likewise.
2773 * macro.c (new_formal): Likewise.
2774 (define_macro): Likewise.
2775 * remap.c (add_debug_prefix_map): Likewise.
2776 * symbols.c (symbol_find_noref): Likewise.
2777 (define_dollar_label): Likewise.
2778 (fb_label_instance_inc): Likewise.
2779 (symbol_relc_make_value): Likewise.
2781 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2783 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2784 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2785 (ppc_znop): Likewise.
2786 (ppc_pe_section): Likewise.
2787 (ppc_frob_symbol): Likewise.
2788 * config/tc-tic30.c (tic30_operand): Likewise.
2789 * config/tc-tic4x.c (tic4x_sect): Likewise.
2790 (tic4x_usect): Likewise.
2792 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2794 * config/tc-alpha.c: Const qualify FLT_CHARS.
2795 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2796 * config/tc-cris.h: Likewise.
2798 * config/tc-mmix.c (md_atof): Adjust comment.
2799 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2800 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2802 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2804 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2805 * config/tc-score7.c (s7_gen_reloc): Likewise.
2807 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2809 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2810 bfd_reloc_code_real_type.
2812 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2814 * config/bfin-parse.y (current_inputline): Remove definition.
2815 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2817 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2819 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2822 2016-04-02 Alan Modra <amodra@gmail.com>
2825 * read.c (assign_symbol): Consume rest of line after an error
2826 rather than continuing to process the line.
2828 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2830 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2831 (MAX_FLAG_NAME_LENGTH): ...this.
2832 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2833 * config/tc-arc.c (tokenize_flags): Likewise.
2835 2016-04-01 Alan Modra <amodra@gmail.com>
2837 * cgen.c (weak_operand_overflow_check): Return const char*.
2838 * messages.c (as_internal_value_out_of_range): Formatting.
2839 (as_warn_value_out_of_range): Consify prefix param.
2840 (as_bad_value_out_of_range): Likewise.
2841 * read.c (s_errwarn): Constify msg..
2842 (s_float_space, float_cons): ..and err.
2843 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2844 ieee_md_atof, vax_md_atof): Update prototypes.
2845 * tc.h (md_atof): Update prototype.
2846 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2847 * config/atof-vax.c (vax_md_atof): Likewise.
2848 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2849 * config/tc-aarch64.c (md_atof): Return const char*.
2850 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2851 (s_alpha_comm): Constify sec_name.
2852 (section_name): Constify.
2853 (s_alpha_section): Consify name..
2854 (alpha_elf_section_letter): ..and ptr_msg param..
2855 (md_atof): ..and return.
2856 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2857 * config/tc-arc.c (md_atof): Return const char*.
2858 * config/tc-arm.c (md_atof): Likewise.
2859 * config/tc-avr.c (md_atof): Likewise.
2860 * config/tc-bfin.c (md_atof): Likewise.
2861 * config/tc-cr16.c (md_atof): Likewise.
2862 * config/tc-cris.c (md_atof): Likewise.
2863 * config/tc-crx.c (md_atof): Likewise.
2864 * config/tc-d10v.c (md_atof): Likewise.
2865 * config/tc-d30v.c (md_atof): Likewise.
2866 * config/tc-dlx.c (md_atof): Likewise.
2867 * config/tc-epiphany.c (md_atof): Likewise.
2868 * config/tc-fr30.c (md_atof): Likewise.
2869 * config/tc-frv.c (md_atof): Likewise.
2870 * config/tc-ft32.c (md_atof): Likewise.
2871 * config/tc-h8300.c (md_atof): Likewise.
2872 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2873 (struct default_space_dict): Likewise.
2874 (create_new_space): Constify name param.
2875 (create_new_subspace): Likewise.
2876 (is_defined_space, is_defined_subspace): Likewise.
2877 (pa_parse_space_stmt): Constify space_name param.
2878 (md_atof): Return const char*.
2879 (pa_spaces_begin): Constify name.
2880 * config/tc-i370.c (md_atof): Return const char*.
2881 * config/tc-i386.c (md_atof): Likewise.
2882 (x86_64_section_letter): Constify ptr_msg param.
2883 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2884 * config/tc-i860.c (struct i860_it): Constify error.
2885 (md_atof): Return const char*.
2886 * config/tc-i960.c (md_atof): Likewise.
2887 * config/tc-ia64.c (md_atof): Likewise.
2888 (ia64_elf_section_letter): Constify ptr_msg param.
2889 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2890 * config/tc-ip2k.c (md_atof): Return const char*.
2891 * config/tc-iq2000.c (md_atof): Likewise.
2892 * config/tc-lm32.c (md_atof): Likewise.
2893 * config/tc-m32c.c (md_atof): Likewise.
2894 * config/tc-m32r.c (md_atof): Likewise.
2895 * config/tc-m68hc11.c (md_atof): Likewise.
2896 * config/tc-m68k.c (md_atof): Likewise.
2897 * config/tc-mcore.c (md_atof): Likewise.
2898 * config/tc-mep.c (md_atof): Likewise.
2899 (mep_elf_section_letter): Constify ptr_msg param.
2900 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2901 * config/tc-metag.c (md_atof): Return const char*.
2902 * config/tc-microblaze.c (md_atof): Likewise.
2903 * config/tc-microblaze.h (md_atof): Delete prototype.
2904 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2905 (md_atof): Return const char*.
2906 * config/tc-mmix.c (md_atof): Likewise.
2907 * config/tc-mn10200.c (md_atof): Likewise.
2908 * config/tc-mn10300.c (md_atof): Likewise.
2909 * config/tc-moxie.c (md_atof): Likewise.
2910 * config/tc-msp430.c (md_atof): Likewise.
2911 * config/tc-mt.c (md_atof): Likewise.
2912 * config/tc-nds32.c (md_atof): Likewise.
2913 * config/tc-nios2.c (md_atof): Likewise.
2914 (nios2_elf_section_letter): Constify ptr_msg param.
2915 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2916 * config/tc-ns32k.c (md_atof): Return const char*.
2917 * config/tc-or1k.c (md_atof): Likewise.
2918 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2919 (md_atof): Return const char*.
2920 * config/tc-pj.c (md_atof): Likewise.
2921 * config/tc-ppc.c (md_atof): Likewise.
2922 * config/tc-rl78.c (md_atof): Likewise.
2923 * config/tc-rx.c (md_atof): Likewise.
2924 * config/tc-s390.c (md_atof): Likewise.
2925 * config/tc-score.c (s3_atof, md_atof): Likewise.
2926 * config/tc-sh.c (md_atof): Likewise.
2927 * config/tc-sparc.c (struct sparc_it): Constify error.
2928 (md_atof): Return const char*.
2929 * config/tc-spu.c (md_atof): Likewise.
2930 * config/tc-tic30.c (md_atof): Likewise.
2931 * config/tc-tic4x.c (md_atof): Likewise.
2932 * config/tc-tic54x.c (md_atof): Likewise.
2933 * config/tc-tic6x.c (md_atof): Likewise.
2934 * config/tc-tilegx.c (md_atof): Likewise.
2935 * config/tc-tilepro.c (md_atof): Likewise.
2936 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2937 * config/tc-vax.c (md_atof): Likewise.
2938 * config/tc-visium.c (md_atof): Likewise.
2939 * config/tc-xc16x.c (md_atof): Likewise.
2940 * config/tc-xgate.c (md_atof): Likewise.
2941 * config/tc-xstormy16.c (md_atof): Likewise.
2942 * config/tc-xtensa.c (md_atof): Likewise.
2943 * config/tc-z80.c (md_atof): Likewise.
2944 * config/tc-z8k.c (md_atof): Likewise.
2946 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2948 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2950 (xtensa_section_rename): Make argument type const char *.
2951 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2953 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2955 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2958 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2960 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2962 (m32c_indirect_operand): Likewise.
2963 * config/tc-nds32.c (do_pseudo_b): Likewise.
2964 (do_pseudo_bal): Likewise.
2965 (do_pseudo_ls_bhw): Likewise.
2967 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2969 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2971 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2973 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2975 * config/tc-sparc.c (s_register): Cast a literal to char * in
2978 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2980 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2982 * config/tc-m32r.c (expand_debug_syms): Likewise.
2983 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2984 * config/tc-z80.c (md_begin): Likewise.
2985 * stabs.c (stabs_generate_asm_func): Likewise.
2987 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2989 * cgen.c: Modernize the way functions declare arguments.
2990 * config/tc-bfin.c: Likewise.
2991 * config/tc-pdp11.c: Likewise.
2992 * literal.c: Likewise.
2994 * stabs.c: Likewise.
2996 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2998 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2999 variables unsigned char[].
3000 * config/tc-alpha.c (alpha_handle_align): Likewise.
3001 * config/tc-arm.c (arm_handle_align): Likewise.
3002 * config/tc-z80.c: Likewise.
3004 2016-03-30 Nick Clifton <nickc@redhat.com>
3007 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3010 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3012 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3013 * testsuite/gas/elf/elf.exp: Likewise.
3014 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3016 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3018 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3020 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3022 * testsuite/gas/arc/ext2op.d: New file.
3023 * testsuite/gas/arc/ext2op.s: Likewise.
3024 * testsuite/gas/arc/ext3op.d: Likewise.
3025 * testsuite/gas/arc/ext3op.s: Likewise.
3027 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3029 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3031 * config/tc-alpha.c (md_parse_option): Likewise.
3032 * config/tc-arc.c (md_parse_option): Likewise.
3033 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3034 (md_parse_option): Likewise.
3035 * config/tc-avr.c (md_parse_option): Likewise.
3036 * config/tc-bfin.c (md_parse_option): Likewise.
3037 * config/tc-cr16.c (md_parse_option): Likewise.
3038 * config/tc-cris.c (s_cris_arch): Likewise.
3039 (md_parse_option): Likewise.
3040 * config/tc-crx.c (md_parse_option): Likewise.
3041 * config/tc-d10v.c (md_parse_option): Likewise.
3042 * config/tc-d30v.c (md_parse_option): Likewise.
3043 * config/tc-dlx.c (md_parse_option): Likewise.
3044 * config/tc-epiphany.c (md_parse_option): Likewise.
3045 * config/tc-fr30.c (md_parse_option): Likewise.
3046 * config/tc-frv.c (md_parse_option): Likewise.
3047 * config/tc-ft32.c (md_parse_option): Likewise.
3048 * config/tc-h8300.c (md_parse_option): Likewise.
3049 * config/tc-hppa.c (md_parse_option): Likewise.
3050 * config/tc-i370.c (md_parse_option): Likewise.
3051 * config/tc-i386.c (md_parse_option): Likewise.
3052 * config/tc-i860.c (md_parse_option): Likewise.
3053 * config/tc-i960.c (md_parse_option): Likewise.
3054 * config/tc-ia64.c (md_parse_option): Likewise.
3055 * config/tc-ip2k.c (md_parse_option): Likewise.
3056 * config/tc-iq2000.c (md_parse_option): Likewise.
3057 * config/tc-lm32.c (md_parse_option): Likewise.
3058 * config/tc-m32c.c (md_parse_option): Likewise.
3059 * config/tc-m32r.c (md_parse_option): Likewise.
3060 * config/tc-m68hc11.c (md_parse_option): Likewise.
3061 * config/tc-m68k.c (md_parse_option): Likewise.
3062 * config/tc-mcore.c (md_parse_option): Likewise.
3063 * config/tc-mep.c (md_parse_option): Likewise.
3064 * config/tc-metag.c (struct metag_long_option): Likewise.
3065 (md_parse_option): Likewise.
3066 * config/tc-microblaze.c (md_parse_option): Likewise.
3067 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3068 * config/tc-mips.c (md_parse_option): Adjust.
3069 * config/tc-mmix.c (md_parse_option): Likewise.
3070 * config/tc-mn10200.c (md_parse_option): Likewise.
3071 * config/tc-mn10300.c (md_parse_option): Likewise.
3072 * config/tc-moxie.c (md_parse_option): Likewise.
3073 * config/tc-msp430.c (md_parse_option): Likewise.
3074 * config/tc-mt.c (md_parse_option): Likewise.
3075 * config/tc-nds32.c (md_parse_option): Likewise.
3076 * config/tc-nds32.h (nds32_parse_option): Likewise.
3077 * config/tc-nios2.c (md_parse_option): Likewise.
3078 * config/tc-ns32k.c (md_parse_option): Likewise.
3079 * config/tc-or1k.c (md_parse_option): Likewise.
3080 * config/tc-pdp11.c (md_parse_option): Likewise.
3081 * config/tc-pj.c (md_parse_option): Likewise.
3082 * config/tc-ppc.c (md_parse_option): Likewise.
3083 * config/tc-rl78.c (md_parse_option): Likewise.
3084 * config/tc-rx.c (md_parse_option): Likewise.
3085 * config/tc-s390.c (s390_parse_cpu): Likewise.
3086 * config/tc-score.c (md_parse_option): Likewise.
3087 * config/tc-sh.c (md_parse_option): Likewise.
3088 * config/tc-sparc.c (md_parse_option): Likewise.
3089 * config/tc-spu.c (md_parse_option): Likewise.
3090 * config/tc-tic30.c (md_parse_option): Likewise.
3091 * config/tc-tic4x.c (md_parse_option): Likewise.
3092 * config/tc-tic54x.c (md_parse_option): Likewise.
3093 * config/tc-tic6x.c (md_parse_option): Likewise.
3094 * config/tc-tilegx.c (md_parse_option): Likewise.
3095 * config/tc-tilepro.c (md_parse_option): Likewise.
3096 * config/tc-v850.c (md_parse_option): Likewise.
3097 * config/tc-vax.c (md_parse_option): Likewise.
3098 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3099 * config/tc-xc16x.c (md_parse_option): Likewise.
3100 * config/tc-xgate.c (md_parse_option): Likewise.
3101 * config/tc-xstormy16.c (md_parse_option): Likewise.
3102 * config/tc-xtensa.c (md_parse_option): Likewise.
3103 * config/tc-z80.c (md_parse_option): Likewise.
3104 * config/tc-z8k.c (md_parse_option): Likewise.
3105 * tc.h (md_parse_option): Likewise.
3107 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3109 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3110 * config/tc-hppa.c (fix_new_hppa): Likewise.
3111 (pa_vtable_entry): Likewise.
3112 (pa_vtable_inherit): Likewise.
3113 * config/tc-m68k.c (md_begin): Likewise.
3115 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3117 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3118 * config/obj-elf.h (obj_elf_section_name): Adjust.
3119 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3120 (aarch64_parse_cpu): Likewise.
3121 (aarch64_parse_arch): Likewise.
3122 * config/tc-arm.c (arm_parse_extension): Likewise.
3123 (arm_parse_cpu): Likewise.
3124 (arm_parse_arch): Likewise.
3125 * config/tc-nds32.c: Likewise.
3126 * config/xtensa-relax.c (parse_special_fn): Likewise.
3127 * stabs.c (generate_asm_file): Likewise.
3129 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3131 * config/tc-cr16.c (cr16_assemble): New function.
3132 (md_assemble): Call cr16_assemble.
3134 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3136 * as.c (parse_args): Adjust.
3137 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3138 * config/obj-elf.c (elf_frob_symbol): Adjust.
3140 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3142 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3143 registers to be in the 16..31 range.
3145 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3147 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3150 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3152 * config/tc-visium.c (md_atof): Localize the string returned on
3155 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3157 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3158 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3159 * config/tc-m68hc11.c (md_begin): Likewise.
3160 (print_opcode_list): Likewise.
3161 * config/tc-msp430.c (msp430_section): Likewise.
3162 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3163 (s3_build_dependency_insn_hsh): Likewise.
3164 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3165 (s7_build_dependency_insn_hsh): Likewise.
3166 * config/tc-tic4x.c: Likewise.
3167 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3168 (subsym_get_arg): Likewise.
3169 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3170 (get_directive): Likewise.
3171 (cache_literal_section): Likewise.
3172 * config/xtensa-relax.c: Likewise.
3173 * symbols.c (symbol_create): Likewise.
3174 (local_symbol_make): Likewise.
3175 (symbol_relc_make_expr): Likewise.
3177 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3179 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3182 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3184 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3187 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3189 * config/tc-ia64.c (ia64_do_align): Remove.
3190 (ia64_cons_align): Call do_align () directly.
3191 (dot_proc): Likewise.
3192 (stmt_float_cons): Likewise.
3194 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3196 * listing.c (listing_message): Use XNEW style allocation macros.
3197 * read.c (read_a_source_file): Likewise.
3198 (read_symbol_name): Likewise.
3199 (s_mri_common): Likewise.
3200 (assign_symbol): Likewise.
3201 (s_reloc): Likewise.
3202 (emit_expr_with_reloc): Likewise.
3203 (s_incbin): Likewise.
3204 (s_include): Likewise.
3205 * sb.c (sb_build): Likewise.
3206 (sb_check): Likewise.
3208 2016-03-22 Alan Modra <amodra@gmail.com>
3210 * write.c (record_alignment): Revert 2016-02-18 change.
3212 2016-03-22 Alan Modra <amodra@gmail.com>
3214 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3215 (emit_jsrjmp, tc_gen_reloc): Likewise.
3216 * config/tc-i370.c (i370_macro): Likewise.
3218 2016-03-22 Nick Clifton <nickc@redhat.com>
3220 * configure: Regenerate.
3222 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3224 * testsuite/gas/arc/nps400-0.d: New file.
3225 * testsuite/gas/arc/nps400-0.s: New file.
3226 * testsuite/gas/arc/nps400-1.d: New file.
3227 * testsuite/gas/arc/nps400-1.s: New file.
3229 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3231 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3232 declarations to start of block. Reset code on all flags before
3233 attempting to match them. Handle multiple hits on the same flag.
3235 * testsuite/gas/arc/asm-errors.d: New file.
3236 * testsuite/gas/arc/asm-errors.err: New file.
3237 * testsuite/gas/arc/asm-errors.s: New file.
3239 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3241 * config/tc-arc.c (cpu_types): Add nps400 entry.
3242 (check_zol): Handle nps400.
3244 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3246 * config/tc-arc.c (arc_select_cpu): Remove use of
3249 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3251 * config/tc-arc.c (arc_target): Delay initialisation until
3253 (arc_target_name): Likewise.
3254 (arc_features): Likewise.
3255 (arc_mach_type): Likewise.
3256 (cpu_types): Remove "all" entry.
3257 (arc_select_cpu): New function, most of the content is from...
3258 (md_parse_option): ... here. Call new arc_select_cpu.
3259 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3261 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3263 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3264 * testsuite/gas/arc/inline-data-2.d: New file.
3266 2016-03-21 Nick Clifton <nickc@redhat.com>
3268 * atof-generic.c: Replace use of alloca with call to xmalloc.
3270 * dwarf2dbg.c: Likewise.
3271 * macro.c: Likewise.
3272 * remap.c: Likewise.
3273 * stabs.c: Likewise.
3274 * symbols.c: Likewise.
3275 * config/obj-elf.c: Likewise.
3276 * config/tc-aarch64.c: Likewise.
3277 * config/tc-arc.c: Likewise.
3278 * config/tc-arm.c: Likewise.
3279 * config/tc-avr.c: Likewise.
3280 * config/tc-ia64.c: Likewise.
3281 * config/tc-mips.c: Likewise.
3282 * config/tc-msp430.c: Likewise.
3283 * config/tc-nds32.c: Likewise.
3284 * config/tc-ppc.c: Likewise.
3285 * config/tc-sh.c: Likewise.
3286 * config/tc-tic30.c: Likewise.
3287 * config/tc-tic54x.c: Likewise.
3288 * config/tc-xstormy16.c: Likewise.
3289 * config/te-vms.c: Likewise.
3290 * configure: Regenerate.
3292 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3294 * tc-i386.c (f32_1): Change type to unsigned char[].
3314 (jump_31): Likewise.
3315 (f32_patt): Likewise.
3316 (f16_patt): Likewise.
3325 (alt_patt): Likewise.
3327 2016-03-18 Nick Clifton <nickc@redhat.com>
3329 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3330 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3331 .tlsdescldr and .xword directives.
3334 * testsuite/gas/aarch64/pr19721.s: New test source file.
3335 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3337 * doc/as.texinfo: Place the target specific command line options
3338 into their own man page section.
3340 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3342 * config/tc-arm.c (N_S_32): New.
3343 (N_F_16_32): Likewise.
3344 (N_SUF_32): Support N_F16.
3345 (N_IF_32): Likewise.
3346 (neon_dyadic_misc): Likewise.
3347 (do_neon_cmp): Likewise.
3348 (do_neon_cmp_inv): Likewise.
3349 (do_neon_mul): Likewise.
3350 (do_neon_fcmp_absolute): Likewise.
3351 (do_neon_step): Likewise.
3352 (do_neon_abs_neg): Likewise.
3353 (CVT_FLAVOR_VAR): Likewise.
3354 (do_neon_cvt_1): Likewise.
3355 (do_neon_recip_est): Likewise.
3356 (do_vmaxnm): Likewise.
3357 (do_vrint_1): Likewise.
3358 (neon_check_type): Check architecture support for FP16 extension.
3359 (insns): Update comments.
3360 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3361 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3362 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3363 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3365 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3367 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3370 2016-03-16 Nick Clifton <nickc@redhat.com>
3372 * read.c (emit_expr_with_reloc): Add code check a bignum with
3374 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3376 * testsuite/gas/elf/bignum.s: New test source file.
3377 * testsuite/gas/elf/bignum.d: New test driver file.
3378 * testsuite/gas/elf/elf.exp: Run the new test.
3380 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3382 * doc/c-i386.texi (Register Naming): Update to details of the
3383 latest architecture version.
3385 2016-03-10 Mickael Guene <mickael.guene@st.com>
3388 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3390 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3391 (do_t_mov_cmp): Likewise.
3392 (do_t_add_sub): Protect against bad relocations usage.
3393 (do_t_mov_cmp): Likewise.
3394 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3395 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3396 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3397 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3399 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3401 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3403 (do_neon_ld_st_lane): Likewise.
3404 (do_neon_ld_dup): Likewise.
3406 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3408 * testsuite/gas/arc/inline-data-1.d: New file.
3409 * testsuite/gas/arc/inline-data-1.s: New file.
3411 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3413 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3414 * doc/c-arm.texi: Add cortex-r8.
3416 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3418 * config/tc-arc.c: Add const qualifiers.
3419 * config/tc-h8300.c (md_begin): Likewise.
3420 * config/tc-ia64.c (print_prmask): Likewise.
3421 * config/tc-msp430.c (msp430_operands): Likewise.
3422 * config/tc-nds32.c (struct suffix_name): Likewise.
3423 (struct nds32_parse_option_table): Likewise.
3424 (struct nds32_set_option_table): Likewise.
3425 (do_pseudo_pushpopm): Likewise.
3426 (do_pseudo_pushpop_stack): Likewise.
3427 (nds32_relax_relocs): Likewise.
3428 (nds32_flag): Likewise.
3429 (struct nds32_hint_map): Likewise.
3430 (nds32_find_reloc_table): Likewise.
3431 (nds32_match_hint_insn): Likewise.
3432 * config/tc-s390.c: Likewise.
3433 * config/tc-sh.c (get_specific): Likewise.
3434 * config/tc-tic30.c: Likewise.
3435 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3436 (tic4x_indirect_parse): Likewise.
3437 * config/tc-vax.c (vax_cons): Likewise.
3438 * config/tc-z80.c (struct reg_entry): Likewise.
3439 * config/tc-epiphany.c (md_assemble): Adjust.
3440 (epiphany_assemble): New function.
3441 (epiphany_elf_section_rtn): Call do_align directly.
3442 (epiphany_elf_section_text): Likewise.
3443 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3444 (ip2k_elf_section_text): Likewise.
3445 * read.c (do_align): Make it not static.
3446 * read.h (do_align): New prototype.
3448 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3450 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3451 for ARMv8.1 AdvSIMD use.
3452 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3453 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3455 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3457 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3459 (record_feature_use): New.
3460 (mark_feature_used): Use record_feature_use.
3461 (do_neon_qrdmlah): New.
3462 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3464 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3465 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3466 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3467 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3468 Make source file explicit.
3469 * testsuite/gas/arm/armv8-a+rdma.l: New.
3470 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3471 directives. Fix white-space.
3472 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3474 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3476 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3478 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3479 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3481 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3482 (tc_arc_fix_adjustable): Changed default return value to 1.
3483 * testsuite/gas/arc/j.d: Updated expected symbol
3484 * testsuite/gas/arc/jl.d: Likewise
3485 * testsuite/gas/arc/relax-avoid1.d: Likewise
3486 * testsuite/gas/arc/st.d: Likewise
3488 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3490 * config/tc-arc.c: Enable code density instructions for ARC EM.
3492 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3495 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3497 * as.c (flag_use_elf_stt_common): New.
3498 (show_usage): Add --elf-stt-common=.
3499 (option_values): Add OPTION_ELF_STT_COMMON.
3500 (std_longopts): Add --elf-stt-common=.
3501 (parse_args): Handle --elf-stt-common=.
3502 * as.h (flag_use_elf_stt_common): New.
3503 * config.in: Regenerated.
3504 * configure: Likewise.
3505 * configure.ac: Add --enable-elf-stt-common and define
3506 DEFAULT_GENERATE_ELF_STT_COMMON.
3507 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3508 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3509 * doc/as.texinfo: Document --elf-stt-common=.
3510 * testsuite/gas/elf/common3.s: New file.
3511 * testsuite/gas/elf/common3a.d: Likewise.
3512 * testsuite/gas/elf/common3b.d: Likewise.
3513 * testsuite/gas/elf/common4.s: Likewise.
3514 * testsuite/gas/elf/common4a.d: Likewise.
3515 * testsuite/gas/elf/common4b.d: Likewise.
3516 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3517 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3518 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3520 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3521 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3522 --elf-stt-common=no to as.
3523 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3524 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3525 --elf-stt-common=no to as.
3526 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3527 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3528 of dw2-compress-3 and dw2-compressed-3.
3530 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3532 * as.c (select_emulation_mode): Add const qualifiers.
3534 * config/bfin-defs.h: Likewise.
3535 * config/bfin-parse.y: Likewise.
3536 * config/rx-parse.y: Likewise.
3537 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3538 (struct aarch64_cpu_option_table): Likewise.
3539 (struct aarch64_arch_option_table): Likewise.
3540 (struct aarch64_option_cpu_value_table): Likewise.
3541 (struct aarch64_long_option_table): Likewise.
3542 (struct aarch64_option_abi_value_table): Likewise.
3543 * config/tc-arm.c (struct reloc_entry): Likewise.
3544 (tc_gen_reloc): Likewise.
3545 (struct arm_option_table): Likewise.
3546 (struct arm_legacy_option_table): Likewise.
3547 (struct arm_cpu_option_table): Likewise.
3548 (struct arm_arch_option_table): Likewise.
3549 (struct arm_option_extension_value_table): Likewise.
3550 (struct arm_option_fpu_value_table): Likewise.
3551 (struct arm_option_value_table): Likewise.
3552 (struct arm_long_option_table): Likewise.
3553 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3554 (struct mcu_type_s): Likewise.
3555 (struct exp_mod_s): Likewise.
3556 (avr_operand): Likewise.
3557 (avr_operands): Likewise.
3558 * config/tc-d10v.c (md_begin): Likewise.
3559 * config/tc-dlx.c: Likewise.
3560 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3561 * config/tc-ft32.c (parse_condition): Likewise.
3562 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3563 * config/tc-hppa.c (pa_ip): Likewise.
3564 (hppa_regname_to_dw2regnum): Likewise.
3565 * config/tc-i370.c (i370_elf_suffix): Likewise.
3566 * config/tc-i960.c (struct tabentry): Likewise.
3567 * config/tc-m32r.c: Likewise.
3568 * config/tc-m68k.c: Likewise.
3569 * config/tc-m68k.h: Likewise.
3570 * config/tc-mcore.c (parse_psrmod): Likewise.
3571 * config/tc-metag.c (struct metag_core_option): Likewise.
3572 (struct metag_long_option): Likewise.
3573 * config/tc-microblaze.c: Likewise.
3574 * config/tc-mips.c (macro): Likewise.
3575 * config/tc-mn10200.c: Likewise.
3576 * config/tc-mn10300.c: Likewise.
3577 * config/tc-msp430.c (struct rcodes_s): Likewise.
3578 (struct hcodes_s): Likewise.
3579 (md_parse_option): Likewise.
3580 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3581 (optlist): Likewise.
3582 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3583 (tc_ppc_regname_to_dw2regnum): Likewise.
3584 * config/tc-ppc.h: Likewise.
3585 * config/tc-rl78.c: Likewise.
3586 * config/tc-rx.c (struct cpu_type): Likewise.
3587 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3588 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3589 (sparc_ip): Likewise.
3590 * config/tc-spu.c (insn_fmt_string): Likewise.
3591 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3592 * config/tc-v850.c: Likewise.
3593 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3594 (struct visium_long_option_table): Likewise.
3595 * config/tc-xgate.c: Likewise.
3596 * config/tc-z8k.c: Likewise.
3597 * read.c (add_include_dir): Likewise.
3600 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3602 * testsuite/gas/all/gas.exp: Change target pattern to cover
3604 * testsuite/gas/all/redef3.d: Likewise.
3605 * testsuite/gas/elf/elf.exp: Likewise.
3607 2016-02-24 Renlin Li <renlin.li@arm.com>
3609 * config/tc-arm.c (BAD_FP16): New error message macro.
3610 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3611 fp16 scalar instructions.
3612 (neon_check_type): Allow different size from key.
3613 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3614 (try_vfp_nsyn): Likewise.
3615 (do_vfp_nsyn_mla_mls): Likewise.
3616 (do_vfp_nsyn_fma_fms): Likewise.
3617 (do_vfp_nsyn_ldm_stm): Likewise
3618 (do_vfp_nsyn_sqrt): Likewise
3619 (do_vfp_nsyn_div): Likewise
3620 (do_vfp_nsyn_nmul): Likewise.
3621 (do_vfp_nsyn_cmp): Likewise.
3622 (do_neon_shll): Likewise.
3623 (do_vfp_nsyn_cvt_fpv8): Likewise.
3624 (do_neon_cvttb_2): Likewise.
3625 (do_neon_mov): Likewise.
3626 (do_neon_rshift_round_imm): Likewise.
3627 (do_neon_ldr_str): Likewise.
3628 (do_vfp_nsyn_fpv8): Likewise.
3629 (do_vmaxnm): Likewise.
3630 (do_vrint_1): Likewise.
3631 (insns): New entry for vins, vmovx.
3632 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3633 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3634 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3635 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3636 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3637 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3638 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3640 2016-02-24 Renlin Li <renlin.li@arm.com>
3642 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3643 (neon_shape_class): New SC_HALF.
3644 (neon_shape_el): New SE_H.
3645 (neon_shape_el_size): New size for SE_H.
3646 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3647 (neon_select_shape): Add SE_H support code.
3648 (el_type_of_type_chk): Use N_F_ALL.
3649 (do_vfp_nsyn_cvt): Add SE_H shape support.
3650 (do_neon_cvtz): Likewise.
3651 (do_neon_cvt_1): Likewise.
3652 (do_neon_cvttb_1): Likewise.
3654 2016-02-24 Renlin Li <renlin.li@arm.com>
3656 * testsuite/gas/arm/copro.d: Adjust output.
3657 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3659 2016-02-24 Renlin Li <renlin.li@arm.com>
3661 * testsuite/gas/arm/mask_1.d: New.
3662 * testsuite/gas/arm/mask_1.s: New.
3664 2016-02-24 Renlin Li <renlin.li@arm.com>
3666 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3667 * testsuite/gas/arm/copro.d: Update.
3669 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3671 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3672 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3674 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3676 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3678 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3680 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3683 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3685 * output-file.c (output_file_create): Make file name argument const.
3686 (output_file_close): Likewise.
3687 * output-file.h (output_file_create): Adjust.
3688 (output_file_close): Likewise.
3689 * depend.c (quote_string_for_make): Make src argument const char *.
3690 (register_dependency): Likewise.
3691 (wrap_output): Likewise.
3692 * as.h (register_dependency): Adjust.
3693 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3695 * symbols.c (S_SET_EXTERNAL): Likewise.
3696 * input-scrub.c (as_where): Return the file name.
3697 * as.h (as_where): Adjust prototype.
3698 * app.c (do_scrub_chars): Adjust.
3699 * cond.c (s_elseif): Likewise.
3701 (initialize_cframe): Likewise.
3702 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3703 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3704 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3705 * config/tc-aarch64.c (output_info): Likewise.
3706 * config/tc-ia64.c (md_assemble): Likewise.
3707 (dot_alias): Likewise.
3708 * config/tc-m68k.c (m68k_frob_label): Likewise.
3709 * config/tc-mmix.c (s_bspec): Likewise.
3710 (mmix_handle_mmixal): Likewise.
3711 * config/tc-rx.c (rx_include): Likewise.
3712 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3713 (tic54x_adjust_symtab): Likewise.
3714 * config/tc-xtensa.c (directive_push): Likewise.
3715 (xtensa_sanity_check): Likewise.
3716 (xtensa_relax_frag): Likewise.
3717 (md_convert_frag): Likewise.
3718 (tinsn_to_slotbuf): Likewise.
3719 * dwarf2dbg.c (dwarf2_where): Likewise.
3720 * ecoff.c (add_file): Likewise.
3721 (ecoff_generate_asm_lineno): Likewise.
3722 * expr.c (make_expr_symbol): Likewise.
3723 * frags.c (frag_new): Likewise.
3724 (frag_var_init): Likewise.
3725 * listing.c (listing_newline): Likewise.
3726 * messages.c (identify): Likewise.
3727 (as_show_where): Likewise.
3728 (as_warn_internal): Likewise.
3729 (as_bad_internal): Likewise.
3730 * read.c (s_irp): Likewise.
3731 (s_macro): Likewise.
3732 (s_reloc): Likewise.
3733 * stabs.c (stabs_generate_asm_file): Likewise.
3734 (stabs_generate_asm_lineno): Likewise.
3735 (stabs_generate_asm_func): Likewise.
3736 * write.c (fix_new_internal): Likewise.
3737 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3738 (as_warn_value_out_of_range): Adjust prototype.
3739 (as_bad_value_out_of_range): Adjust prototype.
3740 * messages.c (identify): Make file name argument const char *.
3741 (as_warn_internal): Likewise.
3742 (as_warn_where): Likewise.
3743 (as_bad_internal): Likewise.
3744 (as_bad_where): Likewise.
3745 (as_internal_value_out_of_range): Likewise.
3746 (as_warn_value_out_of_range): Likewise.
3747 (as_bad_value_out_of_range): Likewise.
3748 * as.h (found_comment_file): Change type to const char *.
3749 * cond.c (file_line::file): Likewise.
3750 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3751 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3752 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3753 * config/tc-aarch64.c (output_info): Likewise.
3754 * config/tc-alpha.c (insert_operand): Likewise.
3755 * config/tc-arc.c (insert_operand): Likewise.
3756 * config/tc-d30v.c (check_size): Likewise.
3757 * config/tc-ia64.c (struct alias): Likewise.
3758 * config/tc-m68k.c (struct label_line): Likewise.
3759 * config/tc-mcore.c (md_apply_fix): Likewise.
3760 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3761 * config/tc-mips.c (mips16_immed): Likewise.
3762 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3763 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3764 * config/tc-rx.c (rx_include): Likewise.
3765 * config/tc-s390.c (s390_insert_operand): Likewise.
3766 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3767 (tic54x_adjust_symtab): Likewise.
3768 * config/tc-tilegx.c (insert_operand): Likewise.
3769 (apply_special_operator): Likewise.
3770 * config/tc-tilepro.c (insert_operand): Likewise.
3771 * config/tc-xtensa.c (directive_push): Likewise.
3772 * ecoff.c (add_file): Likewise.
3773 (ecoff_generate_asm_lineno): Likewise.
3774 * listing.c (listing_newline): Likewise.
3775 * read.c (s_irp): Likewise.
3776 * write.c (install_reloc): Likewise.
3777 * write.h (struct fix): Likewise.
3778 * input-file.c (file_name): Change type to const char *.
3779 (saved_file::file_name): Likewise.
3780 (input_file_open): Change type of argument to const char *.
3781 * input-file.h (input_file_open): Adjust.
3782 * input-scrub.c (logical_input_file): change type to const char *.
3783 (physical_input_file): Likewise.
3784 (struct input_save): Adjust.
3785 (input_scrub_push): Adjust.
3786 (input_scrub_begin): Adjust.
3788 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3789 (input_scrub_include_file): Likewise.
3790 (new_logical_line_flags): Likewise.
3791 (new_logical_line): Likewise.
3793 * frags.h (struct frag): Change type of fr_file to const char *.
3794 * expr.c (expr_symbol_where): Change type of file argument to
3796 * expr.h (expr_symbol_where): Likewise.
3797 * config/tc-i370.c (md_apply_fix): adjust.
3798 * config/tc-mmix.c (mmix_md_end): Likewise.
3799 * config/tc-ppc.c (md_apply_fix): Likewise.
3800 * config/tc-s390.c (md_apply_fix): Likewise.
3801 * symbols.c (report_op_error): Likewise.
3802 (resolve_symbol_value): Likewise.
3803 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3804 (rsrc::file): Likewise.
3805 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3807 (xtensa_relax_frag): Likewise.
3808 (md_convert_frag): Likewise.
3809 (tinsn_to_slotbuf): Likewise.
3810 * expr.c (expr_symbol_line): Likewise.
3811 * macro.c (define_macro): Likewise.
3812 * macro.h (macro_struct): Likewise.
3813 * messages.c (as_show_where): Likewise.
3814 * read.c (s_macro): Likewise.
3815 * stabs.c (stabs_generate_asm_file): Likewise.
3816 (generate_asm_file): Likewise.
3817 (stabs_generate_asm_lineno): Likewise.
3818 * write.h (struct reloc_list): Likewise.
3819 * input-scrub.c (as_where): Change return type to const char *.
3820 * as.h (as_wheree): Adjust.
3822 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3824 * write.c (compress_debug): Move BFD compression bits setting
3826 (write_object_file): Here.
3828 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3830 * config/tc-i386.c (register_number): Check RegVRex.
3831 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3832 with %zmm19 and %zmm3.
3833 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3834 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3836 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3837 Jiong Wang <jiong.wang@arm.com>
3839 * config/tc-arm.c (arm_ext_fp16): New.
3840 (arm_extensions): New entry for "fp16".
3842 2016-02-19 Nick Clifton <nickc@redhat.com>
3845 * read.c (read_a_source_file): Check for assemble_one returning
3846 with input_line_pointer set to NULL.
3848 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3850 * listing.c (rebuffer_line): Change return type to void.
3852 * symbols.c (decode_local_label_name): Make type a const char *.
3853 * listing.c (print_source): Make type of p const char *.
3854 (print_line): Make type of string const char *.
3855 (buffer_line): Return const char *.
3856 (title): Make type const char *.
3857 (subtitle): Likewise.
3858 (listing_listing): Make type of p const char *.
3859 * messages.c (as_internal_value_out_of_range): Make type of prefix
3861 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3862 and string const char *.
3863 * read.c (_bfd_rel): Make type of name const char *.
3864 * app.c (out_string): Change type to const char *.
3865 (struct app_save::out_string): Likewise.
3867 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3868 Nick Clifton <nickc@redhat.com>
3870 * read.c (finish_bundle): Avoid recording a negative alignment.
3871 (do_align): Use unsigned values for n, len and max. Only create
3872 a frag if the alignment requirement is greater than the minimum
3873 byte alignment. Avoid recording a negative alignment.
3874 (s_align): Use unsigned values where appropriate.
3875 (bss_alloc): Use an unsigned value for the alignment.
3876 (sizeof_sleb128): Add a comment noting that we encode one octet
3877 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3878 (emit_leb129_expr): Abort if the emitted encoding was longer than
3880 * read.h (output_leb128): Update prototype.
3881 (sizeof_leb128): Update prototype.
3882 (bss_alloc): Update prototype.
3883 * write.c (record_alignment): Use an unsigned value for the
3884 alignment. Do not record alignments less than the minimum
3885 alignment for a byte.
3886 * write.h (record_alignment): Update prototype.
3888 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3890 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3891 .init.literal/.fini.literal section name.
3892 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3893 list of xtensa tests.
3894 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3895 init-fini-literals test result patterns.
3896 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3897 init-fini-literals test.
3899 2016-02-17 Nick Clifton <nickc@redhat.com>
3901 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3902 devices.csv file as of March 2016.
3904 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3906 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3908 (tc_arc_regname_to_dw2regnum): Likewise.
3909 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3910 (tc_cfi_frame_initial_instructions): Likewise.
3911 (tc_regname_to_dw2regnum): Likewise.
3912 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3913 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3914 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3916 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3918 * doc/internals.texi (S_IS_EXTERN): Remove.
3920 2016-02-16 Nick Clifton <nickc@redhat.com>
3922 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3925 2016-02-16 Renlin Li <renlin.li@arm.com>
3928 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3929 * testsuite/gas/aarch64/movw_label.d: New.
3930 * testsuite/gas/aarch64/movw_label.s: New.
3932 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3935 * config/rx-parse.y (MOV): Opcode generation for index
3936 register addressing mode.
3937 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3938 * testsuite/gas/rx/pr19665.s: New file.
3939 * testsuite/gas/rx/pr19665.s: New file.
3940 * testsuite/gas/rx/mov.d: Update expected output.
3942 2016-02-15 Nick Clifton <nickc@redhat.com>
3944 * doc/as.texinfo (.section): Document that numeric values can now
3945 be used for the flags and type fields of the ELF target's .section
3946 directive. Add notes about the restrictions on setting flags and
3948 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3949 to be given processor specific section types. Allow processor and
3950 application specific flags of a section to be set after
3952 (obj_elf_parse_section_letters): Handle parsing numeric values.
3953 (obj_elf_section_type): Handle parsing numeric values.
3954 (obj_elf_section): Allow numeric type values.
3955 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3956 * testsuite/gas/elf/section10.d: New test.
3957 * testsuite/gas/elf/section10.s: Source file for new test.
3958 * testsuite/gas/elf/elf.exp: Run the new test.
3959 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3960 the description of the flags produced by readelf.
3961 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3962 * NEWS: Mention the new feature.
3964 2016-02-11 Nick Clifton <nickc@redhat.com>
3967 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3968 until it is actually used.
3969 (cfi_set_sections): Set cfi_sections_set to true.
3970 (dot_cfi_startproc): Likewise.
3971 (dot_cfi_endproc): Likewise.
3972 (dot_cfi_fde_data): Likewise.
3973 (cfi_finish): Likewise.
3974 (dot_cfi_sections): Do not set cfi_sections_set.
3975 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3976 their own cfi section name. Also note that the directive can be
3977 reissued provided that CFI generation has not started.
3978 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3979 .cfi_endproc directives so that the redefinition of .cfi_sections
3980 will trigger the generation of the error message.
3981 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3982 number of error message.
3984 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3985 Janek van Oirschot <jvanoirs@synopsys.com>
3987 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3988 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3990 (arc_flags, arc_relax_type): New structure.
3991 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3992 (RELAX_TABLE_ENTRY_MAX): New define.
3993 (relaxation_state, md_relax_table, arc_relaxable_insns)
3994 (arc_num_relaxable_ins): New variable.
3995 (rlx_operand_type, arc_rlx_types): New enums.
3996 (arc_relaxable_ins): New structure.
3997 (OPTION_RELAX): New option.
3998 (arc_insn): New relax member.
3999 (arc_flags): Remove.
4000 (relax_insn_p): New function.
4001 (apply_fixups): Likewise.
4002 (relaxable_operand): Likewise.
4003 (may_relax_expr): Likewise.
4004 (relaxable_flag): Likewise.
4005 (arc_pcrel_adjust): Likewise.
4006 (md_estimate_size_before_relax): Implement.
4007 (md_convert_frag): Likewise.
4008 (md_parse_option): Handle new mrelax option.
4009 (md_show_usage): Likewise.
4010 (assemble_insn): Set relax member.
4011 (emit_insn0): New function.
4012 (emit_insn1): Likewise.
4013 (emit_insn): Handle relaxation case.
4014 * NEWS: Mention the new relaxation option.
4015 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4016 * doc/as.texinfo (Target ARC Options): Likewise.
4017 * testsuite/gas/arc/relax-avoid1.d: New file.
4018 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4019 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4020 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4021 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4022 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4023 * testsuite/gas/arc/relax-b.d: Likewise.
4024 * testsuite/gas/arc/relax-b.s: Likewise.
4026 2016-02-08 Nick Clifton <nickc@redhat.com>
4028 * config/tc-ia64.c (dot_prologue): Fix formatting.
4030 2016-02-04 Nick Clifton <nickc@redhat.com>
4032 * config/obj-elf.c (obj_elf_change_section): Remove support for
4033 ARM NOREAD sections.
4034 * config/tc-arm.c (arm_elf_section_letter): Delete.
4035 * config/tc-arm.h (md_elf_section_letter): Delete.
4036 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4037 * testsuite/gas/arm/section-execute-only.d: Delete.
4038 * testsuite/gas/arm/section-execute-only.s: Delete.
4040 2016-02-04 Nick Clifton <nickc@redhat.com>
4043 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4044 to handle encoding of RRUX instruction.
4045 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4047 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4049 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4051 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4052 substitutions for BFD_RELOC_* as unsigned.
4053 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4054 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4055 * testsuite/gas/xtensa/loc.s: New file: loc test.
4057 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4059 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4061 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4064 * NEWS: Mention new command line option -mrelax-relocations and
4065 new configure option --enable-x86-relax-relocations for x86
4067 * config.in: Regenerated.
4068 * configure.ac: Add --enable-x86-relax-relocations.
4069 (ac_default_x86_relax_relocations): New. Default to 1 except
4070 for x86 Solaris targets older than Solaris 12.
4071 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4072 * configure: Likewise.
4073 * config/tc-i386.c (generate_relax_relocations): New.
4074 (OPTION_MRELAX_RELOCATIONS): Likewise.
4075 (output_disp): Don't generate relax relocations if
4076 generate_relax_relocations is 0.
4077 (md_longopts): Add -mrelax-relocations.
4078 (md_show_usage): Likewise.
4079 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4080 * doc/c-i386.texi: Document -mrelax-relocations=.
4081 * testsuite/gas/i386/got-no-relax.d: New file.
4082 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4083 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4084 * testsuite/gas/i386/localpic.d: Likewise.
4085 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4086 * testsuite/gas/i386/reloc32.d: Likewise.
4087 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4088 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4089 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4090 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4091 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4092 x86-64-gotpcrel-no-relax.
4094 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4096 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4099 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4101 * NEWS: Remove duplicated marker for 2.26.
4103 2016-02-02 Renlin Li <renlin.li@arm.com>
4105 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4107 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4109 * testsuite/gas/ip2k/allinsn.d: New file.
4110 * testsuite/gas/ip2k/allinsn.s: New file.
4111 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4113 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4115 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4116 some load instructions.
4117 * testsuite/gas/epiphany/allinsn.d: Likewise.
4118 * testsuite/gas/epiphany/regression.d: Likewise.
4120 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4122 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4123 suffixes from instruction mnemonics in expected output.
4124 * testsuite/gas/epiphany/allinsn.d: Likewise.
4125 * testsuite/gas/epiphany/regression.d: Likewise.
4126 * testsuite/gas/epiphany/sample.d: Likewise.
4128 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4130 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4132 * testsuite/gas/epiphany/allinsn.d: Likewise.
4133 * testsuite/gas/epiphany/sample.d: Likewise.
4135 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4137 * testsuite/gas/epiphany/sample.d: Update expected output.
4139 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4141 * config/tc-arc.c (md_apply_fix): Allow addendum.
4142 (arc_reloc_op): Allow complex expressions for tpoff.
4143 (md_apply_fix): Handle resolved TLS local symbol.
4144 * testsuite/gas/arc/tls-relocs1.d: New file.
4145 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4147 2016-02-01 Loria <Loria@phantasia.org>
4150 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4151 efficiency and avoid an LLVM loop optimization bug.
4153 2016-02-01 Nick Clifton <nickc@redhat.com>
4155 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4156 message extending a negative 32-bit value into a larger signed
4157 value on a 32-bit host.
4159 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4162 * configure.ac (compressed_debug_sections): Replace == with =.
4163 * configure: Regenerated.
4165 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4166 H.J. Lu <hongjiu.lu@intel.com>
4168 * config/tc-i386.c (avoid_fence): New.
4169 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4171 (OPTION_FENCE_AS_LOCK_ADD): New.
4172 (md_longopts): Add -mfence-as-lock-add.
4173 (md_parse_option): Handle -mfence-as-lock-add.
4174 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4175 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4176 * testsuite/gas/i386/i386.exp: Run new tests.
4177 * testsuite/gas/i386/fence-as-lock-add.s: New.
4178 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4179 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4180 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4181 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4183 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4185 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4186 * configure: Regenerated.
4188 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4190 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4191 (OPTION_MOMIT_LOCK_PREFIX): This.
4192 (md_longopts): Updated.
4193 (md_parse_option): Likewise.
4195 2016-01-25 Catherine Moore <clm@codesourcery.com>
4197 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4198 if abicalls are in effect.
4199 * testsuite/gas/mips/sdata-gp.s: New test.
4200 * testsuite/gas/mips/sdata-gp.d: New expected output
4201 * testsuite/gas/mips/mips.exp: Run new test.
4203 2016-01-25 Renlin Li <renlin.li@arm.com>
4205 * testsuite/gas/arm/thumb2_it_search.d: New.
4206 * testsuite/gas/arm/thumb2_it_search.s: New.
4208 2016-01-21 Nick Clifton <nickc@redhat.com>
4211 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4212 with arm-netbsdelf target.
4213 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4215 2016-01-20 Nick Clifton <nickc@redhat.com>
4218 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4219 * testsuite/gas/arm/blx-bl-convert.d
4220 * testsuite/gas/arm/plt-1.d: Likewise.
4221 * testsuite/gas/arm/reloc-bad.d: Likewise.
4222 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4223 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4224 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4225 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4228 * doc/as.texinfo (Errors): Correct documentation describing the
4229 interaction of .file and .line with warning and error messages.
4232 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4233 * testsuite/gas/arm/archv8m-main.d: Likewise.
4234 * testsuite/gas/arm/archv8m-base.d: Likewise.
4236 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4238 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4239 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4240 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4242 2016-01-20 Mickael Guene <mickael.guene@st.com>
4243 Terry Guo <terry.guo@arm.com>
4245 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4246 SHF_ARM_NOREAD section flag.
4247 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4249 (arm_elf_section_letter) : Declare it.
4250 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4251 SHF_ARM_NOREAD section flag.
4252 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4254 * testsuite/gas/arm/section-execute-only.s: New test case.
4255 * testsuite/gas/arm/section-execute-only.d: Expected output.
4257 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4259 * config/tc-mips.c (micromips_insn_length): Remove the mention
4260 of 48-bit microMIPS instructions.
4262 2016-01-18 Alan Modra <amodra@gmail.com>
4264 * configure: Regenerate.
4266 2016-01-17 Alan Modra <amodra@gmail.com>
4268 * configure: Regenerate.
4270 2016-01-17 Alan Modra <amodra@gmail.com>
4272 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4274 2016-01-14 Nick Clifton <nickc@redhat.com>
4276 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4277 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4278 * testsuite/gas/rl78/rl78.exp: Run the new test.
4280 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4282 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4283 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4285 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4287 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4289 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4291 * config/tc-h8300.c (get_operand): Remove spurious condition in
4292 test for closing parenthesis.
4294 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4296 * config/tc-arm.c (arm_ext_v8_2): New.
4298 * testsuite/gas/arm/armv8_2-a.d: New.
4299 * testsuite/gas/arm/armv8_2-a.s: New.
4301 2016-01-12 Alan Modra <amodra@gmail.com>
4303 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4305 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4307 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4308 xvcmpnesp, xvcmpnesp.>: Delete tests.
4309 * testsuite/gas/ppc/power9.s: Likewise.
4310 * testsuite/gas/ppc/vsx3.d: Likewise.
4311 * testsuite/gas/ppc/vsx3.s: Likewise.
4313 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4316 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4317 * testsuite/gas/m68k/p13050-1.s: New file.
4318 * testsuite/gas/m68k/p13050-2.d: New file.
4319 * testsuite/gas/m68k/p13050-2.s: New file.
4321 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4323 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4324 * testsuite/gas/arc/add.d: Likewise.
4325 * testsuite/gas/arc/and.d: Likewise.
4326 * testsuite/gas/arc/asl.d: Likewise.
4327 * testsuite/gas/arc/asr.d: Likewise.
4328 * testsuite/gas/arc/bic.d: Likewise.
4329 * testsuite/gas/arc/extb.d: Likewise.
4330 * testsuite/gas/arc/extw.d: Likewise.
4331 * testsuite/gas/arc/j.d: Likewise.
4332 * testsuite/gas/arc/jl.d: Likewise.
4333 * testsuite/gas/arc/ld2.d: Likewise.
4334 * testsuite/gas/arc/lsr.d: Likewise.
4335 * testsuite/gas/arc/mov.d: Likewise.
4336 * testsuite/gas/arc/or.d: Likewise.
4337 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4338 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4339 * testsuite/gas/arc/pic-relocs.d: Likewise.
4340 * testsuite/gas/arc/plt-relocs.d: Likewise.
4341 * testsuite/gas/arc/rlc.d: Likewise.
4342 * testsuite/gas/arc/ror.d: Likewise.
4343 * testsuite/gas/arc/rrc.d: Likewise.
4344 * testsuite/gas/arc/sbc.d: Likewise.
4345 * testsuite/gas/arc/sda-relocs.d: Likewise.
4346 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4347 * testsuite/gas/arc/sexb.d: Likewise.
4348 * testsuite/gas/arc/sexw.d: Likewise.
4349 * testsuite/gas/arc/st.d: Likewise.
4350 * testsuite/gas/arc/sub.d: Likewise.
4351 * testsuite/gas/arc/tls-relocs.d: Likewise.
4352 * testsuite/gas/arc/xor.d: Likewise.
4354 2016-01-01 Alan Modra <amodra@gmail.com>
4356 Update year range in copyright notice of all files.
4358 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4360 Copyright (C) 2016 Free Software Foundation, Inc.
4362 Copying and distribution of this file, with or without modification,
4363 are permitted in any medium without royalty provided the copyright
4364 notice and this notice are preserved.
4370 version-control: never