1 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
3 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
4 (parse_vector_reg_list): ...this and take a register type
6 (parse_operands): Update accordingly.
8 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
10 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
11 (parse_vector_type_for_operand): ...this.
12 (parse_typed_reg): Update accordingly.
14 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
16 * config/tc-aarch64.c (neon_type_el): Rename to...
17 (vector_type_el): ...this.
18 (parse_neon_type_for_operand): Update accordingly.
19 (parse_typed_reg): Likewise.
20 (aarch64_reg_parse): Likewise.
21 (vectype_to_qualifier): Likewise.
22 (parse_operands): Likewise.
23 (eq_neon_type_el): Likewise. Rename to...
24 (eq_vector_type_el): ...this.
25 (parse_neon_reg_list): Update accordingly.
27 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
29 * config/tc-aarch64.c (neon_el_type: Rename to...
30 (vector_el_type): ...this.
31 (neon_type_el): Update accordingly.
32 (parse_neon_type_for_operand): Likewise.
33 (vectype_to_qualifier): Likewise.
35 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
37 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
38 (parse_typed_reg): Call parse_neon_type_for_operand directly.
40 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
42 * testsuite/gas/arc/textinsnxop.d: New file.
43 * testsuite/gas/arc/textinsnxop.s: Likewise.
45 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
47 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
48 dcti-couples-v9 only in ELF targets to avoid spurious failures in
49 sparc-aout and sparc-coff targets.
51 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
53 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
54 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
55 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
56 <copy, paste.>: Update tests.
57 * testsuite/gas/ppc/power9.s: Likewise.
59 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
61 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
62 in "architecture mismatch" error messages.
64 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
66 * config/tc-sparc.c (md_assemble): Detect and warning on
67 unpredictable DCTI couples in certain arches.
68 (dcti_couples_detect): New global.
69 (md_longopts): Add command line option -dcti-couples-detect.
70 (md_show_usage): Document -dcti-couples-detect.
71 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
72 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
73 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
74 * testsuite/gas/sparc/dcti-couples.s: New file.
75 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
76 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
77 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
78 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
79 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
80 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
81 * doc/c-sparc.texi (Sparc-Opts): Likewise.
83 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
85 * testsuite/gas/arc/tls-relocs2.d: New file.
86 * testsuite/gas/arc/tls-relocs2.s: Likewise.
87 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
90 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
92 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
94 * doc/as.texinfo: Document new arch strings.
95 * doc/c-s390.texi: Likewise.
97 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
99 * config/tc-s390.c: Set all facitily bits by default
101 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
103 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
105 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
107 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
110 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
112 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
113 (set_cpu_arch): Updated.
114 (md_parse_option): Likewise.
115 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
116 iamcu-inval-2 and iamcu-inval-3.
117 * testsuite/gas/i386/iamcu-4.d: New file.
118 * testsuite/gas/i386/iamcu-4.s: Likewise.
119 * testsuite/gas/i386/iamcu-5.d: Likewise.
120 * testsuite/gas/i386/iamcu-5.s: Likewise.
121 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
122 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
123 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
124 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
126 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
128 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
129 ARMv8-A CPUs except xgene1.
131 2016-08-31 Alan Modra <amodra@gmail.com>
133 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
134 ppc_cpu rather than calling ppc_mach to determine VLE mode.
135 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
137 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
139 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
141 * testsuite/gas/sparc/crypto.s: Likewise.
143 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
145 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
146 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
147 their lowecase counterpart special registers. Write register
149 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
150 operation, special register and then case. Use different register for
151 each operation. Add tests for new special registers.
152 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
154 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
155 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
157 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
159 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
161 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
163 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
164 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
165 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
167 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
169 * config/tc-i386.c (cpu_arch): Add .ptwrite.
170 * doc/c-i386.texi: Document ptwrite and .ptwrite.
171 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
172 x86-64-ptwrite and x86-64-ptwrite-intel.
173 * testsuite/gas/i386/ptwrite-intel.d: New file.
174 * testsuite/gas/i386/ptwrite.d: Likewise.
175 * testsuite/gas/i386/ptwrite.s: Likewise.
176 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
177 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
178 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
180 2016-08-19 Tamar Christina <tamar.christina@arm.com>
182 * config/tc-arm.c (do_co_reg2c): Added constraint.
183 * testsuite/gas/arm/dest-unpredictable.s: New.
184 * testsuite/gas/arm/dest-unpredictable.l: New.
185 * testsuite/gas/arm/dest-unpredictable.d: New.
187 2016-08-19 Nick Clifton <nickc@redhat.com>
189 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
190 ordering of sections.
191 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
192 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
193 * testsuite/gas/ia64/alias.d: Likewise.
194 * testsuite/gas/ia64/group-1.d: Likewise.
195 * testsuite/gas/ia64/group-2.d: Likewise.
196 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
197 * testsuite/gas/ia64/secname.d: Likewise.
198 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
199 * testsuite/gas/ia64/unwind.d: Likewise.
200 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
201 * testsuite/gas/ia64/xdata.d: Likewise.
202 * testsuite/gas/mmix/bspec-1.d: Likewise.
203 * testsuite/gas/mmix/bspec-2.d: Likewise.
204 * testsuite/gas/mmix/byte-1.d: Likewise.
205 * testsuite/gas/mmix/loc-1.d: Likewise.
206 * testsuite/gas/mmix/loc-2.d: Likewise.
207 * testsuite/gas/mmix/loc-3.d: Likewise.
208 * testsuite/gas/mmix/loc-4.d: Likewise.
209 * testsuite/gas/mmix/loc-5.d: Likewise.
210 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
212 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
214 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
215 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
216 Add tests for -0.0. Add an end-of-file comment.
218 2016-08-05 Nick Clifton <nickc@redhat.com>
221 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
222 registers are pushed.
223 (do_vfp_nsyn_pop): Check that no more than 16 registers are
225 * testsuite/gas/arm/pr20429.s: New test.
226 * testsuite/gas/arm/pr20429.d: New test driver.
227 * testsuite/gas/arm/pr20429.1: Expected error output.
230 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
232 (aarch64_init): Treat rs_align frags in code sections as
233 containing code, not data.
234 * testsuite/gas/aarch64/pr20364.s: New test.
235 * testsuite/gas/aarch64/pr20364.d: New test driver.
237 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
240 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
241 of 64-bit relocation types when assembling for a 32-bit Solaris
244 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
246 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
248 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
249 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
250 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
251 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
253 (sparc_elf_setup): Delete.
254 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
257 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
259 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
260 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
261 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
262 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
263 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
264 (get_append_method): Also return APPEND_ADD_COMPACT for
265 microMIPS instructions.
266 (find_altered_mips16_opcode): Exclude macros from matching.
268 (find_altered_opcode): ... to this new function.
269 (find_altered_micromips_opcode): New function.
270 (frag_branch_delay_slot_size): Likewise.
271 (append_insn): Handle microMIPS branch/jump compaction.
272 (macro_start): Likewise.
273 (relaxed_micromips_32bit_branch_length): Likewise.
274 (md_convert_frag): Likewise.
275 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
276 for delay slot filling.
277 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
279 * testsuite/gas/mips/micromips-size-1.s: Likewise.
280 * testsuite/gas/mips/micromips.l: Adjust line numbers.
281 * testsuite/gas/mips/micromips-warn.l: Likewise.
282 * testsuite/gas/mips/micromips-size-1.l: Likewise.
283 * testsuite/gas/mips/micromips.d: Adjust padding.
284 * testsuite/gas/mips/micromips-trap.d: Likewise.
285 * testsuite/gas/mips/micromips-insn32.d: Likewise.
286 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
287 * testsuite/gas/mips/micromips@beq.d: Update patterns for
288 branch/jump compaction.
289 * testsuite/gas/mips/micromips@bge.d: Likewise.
290 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
291 * testsuite/gas/mips/micromips@blt.d: Likewise.
292 * testsuite/gas/mips/micromips@bltu.d: Likewise.
293 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
294 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
295 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
296 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
297 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
298 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
299 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
300 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
302 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
304 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
305 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
306 * testsuite/gas/mips/micromips@relax.d: Likewise.
307 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
308 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
309 * testsuite/gas/mips/branch-extern-2.d: Likewise.
310 * testsuite/gas/mips/branch-extern-4.d: Likewise.
311 * testsuite/gas/mips/branch-section-2.d: Likewise.
312 * testsuite/gas/mips/branch-section-4.d: Likewise.
313 * testsuite/gas/mips/branch-weak-2.d: Likewise.
314 * testsuite/gas/mips/branch-weak-5.d: Likewise.
315 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
316 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
317 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
318 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
320 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
322 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
324 * testsuite/gas/mips/micromips-compact.d: New test.
325 * testsuite/gas/mips/mips.exp: Run the new test.
327 2016-07-27 Graham Markall <graham.markall@embecosm.com>
329 * config/tc-arc.c: Add new global arc_addrtype_hash.
330 Define O_colon and O_addrtype.
331 (debug_exp): Add O_colon and O_addrtype.
332 (tokenize_arguments): Handle colon and address type
334 (declare_addrtype): New function.
335 (md_begin): Initialise arc_addrtype_hash.
336 (arc_parse_name): Add lookup of address types.
337 (assemble_insn): Handle colons and address types by
339 * testsuite/gas/arc/nps400-8.s: New file.
340 * testsuite/gas/arc/nps400-8.d: New file.
341 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
342 * testsuite/gas/arc/nps400-8.d: Add expected PMU
345 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
347 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
348 (RELAX_MICROMIPS_INSN32): New macro.
349 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
350 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
351 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
352 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
353 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
355 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
357 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
359 (md_convert_frag): Likewise.
360 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
362 * testsuite/gas/mips/micromips-branch-relax.l: Update line
364 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
365 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
366 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
368 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
370 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
372 * testsuite/gas/mips/mips.exp: Run the new tests.
374 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
376 * configure: Regenerated.
378 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
380 * testsuite/gas/arc/dsp.d: New file.
381 * testsuite/gas/arc/dsp.s: Likewise.
382 * testsuite/gas/arc/fpu.d: Likewise.
383 * testsuite/gas/arc/fpu.s: Likewise.
384 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
385 * testsuite/gas/arc/ext3op.d: Likewise.
386 * testsuite/gas/arc/tdpfp.d: Likewise.
387 * testsuite/gas/arc/tfpuda.d: Likewise.
389 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
391 * config/tc-mips.c (mips_force_relocation): Remove
392 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
394 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
396 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
397 Adjust comments for BAL to JALX linker conversion.
398 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
399 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
401 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
402 * testsuite/gas/mips/branch-local-4.d: New test.
403 * testsuite/gas/mips/branch-local-n32-4.d: New test.
404 * testsuite/gas/mips/branch-local-n64-4.d: New test.
405 * testsuite/gas/mips/branch-addend.d: New test.
406 * testsuite/gas/mips/branch-addend-n32.d: New test.
407 * testsuite/gas/mips/branch-addend-n64.d: New test.
408 * testsuite/gas/mips/branch-local-4.s: New test source.
409 * testsuite/gas/mips/branch-addend.s: New test source.
410 * testsuite/gas/mips/mips.exp: Run the new tests.
412 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
414 * config/tc-mips.c (mips_force_relocation): Also retain branch
415 relocations against MIPS16 and microMIPS symbols.
416 (fix_bad_cross_mode_jump_p): New function.
417 (fix_bad_same_mode_jalx_p): Likewise.
418 (fix_bad_misaligned_jump_p): Likewise.
419 (fix_bad_cross_mode_branch_p): Likewise.
420 (fix_bad_misaligned_branch_p): Likewise.
421 (fix_validate_branch): Likewise.
422 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
423 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
424 etc. Verify the ISA mode and alignment of the jump target.
425 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
426 with a call to `fix_validate_branch'.
427 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
428 <BFD_RELOC_16_PCREL_S2>: Likewise.
429 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
430 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
431 Verify the ISA mode and alignment of the branch target.
432 (md_convert_frag): Verify the ISA mode and alignment of resolved
433 MIPS16 branch targets.
434 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
435 branch targets with `.insn'.
436 * testsuite/gas/mips/branch-misc-5.s: Likewise.
437 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
439 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
440 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
441 non-instruction branch target with `.insn'.
442 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
443 with external symbols.
444 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
445 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
446 * testsuite/gas/mips/micromips-trap.d: Likewise.
447 * testsuite/gas/mips/micromips.d: Likewise.
448 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
449 targets with `.insn'.
450 * testsuite/gas/mips/mips16.d: Update accordingly.
451 * testsuite/gas/mips/mips16-64.d: Likewise.
452 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
453 branch target with `.insn'.
454 * testsuite/gas/mips/relax-swap3.s: Likewise.
455 * testsuite/gas/mips/branch-local-2.l: New list test.
456 * testsuite/gas/mips/branch-local-3.l: New list test.
457 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
458 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
459 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
460 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
461 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
462 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
463 * testsuite/gas/mips/unaligned-jump-3.d: New test.
464 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
465 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
466 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
467 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
469 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
471 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
472 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
473 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
474 * testsuite/gas/mips/unaligned-branch-3.d: New test.
475 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
476 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
477 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
478 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
479 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
480 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
481 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
482 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
483 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
484 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
486 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
488 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
489 * testsuite/gas/mips/branch-local-2.s: New test source.
490 * testsuite/gas/mips/branch-local-3.s: New test source.
491 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
492 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
493 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
494 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
495 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
496 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
497 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
498 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
499 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
501 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
503 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
504 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
505 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
506 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
507 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
508 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
509 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
511 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
513 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
515 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
517 * testsuite/gas/mips/mips.exp: Run the new tests.
519 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
521 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
523 (do_pseudo_b): Adjust.
524 (do_pseudo_bal): Likewise.
525 (do_pseudo_bge): Likewise.
526 (do_pseudo_bges): Likewise.
527 (do_pseudo_bgt): Likewise.
528 (do_pseudo_bgts): Likewise.
529 (do_pseudo_ble): Likewise.
530 (do_pseudo_bles): Likewise.
531 (do_pseudo_blt): Likewise.
532 (do_pseudo_blts): Likewise.
533 (do_pseudo_br): Likewise.
534 (do_pseudo_bral): Likewise.
535 (do_pseudo_la): Likewise.
536 (do_pseudo_li): Likewise.
537 (do_pseudo_ls_bhw): Likewise.
538 (do_pseudo_ls_bhwp): Likewise.
539 (do_pseudo_ls_bhwpc): Likewise.
540 (do_pseudo_ls_bhwi): Likewise.
541 (do_pseudo_move): Likewise.
542 (do_pseudo_neg): Likewise.
543 (do_pseudo_not): Likewise.
544 (do_pseudo_pushpopm): Likewise.
545 (do_pseudo_pushpop): Likewise.
546 (do_pseudo_v3push): Likewise.
547 (do_pseudo_v3pop): Likewise.
548 (do_pseudo_pushpop_stack): Likewise.
549 (do_pseudo_push_bhwd): Likewise.
550 (do_pseudo_pop_bhwd): Likewise.
551 (do_pseudo_pusha): Likewise.
552 (do_pseudo_pushi): Likewise.
554 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
556 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
557 bfd_reloc_code_real_type.
559 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
561 * config/tc-sparc.c (pop_table): Remove sentinel.
562 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
565 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
567 * config/tc-z8k.c (newfix): Make type of type argument
568 bfd_reloc_code_real_type.
569 (apply_fix): Likewise.
571 2016-07-16 Alan Modra <amodra@gmail.com>
573 * config/tc-epiphany.c: Don't include libbfd.h.
574 * config/tc-frv.c: Likewise.
575 * config/tc-ip2k.c: Likewise.
576 * config/tc-iq2000.c: Likewise.
577 * config/tc-m32c.c: Likewise.
578 * config/tc-mep.c: Likewise.
579 * config/tc-mt.c: Likewise.
580 * config/tc-nios2.c: Likewise.
582 2016-07-16 Alan Modra <amodra@gmail.com>
584 * config/bfin-parse.y: Don't include libbfd.h.
585 * config/tc-bfin.c: Likewise.
586 * config/tc-rl78.c: Likewise.
587 * config/tc-rx.c: Likewise.
588 * config/tc-metag.c: Likewise.
589 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
590 * Makefile.am: Update dependencies.
591 * Makefile.in: Regenerate.
593 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
595 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
596 (mips_force_relocation_abs): New prototype.
597 * config/tc-mips.c (mips_force_relocation_abs): New function.
598 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
599 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
600 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
601 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
602 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
604 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
606 * testsuite/gas/mips/branch-absolute-addend.d: New test.
607 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
608 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
610 * testsuite/gas/mips/mips.exp: Run the new tests.
612 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
614 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
615 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
616 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
618 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
619 in `bar', export `foo'.
620 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
622 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
623 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
624 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
626 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
629 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
631 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
632 * testsuite/gas/mips/branch-absolute.d: New test.
633 * testsuite/gas/mips/branch-absolute-n32.d: New test.
634 * testsuite/gas/mips/branch-absolute-n64.d: New test.
635 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
636 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
637 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
638 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
639 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
641 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
643 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
644 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
645 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
646 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
648 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
650 * testsuite/gas/mips/branch-absolute.s: New test source.
651 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
652 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
654 * testsuite/gas/mips/micromips-branch-absolute.s: New test
656 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
658 * testsuite/gas/mips/mips.exp: Run the new tests.
660 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
662 * testsuite/gas/mips/nal-1.d: New test.
663 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
664 * testsuite/gas/mips/nal-2.d: New test.
665 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
666 * testsuite/gas/mips/nal.s: New test source.
667 * testsuite/gas/mips/mips.exp: Run the new tests.
669 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
671 * testsuite/gas/sparc/ldtxa.s: New file.
672 * testsuite/gas/sparc/ldtxa.d: Likewise.
673 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
675 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
677 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
678 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
679 as it is no longer needed.
681 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
683 * config/tc-mips.c (append_insn): Remove extraneous
686 2016-07-04 Jan Beulich <jbeulich@suse.com>
688 * config/tc-i386.c (check_qword_reg): Correct register kind
690 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
691 16-bit register cases.
692 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
695 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
697 * testsuite/gas/mips/ecoff@ld.d: Remove test.
698 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
699 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
700 * testsuite/gas/mips/ecoff@sd.d: Remove test.
701 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
702 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
704 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
705 * testsuite/gas/mips/bge.d: Likewise.
706 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
707 * testsuite/gas/mips/bgeu.d: Likewise.
708 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
709 * testsuite/gas/mips/blt.d: Likewise.
710 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
711 * testsuite/gas/mips/bltu.d: Likewise.
712 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
713 * testsuite/gas/mips/branch-likely.d: Likewise.
714 * testsuite/gas/mips/la.d: Likewise.
715 * testsuite/gas/mips/lb.d: Likewise.
716 * testsuite/gas/mips/lifloat.d: Likewise.
717 * testsuite/gas/mips/sb.d: Likewise.
718 * testsuite/gas/mips/uld.d: Likewise.
719 * testsuite/gas/mips/ulh.d: Likewise.
720 * testsuite/gas/mips/ulw.d: Likewise.
721 * testsuite/gas/mips/usd.d: Likewise.
722 * testsuite/gas/mips/ush.d: Likewise.
723 * testsuite/gas/mips/usw.d: Likewise.
725 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
727 * testsuite/gas/mips/branch-misc-2.s: Move non
728 locally-defined-global symbol tests...
729 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
730 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
731 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
732 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
733 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
734 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
735 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
736 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
737 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
738 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
739 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
740 * testsuite/gas/mips/branch-misc-5.d: New test.
741 * testsuite/gas/mips/branch-misc-5pic.d: New test.
742 * testsuite/gas/mips/branch-misc-5-64.d: New test.
743 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
744 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
745 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
746 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
747 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
748 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
749 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
750 * testsuite/gas/mips/mips.exp: Run the new tests.
752 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
754 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
756 * testsuite/gas/mips/beq.d: Update accordingly.
757 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
758 * testsuite/gas/mips/micromips@beq.d: Likewise.
760 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
762 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
763 tests to NewABI targets.
765 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
767 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
770 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
772 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
774 (aarch64_features): Initialize require fields.
775 (aarch64_parse_features): Handle dependencies.
776 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
777 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
778 * testsuite/gas/aarch64/illegal-nofp16.s: New.
779 * testsuite/gas/aarch64/illegal-nofp16.l: New.
780 * testsuite/gas/aarch64/illegal-nofp16.d: New.
782 2016-07-01 Nick Clifton <nickc@redhat.com>
784 * macro.c (macro_expand_body): Use a buffer big enough to hold an
785 extremely large integer.
787 2016-07-01 Jan Beulich <jbeulich@suse.com>
789 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
791 2016-07-01 Tristan Gingold <gingold@adacore.com>
793 * NEWS: Add marker for 2.27.
795 2016-07-01 Jan Beulich <jbeulich@suse.com>
797 * tc-i386.c (i386_index_check): Add special checks for bndmk,
799 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
800 as well as scaling by other than 1 tests.
801 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
803 2016-07-01 Jan Beulich <jbeulich@suse.com>
805 * tc-i386.c (md_assemble): Alter address size checking for MPX
807 * testsuite/gas/i386/mpx-inval-2.s: New.
808 * testsuite/gas/i386/mpx-inval-2.l: New.
809 * testsuite/gas/i386/i386.exp: Run new test.
811 2016-07-01 Jan Beulich <jbeulich@suse.com>
814 * config/tc-i386.c (match_template): Add char parameter,
815 consumed in Intel mode for an extra suffix check.
816 (md_assemble): New local variable mnem_suffix.
817 * testsuite/gas/i386/suffix-bad.s: New.
818 * testsuite/gas/i386/suffix-bad.l: New.
819 * testsuite/gas/i386/i386.exp: Run new test (twice).
821 2016-07-01 Jan Beulich <jbeulich@suse.com>
823 * testsuite/gas/i386/movz.s: New.
824 * testsuite/gas/i386/movz32.d: New.
825 * testsuite/gas/i386/movz64.d: New.
826 * testsuite/gas/i386/i386.exp: Run new tests.
828 2016-07-01 Jan Beulich <jbeulich@suse.com>
830 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
831 (md_assemble): Free first memory operand string.
832 (i386_index_check): Use repprefixok to distingush xlat from
833 other (real) string ops.
834 (maybe_adjust_templates): New.
835 (i386_att_operand). Call it. Store first memory operand string.
836 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
837 * testsuite/gas/i386/intel-movs.s: New.
838 * testsuite/gas/i386/intel-movs32.d: New.
839 * testsuite/gas/i386/intel-movs64.d: New.
840 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
841 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
843 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
845 * config/tc-mips.c (get_append_method): Fix a comment typo.
847 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
848 Maciej W. Rozycki <macro@imgtec.com>
850 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
851 case MIPS16 handling.
852 * testsuite/gas/mips/branch-swap-3.d: New test.
853 * testsuite/gas/mips/branch-swap-4.d: New test.
854 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
855 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
856 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
857 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
858 * testsuite/gas/mips/branch-swap-3.s: New test source.
859 * testsuite/gas/mips/mips.exp: Run the new tests.
861 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
863 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
866 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
869 * write.c (subsegs_finish_section): Force no section padding to
870 alignment on failed assembly, always set last frag's alignment
872 * testsuite/gas/all/pr20312.l: New list test.
873 * testsuite/gas/all/pr20312.s: New test source.
874 * testsuite/gas/all/gas.exp: Run the new test
876 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
878 * config.in (TARGET_WITH_CPU): Undefine.
879 * configure.ac: Add --with-cpu support, and define in config.h.
880 * configure: Regenerate.
881 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
882 * NEWS: Mention new configure option.
884 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
886 * testsuite/gas/arm/armv8_2+rdma.d: New.
888 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
890 * NEWS: Mention --enable-compressed-debug-sections=gas is the
891 default for Linux/x86 targets.
892 * configure.tgt (ac_default_compressed_debug_sections): Default
893 to yes for Linux/x86 targets.
895 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
897 * write.c: Remove "libbfd.h" inclusion.
899 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
901 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
904 2016-06-28 Alan Modra <amodra@gmail.com>
907 * testsuite/gas/elf/section11.s: Don't start directives in first column.
909 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
911 * testsuite/gas/aarch64/diagnostic.s,
912 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
914 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
916 * config/tc-mips.c (mips16_reloc_p): Handle
917 BFD_RELOC_MIPS16_16_PCREL_S1.
918 (b_reloc_p): Likewise.
919 (limited_pcrel_reloc_p): Likewise.
920 (md_pcrel_from): Likewise.
921 (md_apply_fix): Likewise.
922 (tc_gen_reloc): Likewise.
923 (md_convert_frag): Likewise.
924 (mips_fix_adjustable): Update comment.
925 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
926 output, add dump patterns.
927 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
928 output, add dump patterns.
929 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
930 output, add dump patterns.
931 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
932 output, add dump patterns.
933 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
934 output, add dump patterns.
935 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
936 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
937 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
938 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
939 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
940 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
941 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
942 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
943 * testsuite/gas/mips/branch-weak-6.d: New test.
944 * testsuite/gas/mips/branch-weak-7.d: New test.
945 * testsuite/gas/mips/mips.exp: Run the new tests.
947 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
949 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
950 cfi_add_CFA_def_cfa to generate default CFA with offset
951 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
953 2016-06-27 Nick Clifton <nickc@redhat.com>
956 * as.h (do_not_pad_sections_to_alignment): New global variable.
957 * as.c (show_usage): Add --no-pad-sections.
958 (parse_args): Likewise.
959 * write.c (size_seg): Skip padding the end of the section if
960 requested from the command line.
961 (SUB_SEGMENT_ALIGN): Likewise.
962 * doc/as.texinfo: Document the new option.
963 * NEWS: Mention the new feature.
964 * testsuite/gas/elf/section11.s: New test.
965 * testsuite/gas/elf/section11.d: New test driver.
966 * testsuite/gas/elf/elf.exp: Run the new test.
968 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
970 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
971 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
973 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
975 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
977 (map_suffix_reloc_to_operator): Likewise.
978 (map_operator_to_reloc): Likewise.
980 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
982 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
983 element in relax_table.
985 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
987 * config/tc-aarch64.c: Make the type of reg_entry::type
990 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
992 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
993 (md_parse_option): Adjust.
994 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
995 with iteration from 0 to ARRAY_SIZE.
996 * config/tc-mcore.c (md_begin): Likewise.
997 * config/tc-visium.c (visium_parse_arch): Likewise.
999 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1001 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1002 and simplify accordingly.
1003 (tic54x_include): Adjust.
1004 (tic54x_mlib): Likewise.
1006 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1008 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1010 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1012 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1013 unchanged with relaxed MIPS16 instructions.
1014 (mips16_extended_frag): Adjust accordingly. Return 1 right
1015 away if a relocation will be required for the symbol requested.
1016 Remove dead first relaxation pass code.
1017 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1018 (md_convert_frag): Adjust symbol value calculation. Raise an
1019 error if a relocation is required for the symbol requested.
1020 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1022 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1023 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1024 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1025 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1026 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1027 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1028 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1029 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1030 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1031 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1032 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1033 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1034 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1035 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1036 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1037 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1038 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1039 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1040 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1041 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1042 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1043 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1044 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1045 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1046 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1047 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1048 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1049 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1050 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1051 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1052 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1053 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1054 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1055 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1056 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1057 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1058 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1059 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1060 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1061 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1062 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1063 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1064 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1065 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1066 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1067 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1068 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1069 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1070 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1071 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1072 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1073 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1074 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1075 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1076 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1077 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1078 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1079 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1080 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1081 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1082 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1083 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1084 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1085 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1086 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1087 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1088 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1089 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1090 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1091 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1092 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1093 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1094 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1095 * testsuite/gas/mips/mips.exp: Run the new tests.
1097 2016-06-24 Alan Modra <amodra@gmail.com>
1099 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1101 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1103 * config/tc-mips.c (b_reloc_p): New function.
1104 (mips_fix_adjustable): Also keep the original microMIPS symbol
1105 referred from branch relocations.
1106 * testsuite/gas/mips/branch-local-1.d: New test.
1107 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1108 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1109 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1111 * testsuite/gas/mips/branch-local-1.s: New test source.
1112 * testsuite/gas/mips/mips.exp: Run the new cases.
1114 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1116 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1117 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1118 options. Correct erroneous enabling of SPFP instructions when
1121 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1123 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1124 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1125 setbool, xor3>: New tests.
1126 * testsuite/gas/ppc/power9.s: Likewise.
1128 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1130 * config/tc-xtensa.c: Include elf/xtensa.h.
1132 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1134 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1135 <BFD_RELOC_LO16_PCREL>: New switch cases.
1136 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1137 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1138 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1139 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1141 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1142 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1143 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1144 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1145 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1146 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1147 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1148 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1149 * testsuite/gas/mips/mips.exp: Run the new tests.
1151 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1153 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1154 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1155 via `fixP->fx_addsy'.
1157 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1159 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1160 Calculate relocation from the containing aligned doubleword.
1161 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1162 addend from the containing aligned doubleword.
1164 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1166 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1167 rather than `mips_opts' for the R6 ISA check.
1168 (mips_fix_adjustable): Likewise.
1169 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1170 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1171 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1172 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1173 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1174 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1175 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1176 * testsuite/gas/mips/mips.exp: Run the new tests.
1178 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1180 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1181 Add nps400 option and feature. Add check for nps400
1182 feature. Refactor existing checks to check subclass before
1184 (md_show_usage): Document flags for NPS-400 and add some other
1186 (cpu_type): Remove nps400 CPU type entry
1187 (check_zol): Remove bfd_mach_arc_nps400 case.
1188 (md_show_usage): Add help on -mcpu=nps400.
1189 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1191 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1192 -fpuda flags. Document -mcpu=nps400.
1193 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1194 expected flags to match ARC700 instead of NPS400.
1195 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1196 * testsuite/gas/arc/nps-400-2.d: Likewise.
1197 * testsuite/gas/arc/nps-400-3.d: Likewise.
1198 * testsuite/gas/arc/nps-400-4.d: Likewise.
1199 * testsuite/gas/arc/nps-400-5.d: Likewise.
1200 * testsuite/gas/arc/nps-400-6.d: Likewise.
1201 * testsuite/gas/arc/nps-400-7.d: Likewise.
1202 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1203 avoid clash with cbba instruction.
1204 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1205 * testsuite/gas/arc/textinsn3op.d: Likewise.
1206 * testsuite/gas/arc/textinsn3op.s: Likewise.
1207 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1208 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1210 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1212 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1213 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1215 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1217 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1220 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1222 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1224 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1226 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1227 %hmcddfr and %hva_mask_nz.
1228 (sparc_ip): New handling of asr/privileged/hyperprivileged
1229 registers, adapted to the new form of the sparc opcodes table.
1230 * testsuite/gas/sparc/rdasr.s: New file.
1231 * testsuite/gas/sparc/rdasr.d: Likewise.
1232 * testsuite/gas/sparc/wrasr.s: Likewise.
1233 * testsuite/gas/sparc/wrasr.d: Likewise.
1234 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1236 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1237 registers require it.
1238 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1239 registers and write instruction modalities.
1240 * testsuite/gas/sparc/wrpr.d: Likewise.
1241 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1243 * testsuite/gas/sparc/rdhpr.d: Likewise.
1244 * testsuite/gas/sparc/wrhpr.s: Likewise.
1245 * testsuite/gas/sparc/wrhpr.d: Likewise.
1247 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1249 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1250 architectures to use the right opcode architecture.
1251 (sparc_md_end): Handle v9{c,d,e,v,m}.
1252 (sparc_ip): Fix some comments.
1253 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1254 instruction, which is v9d.
1255 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1256 instruction from the test, as %mwait is not readable.
1257 * testsuite/gas/sparc/mwait.d: Likewise.
1258 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1259 mismatch architecture errors.
1260 * testsuite/gas/sparc/mism-2.s: New file.
1262 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1264 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1265 empty string to mark the end of the array.
1266 (hpriv_reg_table): Likewise.
1267 (v9a_asr_table): Likewise.
1268 (cmp_reg_entry): Handle entries with NULL names.
1270 (F_POP_PCREL): Likewise.
1271 (F_POP_TLS_CALL): Likewise.
1272 (F_POP_POSTFIX): Likewise.
1273 (struct pop_entry): New type.
1274 (pop_table): New variable.
1275 (enum pop_entry_type): New type.
1276 (struct perc_entry): Likewise.
1277 (NUM_PERC_ENTRIES): Define.
1278 (perc_table): New variable.
1279 (cmp_perc_entry): New function.
1280 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1282 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1283 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1286 2016-06-15 Nick Clifton <nickc@redhat.com>
1288 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1290 * config/tc-mcore.c (md_assemble): Likewise.
1291 * config/tc-mn10200.c (md_assemble): Likewise.
1292 * config/tc-moxie.c (md_assemble): Likewise.
1293 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1294 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1295 exception targets. Add alpha, hppa, microblaze and rl78 to list
1297 (forward): Add microblaze to list of exceptions.
1298 (fwdexp): Add alpha to list of exceptions.
1299 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1300 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1301 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1302 mn10200 to list of exceptions.
1303 (align2): Expect to fail for nds32.
1304 (cond): Add alpha and rl78 to list of exceptions.
1305 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1306 * testsuite/gas/all/string.d: Skip for tic4x.
1307 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1308 target does not support ELF.
1309 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1310 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1311 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1312 tests for sh-pe and sh-rtemscoff targets.
1313 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1315 (type): Run the noifunc version for alpha-freebsd and visium.
1316 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1317 mn10200 or moxie targets.
1318 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1319 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1321 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1322 mcore and rx targets.
1323 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1325 (purge): Expect to fail on the ns32k and vax.
1326 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1327 * testsuite/gas/nds32/ls.d: Likewise.
1328 * testsuite/gas/nds32/sys-reg.d: Likewise.
1329 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1330 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1331 * testsuite/gas/pe/section-align-3.d: Likewise.
1332 * testsuite/gas/pe/section-exclude.d: Likewise.
1333 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1335 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1336 for variations in whitespace.
1337 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1339 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1340 Installs a 32-bit value without generating warnings on 64-bit
1342 Use the new macro to replace the .word directives.
1344 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1346 * testsuite/gas/arc/add_s.d: New file.
1347 * testsuite/gas/arc/add_s.s: New file.
1349 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1351 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1352 * testsuite/gas/arc/nps400-6.d: Likewise.
1354 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1356 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1358 * testsuite/gas/arc/nps400-6.d: Likewise.
1360 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1362 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1363 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1364 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1365 * testsuite/gas/arc/nps400-6.d: Likewise.
1367 2016-06-14 Nick Clifton <nickc@redhat.com>
1369 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1372 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1374 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1375 JALR relocations on R6.
1376 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1377 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1378 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1379 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1380 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1381 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1383 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1384 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1386 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1387 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1389 * testsuite/gas/mips/mips.exp: Run the new tests.
1391 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1393 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1394 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1397 2016-06-13 Nick Clifton <nickc@redhat.com>
1399 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1400 that are not supported.
1402 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1404 * config/tc-cr16.c (check_range): Likewise.
1405 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1407 2016-06-08 Renlin Li <renlin.li@arm.com>
1409 * config/tc-aarch64.c (print_operands): Substitute size.
1410 (output_operand_error_record): Likewise.
1412 2016-06-07 Alan Modra <amodra@gmail.com>
1414 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1415 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1416 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1417 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1418 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1419 add vle_opcodes twice.
1420 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1422 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1424 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1425 (arm_ext_ras): Renamed from arm_ext_v8_2.
1426 (insns): Update for arm_ext_v8_2 renaming.
1427 (arm_extensions): Add "ras".
1428 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1429 * testsuite/gas/arm/armv8-a+ras.d: New.
1430 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1433 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1435 * itbl-parse.y (yyerror): Use modern argument declaration style.
1437 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1439 * config/tc-sh.c (parse_reg): Change type of mode argument to
1441 (get_operand): Adjust.
1442 (insert): Change type of how to bfd_reloc_code_real_type.
1443 (insert4): Likewise.
1444 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1445 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1447 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1449 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1452 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1455 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1456 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1457 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1458 * gas/testsuite/gas/ppc/power8.s: Likewise.
1459 * gas/testsuite/gas/ppc/power8.d: Likewise.
1460 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1462 * gas/testsuite/gas/ppc/power4.d: Likewise.
1464 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1467 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1468 * testsuite/gas/i386/x86-64-branch.d: Updated.
1469 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1470 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1471 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1473 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1475 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1476 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1478 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1480 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1481 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1483 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1485 * configure.tgt: Replace -uclibc with *.
1487 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1489 * config/tc-arc.c (parse_opcode_flags): New function.
1490 (find_opcode_match): Move flag parsing code out to new function.
1491 Ignore operands marked IGNORE.
1492 (build_fake_opcode_hash_entry): New function.
1493 (find_special_case_long_opcode): New function.
1494 (find_special_case): Lookup long opcodes.
1495 * testsuite/gas/arc/nps400-7.d: New file.
1496 * testsuite/gas/arc/nps400-7.s: New file.
1498 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1500 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1502 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1504 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1505 sentinal with iteration to array size.
1507 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1509 * config/xtensa-relax.h: Move typedefs of enums to the enums
1512 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1514 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1517 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1519 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1520 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1521 * testsuite/gas/arc/nps-400-1.d: Likewise.
1523 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1526 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1527 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1528 noavx512ifma and noavx512vbmi.
1529 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1530 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1532 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1533 * testsuite/gas/i386/noavx512-1.l: New file.
1534 * testsuite/gas/i386/noavx512-1.s: Likewise.
1535 * testsuite/gas/i386/noavx512-2.l: Likewise.
1536 * testsuite/gas/i386/noavx512-2.s: Likewise.
1538 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1541 * config/tc-i386.c (cpu_arch): Add 687.
1542 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1543 nosse4.1, nosse4.2, nosse4 and noavx2.
1544 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1545 register. Check cpuregxmm instead of cpusse for XMM register.
1546 Check cpuregymm instead of cpuavx for YMM register. Check
1547 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1548 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1549 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1550 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1551 * testsuite/gas/i386/arch-10.d (as): Likewise.
1552 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1553 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1554 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1556 * testsuite/gas/i386/no87-3.l: New file.
1557 * testsuite/gas/i386/no87-3.s: Likewise.
1558 * testsuite/gas/i386/noavx-3.l: Likewise.
1559 * testsuite/gas/i386/noavx-3.s: Likewise.
1560 * testsuite/gas/i386/noavx-4.d: Likewise.
1561 * testsuite/gas/i386/noavx-4.s: Likewise.
1562 * testsuite/gas/i386/nosse-4.l: Likewise.
1563 * testsuite/gas/i386/nosse-4.s: Likewise.
1564 * testsuite/gas/i386/nosse-5.d: Likewise.
1565 * testsuite/gas/i386/nosse-5.s: Likewise.
1567 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1570 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1572 (match_template): Check Intel64/AMD64 ISA.
1574 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1577 * config/tc-i386.c (intel64): New.
1578 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1579 (md_parse_option): Set intel64 instead of cpuamd64 and
1582 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1584 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1587 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1589 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1590 * testsuite/gas/ppc/altivec3.s: Likewise.
1591 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1592 * testsuite/gas/ppc/power9.s: Likewise.
1594 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1596 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1597 * testsuite/gas/i386/noavx-1.l: Likewise.
1598 * testsuite/gas/i386/nommx-1.l: Likewise.
1599 * testsuite/gas/i386/nosse-1.l: Likewise.
1600 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1601 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1602 * testsuite/gas/i386/noavx-1.s: Likewise.
1603 * testsuite/gas/i386/nommx-1.s: Likewise.
1604 * testsuite/gas/i386/nosse-1.s: Likewise.
1605 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1607 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1609 * config/tc-metag.c (metag_handle_align): Make the type of noop
1612 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1614 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1615 bfd_reloc_code_real_type.
1617 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1620 * config/tc-i386.c (cpu_flags_match): Require another match
1622 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1623 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1624 * testsuite/gas/i386/avx512vl-1.l: New file.
1625 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1626 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1627 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1628 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1629 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1630 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1631 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1633 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1636 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1637 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1638 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1640 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1642 * config/tc-i386.c (arch_entry): Remove negated.
1643 (noarch_entry): New struct.
1644 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1646 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1647 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1649 (output_message): New function.
1650 (show_arch): Use it. Handle cpu_noarch.
1651 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1652 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1653 * testsuite/gas/i386/noavx-1.l: New file.
1654 * testsuite/gas/i386/noavx-1.s: Likewise.
1655 * testsuite/gas/i386/noavx-2.s: Likewise.
1656 * testsuite/gas/i386/noavx-2.l: Likewise.
1657 * testsuite/gas/i386/nommx-1.s: Likewise.
1658 * testsuite/gas/i386/nommx-1.l: Likewise.
1659 * testsuite/gas/i386/nommx-2.s: Likewise.
1660 * testsuite/gas/i386/nommx-2.l: Likewise.
1661 * testsuite/gas/i386/nommx-3.s: Likewise.
1662 * testsuite/gas/i386/nommx-3.l: Likewise.
1663 * testsuite/gas/i386/nosse-1.s: Likewise.
1664 * testsuite/gas/i386/nosse-1.l: Likewise.
1665 * testsuite/gas/i386/nosse-2.s: Likewise.
1666 * testsuite/gas/i386/nosse-2.l: Likewise.
1667 * testsuite/gas/i386/nosse-3.s: Likewise.
1668 * testsuite/gas/i386/nosse-3.l: Likewise.
1670 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1673 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1674 instruction if supported by the currently selected fpu variant.
1675 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1676 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1678 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1680 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1681 jump relocations against MIPS16 or microMIPS symbols on RELA
1683 * testsuite/gas/mips/jalx-local.d: New test.
1684 * testsuite/gas/mips/jalx-local-n32.d: New test.
1685 * testsuite/gas/mips/jalx-local-n64.d: New test.
1686 * testsuite/gas/mips/jalx-local.s: New test source.
1687 * testsuite/gas/mips/mips.exp: Run the new tests.
1689 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1691 * config/tc-mips.c (md_apply_fix)
1692 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1695 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1697 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1698 operator to operatorT.
1699 (map_suffix_reloc_to_operator): Change return type to operatorT.
1701 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1703 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1705 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1707 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1708 handler_charp to const char *.
1710 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1712 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1713 (ft32_target_format): Likewise.
1714 (TARGET_FORMAT): Adjust.
1716 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1718 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1719 (ia64_frob_label): Likewise.
1721 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1723 * config/tc-cr16.c (check_range): Make type of retval op_err.
1724 * config/tc-crx.c: Likewise.
1726 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1728 * config/tc-arc.c (md_begin): Add XY registers.
1729 (cpu_types): Code density is default off for ARC EM.
1731 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1733 * config/tc-arc.c (attributes_t): Renamed attribute class to
1735 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1737 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1739 * configuse.tgt: Add entry for arm-phoenix.
1741 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1743 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1745 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1747 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1749 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1751 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1752 (md_begin): Likewise.
1753 (encode_condition): Likewise.
1754 (encode_cc3): Likewise.
1755 (encode_cc2): Likewise.
1756 (encode_operand): Likewise.
1757 (tic54x_undefined_symbol): Likewise.
1759 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1761 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1763 * doc/c-mips.texi: Document p6600 -march option.
1765 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1768 * config/tc-i386.c (md_apply_fix): Preserve addend for
1769 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1770 * testsuite/gas/i386/addend.d: New file.
1771 * testsuite/gas/i386/addend.s: Likewise.
1772 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1773 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1774 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1775 * testsuite/gas/i386/reloc32.d: Updated.
1777 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1779 * config/tc-mips.c (append_insn): Correct the encoding of a
1780 constant argument for microMIPS JALX.
1781 (tc_gen_reloc): Correct the encoding of an in-place addend for
1783 * testsuite/gas/mips/jalx-addend.d: New test.
1784 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1785 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1786 * testsuite/gas/mips/jalx-imm.d: New test.
1787 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1788 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1789 * testsuite/gas/mips/jalx-addend.s: New test source.
1790 * testsuite/gas/mips/jalx-imm.s: New test source.
1791 * testsuite/gas/mips/mips.exp: Run the new tests.
1793 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1795 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1798 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1800 * config/tc-arc.c (find_opcode_match): Remove casting away of
1802 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1804 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1806 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1808 (md_convert_frag): Likewise.
1810 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1812 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1813 cached opcode to NULL when we reach a non-matching opcode.
1814 * testsuite/gas/arc/asm-errors-2.d: New file.
1815 * testsuite/gas/arc/asm-errors-2.err: New file.
1816 * testsuite/gas/arc/asm-errors-2.s: New file.
1818 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1820 * config/tc-arc.c (tokenize_arguments): Add checks for array
1822 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1823 * testsuite/gas/arc/asm-errors.err: Update expected results.
1825 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1827 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1828 int to enum rx_cpu_types.
1830 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1832 * config/tc-dlx.c (struct machine_it): change the type of a field from
1833 int to bfd_reloc_code_real_type.
1834 * config/tc-tic4x.c: Likewise.
1836 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1838 * config/tc-v850.c (v850_target_arch): change type to enum
1840 * config/tc-v850.h (v850_target_arch): Likewise.
1842 2016-05-18 Alan Modra <amodra@gmail.com>
1844 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1845 allowed negative range.
1846 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1847 * testsuite/gas/ppc/power9.d: Update.
1849 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1851 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1852 disassembling and stop skipping targets.
1853 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1854 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1855 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1856 instruction for targets that have stronger alignment requirement.
1857 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1858 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1859 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1860 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1861 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1862 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1863 * testsuite/gas/arm/archv8m-main.d: Likewise.
1864 * testsuite/gas/arm/archv8m.s: Add label.
1865 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1866 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1867 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1869 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1871 * config/tc-m32r.c (mach_table): Make static and const.
1873 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1875 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1878 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1880 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1882 * config/tc-msp430.c (md_begin): Likewise.
1884 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1886 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1887 bfd_reloc_code_real_type where appropriate.
1888 (fixup16): Likewise.
1889 (fixup8_xg): Likewise.
1891 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1893 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1895 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1897 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1898 * testsuite/gas/ppc/power9.s: Likewise.
1900 2016-05-13 Alan Modra <amodra@gmail.com>
1902 * config/obj-coff.c (weak_uniquify): Delete unused var.
1904 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1906 * app.c (app_push): Use XNEW and related macros.
1907 * as.c (parse_args): Likewise.
1908 * cgen.c (make_right_shifted_expr): Likewise.
1909 (gas_cgen_tc_gen_reloc): Likewise.
1910 * config/bfin-defs.h: Likewise.
1911 * config/bfin-parse.y: Likewise.
1912 * config/obj-coff.c (stack_init): Likewise.
1913 (stack_push): Likewise.
1914 (coff_obj_symbol_new_hook): Likewise.
1915 (coff_obj_symbol_clone_hook): Likewise.
1916 (add_lineno): Likewise.
1917 (coff_frob_symbol): Likewise.
1918 * config/obj-elf.c (obj_elf_section_name): Likewise.
1919 (build_group_lists): Likewise.
1920 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1921 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1922 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1923 (find_or_make_literal_pool): Likewise.
1924 (add_to_lit_pool): Likewise.
1925 (fill_instruction_hash_table): Likewise.
1926 * config/tc-alpha.c (load_expression): Likewise.
1927 (emit_jsrjmp): Likewise.
1928 (s_alpha_ent): Likewise.
1929 (s_alpha_end): Likewise.
1930 (s_alpha_linkage): Likewise.
1931 (md_begin): Likewise.
1932 (tc_gen_reloc): Likewise.
1933 * config/tc-arc.c (arc_insert_opcode): Likewise.
1934 (arc_extcorereg): Likewise.
1935 * config/tc-bfin.c: Likewise.
1936 * config/tc-cr16.c: Likewise.
1937 * config/tc-cris.c: Likewise.
1938 * config/tc-crx.c (preprocess_reglist): Likewise.
1939 * config/tc-d10v.c: Likewise.
1940 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1941 (frv_tomcat_shuffle): Likewise.
1942 * config/tc-h8300.c: Likewise.
1943 * config/tc-i370.c (i370_macro): Likewise.
1944 * config/tc-i386.c (lex_got): Likewise.
1945 (md_parse_option): Likewise.
1946 * config/tc-ia64.c (alloc_record): Likewise.
1947 (set_imask): Likewise.
1948 (save_prologue_count): Likewise.
1949 (dot_proc): Likewise.
1950 (dot_endp): Likewise.
1951 (ia64_frob_label): Likewise.
1952 (add_qp_imply): Likewise.
1953 (add_qp_mutex): Likewise.
1954 (mark_resource): Likewise.
1955 (dot_alias): Likewise.
1956 * config/tc-m68hc11.c: Likewise.
1957 * config/tc-m68k.c (m68k_frob_label): Likewise.
1959 (mri_control_label): Likewise.
1960 (push_mri_control): Likewise.
1961 (build_mri_control_operand): Likewise.
1962 (s_mri_else): Likewise.
1963 (s_mri_break): Likewise.
1964 (s_mri_next): Likewise.
1965 (s_mri_for): Likewise.
1966 (s_mri_endw): Likewise.
1967 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1968 * config/tc-microblaze.c: Likewise.
1969 * config/tc-mmix.c (s_loc): Likewise.
1970 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1971 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1972 * config/tc-rl78.c: Likewise.
1973 * config/tc-rx.c (rx_include): Likewise.
1974 * config/tc-sh.c: Likewise.
1975 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1976 * config/tc-sparc.c: Likewise.
1977 * config/tc-spu.c: Likewise.
1978 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1979 (tic6x_start_unwind_section): Likewise.
1980 * config/tc-tilegx.c: Likewise.
1981 * config/tc-tilepro.c: Likewise.
1982 * config/tc-v850.c: Likewise.
1983 * config/tc-visium.c: Likewise.
1984 * config/tc-xgate.c: Likewise.
1985 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1986 (new_resource_table): Likewise.
1987 (resize_resource_table): Likewise.
1988 (xtensa_create_trampoline_frag): Likewise.
1989 (xtensa_maybe_create_literal_pool_frag): Likewise.
1990 (cache_literal_section): Likewise.
1991 * config/xtensa-relax.c (append_transition): Likewise.
1992 (append_condition): Likewise.
1993 (append_value_condition): Likewise.
1994 (append_constant_value_condition): Likewise.
1995 (append_literal_op): Likewise.
1996 (append_label_op): Likewise.
1997 (append_constant_op): Likewise.
1998 (append_field_op): Likewise.
1999 (append_user_fn_field_op): Likewise.
2000 (enter_opname_n): Likewise.
2001 (enter_opname): Likewise.
2002 (split_string): Likewise.
2003 (parse_insn_templ): Likewise.
2004 (clone_req_or_option_list): Likewise.
2005 (clone_req_option_list): Likewise.
2006 (parse_option_cond): Likewise.
2007 (parse_insn_pattern): Likewise.
2008 (parse_insn_repl): Likewise.
2009 (build_transition): Likewise.
2010 (build_transition_table): Likewise.
2011 * dw2gencfi.c (alloc_fde_entry): Likewise.
2012 (alloc_cfi_insn_data): Likewise.
2013 (cfi_add_CFA_remember_state): Likewise.
2014 (dot_cfi_escape): Likewise.
2015 (dot_cfi_fde_data): Likewise.
2016 (select_cie_for_fde): Likewise.
2017 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2018 * ecoff.c (ecoff_add_bytes): Likewise.
2019 (ecoff_build_debug): Likewise.
2020 * input-scrub.c (input_scrub_push): Likewise.
2021 (input_scrub_begin): Likewise.
2022 (input_scrub_next_buffer): Likewise.
2023 * itbl-ops.c (append_insns_as_macros): Likewise.
2024 (alloc_entry): Likewise.
2025 (alloc_field): Likewise.
2026 * listing.c (listing_newline): Likewise.
2027 (listing_listing): Likewise.
2028 * macro.c (get_any_string): Likewise.
2029 (delete_macro): Likewise.
2030 * stabs.c (generate_asm_file): Likewise.
2031 (stabs_generate_asm_lineno): Likewise.
2032 * subsegs.c (subseg_change): Likewise.
2033 (subseg_get): Likewise.
2034 * symbols.c (define_dollar_label): Likewise.
2035 (symbol_relc_make_sym): Likewise.
2036 * write.c (write_relocs): Likewise.
2038 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2040 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2041 (weak_name2altname): Likewise.
2042 (weak_uniquify): Likewise.
2043 (obj_coff_section): Likewise.
2044 (obj_coff_init_stab_section): Likewise.
2045 * config/obj-elf.c (obj_elf_section_name): Likewise.
2046 (obj_elf_init_stab_section): Likewise.
2047 * config/obj-evax.c (evax_shorten_name): Likewise.
2048 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2049 * config/tc-aarch64.c (create_register_alias): Likewise.
2050 * config/tc-alpha.c (load_expression): Likewise.
2051 (s_alpha_file): Likewise.
2052 (s_alpha_section_name): Likewise.
2053 (tc_gen_reloc): Likewise.
2054 * config/tc-arc.c (md_assemble): Likewise.
2055 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2056 (start_unwind_section): Likewise.
2057 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2058 (hppa_elf_mark_end_of_function): Likewise.
2059 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2060 (nios2_negate_arg): Likewise.
2061 * config/tc-rx.c (rx_section): Likewise.
2062 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2063 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2064 * config/tc-tic54x.c (tic54x_include): Likewise.
2065 (tic54x_macro_info): Likewise.
2066 (subsym_get_arg): Likewise.
2067 (subsym_substitute): Likewise.
2068 (tic54x_start_line_hook): Likewise.
2069 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2070 (xg_reverse_shift_count): Likewise.
2071 * config/xtensa-relax.c (enter_opname_n): Likewise.
2072 (split_string): Likewise.
2073 * dwarf2dbg.c (get_filenum): Likewise.
2074 (process_entries): Likewise.
2075 * expr.c (operand): Likewise.
2076 * itbl-ops.c (alloc_entry): Likewise.
2077 * listing.c (listing_message): Likewise.
2078 (listing_title): Likewise.
2079 * macro.c (check_macro): Likewise.
2080 * stabs.c (s_xstab): Likewise.
2081 * symbols.c (symbol_relc_make_expr): Likewise.
2082 * write.c (compress_debug): Likewise.
2084 2016-05-12 Nick Clifton <nickc@redhat.com>
2087 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2089 2016-05-11 Nick Clifton <nickc@redhat.com>
2092 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2093 big endian ARM configurations.
2095 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2096 Matthew Fortune <matthew.fortune@imgtec.com>
2098 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2100 (md_longopts): Likewise.
2101 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2102 (mips_ases): Define availability for DSPr3.
2103 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2104 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2105 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2107 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2108 .set nodspr3. Fix -mdspr2 formatting.
2109 * testsuite/gas/mips/mips32-dspr3.d: New file.
2110 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2111 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2113 2016-05-11 Nick Clifton <nickc@redhat.com>
2116 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2117 to the pool uses O_constant.
2118 * testsuite/gas/arm/pr20068.s: New test.
2119 * testsuite/gas/arm/pr20068.d: Test driver.
2121 2016-05-11 Nick Clifton <nickc@redhat.com>
2123 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2124 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2125 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2126 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2127 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2128 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2129 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2130 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2131 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2133 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2135 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2136 * testsuite/gas/i386/prefix.d: Adjust.
2137 * testsuite/gas/i386/rdpid.s: New test.
2138 * testsuite/gas/i386/rdpid.d: Ditto.
2139 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2140 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2141 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2142 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2144 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2146 * config/tc-i386.c (cpu_arch): Add RDPID.
2147 * doc/c-i386.texi: Document RDPID.
2149 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2151 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2152 set branch type of a symbol.
2154 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2156 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2157 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2159 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2160 (aeabi_set_public_attributes): Memorize the feature bits of the
2161 architecture selected for Tag_CPU_arch. Use it to set
2162 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2163 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2164 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2165 * testsuite/gas/arm/arch7em-bad-1.d: This.
2166 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2167 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2168 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2169 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2170 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2171 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2172 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2173 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2175 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2177 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2178 allowed_archs an array with 2 entries.
2179 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2180 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2181 (arm_extensions): Use separate entries in allowed_archs when several
2182 archs are allowed to use an extension and change ARCH_ANY in
2183 ARM_ARCH_NONE in allowed_archs.
2184 (arm_parse_extension): Check that, for each allowed_archs entry, all
2185 bits are set in the current architecture, ignoring ARM_ANY entries.
2186 (s_arm_arch_extension): Likewise.
2188 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2190 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2191 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2192 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2193 shared with a non M profile architecture.
2194 (do_rn): New function.
2195 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2197 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2198 (insns): Add ARMv8-M Security Extensions instructions.
2199 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2200 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2201 * testsuite/gas/arm/archv8m-cmse.s: New file.
2202 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2203 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2204 * testsuite/gas/arm/any-cmse.d: Likewise.
2205 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2206 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2207 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2208 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2209 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2210 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2212 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2214 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2215 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2217 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2219 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2220 (fpu_arch_vfp_v3): Likewise.
2221 (fpu_arch_neon_v1): Likewise.
2222 (arm_arch_full): Likewise.
2223 (parse_neon_el_struct_list): Initialize fields of firsttype.
2225 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2227 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2228 (arc_extinsn): Handle new introduced syntax.
2229 * testsuite/gas/arc/textinsn1op.d: New file.
2230 * testsuite/gas/arc/textinsn1op.s: Likewise.
2231 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2233 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2235 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2236 DW_LNS_fixed_advance_pc.
2238 2016-04-27 Alan Modra <amodra@gmail.com>
2240 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2241 (xmemdup0): New inline function.
2243 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2245 * config/tc-mips.c (code_option_type): New enum.
2246 (parse_code_option): Return status indicating option type.
2247 (s_mipsset): Update `parse_code_option' call site accordingly.
2248 Always set register sizes from the ISA with ISA overrides.
2249 (s_module): Update `parse_code_option' call site.
2250 * testsuite/gas/mips/isa-override-1.d: New test.
2251 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2252 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2253 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2254 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2255 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2256 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2257 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2258 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2259 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2260 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2261 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2262 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2263 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2264 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2265 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2266 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2267 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2268 * testsuite/gas/mips/isa-override-2.l: New list test.
2269 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2270 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2271 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2272 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2273 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2274 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2275 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2276 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2277 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2278 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2279 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2281 * testsuite/gas/mips/isa-override-1.s: New test source.
2282 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2283 * testsuite/gas/mips/isa-override-2.s: New test source.
2284 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2285 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2286 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2287 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2288 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2289 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2290 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2291 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2292 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2293 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2294 * testsuite/gas/mips/mips.exp: Run the new tests.
2296 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2299 * config/tc-bfin.c: Likewise.
2300 * config/tc-ia64.c: Likewise.
2301 * config/tc-mep.c: Likewise.
2302 * config/tc-metag.c: Likewise.
2303 * config/tc-nios2.c: Likewise.
2304 * config/tc-rl78.c: Likewise.
2306 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2308 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2309 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2310 (ARC Directives): Add NPS400 to .cpu directive list.
2312 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2314 * config/tc-aarch64.c (aarch64_features): Add "ras".
2315 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2316 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2317 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2318 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2319 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2321 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2323 * testsuite/gas/arc/nps400-6.d: New file.
2324 * testsuite/gas/arc/nps400-6.s: New file.
2326 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2328 * testsuite/gas/arc/nps400-4.d: New file.
2329 * testsuite/gas/arc/nps400-4.s: New file.
2330 * testsuite/gas/arc/nps400-5.d: New file.
2331 * testsuite/gas/arc/nps400-5.s: New file.
2333 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2335 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2338 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2340 Revert prevous change.
2341 * config/tc-arc.c (arc_option): Make .cpu directive
2342 case-sensitive again.
2344 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2346 * config/tc-arc.c (arc_option): Make .cpu directive
2349 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2351 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2353 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2355 * config/tc-mips.c (md_begin): Remove useless assignment.
2357 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2359 * Makefile.in: Regenerated with automake 1.11.6.
2360 * aclocal.m4: Likewise.
2361 * doc/Makefile.in: Likewise.
2363 2016-04-15 Alan Modra <amodra@gmail.com>
2365 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2367 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2369 * config/tc-nios2.c (nios2_as_options): Make file static.
2370 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2371 * config/tc-sparc.c (native_op_table): Likewise.
2373 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2375 * config/tc-m32c.c (M32C_Macros): Remove.
2376 * config/tc-msp430.c (option_numbers): Likewise.
2378 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2380 * testsuite/gas/arc/nps400-3.d: New file.
2381 * testsuite/gas/arc/nps400-3.s: New file.
2383 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2385 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2386 * testsuite/gas/arc/warn.s: Likewise.
2387 * testsuite/gas/elf/elf.exp: Run test for arc.
2389 2016-04-14 Nick Clifton <nickc@redhat.com>
2392 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2393 sections possibly having the SHF_STRINGS flag bit set.
2394 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2396 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2398 * config/tc-arc.c (mach_type_specified_p): Change type to
2400 (arc_option): Set private flags when parsing cpu pseudo-op.
2401 (md_parse_option): Set mach_type_specified_p to TRUE.
2403 2016-04-13 Nick Clifton <nickc@redhat.com>
2406 * testsuite/gas/v850/pr19937.s: New test.
2407 * testsuite/gas/v850/pr19937.d: New test control file.
2408 * testsuite/gas/v850/basic.exp: Run the new test.
2410 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2411 Andrew Bennett <andrew.bennett@imgtec.com>
2413 * config/tc-mips.c (relaxed_branch_length): Use the long
2414 sequence where the target is a weak symbol.
2415 (relaxed_micromips_32bit_branch_length): Likewise.
2416 (relaxed_micromips_16bit_branch_length): Likewise.
2417 * testsuite/gas/mips/branch-weak-1.d: New test.
2418 * testsuite/gas/mips/branch-weak-2.d: New test.
2419 * testsuite/gas/mips/branch-weak-3.d: New test.
2420 * testsuite/gas/mips/branch-weak-4.d: New test.
2421 * testsuite/gas/mips/branch-weak-5.d: New test.
2422 * testsuite/gas/mips/branch-weak.l: New stderr output.
2423 * testsuite/gas/mips/branch-weak.s: New test source.
2424 * testsuite/gas/mips/mips.exp: Run the new tests.
2426 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2428 * config/tc-mips.c (relaxed_branch_length): Use the long
2429 sequence where the distance cannot be determined.
2430 (relaxed_micromips_32bit_branch_length): Likewise.
2431 * testsuite/gas/mips/branch-extern-1.d: New test.
2432 * testsuite/gas/mips/branch-extern-2.d: New test.
2433 * testsuite/gas/mips/branch-extern-3.d: New test.
2434 * testsuite/gas/mips/branch-extern-4.d: New test.
2435 * testsuite/gas/mips/branch-extern.l: New stderr output.
2436 * testsuite/gas/mips/branch-extern.s: New test source.
2437 * testsuite/gas/mips/branch-section-1.d: New test.
2438 * testsuite/gas/mips/branch-section-2.d: New test.
2439 * testsuite/gas/mips/branch-section-3.d: New test.
2440 * testsuite/gas/mips/branch-section-4.d: New test.
2441 * testsuite/gas/mips/branch-section.l: New stderr output.
2442 * testsuite/gas/mips/branch-section.s: New test source.
2443 * testsuite/gas/mips/mips.exp: Run the new tests.
2445 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2447 * testsuite/gas/arc/textauxregister.d: New file.
2448 * testsuite/gas/arc/textauxregister.s: Likewise.
2449 * testsuite/gas/arc/textcondcode.d: Likewise.
2450 * testsuite/gas/arc/textcondcode.s: Likewise.
2451 * testsuite/gas/arc/textcoreregister.d: Likewise.
2452 * testsuite/gas/arc/textcoreregister.s: Likewise.
2453 * testsuite/gas/arc/textpseudoop.d: Likewise.
2454 * testsuite/gas/arc/textpseudoop.s: Likewise.
2455 * testsuite/gas/arc/ld2.d: Update test.
2456 * testsuite/gas/arc/st.d: Likewise.
2457 * testsuite/gas/arc/taux.d: Likewise.
2458 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2459 .extCoreRegister and .extAuxRegister documentation.
2460 * config/tc-arc.c (arc_extcorereg): New function.
2461 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2462 .extAuxRegister pseudo-ops.
2463 (extRegister_t): New type.
2464 (ext_condcode, arc_aux_hash): New global variable.
2465 (find_opcode_match): Check for extensions.
2466 (preprocess_operands): Likewise.
2467 (md_begin): Add aux registers in a hash.
2468 (assemble_insn): Update use arc_flags member.
2469 (tokenize_extregister): New function.
2470 (create_extcore_section): Likewise.
2471 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2473 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2475 * testsuite/gas/arc/noargs_a7.d: New file.
2476 * testsuite/gas/arc/noargs_a7.s: Likewise.
2477 * testsuite/gas/arc/noargs_hs.d: Likewise.
2478 * testsuite/gas/arc/noargs_hs.s: Likewise.
2480 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2482 * testsuite/gas/arc/textinsn-errors.d: New File.
2483 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2484 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2485 * testsuite/gas/arc/textinsn2op.d: Likewise.
2486 * testsuite/gas/arc/textinsn2op.s: Likewise.
2487 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2488 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2489 * testsuite/gas/arc/textinsn3op.d: Likewise.
2490 * testsuite/gas/arc/textinsn3op.s: Likewise.
2491 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2493 * config/tc-arc.c (arcext_section): New variable.
2494 (arc_extinsn): New function.
2495 (md_pseudo_table): Add .extInstruction pseudo op.
2496 (attributes_t): New type.
2497 (suffixclass, syntaxclass, syntaxclassmod): New constant
2499 (find_opcode_match): Remove arc_num_opcodes.
2500 (md_begin): Likewise.
2501 (tokenize_extinsn): New function.
2502 (arc_set_ext_seg): Likewise.
2503 (create_extinst_section): Likewise.
2505 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2507 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2508 (arc_adjust_symtab): New function.
2509 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2510 (obj_adjust_symtab): Likewise.
2511 * testsuite/gas/arc/taux.d: New file.
2512 * testsuite/gas/arc/taux.s: Likewise.
2514 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2516 * config/tc-mips.c (s_option): Sanitize `.option picX'
2518 * testsuite/gas/mips/option-pic-1.d: New test.
2519 * testsuite/gas/mips/option-pic-2.l: New list test.
2520 * testsuite/gas/mips/option-pic-1.s: New test source.
2521 * testsuite/gas/mips/option-pic-2.s: New test source.
2522 * testsuite/gas/mips/mips.exp: Run the new tests.
2524 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2526 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2528 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2529 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2530 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2531 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2532 * testsuite/gas/mips/mips.exp: Run the new tests.
2534 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2536 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2538 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2540 * messages.c (as_bad): Fix a typo in description.
2542 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2544 * config/tc-mips.c (mips_check_options): Unify messages.
2546 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2548 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2551 2016-04-08 Nick Clifton <nickc@redhat.com>
2554 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2555 COFF and AOUT sparc targets.
2557 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2559 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2560 * testsuite/gas/arc/nps400-2.d: New file.
2561 * testsuite/gas/arc/nps400-2.s: New file.
2563 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2565 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2567 (arc_opcode_hash_entry_iterator_init): New function.
2568 (arc_opcode_hash_entry_iterator_next): New function.
2569 (find_opcode_match): Iterate over all arc_opcode entries
2570 referenced by the arc_opcode_hash_entry passed in as a parameter.
2572 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2574 * config/tc-arc.c (arc_find_opcode): Now returns
2575 arc_opcode_hash_entry pointer.
2576 (find_opcode_match): Update argument type, extract arc_opcode from
2577 incoming arc_opcode_hash_entry.
2578 (find_special_case_pseudo): Update return type.
2579 (find_special_case_flag): Update return type.
2580 (find_special_case): Update return type.
2581 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2582 instruction mnemonic, then use find_opcode_match to identify
2583 specific arc_opcode.
2585 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2587 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2588 (arc_find_opcode): New function.
2589 (find_special_case_pseudo): Use arc_find_opcode.
2590 (find_special_case_flag): Likewise.
2591 (assemble_tokens): Likewise.
2592 (md_begin): Build hash using struct arc_opcode_hash_entry.
2594 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2596 * config/tc-arc.c (arc_option): Prepare string for automatic
2598 (declare_register): Likewise.
2600 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2602 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2603 Correct entry for RDMA. Alpha sort entries.
2605 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2607 * config/tc-arc.c (tokenize_flags): Allow greater range of
2608 characters into flag names.
2610 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2612 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2614 (preprocess_operands): Delete.
2615 (assemble_tokens): Remove call to preprocess_operands.
2617 2016-04-07 Nick Clifton <nickc@redhat.com>
2620 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2621 inside a %-macro could not be fully parsed.
2622 * expr.c (integer_constant): Accept and ignore U suffixes to
2624 (operand): When a missing closing parenthesis is encountered,
2625 report the character that was found instead.
2626 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2627 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2628 * testsuite/gas/sparc/pr19910-1.s: New test.
2629 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2630 * testsuite/gas/sparc/pr19910-2.s: New test.
2631 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2633 2016-04-06 Nick Clifton <nickc@redhat.com>
2635 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2636 an EINT instruction. Warn/fix as necessary.
2637 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2638 * testsuite/gas/msp430/bad.l: Update expected messages.
2640 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2642 * testsuite/gas/arc/nps400-1.d: Update expected results.
2643 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2645 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2647 * config/tc-arc.c (is_code_density_p): Compare directly the
2649 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2650 (check_cpu_feature): New function.
2651 (find_opcode_match): Use check_cpu_feature function.
2652 (preprocess_operands): Likewise.
2653 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2654 * testsuite/gas/arc/tdpfp.d: New file.
2655 * testsuite/gas/arc/tfpuda.d: Likewise.
2656 * testsuite/gas/arc/tfpx.s: Likewise.
2658 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2660 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2661 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2662 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2663 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2664 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2665 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2666 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2667 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2669 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2671 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2673 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2674 JUMP instructions type.
2675 * testsuite/gas/arc/relocs-errors.d: New file.
2676 * testsuite/gas/arc/relocs-errors.err: Likewise.
2677 * testsuite/gas/arc/relocs-errors.s: Likewise.
2679 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2682 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2683 only if i.disp_encoding != disp_encoding_32bit.
2684 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2685 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2686 * gas/testsuite/gas/i386/disp32.d: Updated.
2687 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2689 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2692 * testsuite/gas/i386/i386.exp: Run pr19498.
2693 * testsuite/gas/i386/pr19498.d: New file.
2694 * testsuite/gas/i386/pr19498.s: Likewise.
2696 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2698 * config/tc-arc.h: Include 'opcode/arc.h'.
2699 (MAX_INSN_ARGS): Delete.
2700 (MAX_INSN_FLGS): Delete.
2702 2016-04-04 Alan Modra <amodra@gmail.com>
2705 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2706 from function on all paths that set sy_resolving.
2708 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2710 * app.c (app_push): use XNEW macro.
2712 * config/obj-elf.c (obj_elf_change_section): Likewise.
2713 (elf_copy_symbol_attributes): Likewise.
2714 (obj_elf_size): Likewise.
2715 (build_group_lists): Likewise.
2716 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2717 (md_assemble): Likewise.
2718 (tc_gen_reloc): Likewise.
2719 (get_upper_str): Likewise.
2720 (aarch64_parse_features): Likewise.
2721 * config/tc-arm.c (insert_reg_alias): Likewise.
2722 (insert_neon_reg_alias): Likewise.
2723 (find_or_make_literal_pool): Likewise.
2724 (s_arm_elf_cons): Likewise.
2725 (add_unwind_opcode): Likewise.
2726 (arm_parse_extension): Likewise.
2727 * config/tc-avr.c (create_record_for_frag): Likewise.
2728 * config/tc-crx.c: Likewise.
2729 * config/tc-d30v.c: Likewise.
2730 * config/tc-dlx.c (s_proc): Likewise.
2731 * config/tc-ft32.c: Likewise.
2732 * config/tc-h8300.c: Likewise.
2733 * config/tc-hppa.c (pa_proc): Likewise.
2734 (create_new_space): Likewise.
2735 (create_new_subspace): Likewise.
2736 * config/tc-i860.c: Likewise.
2737 * config/tc-i960.c: Likewise.
2738 * config/tc-ia64.c: Likewise.
2739 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2740 (iq2000_record_hi16): Likewise.
2741 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2742 * config/tc-m32r.c (debug_sym): Likewise.
2743 (m32r_record_hi16): Likewise.
2744 * config/tc-m68k.c (m68k_ip): Likewise.
2745 (md_begin): Likewise.
2746 * config/tc-mcore.c: Likewise.
2747 * config/tc-microblaze.c (check_got): Likewise.
2748 * config/tc-mips.c (append_insn): Likewise.
2749 (s_mipsset): Likewise.
2750 (mips_record_label): Likewise.
2751 (s_mips_end): Likewise.
2752 * config/tc-mmix.c (mmix_frob_file): Likewise.
2753 * config/tc-mn10200.c: Likewise.
2754 * config/tc-mn10300.c: Likewise.
2755 * config/tc-moxie.c: Likewise.
2756 * config/tc-msp430.c: Likewise.
2757 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2758 * config/tc-ns32k.c: Likewise.
2759 * config/tc-or1k.c: Likewise.
2760 * config/tc-pdp11.c: Likewise.
2761 * config/tc-pj.c (fake_opcode): Likewise.
2762 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2763 (ppc_macro): Likewise.
2764 (ppc_dwsect): Likewise.
2765 (ppc_machine): Likewise.
2766 * config/tc-rl78.c (rl78_frag_init): Likewise.
2767 * config/tc-rx.c (rx_frag_init): Likewise.
2768 * config/tc-s390.c (s390_lit_suffix): Likewise.
2769 (s390_machine): Likewise.
2770 (s390_machinemode): Likewise.
2771 * config/tc-score.c (s3_insert_reg): Likewise.
2772 (s3_gen_reloc): Likewise.
2773 * config/tc-score7.c (s7_insert_reg): Likewise.
2774 (s7_gen_reloc): Likewise.
2775 * config/tc-tic30.c (tic30_operand): Likewise.
2776 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2777 * config/tc-tic54x.c (stag_add_field): Likewise.
2778 (tic54x_struct): Likewise.
2779 (tic54x_space): Likewise.
2780 (tic54x_field): Likewise.
2781 (tic54x_mlib): Likewise.
2782 (subsym_substitute): Likewise.
2783 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2784 * config/tc-vax.c: Likewise.
2785 * config/tc-xc16x.c: Likewise.
2786 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2787 (directive_push): Likewise.
2788 (xtensa_begin_directive): Likewise.
2789 (tokenize_arguments): Likewise.
2790 (xtensa_add_literal_sym): Likewise.
2791 (new_resource_table): Likewise.
2792 (resize_resource_table): Likewise.
2793 (emit_single_op): Likewise.
2794 (xtensa_create_trampoline_frag): Likewise.
2795 (xtensa_maybe_create_literal_pool_frag): Likewise.
2796 (xtensa_add_config_info): Likewise.
2797 (xtensa_realloc_fixup_cache): Likewise.
2798 (add_subseg_info): Likewise.
2799 (cache_literal_section): Likewise.
2800 (add_xt_block_frags): Likewise.
2801 (add_xt_prop_frags): Likewise.
2802 (init_op_placement_info_table): Likewise.
2803 (build_section_rename): Likewise.
2804 * config/tc-z80.c: Likewise.
2805 * config/tc-z8k.c: Likewise.
2806 * depend.c (register_dependency): Likewise.
2807 * dwarf2dbg.c (get_line_subseg): Likewise.
2808 (dwarf2_gen_line_info_1): Likewise.
2809 (get_filenum): Likewise.
2810 * ecoff.c (allocate_scope): Likewise.
2811 (allocate_vlinks): Likewise.
2812 (allocate_shash): Likewise.
2813 (allocate_thash): Likewise.
2814 (allocate_tag): Likewise.
2815 (allocate_forward): Likewise.
2816 (allocate_thead): Likewise.
2817 (allocate_lineno_list): Likewise.
2818 * expr.c (make_expr_symbol): Likewise.
2819 * hash.c (hash_new_sized): Likewise.
2820 * input-file.c (input_file_push): Likewise.
2821 * listing.c (file_info): Likewise.
2822 (listing_newline): Likewise.
2823 * macro.c (new_formal): Likewise.
2824 (define_macro): Likewise.
2825 * remap.c (add_debug_prefix_map): Likewise.
2826 * symbols.c (symbol_find_noref): Likewise.
2827 (define_dollar_label): Likewise.
2828 (fb_label_instance_inc): Likewise.
2829 (symbol_relc_make_value): Likewise.
2831 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2833 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2834 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2835 (ppc_znop): Likewise.
2836 (ppc_pe_section): Likewise.
2837 (ppc_frob_symbol): Likewise.
2838 * config/tc-tic30.c (tic30_operand): Likewise.
2839 * config/tc-tic4x.c (tic4x_sect): Likewise.
2840 (tic4x_usect): Likewise.
2842 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2844 * config/tc-alpha.c: Const qualify FLT_CHARS.
2845 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2846 * config/tc-cris.h: Likewise.
2848 * config/tc-mmix.c (md_atof): Adjust comment.
2849 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2850 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2852 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2854 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2855 * config/tc-score7.c (s7_gen_reloc): Likewise.
2857 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2859 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2860 bfd_reloc_code_real_type.
2862 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2864 * config/bfin-parse.y (current_inputline): Remove definition.
2865 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2867 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2869 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2872 2016-04-02 Alan Modra <amodra@gmail.com>
2875 * read.c (assign_symbol): Consume rest of line after an error
2876 rather than continuing to process the line.
2878 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2880 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2881 (MAX_FLAG_NAME_LENGTH): ...this.
2882 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2883 * config/tc-arc.c (tokenize_flags): Likewise.
2885 2016-04-01 Alan Modra <amodra@gmail.com>
2887 * cgen.c (weak_operand_overflow_check): Return const char*.
2888 * messages.c (as_internal_value_out_of_range): Formatting.
2889 (as_warn_value_out_of_range): Consify prefix param.
2890 (as_bad_value_out_of_range): Likewise.
2891 * read.c (s_errwarn): Constify msg..
2892 (s_float_space, float_cons): ..and err.
2893 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2894 ieee_md_atof, vax_md_atof): Update prototypes.
2895 * tc.h (md_atof): Update prototype.
2896 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2897 * config/atof-vax.c (vax_md_atof): Likewise.
2898 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2899 * config/tc-aarch64.c (md_atof): Return const char*.
2900 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2901 (s_alpha_comm): Constify sec_name.
2902 (section_name): Constify.
2903 (s_alpha_section): Consify name..
2904 (alpha_elf_section_letter): ..and ptr_msg param..
2905 (md_atof): ..and return.
2906 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2907 * config/tc-arc.c (md_atof): Return const char*.
2908 * config/tc-arm.c (md_atof): Likewise.
2909 * config/tc-avr.c (md_atof): Likewise.
2910 * config/tc-bfin.c (md_atof): Likewise.
2911 * config/tc-cr16.c (md_atof): Likewise.
2912 * config/tc-cris.c (md_atof): Likewise.
2913 * config/tc-crx.c (md_atof): Likewise.
2914 * config/tc-d10v.c (md_atof): Likewise.
2915 * config/tc-d30v.c (md_atof): Likewise.
2916 * config/tc-dlx.c (md_atof): Likewise.
2917 * config/tc-epiphany.c (md_atof): Likewise.
2918 * config/tc-fr30.c (md_atof): Likewise.
2919 * config/tc-frv.c (md_atof): Likewise.
2920 * config/tc-ft32.c (md_atof): Likewise.
2921 * config/tc-h8300.c (md_atof): Likewise.
2922 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2923 (struct default_space_dict): Likewise.
2924 (create_new_space): Constify name param.
2925 (create_new_subspace): Likewise.
2926 (is_defined_space, is_defined_subspace): Likewise.
2927 (pa_parse_space_stmt): Constify space_name param.
2928 (md_atof): Return const char*.
2929 (pa_spaces_begin): Constify name.
2930 * config/tc-i370.c (md_atof): Return const char*.
2931 * config/tc-i386.c (md_atof): Likewise.
2932 (x86_64_section_letter): Constify ptr_msg param.
2933 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2934 * config/tc-i860.c (struct i860_it): Constify error.
2935 (md_atof): Return const char*.
2936 * config/tc-i960.c (md_atof): Likewise.
2937 * config/tc-ia64.c (md_atof): Likewise.
2938 (ia64_elf_section_letter): Constify ptr_msg param.
2939 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2940 * config/tc-ip2k.c (md_atof): Return const char*.
2941 * config/tc-iq2000.c (md_atof): Likewise.
2942 * config/tc-lm32.c (md_atof): Likewise.
2943 * config/tc-m32c.c (md_atof): Likewise.
2944 * config/tc-m32r.c (md_atof): Likewise.
2945 * config/tc-m68hc11.c (md_atof): Likewise.
2946 * config/tc-m68k.c (md_atof): Likewise.
2947 * config/tc-mcore.c (md_atof): Likewise.
2948 * config/tc-mep.c (md_atof): Likewise.
2949 (mep_elf_section_letter): Constify ptr_msg param.
2950 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2951 * config/tc-metag.c (md_atof): Return const char*.
2952 * config/tc-microblaze.c (md_atof): Likewise.
2953 * config/tc-microblaze.h (md_atof): Delete prototype.
2954 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2955 (md_atof): Return const char*.
2956 * config/tc-mmix.c (md_atof): Likewise.
2957 * config/tc-mn10200.c (md_atof): Likewise.
2958 * config/tc-mn10300.c (md_atof): Likewise.
2959 * config/tc-moxie.c (md_atof): Likewise.
2960 * config/tc-msp430.c (md_atof): Likewise.
2961 * config/tc-mt.c (md_atof): Likewise.
2962 * config/tc-nds32.c (md_atof): Likewise.
2963 * config/tc-nios2.c (md_atof): Likewise.
2964 (nios2_elf_section_letter): Constify ptr_msg param.
2965 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2966 * config/tc-ns32k.c (md_atof): Return const char*.
2967 * config/tc-or1k.c (md_atof): Likewise.
2968 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2969 (md_atof): Return const char*.
2970 * config/tc-pj.c (md_atof): Likewise.
2971 * config/tc-ppc.c (md_atof): Likewise.
2972 * config/tc-rl78.c (md_atof): Likewise.
2973 * config/tc-rx.c (md_atof): Likewise.
2974 * config/tc-s390.c (md_atof): Likewise.
2975 * config/tc-score.c (s3_atof, md_atof): Likewise.
2976 * config/tc-sh.c (md_atof): Likewise.
2977 * config/tc-sparc.c (struct sparc_it): Constify error.
2978 (md_atof): Return const char*.
2979 * config/tc-spu.c (md_atof): Likewise.
2980 * config/tc-tic30.c (md_atof): Likewise.
2981 * config/tc-tic4x.c (md_atof): Likewise.
2982 * config/tc-tic54x.c (md_atof): Likewise.
2983 * config/tc-tic6x.c (md_atof): Likewise.
2984 * config/tc-tilegx.c (md_atof): Likewise.
2985 * config/tc-tilepro.c (md_atof): Likewise.
2986 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2987 * config/tc-vax.c (md_atof): Likewise.
2988 * config/tc-visium.c (md_atof): Likewise.
2989 * config/tc-xc16x.c (md_atof): Likewise.
2990 * config/tc-xgate.c (md_atof): Likewise.
2991 * config/tc-xstormy16.c (md_atof): Likewise.
2992 * config/tc-xtensa.c (md_atof): Likewise.
2993 * config/tc-z80.c (md_atof): Likewise.
2994 * config/tc-z8k.c (md_atof): Likewise.
2996 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2998 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3000 (xtensa_section_rename): Make argument type const char *.
3001 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3003 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3005 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3008 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3010 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3012 (m32c_indirect_operand): Likewise.
3013 * config/tc-nds32.c (do_pseudo_b): Likewise.
3014 (do_pseudo_bal): Likewise.
3015 (do_pseudo_ls_bhw): Likewise.
3017 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3019 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3021 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3023 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3025 * config/tc-sparc.c (s_register): Cast a literal to char * in
3028 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3030 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3032 * config/tc-m32r.c (expand_debug_syms): Likewise.
3033 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3034 * config/tc-z80.c (md_begin): Likewise.
3035 * stabs.c (stabs_generate_asm_func): Likewise.
3037 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3039 * cgen.c: Modernize the way functions declare arguments.
3040 * config/tc-bfin.c: Likewise.
3041 * config/tc-pdp11.c: Likewise.
3042 * literal.c: Likewise.
3044 * stabs.c: Likewise.
3046 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3048 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3049 variables unsigned char[].
3050 * config/tc-alpha.c (alpha_handle_align): Likewise.
3051 * config/tc-arm.c (arm_handle_align): Likewise.
3052 * config/tc-z80.c: Likewise.
3054 2016-03-30 Nick Clifton <nickc@redhat.com>
3057 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3060 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3062 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3063 * testsuite/gas/elf/elf.exp: Likewise.
3064 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3066 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3068 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3070 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3072 * testsuite/gas/arc/ext2op.d: New file.
3073 * testsuite/gas/arc/ext2op.s: Likewise.
3074 * testsuite/gas/arc/ext3op.d: Likewise.
3075 * testsuite/gas/arc/ext3op.s: Likewise.
3077 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3079 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3081 * config/tc-alpha.c (md_parse_option): Likewise.
3082 * config/tc-arc.c (md_parse_option): Likewise.
3083 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3084 (md_parse_option): Likewise.
3085 * config/tc-avr.c (md_parse_option): Likewise.
3086 * config/tc-bfin.c (md_parse_option): Likewise.
3087 * config/tc-cr16.c (md_parse_option): Likewise.
3088 * config/tc-cris.c (s_cris_arch): Likewise.
3089 (md_parse_option): Likewise.
3090 * config/tc-crx.c (md_parse_option): Likewise.
3091 * config/tc-d10v.c (md_parse_option): Likewise.
3092 * config/tc-d30v.c (md_parse_option): Likewise.
3093 * config/tc-dlx.c (md_parse_option): Likewise.
3094 * config/tc-epiphany.c (md_parse_option): Likewise.
3095 * config/tc-fr30.c (md_parse_option): Likewise.
3096 * config/tc-frv.c (md_parse_option): Likewise.
3097 * config/tc-ft32.c (md_parse_option): Likewise.
3098 * config/tc-h8300.c (md_parse_option): Likewise.
3099 * config/tc-hppa.c (md_parse_option): Likewise.
3100 * config/tc-i370.c (md_parse_option): Likewise.
3101 * config/tc-i386.c (md_parse_option): Likewise.
3102 * config/tc-i860.c (md_parse_option): Likewise.
3103 * config/tc-i960.c (md_parse_option): Likewise.
3104 * config/tc-ia64.c (md_parse_option): Likewise.
3105 * config/tc-ip2k.c (md_parse_option): Likewise.
3106 * config/tc-iq2000.c (md_parse_option): Likewise.
3107 * config/tc-lm32.c (md_parse_option): Likewise.
3108 * config/tc-m32c.c (md_parse_option): Likewise.
3109 * config/tc-m32r.c (md_parse_option): Likewise.
3110 * config/tc-m68hc11.c (md_parse_option): Likewise.
3111 * config/tc-m68k.c (md_parse_option): Likewise.
3112 * config/tc-mcore.c (md_parse_option): Likewise.
3113 * config/tc-mep.c (md_parse_option): Likewise.
3114 * config/tc-metag.c (struct metag_long_option): Likewise.
3115 (md_parse_option): Likewise.
3116 * config/tc-microblaze.c (md_parse_option): Likewise.
3117 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3118 * config/tc-mips.c (md_parse_option): Adjust.
3119 * config/tc-mmix.c (md_parse_option): Likewise.
3120 * config/tc-mn10200.c (md_parse_option): Likewise.
3121 * config/tc-mn10300.c (md_parse_option): Likewise.
3122 * config/tc-moxie.c (md_parse_option): Likewise.
3123 * config/tc-msp430.c (md_parse_option): Likewise.
3124 * config/tc-mt.c (md_parse_option): Likewise.
3125 * config/tc-nds32.c (md_parse_option): Likewise.
3126 * config/tc-nds32.h (nds32_parse_option): Likewise.
3127 * config/tc-nios2.c (md_parse_option): Likewise.
3128 * config/tc-ns32k.c (md_parse_option): Likewise.
3129 * config/tc-or1k.c (md_parse_option): Likewise.
3130 * config/tc-pdp11.c (md_parse_option): Likewise.
3131 * config/tc-pj.c (md_parse_option): Likewise.
3132 * config/tc-ppc.c (md_parse_option): Likewise.
3133 * config/tc-rl78.c (md_parse_option): Likewise.
3134 * config/tc-rx.c (md_parse_option): Likewise.
3135 * config/tc-s390.c (s390_parse_cpu): Likewise.
3136 * config/tc-score.c (md_parse_option): Likewise.
3137 * config/tc-sh.c (md_parse_option): Likewise.
3138 * config/tc-sparc.c (md_parse_option): Likewise.
3139 * config/tc-spu.c (md_parse_option): Likewise.
3140 * config/tc-tic30.c (md_parse_option): Likewise.
3141 * config/tc-tic4x.c (md_parse_option): Likewise.
3142 * config/tc-tic54x.c (md_parse_option): Likewise.
3143 * config/tc-tic6x.c (md_parse_option): Likewise.
3144 * config/tc-tilegx.c (md_parse_option): Likewise.
3145 * config/tc-tilepro.c (md_parse_option): Likewise.
3146 * config/tc-v850.c (md_parse_option): Likewise.
3147 * config/tc-vax.c (md_parse_option): Likewise.
3148 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3149 * config/tc-xc16x.c (md_parse_option): Likewise.
3150 * config/tc-xgate.c (md_parse_option): Likewise.
3151 * config/tc-xstormy16.c (md_parse_option): Likewise.
3152 * config/tc-xtensa.c (md_parse_option): Likewise.
3153 * config/tc-z80.c (md_parse_option): Likewise.
3154 * config/tc-z8k.c (md_parse_option): Likewise.
3155 * tc.h (md_parse_option): Likewise.
3157 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3159 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3160 * config/tc-hppa.c (fix_new_hppa): Likewise.
3161 (pa_vtable_entry): Likewise.
3162 (pa_vtable_inherit): Likewise.
3163 * config/tc-m68k.c (md_begin): Likewise.
3165 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3167 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3168 * config/obj-elf.h (obj_elf_section_name): Adjust.
3169 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3170 (aarch64_parse_cpu): Likewise.
3171 (aarch64_parse_arch): Likewise.
3172 * config/tc-arm.c (arm_parse_extension): Likewise.
3173 (arm_parse_cpu): Likewise.
3174 (arm_parse_arch): Likewise.
3175 * config/tc-nds32.c: Likewise.
3176 * config/xtensa-relax.c (parse_special_fn): Likewise.
3177 * stabs.c (generate_asm_file): Likewise.
3179 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3181 * config/tc-cr16.c (cr16_assemble): New function.
3182 (md_assemble): Call cr16_assemble.
3184 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3186 * as.c (parse_args): Adjust.
3187 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3188 * config/obj-elf.c (elf_frob_symbol): Adjust.
3190 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3192 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3193 registers to be in the 16..31 range.
3195 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3197 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3200 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3202 * config/tc-visium.c (md_atof): Localize the string returned on
3205 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3207 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3208 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3209 * config/tc-m68hc11.c (md_begin): Likewise.
3210 (print_opcode_list): Likewise.
3211 * config/tc-msp430.c (msp430_section): Likewise.
3212 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3213 (s3_build_dependency_insn_hsh): Likewise.
3214 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3215 (s7_build_dependency_insn_hsh): Likewise.
3216 * config/tc-tic4x.c: Likewise.
3217 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3218 (subsym_get_arg): Likewise.
3219 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3220 (get_directive): Likewise.
3221 (cache_literal_section): Likewise.
3222 * config/xtensa-relax.c: Likewise.
3223 * symbols.c (symbol_create): Likewise.
3224 (local_symbol_make): Likewise.
3225 (symbol_relc_make_expr): Likewise.
3227 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3229 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3232 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3234 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3237 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3239 * config/tc-ia64.c (ia64_do_align): Remove.
3240 (ia64_cons_align): Call do_align () directly.
3241 (dot_proc): Likewise.
3242 (stmt_float_cons): Likewise.
3244 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3246 * listing.c (listing_message): Use XNEW style allocation macros.
3247 * read.c (read_a_source_file): Likewise.
3248 (read_symbol_name): Likewise.
3249 (s_mri_common): Likewise.
3250 (assign_symbol): Likewise.
3251 (s_reloc): Likewise.
3252 (emit_expr_with_reloc): Likewise.
3253 (s_incbin): Likewise.
3254 (s_include): Likewise.
3255 * sb.c (sb_build): Likewise.
3256 (sb_check): Likewise.
3258 2016-03-22 Alan Modra <amodra@gmail.com>
3260 * write.c (record_alignment): Revert 2016-02-18 change.
3262 2016-03-22 Alan Modra <amodra@gmail.com>
3264 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3265 (emit_jsrjmp, tc_gen_reloc): Likewise.
3266 * config/tc-i370.c (i370_macro): Likewise.
3268 2016-03-22 Nick Clifton <nickc@redhat.com>
3270 * configure: Regenerate.
3272 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3274 * testsuite/gas/arc/nps400-0.d: New file.
3275 * testsuite/gas/arc/nps400-0.s: New file.
3276 * testsuite/gas/arc/nps400-1.d: New file.
3277 * testsuite/gas/arc/nps400-1.s: New file.
3279 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3281 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3282 declarations to start of block. Reset code on all flags before
3283 attempting to match them. Handle multiple hits on the same flag.
3285 * testsuite/gas/arc/asm-errors.d: New file.
3286 * testsuite/gas/arc/asm-errors.err: New file.
3287 * testsuite/gas/arc/asm-errors.s: New file.
3289 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3291 * config/tc-arc.c (cpu_types): Add nps400 entry.
3292 (check_zol): Handle nps400.
3294 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3296 * config/tc-arc.c (arc_select_cpu): Remove use of
3299 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3301 * config/tc-arc.c (arc_target): Delay initialisation until
3303 (arc_target_name): Likewise.
3304 (arc_features): Likewise.
3305 (arc_mach_type): Likewise.
3306 (cpu_types): Remove "all" entry.
3307 (arc_select_cpu): New function, most of the content is from...
3308 (md_parse_option): ... here. Call new arc_select_cpu.
3309 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3311 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3313 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3314 * testsuite/gas/arc/inline-data-2.d: New file.
3316 2016-03-21 Nick Clifton <nickc@redhat.com>
3318 * atof-generic.c: Replace use of alloca with call to xmalloc.
3320 * dwarf2dbg.c: Likewise.
3321 * macro.c: Likewise.
3322 * remap.c: Likewise.
3323 * stabs.c: Likewise.
3324 * symbols.c: Likewise.
3325 * config/obj-elf.c: Likewise.
3326 * config/tc-aarch64.c: Likewise.
3327 * config/tc-arc.c: Likewise.
3328 * config/tc-arm.c: Likewise.
3329 * config/tc-avr.c: Likewise.
3330 * config/tc-ia64.c: Likewise.
3331 * config/tc-mips.c: Likewise.
3332 * config/tc-msp430.c: Likewise.
3333 * config/tc-nds32.c: Likewise.
3334 * config/tc-ppc.c: Likewise.
3335 * config/tc-sh.c: Likewise.
3336 * config/tc-tic30.c: Likewise.
3337 * config/tc-tic54x.c: Likewise.
3338 * config/tc-xstormy16.c: Likewise.
3339 * config/te-vms.c: Likewise.
3340 * configure: Regenerate.
3342 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3344 * tc-i386.c (f32_1): Change type to unsigned char[].
3364 (jump_31): Likewise.
3365 (f32_patt): Likewise.
3366 (f16_patt): Likewise.
3375 (alt_patt): Likewise.
3377 2016-03-18 Nick Clifton <nickc@redhat.com>
3379 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3380 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3381 .tlsdescldr and .xword directives.
3384 * testsuite/gas/aarch64/pr19721.s: New test source file.
3385 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3387 * doc/as.texinfo: Place the target specific command line options
3388 into their own man page section.
3390 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3392 * config/tc-arm.c (N_S_32): New.
3393 (N_F_16_32): Likewise.
3394 (N_SUF_32): Support N_F16.
3395 (N_IF_32): Likewise.
3396 (neon_dyadic_misc): Likewise.
3397 (do_neon_cmp): Likewise.
3398 (do_neon_cmp_inv): Likewise.
3399 (do_neon_mul): Likewise.
3400 (do_neon_fcmp_absolute): Likewise.
3401 (do_neon_step): Likewise.
3402 (do_neon_abs_neg): Likewise.
3403 (CVT_FLAVOR_VAR): Likewise.
3404 (do_neon_cvt_1): Likewise.
3405 (do_neon_recip_est): Likewise.
3406 (do_vmaxnm): Likewise.
3407 (do_vrint_1): Likewise.
3408 (neon_check_type): Check architecture support for FP16 extension.
3409 (insns): Update comments.
3410 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3411 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3412 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3413 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3415 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3417 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3420 2016-03-16 Nick Clifton <nickc@redhat.com>
3422 * read.c (emit_expr_with_reloc): Add code check a bignum with
3424 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3426 * testsuite/gas/elf/bignum.s: New test source file.
3427 * testsuite/gas/elf/bignum.d: New test driver file.
3428 * testsuite/gas/elf/elf.exp: Run the new test.
3430 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3432 * doc/c-i386.texi (Register Naming): Update to details of the
3433 latest architecture version.
3435 2016-03-10 Mickael Guene <mickael.guene@st.com>
3438 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3440 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3441 (do_t_mov_cmp): Likewise.
3442 (do_t_add_sub): Protect against bad relocations usage.
3443 (do_t_mov_cmp): Likewise.
3444 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3445 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3446 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3447 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3449 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3451 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3453 (do_neon_ld_st_lane): Likewise.
3454 (do_neon_ld_dup): Likewise.
3456 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3458 * testsuite/gas/arc/inline-data-1.d: New file.
3459 * testsuite/gas/arc/inline-data-1.s: New file.
3461 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3463 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3464 * doc/c-arm.texi: Add cortex-r8.
3466 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3468 * config/tc-arc.c: Add const qualifiers.
3469 * config/tc-h8300.c (md_begin): Likewise.
3470 * config/tc-ia64.c (print_prmask): Likewise.
3471 * config/tc-msp430.c (msp430_operands): Likewise.
3472 * config/tc-nds32.c (struct suffix_name): Likewise.
3473 (struct nds32_parse_option_table): Likewise.
3474 (struct nds32_set_option_table): Likewise.
3475 (do_pseudo_pushpopm): Likewise.
3476 (do_pseudo_pushpop_stack): Likewise.
3477 (nds32_relax_relocs): Likewise.
3478 (nds32_flag): Likewise.
3479 (struct nds32_hint_map): Likewise.
3480 (nds32_find_reloc_table): Likewise.
3481 (nds32_match_hint_insn): Likewise.
3482 * config/tc-s390.c: Likewise.
3483 * config/tc-sh.c (get_specific): Likewise.
3484 * config/tc-tic30.c: Likewise.
3485 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3486 (tic4x_indirect_parse): Likewise.
3487 * config/tc-vax.c (vax_cons): Likewise.
3488 * config/tc-z80.c (struct reg_entry): Likewise.
3489 * config/tc-epiphany.c (md_assemble): Adjust.
3490 (epiphany_assemble): New function.
3491 (epiphany_elf_section_rtn): Call do_align directly.
3492 (epiphany_elf_section_text): Likewise.
3493 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3494 (ip2k_elf_section_text): Likewise.
3495 * read.c (do_align): Make it not static.
3496 * read.h (do_align): New prototype.
3498 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3500 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3501 for ARMv8.1 AdvSIMD use.
3502 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3503 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3505 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3507 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3509 (record_feature_use): New.
3510 (mark_feature_used): Use record_feature_use.
3511 (do_neon_qrdmlah): New.
3512 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3514 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3515 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3516 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3517 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3518 Make source file explicit.
3519 * testsuite/gas/arm/armv8-a+rdma.l: New.
3520 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3521 directives. Fix white-space.
3522 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3524 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3526 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3528 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3529 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3531 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3532 (tc_arc_fix_adjustable): Changed default return value to 1.
3533 * testsuite/gas/arc/j.d: Updated expected symbol
3534 * testsuite/gas/arc/jl.d: Likewise
3535 * testsuite/gas/arc/relax-avoid1.d: Likewise
3536 * testsuite/gas/arc/st.d: Likewise
3538 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3540 * config/tc-arc.c: Enable code density instructions for ARC EM.
3542 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3545 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3547 * as.c (flag_use_elf_stt_common): New.
3548 (show_usage): Add --elf-stt-common=.
3549 (option_values): Add OPTION_ELF_STT_COMMON.
3550 (std_longopts): Add --elf-stt-common=.
3551 (parse_args): Handle --elf-stt-common=.
3552 * as.h (flag_use_elf_stt_common): New.
3553 * config.in: Regenerated.
3554 * configure: Likewise.
3555 * configure.ac: Add --enable-elf-stt-common and define
3556 DEFAULT_GENERATE_ELF_STT_COMMON.
3557 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3558 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3559 * doc/as.texinfo: Document --elf-stt-common=.
3560 * testsuite/gas/elf/common3.s: New file.
3561 * testsuite/gas/elf/common3a.d: Likewise.
3562 * testsuite/gas/elf/common3b.d: Likewise.
3563 * testsuite/gas/elf/common4.s: Likewise.
3564 * testsuite/gas/elf/common4a.d: Likewise.
3565 * testsuite/gas/elf/common4b.d: Likewise.
3566 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3567 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3568 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3570 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3571 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3572 --elf-stt-common=no to as.
3573 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3574 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3575 --elf-stt-common=no to as.
3576 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3577 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3578 of dw2-compress-3 and dw2-compressed-3.
3580 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3582 * as.c (select_emulation_mode): Add const qualifiers.
3584 * config/bfin-defs.h: Likewise.
3585 * config/bfin-parse.y: Likewise.
3586 * config/rx-parse.y: Likewise.
3587 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3588 (struct aarch64_cpu_option_table): Likewise.
3589 (struct aarch64_arch_option_table): Likewise.
3590 (struct aarch64_option_cpu_value_table): Likewise.
3591 (struct aarch64_long_option_table): Likewise.
3592 (struct aarch64_option_abi_value_table): Likewise.
3593 * config/tc-arm.c (struct reloc_entry): Likewise.
3594 (tc_gen_reloc): Likewise.
3595 (struct arm_option_table): Likewise.
3596 (struct arm_legacy_option_table): Likewise.
3597 (struct arm_cpu_option_table): Likewise.
3598 (struct arm_arch_option_table): Likewise.
3599 (struct arm_option_extension_value_table): Likewise.
3600 (struct arm_option_fpu_value_table): Likewise.
3601 (struct arm_option_value_table): Likewise.
3602 (struct arm_long_option_table): Likewise.
3603 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3604 (struct mcu_type_s): Likewise.
3605 (struct exp_mod_s): Likewise.
3606 (avr_operand): Likewise.
3607 (avr_operands): Likewise.
3608 * config/tc-d10v.c (md_begin): Likewise.
3609 * config/tc-dlx.c: Likewise.
3610 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3611 * config/tc-ft32.c (parse_condition): Likewise.
3612 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3613 * config/tc-hppa.c (pa_ip): Likewise.
3614 (hppa_regname_to_dw2regnum): Likewise.
3615 * config/tc-i370.c (i370_elf_suffix): Likewise.
3616 * config/tc-i960.c (struct tabentry): Likewise.
3617 * config/tc-m32r.c: Likewise.
3618 * config/tc-m68k.c: Likewise.
3619 * config/tc-m68k.h: Likewise.
3620 * config/tc-mcore.c (parse_psrmod): Likewise.
3621 * config/tc-metag.c (struct metag_core_option): Likewise.
3622 (struct metag_long_option): Likewise.
3623 * config/tc-microblaze.c: Likewise.
3624 * config/tc-mips.c (macro): Likewise.
3625 * config/tc-mn10200.c: Likewise.
3626 * config/tc-mn10300.c: Likewise.
3627 * config/tc-msp430.c (struct rcodes_s): Likewise.
3628 (struct hcodes_s): Likewise.
3629 (md_parse_option): Likewise.
3630 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3631 (optlist): Likewise.
3632 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3633 (tc_ppc_regname_to_dw2regnum): Likewise.
3634 * config/tc-ppc.h: Likewise.
3635 * config/tc-rl78.c: Likewise.
3636 * config/tc-rx.c (struct cpu_type): Likewise.
3637 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3638 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3639 (sparc_ip): Likewise.
3640 * config/tc-spu.c (insn_fmt_string): Likewise.
3641 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3642 * config/tc-v850.c: Likewise.
3643 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3644 (struct visium_long_option_table): Likewise.
3645 * config/tc-xgate.c: Likewise.
3646 * config/tc-z8k.c: Likewise.
3647 * read.c (add_include_dir): Likewise.
3650 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3652 * testsuite/gas/all/gas.exp: Change target pattern to cover
3654 * testsuite/gas/all/redef3.d: Likewise.
3655 * testsuite/gas/elf/elf.exp: Likewise.
3657 2016-02-24 Renlin Li <renlin.li@arm.com>
3659 * config/tc-arm.c (BAD_FP16): New error message macro.
3660 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3661 fp16 scalar instructions.
3662 (neon_check_type): Allow different size from key.
3663 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3664 (try_vfp_nsyn): Likewise.
3665 (do_vfp_nsyn_mla_mls): Likewise.
3666 (do_vfp_nsyn_fma_fms): Likewise.
3667 (do_vfp_nsyn_ldm_stm): Likewise
3668 (do_vfp_nsyn_sqrt): Likewise
3669 (do_vfp_nsyn_div): Likewise
3670 (do_vfp_nsyn_nmul): Likewise.
3671 (do_vfp_nsyn_cmp): Likewise.
3672 (do_neon_shll): Likewise.
3673 (do_vfp_nsyn_cvt_fpv8): Likewise.
3674 (do_neon_cvttb_2): Likewise.
3675 (do_neon_mov): Likewise.
3676 (do_neon_rshift_round_imm): Likewise.
3677 (do_neon_ldr_str): Likewise.
3678 (do_vfp_nsyn_fpv8): Likewise.
3679 (do_vmaxnm): Likewise.
3680 (do_vrint_1): Likewise.
3681 (insns): New entry for vins, vmovx.
3682 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3683 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3684 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3685 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3686 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3687 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3688 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3690 2016-02-24 Renlin Li <renlin.li@arm.com>
3692 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3693 (neon_shape_class): New SC_HALF.
3694 (neon_shape_el): New SE_H.
3695 (neon_shape_el_size): New size for SE_H.
3696 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3697 (neon_select_shape): Add SE_H support code.
3698 (el_type_of_type_chk): Use N_F_ALL.
3699 (do_vfp_nsyn_cvt): Add SE_H shape support.
3700 (do_neon_cvtz): Likewise.
3701 (do_neon_cvt_1): Likewise.
3702 (do_neon_cvttb_1): Likewise.
3704 2016-02-24 Renlin Li <renlin.li@arm.com>
3706 * testsuite/gas/arm/copro.d: Adjust output.
3707 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3709 2016-02-24 Renlin Li <renlin.li@arm.com>
3711 * testsuite/gas/arm/mask_1.d: New.
3712 * testsuite/gas/arm/mask_1.s: New.
3714 2016-02-24 Renlin Li <renlin.li@arm.com>
3716 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3717 * testsuite/gas/arm/copro.d: Update.
3719 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3721 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3722 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3724 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3726 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3728 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3730 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3733 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3735 * output-file.c (output_file_create): Make file name argument const.
3736 (output_file_close): Likewise.
3737 * output-file.h (output_file_create): Adjust.
3738 (output_file_close): Likewise.
3739 * depend.c (quote_string_for_make): Make src argument const char *.
3740 (register_dependency): Likewise.
3741 (wrap_output): Likewise.
3742 * as.h (register_dependency): Adjust.
3743 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3745 * symbols.c (S_SET_EXTERNAL): Likewise.
3746 * input-scrub.c (as_where): Return the file name.
3747 * as.h (as_where): Adjust prototype.
3748 * app.c (do_scrub_chars): Adjust.
3749 * cond.c (s_elseif): Likewise.
3751 (initialize_cframe): Likewise.
3752 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3753 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3754 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3755 * config/tc-aarch64.c (output_info): Likewise.
3756 * config/tc-ia64.c (md_assemble): Likewise.
3757 (dot_alias): Likewise.
3758 * config/tc-m68k.c (m68k_frob_label): Likewise.
3759 * config/tc-mmix.c (s_bspec): Likewise.
3760 (mmix_handle_mmixal): Likewise.
3761 * config/tc-rx.c (rx_include): Likewise.
3762 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3763 (tic54x_adjust_symtab): Likewise.
3764 * config/tc-xtensa.c (directive_push): Likewise.
3765 (xtensa_sanity_check): Likewise.
3766 (xtensa_relax_frag): Likewise.
3767 (md_convert_frag): Likewise.
3768 (tinsn_to_slotbuf): Likewise.
3769 * dwarf2dbg.c (dwarf2_where): Likewise.
3770 * ecoff.c (add_file): Likewise.
3771 (ecoff_generate_asm_lineno): Likewise.
3772 * expr.c (make_expr_symbol): Likewise.
3773 * frags.c (frag_new): Likewise.
3774 (frag_var_init): Likewise.
3775 * listing.c (listing_newline): Likewise.
3776 * messages.c (identify): Likewise.
3777 (as_show_where): Likewise.
3778 (as_warn_internal): Likewise.
3779 (as_bad_internal): Likewise.
3780 * read.c (s_irp): Likewise.
3781 (s_macro): Likewise.
3782 (s_reloc): Likewise.
3783 * stabs.c (stabs_generate_asm_file): Likewise.
3784 (stabs_generate_asm_lineno): Likewise.
3785 (stabs_generate_asm_func): Likewise.
3786 * write.c (fix_new_internal): Likewise.
3787 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3788 (as_warn_value_out_of_range): Adjust prototype.
3789 (as_bad_value_out_of_range): Adjust prototype.
3790 * messages.c (identify): Make file name argument const char *.
3791 (as_warn_internal): Likewise.
3792 (as_warn_where): Likewise.
3793 (as_bad_internal): Likewise.
3794 (as_bad_where): Likewise.
3795 (as_internal_value_out_of_range): Likewise.
3796 (as_warn_value_out_of_range): Likewise.
3797 (as_bad_value_out_of_range): Likewise.
3798 * as.h (found_comment_file): Change type to const char *.
3799 * cond.c (file_line::file): Likewise.
3800 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3801 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3802 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3803 * config/tc-aarch64.c (output_info): Likewise.
3804 * config/tc-alpha.c (insert_operand): Likewise.
3805 * config/tc-arc.c (insert_operand): Likewise.
3806 * config/tc-d30v.c (check_size): Likewise.
3807 * config/tc-ia64.c (struct alias): Likewise.
3808 * config/tc-m68k.c (struct label_line): Likewise.
3809 * config/tc-mcore.c (md_apply_fix): Likewise.
3810 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3811 * config/tc-mips.c (mips16_immed): Likewise.
3812 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3813 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3814 * config/tc-rx.c (rx_include): Likewise.
3815 * config/tc-s390.c (s390_insert_operand): Likewise.
3816 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3817 (tic54x_adjust_symtab): Likewise.
3818 * config/tc-tilegx.c (insert_operand): Likewise.
3819 (apply_special_operator): Likewise.
3820 * config/tc-tilepro.c (insert_operand): Likewise.
3821 * config/tc-xtensa.c (directive_push): Likewise.
3822 * ecoff.c (add_file): Likewise.
3823 (ecoff_generate_asm_lineno): Likewise.
3824 * listing.c (listing_newline): Likewise.
3825 * read.c (s_irp): Likewise.
3826 * write.c (install_reloc): Likewise.
3827 * write.h (struct fix): Likewise.
3828 * input-file.c (file_name): Change type to const char *.
3829 (saved_file::file_name): Likewise.
3830 (input_file_open): Change type of argument to const char *.
3831 * input-file.h (input_file_open): Adjust.
3832 * input-scrub.c (logical_input_file): change type to const char *.
3833 (physical_input_file): Likewise.
3834 (struct input_save): Adjust.
3835 (input_scrub_push): Adjust.
3836 (input_scrub_begin): Adjust.
3838 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3839 (input_scrub_include_file): Likewise.
3840 (new_logical_line_flags): Likewise.
3841 (new_logical_line): Likewise.
3843 * frags.h (struct frag): Change type of fr_file to const char *.
3844 * expr.c (expr_symbol_where): Change type of file argument to
3846 * expr.h (expr_symbol_where): Likewise.
3847 * config/tc-i370.c (md_apply_fix): adjust.
3848 * config/tc-mmix.c (mmix_md_end): Likewise.
3849 * config/tc-ppc.c (md_apply_fix): Likewise.
3850 * config/tc-s390.c (md_apply_fix): Likewise.
3851 * symbols.c (report_op_error): Likewise.
3852 (resolve_symbol_value): Likewise.
3853 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3854 (rsrc::file): Likewise.
3855 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3857 (xtensa_relax_frag): Likewise.
3858 (md_convert_frag): Likewise.
3859 (tinsn_to_slotbuf): Likewise.
3860 * expr.c (expr_symbol_line): Likewise.
3861 * macro.c (define_macro): Likewise.
3862 * macro.h (macro_struct): Likewise.
3863 * messages.c (as_show_where): Likewise.
3864 * read.c (s_macro): Likewise.
3865 * stabs.c (stabs_generate_asm_file): Likewise.
3866 (generate_asm_file): Likewise.
3867 (stabs_generate_asm_lineno): Likewise.
3868 * write.h (struct reloc_list): Likewise.
3869 * input-scrub.c (as_where): Change return type to const char *.
3870 * as.h (as_wheree): Adjust.
3872 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3874 * write.c (compress_debug): Move BFD compression bits setting
3876 (write_object_file): Here.
3878 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3880 * config/tc-i386.c (register_number): Check RegVRex.
3881 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3882 with %zmm19 and %zmm3.
3883 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3884 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3886 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3887 Jiong Wang <jiong.wang@arm.com>
3889 * config/tc-arm.c (arm_ext_fp16): New.
3890 (arm_extensions): New entry for "fp16".
3892 2016-02-19 Nick Clifton <nickc@redhat.com>
3895 * read.c (read_a_source_file): Check for assemble_one returning
3896 with input_line_pointer set to NULL.
3898 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3900 * listing.c (rebuffer_line): Change return type to void.
3902 * symbols.c (decode_local_label_name): Make type a const char *.
3903 * listing.c (print_source): Make type of p const char *.
3904 (print_line): Make type of string const char *.
3905 (buffer_line): Return const char *.
3906 (title): Make type const char *.
3907 (subtitle): Likewise.
3908 (listing_listing): Make type of p const char *.
3909 * messages.c (as_internal_value_out_of_range): Make type of prefix
3911 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3912 and string const char *.
3913 * read.c (_bfd_rel): Make type of name const char *.
3914 * app.c (out_string): Change type to const char *.
3915 (struct app_save::out_string): Likewise.
3917 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3918 Nick Clifton <nickc@redhat.com>
3920 * read.c (finish_bundle): Avoid recording a negative alignment.
3921 (do_align): Use unsigned values for n, len and max. Only create
3922 a frag if the alignment requirement is greater than the minimum
3923 byte alignment. Avoid recording a negative alignment.
3924 (s_align): Use unsigned values where appropriate.
3925 (bss_alloc): Use an unsigned value for the alignment.
3926 (sizeof_sleb128): Add a comment noting that we encode one octet
3927 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3928 (emit_leb129_expr): Abort if the emitted encoding was longer than
3930 * read.h (output_leb128): Update prototype.
3931 (sizeof_leb128): Update prototype.
3932 (bss_alloc): Update prototype.
3933 * write.c (record_alignment): Use an unsigned value for the
3934 alignment. Do not record alignments less than the minimum
3935 alignment for a byte.
3936 * write.h (record_alignment): Update prototype.
3938 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3940 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3941 .init.literal/.fini.literal section name.
3942 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3943 list of xtensa tests.
3944 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3945 init-fini-literals test result patterns.
3946 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3947 init-fini-literals test.
3949 2016-02-17 Nick Clifton <nickc@redhat.com>
3951 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3952 devices.csv file as of March 2016.
3954 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3956 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3958 (tc_arc_regname_to_dw2regnum): Likewise.
3959 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3960 (tc_cfi_frame_initial_instructions): Likewise.
3961 (tc_regname_to_dw2regnum): Likewise.
3962 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3963 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3964 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3966 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3968 * doc/internals.texi (S_IS_EXTERN): Remove.
3970 2016-02-16 Nick Clifton <nickc@redhat.com>
3972 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3975 2016-02-16 Renlin Li <renlin.li@arm.com>
3978 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3979 * testsuite/gas/aarch64/movw_label.d: New.
3980 * testsuite/gas/aarch64/movw_label.s: New.
3982 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3985 * config/rx-parse.y (MOV): Opcode generation for index
3986 register addressing mode.
3987 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3988 * testsuite/gas/rx/pr19665.s: New file.
3989 * testsuite/gas/rx/pr19665.s: New file.
3990 * testsuite/gas/rx/mov.d: Update expected output.
3992 2016-02-15 Nick Clifton <nickc@redhat.com>
3994 * doc/as.texinfo (.section): Document that numeric values can now
3995 be used for the flags and type fields of the ELF target's .section
3996 directive. Add notes about the restrictions on setting flags and
3998 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3999 to be given processor specific section types. Allow processor and
4000 application specific flags of a section to be set after
4002 (obj_elf_parse_section_letters): Handle parsing numeric values.
4003 (obj_elf_section_type): Handle parsing numeric values.
4004 (obj_elf_section): Allow numeric type values.
4005 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4006 * testsuite/gas/elf/section10.d: New test.
4007 * testsuite/gas/elf/section10.s: Source file for new test.
4008 * testsuite/gas/elf/elf.exp: Run the new test.
4009 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4010 the description of the flags produced by readelf.
4011 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4012 * NEWS: Mention the new feature.
4014 2016-02-11 Nick Clifton <nickc@redhat.com>
4017 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4018 until it is actually used.
4019 (cfi_set_sections): Set cfi_sections_set to true.
4020 (dot_cfi_startproc): Likewise.
4021 (dot_cfi_endproc): Likewise.
4022 (dot_cfi_fde_data): Likewise.
4023 (cfi_finish): Likewise.
4024 (dot_cfi_sections): Do not set cfi_sections_set.
4025 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4026 their own cfi section name. Also note that the directive can be
4027 reissued provided that CFI generation has not started.
4028 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4029 .cfi_endproc directives so that the redefinition of .cfi_sections
4030 will trigger the generation of the error message.
4031 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4032 number of error message.
4034 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4035 Janek van Oirschot <jvanoirs@synopsys.com>
4037 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4038 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4040 (arc_flags, arc_relax_type): New structure.
4041 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4042 (RELAX_TABLE_ENTRY_MAX): New define.
4043 (relaxation_state, md_relax_table, arc_relaxable_insns)
4044 (arc_num_relaxable_ins): New variable.
4045 (rlx_operand_type, arc_rlx_types): New enums.
4046 (arc_relaxable_ins): New structure.
4047 (OPTION_RELAX): New option.
4048 (arc_insn): New relax member.
4049 (arc_flags): Remove.
4050 (relax_insn_p): New function.
4051 (apply_fixups): Likewise.
4052 (relaxable_operand): Likewise.
4053 (may_relax_expr): Likewise.
4054 (relaxable_flag): Likewise.
4055 (arc_pcrel_adjust): Likewise.
4056 (md_estimate_size_before_relax): Implement.
4057 (md_convert_frag): Likewise.
4058 (md_parse_option): Handle new mrelax option.
4059 (md_show_usage): Likewise.
4060 (assemble_insn): Set relax member.
4061 (emit_insn0): New function.
4062 (emit_insn1): Likewise.
4063 (emit_insn): Handle relaxation case.
4064 * NEWS: Mention the new relaxation option.
4065 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4066 * doc/as.texinfo (Target ARC Options): Likewise.
4067 * testsuite/gas/arc/relax-avoid1.d: New file.
4068 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4069 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4070 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4071 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4072 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4073 * testsuite/gas/arc/relax-b.d: Likewise.
4074 * testsuite/gas/arc/relax-b.s: Likewise.
4076 2016-02-08 Nick Clifton <nickc@redhat.com>
4078 * config/tc-ia64.c (dot_prologue): Fix formatting.
4080 2016-02-04 Nick Clifton <nickc@redhat.com>
4082 * config/obj-elf.c (obj_elf_change_section): Remove support for
4083 ARM NOREAD sections.
4084 * config/tc-arm.c (arm_elf_section_letter): Delete.
4085 * config/tc-arm.h (md_elf_section_letter): Delete.
4086 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4087 * testsuite/gas/arm/section-execute-only.d: Delete.
4088 * testsuite/gas/arm/section-execute-only.s: Delete.
4090 2016-02-04 Nick Clifton <nickc@redhat.com>
4093 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4094 to handle encoding of RRUX instruction.
4095 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4097 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4099 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4101 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4102 substitutions for BFD_RELOC_* as unsigned.
4103 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4104 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4105 * testsuite/gas/xtensa/loc.s: New file: loc test.
4107 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4109 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4111 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4114 * NEWS: Mention new command line option -mrelax-relocations and
4115 new configure option --enable-x86-relax-relocations for x86
4117 * config.in: Regenerated.
4118 * configure.ac: Add --enable-x86-relax-relocations.
4119 (ac_default_x86_relax_relocations): New. Default to 1 except
4120 for x86 Solaris targets older than Solaris 12.
4121 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4122 * configure: Likewise.
4123 * config/tc-i386.c (generate_relax_relocations): New.
4124 (OPTION_MRELAX_RELOCATIONS): Likewise.
4125 (output_disp): Don't generate relax relocations if
4126 generate_relax_relocations is 0.
4127 (md_longopts): Add -mrelax-relocations.
4128 (md_show_usage): Likewise.
4129 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4130 * doc/c-i386.texi: Document -mrelax-relocations=.
4131 * testsuite/gas/i386/got-no-relax.d: New file.
4132 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4133 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4134 * testsuite/gas/i386/localpic.d: Likewise.
4135 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4136 * testsuite/gas/i386/reloc32.d: Likewise.
4137 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4138 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4139 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4140 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4141 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4142 x86-64-gotpcrel-no-relax.
4144 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4146 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4149 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4151 * NEWS: Remove duplicated marker for 2.26.
4153 2016-02-02 Renlin Li <renlin.li@arm.com>
4155 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4157 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4159 * testsuite/gas/ip2k/allinsn.d: New file.
4160 * testsuite/gas/ip2k/allinsn.s: New file.
4161 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4163 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4165 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4166 some load instructions.
4167 * testsuite/gas/epiphany/allinsn.d: Likewise.
4168 * testsuite/gas/epiphany/regression.d: Likewise.
4170 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4172 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4173 suffixes from instruction mnemonics in expected output.
4174 * testsuite/gas/epiphany/allinsn.d: Likewise.
4175 * testsuite/gas/epiphany/regression.d: Likewise.
4176 * testsuite/gas/epiphany/sample.d: Likewise.
4178 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4180 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4182 * testsuite/gas/epiphany/allinsn.d: Likewise.
4183 * testsuite/gas/epiphany/sample.d: Likewise.
4185 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4187 * testsuite/gas/epiphany/sample.d: Update expected output.
4189 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4191 * config/tc-arc.c (md_apply_fix): Allow addendum.
4192 (arc_reloc_op): Allow complex expressions for tpoff.
4193 (md_apply_fix): Handle resolved TLS local symbol.
4194 * testsuite/gas/arc/tls-relocs1.d: New file.
4195 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4197 2016-02-01 Loria <Loria@phantasia.org>
4200 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4201 efficiency and avoid an LLVM loop optimization bug.
4203 2016-02-01 Nick Clifton <nickc@redhat.com>
4205 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4206 message extending a negative 32-bit value into a larger signed
4207 value on a 32-bit host.
4209 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4212 * configure.ac (compressed_debug_sections): Replace == with =.
4213 * configure: Regenerated.
4215 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4216 H.J. Lu <hongjiu.lu@intel.com>
4218 * config/tc-i386.c (avoid_fence): New.
4219 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4221 (OPTION_FENCE_AS_LOCK_ADD): New.
4222 (md_longopts): Add -mfence-as-lock-add.
4223 (md_parse_option): Handle -mfence-as-lock-add.
4224 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4225 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4226 * testsuite/gas/i386/i386.exp: Run new tests.
4227 * testsuite/gas/i386/fence-as-lock-add.s: New.
4228 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4229 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4230 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4231 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4233 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4235 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4236 * configure: Regenerated.
4238 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4240 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4241 (OPTION_MOMIT_LOCK_PREFIX): This.
4242 (md_longopts): Updated.
4243 (md_parse_option): Likewise.
4245 2016-01-25 Catherine Moore <clm@codesourcery.com>
4247 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4248 if abicalls are in effect.
4249 * testsuite/gas/mips/sdata-gp.s: New test.
4250 * testsuite/gas/mips/sdata-gp.d: New expected output
4251 * testsuite/gas/mips/mips.exp: Run new test.
4253 2016-01-25 Renlin Li <renlin.li@arm.com>
4255 * testsuite/gas/arm/thumb2_it_search.d: New.
4256 * testsuite/gas/arm/thumb2_it_search.s: New.
4258 2016-01-21 Nick Clifton <nickc@redhat.com>
4261 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4262 with arm-netbsdelf target.
4263 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4265 2016-01-20 Nick Clifton <nickc@redhat.com>
4268 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4269 * testsuite/gas/arm/blx-bl-convert.d
4270 * testsuite/gas/arm/plt-1.d: Likewise.
4271 * testsuite/gas/arm/reloc-bad.d: Likewise.
4272 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4273 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4274 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4275 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4278 * doc/as.texinfo (Errors): Correct documentation describing the
4279 interaction of .file and .line with warning and error messages.
4282 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4283 * testsuite/gas/arm/archv8m-main.d: Likewise.
4284 * testsuite/gas/arm/archv8m-base.d: Likewise.
4286 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4288 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4289 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4290 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4292 2016-01-20 Mickael Guene <mickael.guene@st.com>
4293 Terry Guo <terry.guo@arm.com>
4295 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4296 SHF_ARM_NOREAD section flag.
4297 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4299 (arm_elf_section_letter) : Declare it.
4300 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4301 SHF_ARM_NOREAD section flag.
4302 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4304 * testsuite/gas/arm/section-execute-only.s: New test case.
4305 * testsuite/gas/arm/section-execute-only.d: Expected output.
4307 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4309 * config/tc-mips.c (micromips_insn_length): Remove the mention
4310 of 48-bit microMIPS instructions.
4312 2016-01-18 Alan Modra <amodra@gmail.com>
4314 * configure: Regenerate.
4316 2016-01-17 Alan Modra <amodra@gmail.com>
4318 * configure: Regenerate.
4320 2016-01-17 Alan Modra <amodra@gmail.com>
4322 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4324 2016-01-14 Nick Clifton <nickc@redhat.com>
4326 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4327 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4328 * testsuite/gas/rl78/rl78.exp: Run the new test.
4330 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4332 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4333 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4335 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4337 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4339 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4341 * config/tc-h8300.c (get_operand): Remove spurious condition in
4342 test for closing parenthesis.
4344 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4346 * config/tc-arm.c (arm_ext_v8_2): New.
4348 * testsuite/gas/arm/armv8_2-a.d: New.
4349 * testsuite/gas/arm/armv8_2-a.s: New.
4351 2016-01-12 Alan Modra <amodra@gmail.com>
4353 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4355 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4357 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4358 xvcmpnesp, xvcmpnesp.>: Delete tests.
4359 * testsuite/gas/ppc/power9.s: Likewise.
4360 * testsuite/gas/ppc/vsx3.d: Likewise.
4361 * testsuite/gas/ppc/vsx3.s: Likewise.
4363 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4366 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4367 * testsuite/gas/m68k/p13050-1.s: New file.
4368 * testsuite/gas/m68k/p13050-2.d: New file.
4369 * testsuite/gas/m68k/p13050-2.s: New file.
4371 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4373 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4374 * testsuite/gas/arc/add.d: Likewise.
4375 * testsuite/gas/arc/and.d: Likewise.
4376 * testsuite/gas/arc/asl.d: Likewise.
4377 * testsuite/gas/arc/asr.d: Likewise.
4378 * testsuite/gas/arc/bic.d: Likewise.
4379 * testsuite/gas/arc/extb.d: Likewise.
4380 * testsuite/gas/arc/extw.d: Likewise.
4381 * testsuite/gas/arc/j.d: Likewise.
4382 * testsuite/gas/arc/jl.d: Likewise.
4383 * testsuite/gas/arc/ld2.d: Likewise.
4384 * testsuite/gas/arc/lsr.d: Likewise.
4385 * testsuite/gas/arc/mov.d: Likewise.
4386 * testsuite/gas/arc/or.d: Likewise.
4387 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4388 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4389 * testsuite/gas/arc/pic-relocs.d: Likewise.
4390 * testsuite/gas/arc/plt-relocs.d: Likewise.
4391 * testsuite/gas/arc/rlc.d: Likewise.
4392 * testsuite/gas/arc/ror.d: Likewise.
4393 * testsuite/gas/arc/rrc.d: Likewise.
4394 * testsuite/gas/arc/sbc.d: Likewise.
4395 * testsuite/gas/arc/sda-relocs.d: Likewise.
4396 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4397 * testsuite/gas/arc/sexb.d: Likewise.
4398 * testsuite/gas/arc/sexw.d: Likewise.
4399 * testsuite/gas/arc/st.d: Likewise.
4400 * testsuite/gas/arc/sub.d: Likewise.
4401 * testsuite/gas/arc/tls-relocs.d: Likewise.
4402 * testsuite/gas/arc/xor.d: Likewise.
4404 2016-01-01 Alan Modra <amodra@gmail.com>
4406 Update year range in copyright notice of all files.
4408 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4410 Copyright (C) 2016 Free Software Foundation, Inc.
4412 Copying and distribution of this file, with or without modification,
4413 are permitted in any medium without royalty provided the copyright
4414 notice and this notice are preserved.
4420 version-control: never