1 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
3 * config/tc-sparc.c (md_assemble): Detect and warning on
4 unpredictable DCTI couples in certain arches.
5 (dcti_couples_detect): New global.
6 (md_longopts): Add command line option -dcti-couples-detect.
7 (md_show_usage): Document -dcti-couples-detect.
8 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
9 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
10 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
11 * testsuite/gas/sparc/dcti-couples.s: New file.
12 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
13 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
14 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
15 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
16 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
17 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
18 * doc/c-sparc.texi (Sparc-Opts): Likewise.
20 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
22 * testsuite/gas/arc/tls-relocs2.d: New file.
23 * testsuite/gas/arc/tls-relocs2.s: Likewise.
24 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
27 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
29 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
31 * doc/as.texinfo: Document new arch strings.
32 * doc/c-s390.texi: Likewise.
34 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
36 * config/tc-s390.c: Set all facitily bits by default
38 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
40 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
42 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
44 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
47 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
49 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
50 (set_cpu_arch): Updated.
51 (md_parse_option): Likewise.
52 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
53 iamcu-inval-2 and iamcu-inval-3.
54 * testsuite/gas/i386/iamcu-4.d: New file.
55 * testsuite/gas/i386/iamcu-4.s: Likewise.
56 * testsuite/gas/i386/iamcu-5.d: Likewise.
57 * testsuite/gas/i386/iamcu-5.s: Likewise.
58 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
59 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
60 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
61 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
63 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
65 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
66 ARMv8-A CPUs except xgene1.
68 2016-08-31 Alan Modra <amodra@gmail.com>
70 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
71 ppc_cpu rather than calling ppc_mach to determine VLE mode.
72 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
74 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
76 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
78 * testsuite/gas/sparc/crypto.s: Likewise.
80 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
82 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
83 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
84 their lowecase counterpart special registers. Write register
86 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
87 operation, special register and then case. Use different register for
88 each operation. Add tests for new special registers.
89 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
91 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
92 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
94 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
96 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
98 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
100 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
101 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
102 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
104 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
106 * config/tc-i386.c (cpu_arch): Add .ptwrite.
107 * doc/c-i386.texi: Document ptwrite and .ptwrite.
108 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
109 x86-64-ptwrite and x86-64-ptwrite-intel.
110 * testsuite/gas/i386/ptwrite-intel.d: New file.
111 * testsuite/gas/i386/ptwrite.d: Likewise.
112 * testsuite/gas/i386/ptwrite.s: Likewise.
113 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
114 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
115 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
117 2016-08-19 Tamar Christina <tamar.christina@arm.com>
119 * config/tc-arm.c (do_co_reg2c): Added constraint.
120 * testsuite/gas/arm/dest-unpredictable.s: New.
121 * testsuite/gas/arm/dest-unpredictable.l: New.
122 * testsuite/gas/arm/dest-unpredictable.d: New.
124 2016-08-19 Nick Clifton <nickc@redhat.com>
126 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
127 ordering of sections.
128 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
129 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
130 * testsuite/gas/ia64/alias.d: Likewise.
131 * testsuite/gas/ia64/group-1.d: Likewise.
132 * testsuite/gas/ia64/group-2.d: Likewise.
133 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
134 * testsuite/gas/ia64/secname.d: Likewise.
135 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
136 * testsuite/gas/ia64/unwind.d: Likewise.
137 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
138 * testsuite/gas/ia64/xdata.d: Likewise.
139 * testsuite/gas/mmix/bspec-1.d: Likewise.
140 * testsuite/gas/mmix/bspec-2.d: Likewise.
141 * testsuite/gas/mmix/byte-1.d: Likewise.
142 * testsuite/gas/mmix/loc-1.d: Likewise.
143 * testsuite/gas/mmix/loc-2.d: Likewise.
144 * testsuite/gas/mmix/loc-3.d: Likewise.
145 * testsuite/gas/mmix/loc-4.d: Likewise.
146 * testsuite/gas/mmix/loc-5.d: Likewise.
147 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
149 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
151 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
152 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
153 Add tests for -0.0. Add an end-of-file comment.
155 2016-08-05 Nick Clifton <nickc@redhat.com>
158 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
159 registers are pushed.
160 (do_vfp_nsyn_pop): Check that no more than 16 registers are
162 * testsuite/gas/arm/pr20429.s: New test.
163 * testsuite/gas/arm/pr20429.d: New test driver.
164 * testsuite/gas/arm/pr20429.1: Expected error output.
167 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
169 (aarch64_init): Treat rs_align frags in code sections as
170 containing code, not data.
171 * testsuite/gas/aarch64/pr20364.s: New test.
172 * testsuite/gas/aarch64/pr20364.d: New test driver.
174 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
177 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
178 of 64-bit relocation types when assembling for a 32-bit Solaris
181 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
183 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
185 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
186 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
187 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
188 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
190 (sparc_elf_setup): Delete.
191 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
194 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
196 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
197 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
198 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
199 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
200 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
201 (get_append_method): Also return APPEND_ADD_COMPACT for
202 microMIPS instructions.
203 (find_altered_mips16_opcode): Exclude macros from matching.
205 (find_altered_opcode): ... to this new function.
206 (find_altered_micromips_opcode): New function.
207 (frag_branch_delay_slot_size): Likewise.
208 (append_insn): Handle microMIPS branch/jump compaction.
209 (macro_start): Likewise.
210 (relaxed_micromips_32bit_branch_length): Likewise.
211 (md_convert_frag): Likewise.
212 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
213 for delay slot filling.
214 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
216 * testsuite/gas/mips/micromips-size-1.s: Likewise.
217 * testsuite/gas/mips/micromips.l: Adjust line numbers.
218 * testsuite/gas/mips/micromips-warn.l: Likewise.
219 * testsuite/gas/mips/micromips-size-1.l: Likewise.
220 * testsuite/gas/mips/micromips.d: Adjust padding.
221 * testsuite/gas/mips/micromips-trap.d: Likewise.
222 * testsuite/gas/mips/micromips-insn32.d: Likewise.
223 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
224 * testsuite/gas/mips/micromips@beq.d: Update patterns for
225 branch/jump compaction.
226 * testsuite/gas/mips/micromips@bge.d: Likewise.
227 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
228 * testsuite/gas/mips/micromips@blt.d: Likewise.
229 * testsuite/gas/mips/micromips@bltu.d: Likewise.
230 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
231 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
232 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
233 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
234 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
235 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
236 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
237 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
239 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
241 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
242 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
243 * testsuite/gas/mips/micromips@relax.d: Likewise.
244 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
245 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
246 * testsuite/gas/mips/branch-extern-2.d: Likewise.
247 * testsuite/gas/mips/branch-extern-4.d: Likewise.
248 * testsuite/gas/mips/branch-section-2.d: Likewise.
249 * testsuite/gas/mips/branch-section-4.d: Likewise.
250 * testsuite/gas/mips/branch-weak-2.d: Likewise.
251 * testsuite/gas/mips/branch-weak-5.d: Likewise.
252 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
253 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
254 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
255 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
257 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
259 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
261 * testsuite/gas/mips/micromips-compact.d: New test.
262 * testsuite/gas/mips/mips.exp: Run the new test.
264 2016-07-27 Graham Markall <graham.markall@embecosm.com>
266 * config/tc-arc.c: Add new global arc_addrtype_hash.
267 Define O_colon and O_addrtype.
268 (debug_exp): Add O_colon and O_addrtype.
269 (tokenize_arguments): Handle colon and address type
271 (declare_addrtype): New function.
272 (md_begin): Initialise arc_addrtype_hash.
273 (arc_parse_name): Add lookup of address types.
274 (assemble_insn): Handle colons and address types by
276 * testsuite/gas/arc/nps400-8.s: New file.
277 * testsuite/gas/arc/nps400-8.d: New file.
278 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
279 * testsuite/gas/arc/nps400-8.d: Add expected PMU
282 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
284 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
285 (RELAX_MICROMIPS_INSN32): New macro.
286 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
287 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
288 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
289 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
290 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
292 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
294 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
296 (md_convert_frag): Likewise.
297 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
299 * testsuite/gas/mips/micromips-branch-relax.l: Update line
301 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
302 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
303 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
305 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
307 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
309 * testsuite/gas/mips/mips.exp: Run the new tests.
311 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
313 * configure: Regenerated.
315 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
317 * testsuite/gas/arc/dsp.d: New file.
318 * testsuite/gas/arc/dsp.s: Likewise.
319 * testsuite/gas/arc/fpu.d: Likewise.
320 * testsuite/gas/arc/fpu.s: Likewise.
321 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
322 * testsuite/gas/arc/ext3op.d: Likewise.
323 * testsuite/gas/arc/tdpfp.d: Likewise.
324 * testsuite/gas/arc/tfpuda.d: Likewise.
326 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
328 * config/tc-mips.c (mips_force_relocation): Remove
329 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
331 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
333 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
334 Adjust comments for BAL to JALX linker conversion.
335 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
336 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
338 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
339 * testsuite/gas/mips/branch-local-4.d: New test.
340 * testsuite/gas/mips/branch-local-n32-4.d: New test.
341 * testsuite/gas/mips/branch-local-n64-4.d: New test.
342 * testsuite/gas/mips/branch-addend.d: New test.
343 * testsuite/gas/mips/branch-addend-n32.d: New test.
344 * testsuite/gas/mips/branch-addend-n64.d: New test.
345 * testsuite/gas/mips/branch-local-4.s: New test source.
346 * testsuite/gas/mips/branch-addend.s: New test source.
347 * testsuite/gas/mips/mips.exp: Run the new tests.
349 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
351 * config/tc-mips.c (mips_force_relocation): Also retain branch
352 relocations against MIPS16 and microMIPS symbols.
353 (fix_bad_cross_mode_jump_p): New function.
354 (fix_bad_same_mode_jalx_p): Likewise.
355 (fix_bad_misaligned_jump_p): Likewise.
356 (fix_bad_cross_mode_branch_p): Likewise.
357 (fix_bad_misaligned_branch_p): Likewise.
358 (fix_validate_branch): Likewise.
359 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
360 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
361 etc. Verify the ISA mode and alignment of the jump target.
362 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
363 with a call to `fix_validate_branch'.
364 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
365 <BFD_RELOC_16_PCREL_S2>: Likewise.
366 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
367 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
368 Verify the ISA mode and alignment of the branch target.
369 (md_convert_frag): Verify the ISA mode and alignment of resolved
370 MIPS16 branch targets.
371 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
372 branch targets with `.insn'.
373 * testsuite/gas/mips/branch-misc-5.s: Likewise.
374 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
376 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
377 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
378 non-instruction branch target with `.insn'.
379 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
380 with external symbols.
381 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
382 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
383 * testsuite/gas/mips/micromips-trap.d: Likewise.
384 * testsuite/gas/mips/micromips.d: Likewise.
385 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
386 targets with `.insn'.
387 * testsuite/gas/mips/mips16.d: Update accordingly.
388 * testsuite/gas/mips/mips16-64.d: Likewise.
389 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
390 branch target with `.insn'.
391 * testsuite/gas/mips/relax-swap3.s: Likewise.
392 * testsuite/gas/mips/branch-local-2.l: New list test.
393 * testsuite/gas/mips/branch-local-3.l: New list test.
394 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
395 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
396 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
397 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
398 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
399 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
400 * testsuite/gas/mips/unaligned-jump-3.d: New test.
401 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
402 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
403 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
404 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
406 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
408 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
409 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
410 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
411 * testsuite/gas/mips/unaligned-branch-3.d: New test.
412 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
413 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
414 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
415 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
416 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
417 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
418 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
419 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
420 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
421 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
423 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
425 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
426 * testsuite/gas/mips/branch-local-2.s: New test source.
427 * testsuite/gas/mips/branch-local-3.s: New test source.
428 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
429 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
430 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
431 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
432 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
433 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
434 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
435 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
436 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
438 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
440 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
441 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
442 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
443 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
444 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
445 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
446 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
448 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
450 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
452 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
454 * testsuite/gas/mips/mips.exp: Run the new tests.
456 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
458 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
460 (do_pseudo_b): Adjust.
461 (do_pseudo_bal): Likewise.
462 (do_pseudo_bge): Likewise.
463 (do_pseudo_bges): Likewise.
464 (do_pseudo_bgt): Likewise.
465 (do_pseudo_bgts): Likewise.
466 (do_pseudo_ble): Likewise.
467 (do_pseudo_bles): Likewise.
468 (do_pseudo_blt): Likewise.
469 (do_pseudo_blts): Likewise.
470 (do_pseudo_br): Likewise.
471 (do_pseudo_bral): Likewise.
472 (do_pseudo_la): Likewise.
473 (do_pseudo_li): Likewise.
474 (do_pseudo_ls_bhw): Likewise.
475 (do_pseudo_ls_bhwp): Likewise.
476 (do_pseudo_ls_bhwpc): Likewise.
477 (do_pseudo_ls_bhwi): Likewise.
478 (do_pseudo_move): Likewise.
479 (do_pseudo_neg): Likewise.
480 (do_pseudo_not): Likewise.
481 (do_pseudo_pushpopm): Likewise.
482 (do_pseudo_pushpop): Likewise.
483 (do_pseudo_v3push): Likewise.
484 (do_pseudo_v3pop): Likewise.
485 (do_pseudo_pushpop_stack): Likewise.
486 (do_pseudo_push_bhwd): Likewise.
487 (do_pseudo_pop_bhwd): Likewise.
488 (do_pseudo_pusha): Likewise.
489 (do_pseudo_pushi): Likewise.
491 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
493 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
494 bfd_reloc_code_real_type.
496 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
498 * config/tc-sparc.c (pop_table): Remove sentinel.
499 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
502 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
504 * config/tc-z8k.c (newfix): Make type of type argument
505 bfd_reloc_code_real_type.
506 (apply_fix): Likewise.
508 2016-07-16 Alan Modra <amodra@gmail.com>
510 * config/tc-epiphany.c: Don't include libbfd.h.
511 * config/tc-frv.c: Likewise.
512 * config/tc-ip2k.c: Likewise.
513 * config/tc-iq2000.c: Likewise.
514 * config/tc-m32c.c: Likewise.
515 * config/tc-mep.c: Likewise.
516 * config/tc-mt.c: Likewise.
517 * config/tc-nios2.c: Likewise.
519 2016-07-16 Alan Modra <amodra@gmail.com>
521 * config/bfin-parse.y: Don't include libbfd.h.
522 * config/tc-bfin.c: Likewise.
523 * config/tc-rl78.c: Likewise.
524 * config/tc-rx.c: Likewise.
525 * config/tc-metag.c: Likewise.
526 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
527 * Makefile.am: Update dependencies.
528 * Makefile.in: Regenerate.
530 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
532 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
533 (mips_force_relocation_abs): New prototype.
534 * config/tc-mips.c (mips_force_relocation_abs): New function.
535 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
536 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
537 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
538 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
539 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
541 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
543 * testsuite/gas/mips/branch-absolute-addend.d: New test.
544 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
545 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
547 * testsuite/gas/mips/mips.exp: Run the new tests.
549 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
551 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
552 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
553 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
555 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
556 in `bar', export `foo'.
557 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
559 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
560 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
561 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
563 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
566 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
568 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
569 * testsuite/gas/mips/branch-absolute.d: New test.
570 * testsuite/gas/mips/branch-absolute-n32.d: New test.
571 * testsuite/gas/mips/branch-absolute-n64.d: New test.
572 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
573 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
574 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
575 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
576 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
578 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
580 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
581 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
582 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
583 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
585 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
587 * testsuite/gas/mips/branch-absolute.s: New test source.
588 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
589 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
591 * testsuite/gas/mips/micromips-branch-absolute.s: New test
593 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
595 * testsuite/gas/mips/mips.exp: Run the new tests.
597 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
599 * testsuite/gas/mips/nal-1.d: New test.
600 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
601 * testsuite/gas/mips/nal-2.d: New test.
602 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
603 * testsuite/gas/mips/nal.s: New test source.
604 * testsuite/gas/mips/mips.exp: Run the new tests.
606 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
608 * testsuite/gas/sparc/ldtxa.s: New file.
609 * testsuite/gas/sparc/ldtxa.d: Likewise.
610 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
612 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
614 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
615 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
616 as it is no longer needed.
618 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
620 * config/tc-mips.c (append_insn): Remove extraneous
623 2016-07-04 Jan Beulich <jbeulich@suse.com>
625 * config/tc-i386.c (check_qword_reg): Correct register kind
627 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
628 16-bit register cases.
629 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
632 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
634 * testsuite/gas/mips/ecoff@ld.d: Remove test.
635 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
636 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
637 * testsuite/gas/mips/ecoff@sd.d: Remove test.
638 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
639 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
641 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
642 * testsuite/gas/mips/bge.d: Likewise.
643 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
644 * testsuite/gas/mips/bgeu.d: Likewise.
645 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
646 * testsuite/gas/mips/blt.d: Likewise.
647 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
648 * testsuite/gas/mips/bltu.d: Likewise.
649 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
650 * testsuite/gas/mips/branch-likely.d: Likewise.
651 * testsuite/gas/mips/la.d: Likewise.
652 * testsuite/gas/mips/lb.d: Likewise.
653 * testsuite/gas/mips/lifloat.d: Likewise.
654 * testsuite/gas/mips/sb.d: Likewise.
655 * testsuite/gas/mips/uld.d: Likewise.
656 * testsuite/gas/mips/ulh.d: Likewise.
657 * testsuite/gas/mips/ulw.d: Likewise.
658 * testsuite/gas/mips/usd.d: Likewise.
659 * testsuite/gas/mips/ush.d: Likewise.
660 * testsuite/gas/mips/usw.d: Likewise.
662 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
664 * testsuite/gas/mips/branch-misc-2.s: Move non
665 locally-defined-global symbol tests...
666 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
667 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
668 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
669 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
670 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
671 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
672 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
673 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
674 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
675 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
676 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
677 * testsuite/gas/mips/branch-misc-5.d: New test.
678 * testsuite/gas/mips/branch-misc-5pic.d: New test.
679 * testsuite/gas/mips/branch-misc-5-64.d: New test.
680 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
681 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
682 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
683 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
684 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
685 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
686 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
687 * testsuite/gas/mips/mips.exp: Run the new tests.
689 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
691 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
693 * testsuite/gas/mips/beq.d: Update accordingly.
694 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
695 * testsuite/gas/mips/micromips@beq.d: Likewise.
697 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
699 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
700 tests to NewABI targets.
702 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
704 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
707 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
709 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
711 (aarch64_features): Initialize require fields.
712 (aarch64_parse_features): Handle dependencies.
713 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
714 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
715 * testsuite/gas/aarch64/illegal-nofp16.s: New.
716 * testsuite/gas/aarch64/illegal-nofp16.l: New.
717 * testsuite/gas/aarch64/illegal-nofp16.d: New.
719 2016-07-01 Nick Clifton <nickc@redhat.com>
721 * macro.c (macro_expand_body): Use a buffer big enough to hold an
722 extremely large integer.
724 2016-07-01 Jan Beulich <jbeulich@suse.com>
726 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
728 2016-07-01 Tristan Gingold <gingold@adacore.com>
730 * NEWS: Add marker for 2.27.
732 2016-07-01 Jan Beulich <jbeulich@suse.com>
734 * tc-i386.c (i386_index_check): Add special checks for bndmk,
736 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
737 as well as scaling by other than 1 tests.
738 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
740 2016-07-01 Jan Beulich <jbeulich@suse.com>
742 * tc-i386.c (md_assemble): Alter address size checking for MPX
744 * testsuite/gas/i386/mpx-inval-2.s: New.
745 * testsuite/gas/i386/mpx-inval-2.l: New.
746 * testsuite/gas/i386/i386.exp: Run new test.
748 2016-07-01 Jan Beulich <jbeulich@suse.com>
751 * config/tc-i386.c (match_template): Add char parameter,
752 consumed in Intel mode for an extra suffix check.
753 (md_assemble): New local variable mnem_suffix.
754 * testsuite/gas/i386/suffix-bad.s: New.
755 * testsuite/gas/i386/suffix-bad.l: New.
756 * testsuite/gas/i386/i386.exp: Run new test (twice).
758 2016-07-01 Jan Beulich <jbeulich@suse.com>
760 * testsuite/gas/i386/movz.s: New.
761 * testsuite/gas/i386/movz32.d: New.
762 * testsuite/gas/i386/movz64.d: New.
763 * testsuite/gas/i386/i386.exp: Run new tests.
765 2016-07-01 Jan Beulich <jbeulich@suse.com>
767 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
768 (md_assemble): Free first memory operand string.
769 (i386_index_check): Use repprefixok to distingush xlat from
770 other (real) string ops.
771 (maybe_adjust_templates): New.
772 (i386_att_operand). Call it. Store first memory operand string.
773 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
774 * testsuite/gas/i386/intel-movs.s: New.
775 * testsuite/gas/i386/intel-movs32.d: New.
776 * testsuite/gas/i386/intel-movs64.d: New.
777 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
778 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
780 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
782 * config/tc-mips.c (get_append_method): Fix a comment typo.
784 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
785 Maciej W. Rozycki <macro@imgtec.com>
787 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
788 case MIPS16 handling.
789 * testsuite/gas/mips/branch-swap-3.d: New test.
790 * testsuite/gas/mips/branch-swap-4.d: New test.
791 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
792 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
793 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
794 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
795 * testsuite/gas/mips/branch-swap-3.s: New test source.
796 * testsuite/gas/mips/mips.exp: Run the new tests.
798 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
800 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
803 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
806 * write.c (subsegs_finish_section): Force no section padding to
807 alignment on failed assembly, always set last frag's alignment
809 * testsuite/gas/all/pr20312.l: New list test.
810 * testsuite/gas/all/pr20312.s: New test source.
811 * testsuite/gas/all/gas.exp: Run the new test
813 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
815 * config.in (TARGET_WITH_CPU): Undefine.
816 * configure.ac: Add --with-cpu support, and define in config.h.
817 * configure: Regenerate.
818 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
819 * NEWS: Mention new configure option.
821 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
823 * testsuite/gas/arm/armv8_2+rdma.d: New.
825 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
827 * NEWS: Mention --enable-compressed-debug-sections=gas is the
828 default for Linux/x86 targets.
829 * configure.tgt (ac_default_compressed_debug_sections): Default
830 to yes for Linux/x86 targets.
832 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
834 * write.c: Remove "libbfd.h" inclusion.
836 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
838 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
841 2016-06-28 Alan Modra <amodra@gmail.com>
844 * testsuite/gas/elf/section11.s: Don't start directives in first column.
846 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
848 * testsuite/gas/aarch64/diagnostic.s,
849 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
851 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
853 * config/tc-mips.c (mips16_reloc_p): Handle
854 BFD_RELOC_MIPS16_16_PCREL_S1.
855 (b_reloc_p): Likewise.
856 (limited_pcrel_reloc_p): Likewise.
857 (md_pcrel_from): Likewise.
858 (md_apply_fix): Likewise.
859 (tc_gen_reloc): Likewise.
860 (md_convert_frag): Likewise.
861 (mips_fix_adjustable): Update comment.
862 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
863 output, add dump patterns.
864 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
865 output, add dump patterns.
866 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
867 output, add dump patterns.
868 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
869 output, add dump patterns.
870 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
871 output, add dump patterns.
872 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
873 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
874 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
875 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
876 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
877 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
878 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
879 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
880 * testsuite/gas/mips/branch-weak-6.d: New test.
881 * testsuite/gas/mips/branch-weak-7.d: New test.
882 * testsuite/gas/mips/mips.exp: Run the new tests.
884 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
886 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
887 cfi_add_CFA_def_cfa to generate default CFA with offset
888 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
890 2016-06-27 Nick Clifton <nickc@redhat.com>
893 * as.h (do_not_pad_sections_to_alignment): New global variable.
894 * as.c (show_usage): Add --no-pad-sections.
895 (parse_args): Likewise.
896 * write.c (size_seg): Skip padding the end of the section if
897 requested from the command line.
898 (SUB_SEGMENT_ALIGN): Likewise.
899 * doc/as.texinfo: Document the new option.
900 * NEWS: Mention the new feature.
901 * testsuite/gas/elf/section11.s: New test.
902 * testsuite/gas/elf/section11.d: New test driver.
903 * testsuite/gas/elf/elf.exp: Run the new test.
905 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
907 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
908 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
910 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
912 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
914 (map_suffix_reloc_to_operator): Likewise.
915 (map_operator_to_reloc): Likewise.
917 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
919 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
920 element in relax_table.
922 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
924 * config/tc-aarch64.c: Make the type of reg_entry::type
927 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
929 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
930 (md_parse_option): Adjust.
931 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
932 with iteration from 0 to ARRAY_SIZE.
933 * config/tc-mcore.c (md_begin): Likewise.
934 * config/tc-visium.c (visium_parse_arch): Likewise.
936 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
938 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
939 and simplify accordingly.
940 (tic54x_include): Adjust.
941 (tic54x_mlib): Likewise.
943 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
945 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
947 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
949 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
950 unchanged with relaxed MIPS16 instructions.
951 (mips16_extended_frag): Adjust accordingly. Return 1 right
952 away if a relocation will be required for the symbol requested.
953 Remove dead first relaxation pass code.
954 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
955 (md_convert_frag): Adjust symbol value calculation. Raise an
956 error if a relocation is required for the symbol requested.
957 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
959 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
960 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
961 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
962 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
963 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
964 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
965 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
966 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
967 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
968 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
969 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
970 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
971 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
972 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
973 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
974 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
975 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
976 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
977 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
978 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
979 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
980 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
981 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
982 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
983 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
984 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
985 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
986 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
987 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
988 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
989 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
990 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
991 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
992 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
993 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
994 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
995 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
996 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
997 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
998 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
999 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1000 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1001 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1002 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1003 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1004 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1005 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1006 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1007 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1008 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1009 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1010 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1011 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1012 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1013 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1014 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1015 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1016 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1017 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1018 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1019 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1020 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1021 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1022 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1023 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1024 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1025 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1026 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1027 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1028 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1029 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1030 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1031 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1032 * testsuite/gas/mips/mips.exp: Run the new tests.
1034 2016-06-24 Alan Modra <amodra@gmail.com>
1036 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1038 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1040 * config/tc-mips.c (b_reloc_p): New function.
1041 (mips_fix_adjustable): Also keep the original microMIPS symbol
1042 referred from branch relocations.
1043 * testsuite/gas/mips/branch-local-1.d: New test.
1044 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1045 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1046 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1048 * testsuite/gas/mips/branch-local-1.s: New test source.
1049 * testsuite/gas/mips/mips.exp: Run the new cases.
1051 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1053 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1054 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1055 options. Correct erroneous enabling of SPFP instructions when
1058 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1060 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1061 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1062 setbool, xor3>: New tests.
1063 * testsuite/gas/ppc/power9.s: Likewise.
1065 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1067 * config/tc-xtensa.c: Include elf/xtensa.h.
1069 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1071 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1072 <BFD_RELOC_LO16_PCREL>: New switch cases.
1073 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1074 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1075 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1076 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1078 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1079 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1080 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1081 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1082 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1083 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1084 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1085 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1086 * testsuite/gas/mips/mips.exp: Run the new tests.
1088 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1090 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1091 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1092 via `fixP->fx_addsy'.
1094 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1096 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1097 Calculate relocation from the containing aligned doubleword.
1098 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1099 addend from the containing aligned doubleword.
1101 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1103 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1104 rather than `mips_opts' for the R6 ISA check.
1105 (mips_fix_adjustable): Likewise.
1106 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1107 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1108 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1109 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1110 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1111 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1112 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1113 * testsuite/gas/mips/mips.exp: Run the new tests.
1115 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1117 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1118 Add nps400 option and feature. Add check for nps400
1119 feature. Refactor existing checks to check subclass before
1121 (md_show_usage): Document flags for NPS-400 and add some other
1123 (cpu_type): Remove nps400 CPU type entry
1124 (check_zol): Remove bfd_mach_arc_nps400 case.
1125 (md_show_usage): Add help on -mcpu=nps400.
1126 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1128 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1129 -fpuda flags. Document -mcpu=nps400.
1130 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1131 expected flags to match ARC700 instead of NPS400.
1132 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1133 * testsuite/gas/arc/nps-400-2.d: Likewise.
1134 * testsuite/gas/arc/nps-400-3.d: Likewise.
1135 * testsuite/gas/arc/nps-400-4.d: Likewise.
1136 * testsuite/gas/arc/nps-400-5.d: Likewise.
1137 * testsuite/gas/arc/nps-400-6.d: Likewise.
1138 * testsuite/gas/arc/nps-400-7.d: Likewise.
1139 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1140 avoid clash with cbba instruction.
1141 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1142 * testsuite/gas/arc/textinsn3op.d: Likewise.
1143 * testsuite/gas/arc/textinsn3op.s: Likewise.
1144 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1145 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1147 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1149 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1150 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1152 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1154 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1157 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1159 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1161 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1163 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1164 %hmcddfr and %hva_mask_nz.
1165 (sparc_ip): New handling of asr/privileged/hyperprivileged
1166 registers, adapted to the new form of the sparc opcodes table.
1167 * testsuite/gas/sparc/rdasr.s: New file.
1168 * testsuite/gas/sparc/rdasr.d: Likewise.
1169 * testsuite/gas/sparc/wrasr.s: Likewise.
1170 * testsuite/gas/sparc/wrasr.d: Likewise.
1171 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1173 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1174 registers require it.
1175 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1176 registers and write instruction modalities.
1177 * testsuite/gas/sparc/wrpr.d: Likewise.
1178 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1180 * testsuite/gas/sparc/rdhpr.d: Likewise.
1181 * testsuite/gas/sparc/wrhpr.s: Likewise.
1182 * testsuite/gas/sparc/wrhpr.d: Likewise.
1184 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1186 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1187 architectures to use the right opcode architecture.
1188 (sparc_md_end): Handle v9{c,d,e,v,m}.
1189 (sparc_ip): Fix some comments.
1190 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1191 instruction, which is v9d.
1192 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1193 instruction from the test, as %mwait is not readable.
1194 * testsuite/gas/sparc/mwait.d: Likewise.
1195 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1196 mismatch architecture errors.
1197 * testsuite/gas/sparc/mism-2.s: New file.
1199 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1201 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1202 empty string to mark the end of the array.
1203 (hpriv_reg_table): Likewise.
1204 (v9a_asr_table): Likewise.
1205 (cmp_reg_entry): Handle entries with NULL names.
1207 (F_POP_PCREL): Likewise.
1208 (F_POP_TLS_CALL): Likewise.
1209 (F_POP_POSTFIX): Likewise.
1210 (struct pop_entry): New type.
1211 (pop_table): New variable.
1212 (enum pop_entry_type): New type.
1213 (struct perc_entry): Likewise.
1214 (NUM_PERC_ENTRIES): Define.
1215 (perc_table): New variable.
1216 (cmp_perc_entry): New function.
1217 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1219 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1220 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1223 2016-06-15 Nick Clifton <nickc@redhat.com>
1225 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1227 * config/tc-mcore.c (md_assemble): Likewise.
1228 * config/tc-mn10200.c (md_assemble): Likewise.
1229 * config/tc-moxie.c (md_assemble): Likewise.
1230 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1231 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1232 exception targets. Add alpha, hppa, microblaze and rl78 to list
1234 (forward): Add microblaze to list of exceptions.
1235 (fwdexp): Add alpha to list of exceptions.
1236 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1237 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1238 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1239 mn10200 to list of exceptions.
1240 (align2): Expect to fail for nds32.
1241 (cond): Add alpha and rl78 to list of exceptions.
1242 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1243 * testsuite/gas/all/string.d: Skip for tic4x.
1244 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1245 target does not support ELF.
1246 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1247 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1248 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1249 tests for sh-pe and sh-rtemscoff targets.
1250 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1252 (type): Run the noifunc version for alpha-freebsd and visium.
1253 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1254 mn10200 or moxie targets.
1255 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1256 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1258 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1259 mcore and rx targets.
1260 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1262 (purge): Expect to fail on the ns32k and vax.
1263 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1264 * testsuite/gas/nds32/ls.d: Likewise.
1265 * testsuite/gas/nds32/sys-reg.d: Likewise.
1266 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1267 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1268 * testsuite/gas/pe/section-align-3.d: Likewise.
1269 * testsuite/gas/pe/section-exclude.d: Likewise.
1270 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1272 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1273 for variations in whitespace.
1274 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1276 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1277 Installs a 32-bit value without generating warnings on 64-bit
1279 Use the new macro to replace the .word directives.
1281 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1283 * testsuite/gas/arc/add_s.d: New file.
1284 * testsuite/gas/arc/add_s.s: New file.
1286 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1288 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1289 * testsuite/gas/arc/nps400-6.d: Likewise.
1291 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1293 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1295 * testsuite/gas/arc/nps400-6.d: Likewise.
1297 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1299 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1300 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1301 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1302 * testsuite/gas/arc/nps400-6.d: Likewise.
1304 2016-06-14 Nick Clifton <nickc@redhat.com>
1306 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1309 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1311 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1312 JALR relocations on R6.
1313 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1314 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1315 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1316 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1317 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1318 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1320 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1321 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1323 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1324 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1326 * testsuite/gas/mips/mips.exp: Run the new tests.
1328 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1330 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1331 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1334 2016-06-13 Nick Clifton <nickc@redhat.com>
1336 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1337 that are not supported.
1339 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1341 * config/tc-cr16.c (check_range): Likewise.
1342 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1344 2016-06-08 Renlin Li <renlin.li@arm.com>
1346 * config/tc-aarch64.c (print_operands): Substitute size.
1347 (output_operand_error_record): Likewise.
1349 2016-06-07 Alan Modra <amodra@gmail.com>
1351 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1352 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1353 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1354 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1355 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1356 add vle_opcodes twice.
1357 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1359 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1361 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1362 (arm_ext_ras): Renamed from arm_ext_v8_2.
1363 (insns): Update for arm_ext_v8_2 renaming.
1364 (arm_extensions): Add "ras".
1365 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1366 * testsuite/gas/arm/armv8-a+ras.d: New.
1367 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1370 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1372 * itbl-parse.y (yyerror): Use modern argument declaration style.
1374 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1376 * config/tc-sh.c (parse_reg): Change type of mode argument to
1378 (get_operand): Adjust.
1379 (insert): Change type of how to bfd_reloc_code_real_type.
1380 (insert4): Likewise.
1381 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1382 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1384 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1386 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1389 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1392 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1393 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1394 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1395 * gas/testsuite/gas/ppc/power8.s: Likewise.
1396 * gas/testsuite/gas/ppc/power8.d: Likewise.
1397 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1399 * gas/testsuite/gas/ppc/power4.d: Likewise.
1401 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1404 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1405 * testsuite/gas/i386/x86-64-branch.d: Updated.
1406 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1407 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1408 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1410 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1412 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1413 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1415 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1417 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1418 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1420 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1422 * configure.tgt: Replace -uclibc with *.
1424 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1426 * config/tc-arc.c (parse_opcode_flags): New function.
1427 (find_opcode_match): Move flag parsing code out to new function.
1428 Ignore operands marked IGNORE.
1429 (build_fake_opcode_hash_entry): New function.
1430 (find_special_case_long_opcode): New function.
1431 (find_special_case): Lookup long opcodes.
1432 * testsuite/gas/arc/nps400-7.d: New file.
1433 * testsuite/gas/arc/nps400-7.s: New file.
1435 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1437 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1439 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1441 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1442 sentinal with iteration to array size.
1444 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1446 * config/xtensa-relax.h: Move typedefs of enums to the enums
1449 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1451 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1454 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1456 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1457 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1458 * testsuite/gas/arc/nps-400-1.d: Likewise.
1460 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1463 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1464 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1465 noavx512ifma and noavx512vbmi.
1466 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1467 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1469 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1470 * testsuite/gas/i386/noavx512-1.l: New file.
1471 * testsuite/gas/i386/noavx512-1.s: Likewise.
1472 * testsuite/gas/i386/noavx512-2.l: Likewise.
1473 * testsuite/gas/i386/noavx512-2.s: Likewise.
1475 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1478 * config/tc-i386.c (cpu_arch): Add 687.
1479 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1480 nosse4.1, nosse4.2, nosse4 and noavx2.
1481 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1482 register. Check cpuregxmm instead of cpusse for XMM register.
1483 Check cpuregymm instead of cpuavx for YMM register. Check
1484 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1485 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1486 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1487 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1488 * testsuite/gas/i386/arch-10.d (as): Likewise.
1489 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1490 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1491 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1493 * testsuite/gas/i386/no87-3.l: New file.
1494 * testsuite/gas/i386/no87-3.s: Likewise.
1495 * testsuite/gas/i386/noavx-3.l: Likewise.
1496 * testsuite/gas/i386/noavx-3.s: Likewise.
1497 * testsuite/gas/i386/noavx-4.d: Likewise.
1498 * testsuite/gas/i386/noavx-4.s: Likewise.
1499 * testsuite/gas/i386/nosse-4.l: Likewise.
1500 * testsuite/gas/i386/nosse-4.s: Likewise.
1501 * testsuite/gas/i386/nosse-5.d: Likewise.
1502 * testsuite/gas/i386/nosse-5.s: Likewise.
1504 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1507 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1509 (match_template): Check Intel64/AMD64 ISA.
1511 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1514 * config/tc-i386.c (intel64): New.
1515 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1516 (md_parse_option): Set intel64 instead of cpuamd64 and
1519 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1521 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1524 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1526 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1527 * testsuite/gas/ppc/altivec3.s: Likewise.
1528 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1529 * testsuite/gas/ppc/power9.s: Likewise.
1531 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1533 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1534 * testsuite/gas/i386/noavx-1.l: Likewise.
1535 * testsuite/gas/i386/nommx-1.l: Likewise.
1536 * testsuite/gas/i386/nosse-1.l: Likewise.
1537 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1538 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1539 * testsuite/gas/i386/noavx-1.s: Likewise.
1540 * testsuite/gas/i386/nommx-1.s: Likewise.
1541 * testsuite/gas/i386/nosse-1.s: Likewise.
1542 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1544 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1546 * config/tc-metag.c (metag_handle_align): Make the type of noop
1549 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1551 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1552 bfd_reloc_code_real_type.
1554 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1557 * config/tc-i386.c (cpu_flags_match): Require another match
1559 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1560 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1561 * testsuite/gas/i386/avx512vl-1.l: New file.
1562 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1563 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1564 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1565 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1566 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1567 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1568 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1570 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1573 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1574 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1575 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1577 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1579 * config/tc-i386.c (arch_entry): Remove negated.
1580 (noarch_entry): New struct.
1581 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1583 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1584 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1586 (output_message): New function.
1587 (show_arch): Use it. Handle cpu_noarch.
1588 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1589 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1590 * testsuite/gas/i386/noavx-1.l: New file.
1591 * testsuite/gas/i386/noavx-1.s: Likewise.
1592 * testsuite/gas/i386/noavx-2.s: Likewise.
1593 * testsuite/gas/i386/noavx-2.l: Likewise.
1594 * testsuite/gas/i386/nommx-1.s: Likewise.
1595 * testsuite/gas/i386/nommx-1.l: Likewise.
1596 * testsuite/gas/i386/nommx-2.s: Likewise.
1597 * testsuite/gas/i386/nommx-2.l: Likewise.
1598 * testsuite/gas/i386/nommx-3.s: Likewise.
1599 * testsuite/gas/i386/nommx-3.l: Likewise.
1600 * testsuite/gas/i386/nosse-1.s: Likewise.
1601 * testsuite/gas/i386/nosse-1.l: Likewise.
1602 * testsuite/gas/i386/nosse-2.s: Likewise.
1603 * testsuite/gas/i386/nosse-2.l: Likewise.
1604 * testsuite/gas/i386/nosse-3.s: Likewise.
1605 * testsuite/gas/i386/nosse-3.l: Likewise.
1607 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1610 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1611 instruction if supported by the currently selected fpu variant.
1612 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1613 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1615 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1617 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1618 jump relocations against MIPS16 or microMIPS symbols on RELA
1620 * testsuite/gas/mips/jalx-local.d: New test.
1621 * testsuite/gas/mips/jalx-local-n32.d: New test.
1622 * testsuite/gas/mips/jalx-local-n64.d: New test.
1623 * testsuite/gas/mips/jalx-local.s: New test source.
1624 * testsuite/gas/mips/mips.exp: Run the new tests.
1626 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1628 * config/tc-mips.c (md_apply_fix)
1629 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1632 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1634 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1635 operator to operatorT.
1636 (map_suffix_reloc_to_operator): Change return type to operatorT.
1638 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1640 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1642 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1644 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1645 handler_charp to const char *.
1647 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1649 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1650 (ft32_target_format): Likewise.
1651 (TARGET_FORMAT): Adjust.
1653 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1655 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1656 (ia64_frob_label): Likewise.
1658 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1660 * config/tc-cr16.c (check_range): Make type of retval op_err.
1661 * config/tc-crx.c: Likewise.
1663 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1665 * config/tc-arc.c (md_begin): Add XY registers.
1666 (cpu_types): Code density is default off for ARC EM.
1668 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1670 * config/tc-arc.c (attributes_t): Renamed attribute class to
1672 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1674 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1676 * configuse.tgt: Add entry for arm-phoenix.
1678 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1680 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1682 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1684 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1686 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1688 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1689 (md_begin): Likewise.
1690 (encode_condition): Likewise.
1691 (encode_cc3): Likewise.
1692 (encode_cc2): Likewise.
1693 (encode_operand): Likewise.
1694 (tic54x_undefined_symbol): Likewise.
1696 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1698 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1700 * doc/c-mips.texi: Document p6600 -march option.
1702 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1705 * config/tc-i386.c (md_apply_fix): Preserve addend for
1706 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1707 * testsuite/gas/i386/addend.d: New file.
1708 * testsuite/gas/i386/addend.s: Likewise.
1709 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1710 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1711 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1712 * testsuite/gas/i386/reloc32.d: Updated.
1714 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1716 * config/tc-mips.c (append_insn): Correct the encoding of a
1717 constant argument for microMIPS JALX.
1718 (tc_gen_reloc): Correct the encoding of an in-place addend for
1720 * testsuite/gas/mips/jalx-addend.d: New test.
1721 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1722 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1723 * testsuite/gas/mips/jalx-imm.d: New test.
1724 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1725 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1726 * testsuite/gas/mips/jalx-addend.s: New test source.
1727 * testsuite/gas/mips/jalx-imm.s: New test source.
1728 * testsuite/gas/mips/mips.exp: Run the new tests.
1730 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1732 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1735 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1737 * config/tc-arc.c (find_opcode_match): Remove casting away of
1739 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1741 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1743 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1745 (md_convert_frag): Likewise.
1747 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1749 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1750 cached opcode to NULL when we reach a non-matching opcode.
1751 * testsuite/gas/arc/asm-errors-2.d: New file.
1752 * testsuite/gas/arc/asm-errors-2.err: New file.
1753 * testsuite/gas/arc/asm-errors-2.s: New file.
1755 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1757 * config/tc-arc.c (tokenize_arguments): Add checks for array
1759 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1760 * testsuite/gas/arc/asm-errors.err: Update expected results.
1762 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1764 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1765 int to enum rx_cpu_types.
1767 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1769 * config/tc-dlx.c (struct machine_it): change the type of a field from
1770 int to bfd_reloc_code_real_type.
1771 * config/tc-tic4x.c: Likewise.
1773 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1775 * config/tc-v850.c (v850_target_arch): change type to enum
1777 * config/tc-v850.h (v850_target_arch): Likewise.
1779 2016-05-18 Alan Modra <amodra@gmail.com>
1781 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1782 allowed negative range.
1783 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1784 * testsuite/gas/ppc/power9.d: Update.
1786 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1788 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1789 disassembling and stop skipping targets.
1790 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1791 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1792 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1793 instruction for targets that have stronger alignment requirement.
1794 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1795 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1796 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1797 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1798 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1799 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1800 * testsuite/gas/arm/archv8m-main.d: Likewise.
1801 * testsuite/gas/arm/archv8m.s: Add label.
1802 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1803 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1804 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1806 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1808 * config/tc-m32r.c (mach_table): Make static and const.
1810 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1812 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1815 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1817 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1819 * config/tc-msp430.c (md_begin): Likewise.
1821 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1823 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1824 bfd_reloc_code_real_type where appropriate.
1825 (fixup16): Likewise.
1826 (fixup8_xg): Likewise.
1828 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1830 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1832 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1834 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1835 * testsuite/gas/ppc/power9.s: Likewise.
1837 2016-05-13 Alan Modra <amodra@gmail.com>
1839 * config/obj-coff.c (weak_uniquify): Delete unused var.
1841 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1843 * app.c (app_push): Use XNEW and related macros.
1844 * as.c (parse_args): Likewise.
1845 * cgen.c (make_right_shifted_expr): Likewise.
1846 (gas_cgen_tc_gen_reloc): Likewise.
1847 * config/bfin-defs.h: Likewise.
1848 * config/bfin-parse.y: Likewise.
1849 * config/obj-coff.c (stack_init): Likewise.
1850 (stack_push): Likewise.
1851 (coff_obj_symbol_new_hook): Likewise.
1852 (coff_obj_symbol_clone_hook): Likewise.
1853 (add_lineno): Likewise.
1854 (coff_frob_symbol): Likewise.
1855 * config/obj-elf.c (obj_elf_section_name): Likewise.
1856 (build_group_lists): Likewise.
1857 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1858 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1859 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1860 (find_or_make_literal_pool): Likewise.
1861 (add_to_lit_pool): Likewise.
1862 (fill_instruction_hash_table): Likewise.
1863 * config/tc-alpha.c (load_expression): Likewise.
1864 (emit_jsrjmp): Likewise.
1865 (s_alpha_ent): Likewise.
1866 (s_alpha_end): Likewise.
1867 (s_alpha_linkage): Likewise.
1868 (md_begin): Likewise.
1869 (tc_gen_reloc): Likewise.
1870 * config/tc-arc.c (arc_insert_opcode): Likewise.
1871 (arc_extcorereg): Likewise.
1872 * config/tc-bfin.c: Likewise.
1873 * config/tc-cr16.c: Likewise.
1874 * config/tc-cris.c: Likewise.
1875 * config/tc-crx.c (preprocess_reglist): Likewise.
1876 * config/tc-d10v.c: Likewise.
1877 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1878 (frv_tomcat_shuffle): Likewise.
1879 * config/tc-h8300.c: Likewise.
1880 * config/tc-i370.c (i370_macro): Likewise.
1881 * config/tc-i386.c (lex_got): Likewise.
1882 (md_parse_option): Likewise.
1883 * config/tc-ia64.c (alloc_record): Likewise.
1884 (set_imask): Likewise.
1885 (save_prologue_count): Likewise.
1886 (dot_proc): Likewise.
1887 (dot_endp): Likewise.
1888 (ia64_frob_label): Likewise.
1889 (add_qp_imply): Likewise.
1890 (add_qp_mutex): Likewise.
1891 (mark_resource): Likewise.
1892 (dot_alias): Likewise.
1893 * config/tc-m68hc11.c: Likewise.
1894 * config/tc-m68k.c (m68k_frob_label): Likewise.
1896 (mri_control_label): Likewise.
1897 (push_mri_control): Likewise.
1898 (build_mri_control_operand): Likewise.
1899 (s_mri_else): Likewise.
1900 (s_mri_break): Likewise.
1901 (s_mri_next): Likewise.
1902 (s_mri_for): Likewise.
1903 (s_mri_endw): Likewise.
1904 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1905 * config/tc-microblaze.c: Likewise.
1906 * config/tc-mmix.c (s_loc): Likewise.
1907 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1908 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1909 * config/tc-rl78.c: Likewise.
1910 * config/tc-rx.c (rx_include): Likewise.
1911 * config/tc-sh.c: Likewise.
1912 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1913 * config/tc-sparc.c: Likewise.
1914 * config/tc-spu.c: Likewise.
1915 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1916 (tic6x_start_unwind_section): Likewise.
1917 * config/tc-tilegx.c: Likewise.
1918 * config/tc-tilepro.c: Likewise.
1919 * config/tc-v850.c: Likewise.
1920 * config/tc-visium.c: Likewise.
1921 * config/tc-xgate.c: Likewise.
1922 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1923 (new_resource_table): Likewise.
1924 (resize_resource_table): Likewise.
1925 (xtensa_create_trampoline_frag): Likewise.
1926 (xtensa_maybe_create_literal_pool_frag): Likewise.
1927 (cache_literal_section): Likewise.
1928 * config/xtensa-relax.c (append_transition): Likewise.
1929 (append_condition): Likewise.
1930 (append_value_condition): Likewise.
1931 (append_constant_value_condition): Likewise.
1932 (append_literal_op): Likewise.
1933 (append_label_op): Likewise.
1934 (append_constant_op): Likewise.
1935 (append_field_op): Likewise.
1936 (append_user_fn_field_op): Likewise.
1937 (enter_opname_n): Likewise.
1938 (enter_opname): Likewise.
1939 (split_string): Likewise.
1940 (parse_insn_templ): Likewise.
1941 (clone_req_or_option_list): Likewise.
1942 (clone_req_option_list): Likewise.
1943 (parse_option_cond): Likewise.
1944 (parse_insn_pattern): Likewise.
1945 (parse_insn_repl): Likewise.
1946 (build_transition): Likewise.
1947 (build_transition_table): Likewise.
1948 * dw2gencfi.c (alloc_fde_entry): Likewise.
1949 (alloc_cfi_insn_data): Likewise.
1950 (cfi_add_CFA_remember_state): Likewise.
1951 (dot_cfi_escape): Likewise.
1952 (dot_cfi_fde_data): Likewise.
1953 (select_cie_for_fde): Likewise.
1954 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1955 * ecoff.c (ecoff_add_bytes): Likewise.
1956 (ecoff_build_debug): Likewise.
1957 * input-scrub.c (input_scrub_push): Likewise.
1958 (input_scrub_begin): Likewise.
1959 (input_scrub_next_buffer): Likewise.
1960 * itbl-ops.c (append_insns_as_macros): Likewise.
1961 (alloc_entry): Likewise.
1962 (alloc_field): Likewise.
1963 * listing.c (listing_newline): Likewise.
1964 (listing_listing): Likewise.
1965 * macro.c (get_any_string): Likewise.
1966 (delete_macro): Likewise.
1967 * stabs.c (generate_asm_file): Likewise.
1968 (stabs_generate_asm_lineno): Likewise.
1969 * subsegs.c (subseg_change): Likewise.
1970 (subseg_get): Likewise.
1971 * symbols.c (define_dollar_label): Likewise.
1972 (symbol_relc_make_sym): Likewise.
1973 * write.c (write_relocs): Likewise.
1975 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1977 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1978 (weak_name2altname): Likewise.
1979 (weak_uniquify): Likewise.
1980 (obj_coff_section): Likewise.
1981 (obj_coff_init_stab_section): Likewise.
1982 * config/obj-elf.c (obj_elf_section_name): Likewise.
1983 (obj_elf_init_stab_section): Likewise.
1984 * config/obj-evax.c (evax_shorten_name): Likewise.
1985 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1986 * config/tc-aarch64.c (create_register_alias): Likewise.
1987 * config/tc-alpha.c (load_expression): Likewise.
1988 (s_alpha_file): Likewise.
1989 (s_alpha_section_name): Likewise.
1990 (tc_gen_reloc): Likewise.
1991 * config/tc-arc.c (md_assemble): Likewise.
1992 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1993 (start_unwind_section): Likewise.
1994 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1995 (hppa_elf_mark_end_of_function): Likewise.
1996 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1997 (nios2_negate_arg): Likewise.
1998 * config/tc-rx.c (rx_section): Likewise.
1999 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2000 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2001 * config/tc-tic54x.c (tic54x_include): Likewise.
2002 (tic54x_macro_info): Likewise.
2003 (subsym_get_arg): Likewise.
2004 (subsym_substitute): Likewise.
2005 (tic54x_start_line_hook): Likewise.
2006 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2007 (xg_reverse_shift_count): Likewise.
2008 * config/xtensa-relax.c (enter_opname_n): Likewise.
2009 (split_string): Likewise.
2010 * dwarf2dbg.c (get_filenum): Likewise.
2011 (process_entries): Likewise.
2012 * expr.c (operand): Likewise.
2013 * itbl-ops.c (alloc_entry): Likewise.
2014 * listing.c (listing_message): Likewise.
2015 (listing_title): Likewise.
2016 * macro.c (check_macro): Likewise.
2017 * stabs.c (s_xstab): Likewise.
2018 * symbols.c (symbol_relc_make_expr): Likewise.
2019 * write.c (compress_debug): Likewise.
2021 2016-05-12 Nick Clifton <nickc@redhat.com>
2024 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2026 2016-05-11 Nick Clifton <nickc@redhat.com>
2029 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2030 big endian ARM configurations.
2032 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2033 Matthew Fortune <matthew.fortune@imgtec.com>
2035 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2037 (md_longopts): Likewise.
2038 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2039 (mips_ases): Define availability for DSPr3.
2040 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2041 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2042 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2044 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2045 .set nodspr3. Fix -mdspr2 formatting.
2046 * testsuite/gas/mips/mips32-dspr3.d: New file.
2047 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2048 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2050 2016-05-11 Nick Clifton <nickc@redhat.com>
2053 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2054 to the pool uses O_constant.
2055 * testsuite/gas/arm/pr20068.s: New test.
2056 * testsuite/gas/arm/pr20068.d: Test driver.
2058 2016-05-11 Nick Clifton <nickc@redhat.com>
2060 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2061 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2062 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2063 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2064 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2065 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2066 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2067 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2068 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2070 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2072 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2073 * testsuite/gas/i386/prefix.d: Adjust.
2074 * testsuite/gas/i386/rdpid.s: New test.
2075 * testsuite/gas/i386/rdpid.d: Ditto.
2076 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2077 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2078 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2079 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2081 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2083 * config/tc-i386.c (cpu_arch): Add RDPID.
2084 * doc/c-i386.texi: Document RDPID.
2086 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2088 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2089 set branch type of a symbol.
2091 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2093 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2094 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2096 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2097 (aeabi_set_public_attributes): Memorize the feature bits of the
2098 architecture selected for Tag_CPU_arch. Use it to set
2099 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2100 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2101 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2102 * testsuite/gas/arm/arch7em-bad-1.d: This.
2103 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2104 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2105 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2106 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2107 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2108 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2109 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2110 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2112 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2114 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2115 allowed_archs an array with 2 entries.
2116 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2117 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2118 (arm_extensions): Use separate entries in allowed_archs when several
2119 archs are allowed to use an extension and change ARCH_ANY in
2120 ARM_ARCH_NONE in allowed_archs.
2121 (arm_parse_extension): Check that, for each allowed_archs entry, all
2122 bits are set in the current architecture, ignoring ARM_ANY entries.
2123 (s_arm_arch_extension): Likewise.
2125 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2127 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2128 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2129 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2130 shared with a non M profile architecture.
2131 (do_rn): New function.
2132 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2134 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2135 (insns): Add ARMv8-M Security Extensions instructions.
2136 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2137 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2138 * testsuite/gas/arm/archv8m-cmse.s: New file.
2139 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2140 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2141 * testsuite/gas/arm/any-cmse.d: Likewise.
2142 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2143 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2144 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2145 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2146 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2147 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2149 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2151 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2152 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2154 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2156 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2157 (fpu_arch_vfp_v3): Likewise.
2158 (fpu_arch_neon_v1): Likewise.
2159 (arm_arch_full): Likewise.
2160 (parse_neon_el_struct_list): Initialize fields of firsttype.
2162 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2164 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2165 (arc_extinsn): Handle new introduced syntax.
2166 * testsuite/gas/arc/textinsn1op.d: New file.
2167 * testsuite/gas/arc/textinsn1op.s: Likewise.
2168 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2170 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2172 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2173 DW_LNS_fixed_advance_pc.
2175 2016-04-27 Alan Modra <amodra@gmail.com>
2177 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2178 (xmemdup0): New inline function.
2180 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2182 * config/tc-mips.c (code_option_type): New enum.
2183 (parse_code_option): Return status indicating option type.
2184 (s_mipsset): Update `parse_code_option' call site accordingly.
2185 Always set register sizes from the ISA with ISA overrides.
2186 (s_module): Update `parse_code_option' call site.
2187 * testsuite/gas/mips/isa-override-1.d: New test.
2188 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2189 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2190 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2191 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2192 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2193 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2194 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2195 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2196 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2197 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2198 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2199 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2200 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2201 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2202 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2203 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2204 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2205 * testsuite/gas/mips/isa-override-2.l: New list test.
2206 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2207 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2208 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2209 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2210 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2211 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2212 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2213 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2214 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2215 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2216 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2218 * testsuite/gas/mips/isa-override-1.s: New test source.
2219 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2220 * testsuite/gas/mips/isa-override-2.s: New test source.
2221 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2222 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2223 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2224 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2225 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2226 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2227 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2228 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2229 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2230 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2231 * testsuite/gas/mips/mips.exp: Run the new tests.
2233 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2236 * config/tc-bfin.c: Likewise.
2237 * config/tc-ia64.c: Likewise.
2238 * config/tc-mep.c: Likewise.
2239 * config/tc-metag.c: Likewise.
2240 * config/tc-nios2.c: Likewise.
2241 * config/tc-rl78.c: Likewise.
2243 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2245 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2246 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2247 (ARC Directives): Add NPS400 to .cpu directive list.
2249 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2251 * config/tc-aarch64.c (aarch64_features): Add "ras".
2252 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2253 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2254 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2255 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2256 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2258 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2260 * testsuite/gas/arc/nps400-6.d: New file.
2261 * testsuite/gas/arc/nps400-6.s: New file.
2263 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2265 * testsuite/gas/arc/nps400-4.d: New file.
2266 * testsuite/gas/arc/nps400-4.s: New file.
2267 * testsuite/gas/arc/nps400-5.d: New file.
2268 * testsuite/gas/arc/nps400-5.s: New file.
2270 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2272 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2275 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2277 Revert prevous change.
2278 * config/tc-arc.c (arc_option): Make .cpu directive
2279 case-sensitive again.
2281 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2283 * config/tc-arc.c (arc_option): Make .cpu directive
2286 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2288 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2290 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2292 * config/tc-mips.c (md_begin): Remove useless assignment.
2294 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2296 * Makefile.in: Regenerated with automake 1.11.6.
2297 * aclocal.m4: Likewise.
2298 * doc/Makefile.in: Likewise.
2300 2016-04-15 Alan Modra <amodra@gmail.com>
2302 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2304 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2306 * config/tc-nios2.c (nios2_as_options): Make file static.
2307 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2308 * config/tc-sparc.c (native_op_table): Likewise.
2310 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2312 * config/tc-m32c.c (M32C_Macros): Remove.
2313 * config/tc-msp430.c (option_numbers): Likewise.
2315 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2317 * testsuite/gas/arc/nps400-3.d: New file.
2318 * testsuite/gas/arc/nps400-3.s: New file.
2320 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2322 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2323 * testsuite/gas/arc/warn.s: Likewise.
2324 * testsuite/gas/elf/elf.exp: Run test for arc.
2326 2016-04-14 Nick Clifton <nickc@redhat.com>
2329 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2330 sections possibly having the SHF_STRINGS flag bit set.
2331 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2333 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2335 * config/tc-arc.c (mach_type_specified_p): Change type to
2337 (arc_option): Set private flags when parsing cpu pseudo-op.
2338 (md_parse_option): Set mach_type_specified_p to TRUE.
2340 2016-04-13 Nick Clifton <nickc@redhat.com>
2343 * testsuite/gas/v850/pr19937.s: New test.
2344 * testsuite/gas/v850/pr19937.d: New test control file.
2345 * testsuite/gas/v850/basic.exp: Run the new test.
2347 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2348 Andrew Bennett <andrew.bennett@imgtec.com>
2350 * config/tc-mips.c (relaxed_branch_length): Use the long
2351 sequence where the target is a weak symbol.
2352 (relaxed_micromips_32bit_branch_length): Likewise.
2353 (relaxed_micromips_16bit_branch_length): Likewise.
2354 * testsuite/gas/mips/branch-weak-1.d: New test.
2355 * testsuite/gas/mips/branch-weak-2.d: New test.
2356 * testsuite/gas/mips/branch-weak-3.d: New test.
2357 * testsuite/gas/mips/branch-weak-4.d: New test.
2358 * testsuite/gas/mips/branch-weak-5.d: New test.
2359 * testsuite/gas/mips/branch-weak.l: New stderr output.
2360 * testsuite/gas/mips/branch-weak.s: New test source.
2361 * testsuite/gas/mips/mips.exp: Run the new tests.
2363 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2365 * config/tc-mips.c (relaxed_branch_length): Use the long
2366 sequence where the distance cannot be determined.
2367 (relaxed_micromips_32bit_branch_length): Likewise.
2368 * testsuite/gas/mips/branch-extern-1.d: New test.
2369 * testsuite/gas/mips/branch-extern-2.d: New test.
2370 * testsuite/gas/mips/branch-extern-3.d: New test.
2371 * testsuite/gas/mips/branch-extern-4.d: New test.
2372 * testsuite/gas/mips/branch-extern.l: New stderr output.
2373 * testsuite/gas/mips/branch-extern.s: New test source.
2374 * testsuite/gas/mips/branch-section-1.d: New test.
2375 * testsuite/gas/mips/branch-section-2.d: New test.
2376 * testsuite/gas/mips/branch-section-3.d: New test.
2377 * testsuite/gas/mips/branch-section-4.d: New test.
2378 * testsuite/gas/mips/branch-section.l: New stderr output.
2379 * testsuite/gas/mips/branch-section.s: New test source.
2380 * testsuite/gas/mips/mips.exp: Run the new tests.
2382 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2384 * testsuite/gas/arc/textauxregister.d: New file.
2385 * testsuite/gas/arc/textauxregister.s: Likewise.
2386 * testsuite/gas/arc/textcondcode.d: Likewise.
2387 * testsuite/gas/arc/textcondcode.s: Likewise.
2388 * testsuite/gas/arc/textcoreregister.d: Likewise.
2389 * testsuite/gas/arc/textcoreregister.s: Likewise.
2390 * testsuite/gas/arc/textpseudoop.d: Likewise.
2391 * testsuite/gas/arc/textpseudoop.s: Likewise.
2392 * testsuite/gas/arc/ld2.d: Update test.
2393 * testsuite/gas/arc/st.d: Likewise.
2394 * testsuite/gas/arc/taux.d: Likewise.
2395 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2396 .extCoreRegister and .extAuxRegister documentation.
2397 * config/tc-arc.c (arc_extcorereg): New function.
2398 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2399 .extAuxRegister pseudo-ops.
2400 (extRegister_t): New type.
2401 (ext_condcode, arc_aux_hash): New global variable.
2402 (find_opcode_match): Check for extensions.
2403 (preprocess_operands): Likewise.
2404 (md_begin): Add aux registers in a hash.
2405 (assemble_insn): Update use arc_flags member.
2406 (tokenize_extregister): New function.
2407 (create_extcore_section): Likewise.
2408 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2410 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2412 * testsuite/gas/arc/noargs_a7.d: New file.
2413 * testsuite/gas/arc/noargs_a7.s: Likewise.
2414 * testsuite/gas/arc/noargs_hs.d: Likewise.
2415 * testsuite/gas/arc/noargs_hs.s: Likewise.
2417 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2419 * testsuite/gas/arc/textinsn-errors.d: New File.
2420 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2421 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2422 * testsuite/gas/arc/textinsn2op.d: Likewise.
2423 * testsuite/gas/arc/textinsn2op.s: Likewise.
2424 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2425 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2426 * testsuite/gas/arc/textinsn3op.d: Likewise.
2427 * testsuite/gas/arc/textinsn3op.s: Likewise.
2428 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2430 * config/tc-arc.c (arcext_section): New variable.
2431 (arc_extinsn): New function.
2432 (md_pseudo_table): Add .extInstruction pseudo op.
2433 (attributes_t): New type.
2434 (suffixclass, syntaxclass, syntaxclassmod): New constant
2436 (find_opcode_match): Remove arc_num_opcodes.
2437 (md_begin): Likewise.
2438 (tokenize_extinsn): New function.
2439 (arc_set_ext_seg): Likewise.
2440 (create_extinst_section): Likewise.
2442 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2444 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2445 (arc_adjust_symtab): New function.
2446 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2447 (obj_adjust_symtab): Likewise.
2448 * testsuite/gas/arc/taux.d: New file.
2449 * testsuite/gas/arc/taux.s: Likewise.
2451 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2453 * config/tc-mips.c (s_option): Sanitize `.option picX'
2455 * testsuite/gas/mips/option-pic-1.d: New test.
2456 * testsuite/gas/mips/option-pic-2.l: New list test.
2457 * testsuite/gas/mips/option-pic-1.s: New test source.
2458 * testsuite/gas/mips/option-pic-2.s: New test source.
2459 * testsuite/gas/mips/mips.exp: Run the new tests.
2461 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2463 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2465 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2466 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2467 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2468 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2469 * testsuite/gas/mips/mips.exp: Run the new tests.
2471 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2473 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2475 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2477 * messages.c (as_bad): Fix a typo in description.
2479 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2481 * config/tc-mips.c (mips_check_options): Unify messages.
2483 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2485 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2488 2016-04-08 Nick Clifton <nickc@redhat.com>
2491 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2492 COFF and AOUT sparc targets.
2494 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2496 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2497 * testsuite/gas/arc/nps400-2.d: New file.
2498 * testsuite/gas/arc/nps400-2.s: New file.
2500 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2502 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2504 (arc_opcode_hash_entry_iterator_init): New function.
2505 (arc_opcode_hash_entry_iterator_next): New function.
2506 (find_opcode_match): Iterate over all arc_opcode entries
2507 referenced by the arc_opcode_hash_entry passed in as a parameter.
2509 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2511 * config/tc-arc.c (arc_find_opcode): Now returns
2512 arc_opcode_hash_entry pointer.
2513 (find_opcode_match): Update argument type, extract arc_opcode from
2514 incoming arc_opcode_hash_entry.
2515 (find_special_case_pseudo): Update return type.
2516 (find_special_case_flag): Update return type.
2517 (find_special_case): Update return type.
2518 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2519 instruction mnemonic, then use find_opcode_match to identify
2520 specific arc_opcode.
2522 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2524 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2525 (arc_find_opcode): New function.
2526 (find_special_case_pseudo): Use arc_find_opcode.
2527 (find_special_case_flag): Likewise.
2528 (assemble_tokens): Likewise.
2529 (md_begin): Build hash using struct arc_opcode_hash_entry.
2531 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2533 * config/tc-arc.c (arc_option): Prepare string for automatic
2535 (declare_register): Likewise.
2537 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2539 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2540 Correct entry for RDMA. Alpha sort entries.
2542 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2544 * config/tc-arc.c (tokenize_flags): Allow greater range of
2545 characters into flag names.
2547 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2549 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2551 (preprocess_operands): Delete.
2552 (assemble_tokens): Remove call to preprocess_operands.
2554 2016-04-07 Nick Clifton <nickc@redhat.com>
2557 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2558 inside a %-macro could not be fully parsed.
2559 * expr.c (integer_constant): Accept and ignore U suffixes to
2561 (operand): When a missing closing parenthesis is encountered,
2562 report the character that was found instead.
2563 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2564 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2565 * testsuite/gas/sparc/pr19910-1.s: New test.
2566 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2567 * testsuite/gas/sparc/pr19910-2.s: New test.
2568 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2570 2016-04-06 Nick Clifton <nickc@redhat.com>
2572 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2573 an EINT instruction. Warn/fix as necessary.
2574 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2575 * testsuite/gas/msp430/bad.l: Update expected messages.
2577 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2579 * testsuite/gas/arc/nps400-1.d: Update expected results.
2580 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2582 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2584 * config/tc-arc.c (is_code_density_p): Compare directly the
2586 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2587 (check_cpu_feature): New function.
2588 (find_opcode_match): Use check_cpu_feature function.
2589 (preprocess_operands): Likewise.
2590 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2591 * testsuite/gas/arc/tdpfp.d: New file.
2592 * testsuite/gas/arc/tfpuda.d: Likewise.
2593 * testsuite/gas/arc/tfpx.s: Likewise.
2595 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2597 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2598 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2599 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2600 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2601 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2602 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2603 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2604 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2606 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2608 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2610 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2611 JUMP instructions type.
2612 * testsuite/gas/arc/relocs-errors.d: New file.
2613 * testsuite/gas/arc/relocs-errors.err: Likewise.
2614 * testsuite/gas/arc/relocs-errors.s: Likewise.
2616 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2619 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2620 only if i.disp_encoding != disp_encoding_32bit.
2621 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2622 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2623 * gas/testsuite/gas/i386/disp32.d: Updated.
2624 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2626 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2629 * testsuite/gas/i386/i386.exp: Run pr19498.
2630 * testsuite/gas/i386/pr19498.d: New file.
2631 * testsuite/gas/i386/pr19498.s: Likewise.
2633 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2635 * config/tc-arc.h: Include 'opcode/arc.h'.
2636 (MAX_INSN_ARGS): Delete.
2637 (MAX_INSN_FLGS): Delete.
2639 2016-04-04 Alan Modra <amodra@gmail.com>
2642 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2643 from function on all paths that set sy_resolving.
2645 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2647 * app.c (app_push): use XNEW macro.
2649 * config/obj-elf.c (obj_elf_change_section): Likewise.
2650 (elf_copy_symbol_attributes): Likewise.
2651 (obj_elf_size): Likewise.
2652 (build_group_lists): Likewise.
2653 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2654 (md_assemble): Likewise.
2655 (tc_gen_reloc): Likewise.
2656 (get_upper_str): Likewise.
2657 (aarch64_parse_features): Likewise.
2658 * config/tc-arm.c (insert_reg_alias): Likewise.
2659 (insert_neon_reg_alias): Likewise.
2660 (find_or_make_literal_pool): Likewise.
2661 (s_arm_elf_cons): Likewise.
2662 (add_unwind_opcode): Likewise.
2663 (arm_parse_extension): Likewise.
2664 * config/tc-avr.c (create_record_for_frag): Likewise.
2665 * config/tc-crx.c: Likewise.
2666 * config/tc-d30v.c: Likewise.
2667 * config/tc-dlx.c (s_proc): Likewise.
2668 * config/tc-ft32.c: Likewise.
2669 * config/tc-h8300.c: Likewise.
2670 * config/tc-hppa.c (pa_proc): Likewise.
2671 (create_new_space): Likewise.
2672 (create_new_subspace): Likewise.
2673 * config/tc-i860.c: Likewise.
2674 * config/tc-i960.c: Likewise.
2675 * config/tc-ia64.c: Likewise.
2676 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2677 (iq2000_record_hi16): Likewise.
2678 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2679 * config/tc-m32r.c (debug_sym): Likewise.
2680 (m32r_record_hi16): Likewise.
2681 * config/tc-m68k.c (m68k_ip): Likewise.
2682 (md_begin): Likewise.
2683 * config/tc-mcore.c: Likewise.
2684 * config/tc-microblaze.c (check_got): Likewise.
2685 * config/tc-mips.c (append_insn): Likewise.
2686 (s_mipsset): Likewise.
2687 (mips_record_label): Likewise.
2688 (s_mips_end): Likewise.
2689 * config/tc-mmix.c (mmix_frob_file): Likewise.
2690 * config/tc-mn10200.c: Likewise.
2691 * config/tc-mn10300.c: Likewise.
2692 * config/tc-moxie.c: Likewise.
2693 * config/tc-msp430.c: Likewise.
2694 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2695 * config/tc-ns32k.c: Likewise.
2696 * config/tc-or1k.c: Likewise.
2697 * config/tc-pdp11.c: Likewise.
2698 * config/tc-pj.c (fake_opcode): Likewise.
2699 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2700 (ppc_macro): Likewise.
2701 (ppc_dwsect): Likewise.
2702 (ppc_machine): Likewise.
2703 * config/tc-rl78.c (rl78_frag_init): Likewise.
2704 * config/tc-rx.c (rx_frag_init): Likewise.
2705 * config/tc-s390.c (s390_lit_suffix): Likewise.
2706 (s390_machine): Likewise.
2707 (s390_machinemode): Likewise.
2708 * config/tc-score.c (s3_insert_reg): Likewise.
2709 (s3_gen_reloc): Likewise.
2710 * config/tc-score7.c (s7_insert_reg): Likewise.
2711 (s7_gen_reloc): Likewise.
2712 * config/tc-tic30.c (tic30_operand): Likewise.
2713 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2714 * config/tc-tic54x.c (stag_add_field): Likewise.
2715 (tic54x_struct): Likewise.
2716 (tic54x_space): Likewise.
2717 (tic54x_field): Likewise.
2718 (tic54x_mlib): Likewise.
2719 (subsym_substitute): Likewise.
2720 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2721 * config/tc-vax.c: Likewise.
2722 * config/tc-xc16x.c: Likewise.
2723 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2724 (directive_push): Likewise.
2725 (xtensa_begin_directive): Likewise.
2726 (tokenize_arguments): Likewise.
2727 (xtensa_add_literal_sym): Likewise.
2728 (new_resource_table): Likewise.
2729 (resize_resource_table): Likewise.
2730 (emit_single_op): Likewise.
2731 (xtensa_create_trampoline_frag): Likewise.
2732 (xtensa_maybe_create_literal_pool_frag): Likewise.
2733 (xtensa_add_config_info): Likewise.
2734 (xtensa_realloc_fixup_cache): Likewise.
2735 (add_subseg_info): Likewise.
2736 (cache_literal_section): Likewise.
2737 (add_xt_block_frags): Likewise.
2738 (add_xt_prop_frags): Likewise.
2739 (init_op_placement_info_table): Likewise.
2740 (build_section_rename): Likewise.
2741 * config/tc-z80.c: Likewise.
2742 * config/tc-z8k.c: Likewise.
2743 * depend.c (register_dependency): Likewise.
2744 * dwarf2dbg.c (get_line_subseg): Likewise.
2745 (dwarf2_gen_line_info_1): Likewise.
2746 (get_filenum): Likewise.
2747 * ecoff.c (allocate_scope): Likewise.
2748 (allocate_vlinks): Likewise.
2749 (allocate_shash): Likewise.
2750 (allocate_thash): Likewise.
2751 (allocate_tag): Likewise.
2752 (allocate_forward): Likewise.
2753 (allocate_thead): Likewise.
2754 (allocate_lineno_list): Likewise.
2755 * expr.c (make_expr_symbol): Likewise.
2756 * hash.c (hash_new_sized): Likewise.
2757 * input-file.c (input_file_push): Likewise.
2758 * listing.c (file_info): Likewise.
2759 (listing_newline): Likewise.
2760 * macro.c (new_formal): Likewise.
2761 (define_macro): Likewise.
2762 * remap.c (add_debug_prefix_map): Likewise.
2763 * symbols.c (symbol_find_noref): Likewise.
2764 (define_dollar_label): Likewise.
2765 (fb_label_instance_inc): Likewise.
2766 (symbol_relc_make_value): Likewise.
2768 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2770 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2771 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2772 (ppc_znop): Likewise.
2773 (ppc_pe_section): Likewise.
2774 (ppc_frob_symbol): Likewise.
2775 * config/tc-tic30.c (tic30_operand): Likewise.
2776 * config/tc-tic4x.c (tic4x_sect): Likewise.
2777 (tic4x_usect): Likewise.
2779 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2781 * config/tc-alpha.c: Const qualify FLT_CHARS.
2782 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2783 * config/tc-cris.h: Likewise.
2785 * config/tc-mmix.c (md_atof): Adjust comment.
2786 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2787 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2789 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2791 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2792 * config/tc-score7.c (s7_gen_reloc): Likewise.
2794 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2796 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2797 bfd_reloc_code_real_type.
2799 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2801 * config/bfin-parse.y (current_inputline): Remove definition.
2802 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2804 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2806 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2809 2016-04-02 Alan Modra <amodra@gmail.com>
2812 * read.c (assign_symbol): Consume rest of line after an error
2813 rather than continuing to process the line.
2815 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2817 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2818 (MAX_FLAG_NAME_LENGTH): ...this.
2819 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2820 * config/tc-arc.c (tokenize_flags): Likewise.
2822 2016-04-01 Alan Modra <amodra@gmail.com>
2824 * cgen.c (weak_operand_overflow_check): Return const char*.
2825 * messages.c (as_internal_value_out_of_range): Formatting.
2826 (as_warn_value_out_of_range): Consify prefix param.
2827 (as_bad_value_out_of_range): Likewise.
2828 * read.c (s_errwarn): Constify msg..
2829 (s_float_space, float_cons): ..and err.
2830 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2831 ieee_md_atof, vax_md_atof): Update prototypes.
2832 * tc.h (md_atof): Update prototype.
2833 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2834 * config/atof-vax.c (vax_md_atof): Likewise.
2835 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2836 * config/tc-aarch64.c (md_atof): Return const char*.
2837 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2838 (s_alpha_comm): Constify sec_name.
2839 (section_name): Constify.
2840 (s_alpha_section): Consify name..
2841 (alpha_elf_section_letter): ..and ptr_msg param..
2842 (md_atof): ..and return.
2843 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2844 * config/tc-arc.c (md_atof): Return const char*.
2845 * config/tc-arm.c (md_atof): Likewise.
2846 * config/tc-avr.c (md_atof): Likewise.
2847 * config/tc-bfin.c (md_atof): Likewise.
2848 * config/tc-cr16.c (md_atof): Likewise.
2849 * config/tc-cris.c (md_atof): Likewise.
2850 * config/tc-crx.c (md_atof): Likewise.
2851 * config/tc-d10v.c (md_atof): Likewise.
2852 * config/tc-d30v.c (md_atof): Likewise.
2853 * config/tc-dlx.c (md_atof): Likewise.
2854 * config/tc-epiphany.c (md_atof): Likewise.
2855 * config/tc-fr30.c (md_atof): Likewise.
2856 * config/tc-frv.c (md_atof): Likewise.
2857 * config/tc-ft32.c (md_atof): Likewise.
2858 * config/tc-h8300.c (md_atof): Likewise.
2859 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2860 (struct default_space_dict): Likewise.
2861 (create_new_space): Constify name param.
2862 (create_new_subspace): Likewise.
2863 (is_defined_space, is_defined_subspace): Likewise.
2864 (pa_parse_space_stmt): Constify space_name param.
2865 (md_atof): Return const char*.
2866 (pa_spaces_begin): Constify name.
2867 * config/tc-i370.c (md_atof): Return const char*.
2868 * config/tc-i386.c (md_atof): Likewise.
2869 (x86_64_section_letter): Constify ptr_msg param.
2870 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2871 * config/tc-i860.c (struct i860_it): Constify error.
2872 (md_atof): Return const char*.
2873 * config/tc-i960.c (md_atof): Likewise.
2874 * config/tc-ia64.c (md_atof): Likewise.
2875 (ia64_elf_section_letter): Constify ptr_msg param.
2876 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2877 * config/tc-ip2k.c (md_atof): Return const char*.
2878 * config/tc-iq2000.c (md_atof): Likewise.
2879 * config/tc-lm32.c (md_atof): Likewise.
2880 * config/tc-m32c.c (md_atof): Likewise.
2881 * config/tc-m32r.c (md_atof): Likewise.
2882 * config/tc-m68hc11.c (md_atof): Likewise.
2883 * config/tc-m68k.c (md_atof): Likewise.
2884 * config/tc-mcore.c (md_atof): Likewise.
2885 * config/tc-mep.c (md_atof): Likewise.
2886 (mep_elf_section_letter): Constify ptr_msg param.
2887 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2888 * config/tc-metag.c (md_atof): Return const char*.
2889 * config/tc-microblaze.c (md_atof): Likewise.
2890 * config/tc-microblaze.h (md_atof): Delete prototype.
2891 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2892 (md_atof): Return const char*.
2893 * config/tc-mmix.c (md_atof): Likewise.
2894 * config/tc-mn10200.c (md_atof): Likewise.
2895 * config/tc-mn10300.c (md_atof): Likewise.
2896 * config/tc-moxie.c (md_atof): Likewise.
2897 * config/tc-msp430.c (md_atof): Likewise.
2898 * config/tc-mt.c (md_atof): Likewise.
2899 * config/tc-nds32.c (md_atof): Likewise.
2900 * config/tc-nios2.c (md_atof): Likewise.
2901 (nios2_elf_section_letter): Constify ptr_msg param.
2902 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2903 * config/tc-ns32k.c (md_atof): Return const char*.
2904 * config/tc-or1k.c (md_atof): Likewise.
2905 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2906 (md_atof): Return const char*.
2907 * config/tc-pj.c (md_atof): Likewise.
2908 * config/tc-ppc.c (md_atof): Likewise.
2909 * config/tc-rl78.c (md_atof): Likewise.
2910 * config/tc-rx.c (md_atof): Likewise.
2911 * config/tc-s390.c (md_atof): Likewise.
2912 * config/tc-score.c (s3_atof, md_atof): Likewise.
2913 * config/tc-sh.c (md_atof): Likewise.
2914 * config/tc-sparc.c (struct sparc_it): Constify error.
2915 (md_atof): Return const char*.
2916 * config/tc-spu.c (md_atof): Likewise.
2917 * config/tc-tic30.c (md_atof): Likewise.
2918 * config/tc-tic4x.c (md_atof): Likewise.
2919 * config/tc-tic54x.c (md_atof): Likewise.
2920 * config/tc-tic6x.c (md_atof): Likewise.
2921 * config/tc-tilegx.c (md_atof): Likewise.
2922 * config/tc-tilepro.c (md_atof): Likewise.
2923 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2924 * config/tc-vax.c (md_atof): Likewise.
2925 * config/tc-visium.c (md_atof): Likewise.
2926 * config/tc-xc16x.c (md_atof): Likewise.
2927 * config/tc-xgate.c (md_atof): Likewise.
2928 * config/tc-xstormy16.c (md_atof): Likewise.
2929 * config/tc-xtensa.c (md_atof): Likewise.
2930 * config/tc-z80.c (md_atof): Likewise.
2931 * config/tc-z8k.c (md_atof): Likewise.
2933 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2935 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2937 (xtensa_section_rename): Make argument type const char *.
2938 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2940 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2942 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2945 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2947 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2949 (m32c_indirect_operand): Likewise.
2950 * config/tc-nds32.c (do_pseudo_b): Likewise.
2951 (do_pseudo_bal): Likewise.
2952 (do_pseudo_ls_bhw): Likewise.
2954 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2956 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2958 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2960 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2962 * config/tc-sparc.c (s_register): Cast a literal to char * in
2965 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2967 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2969 * config/tc-m32r.c (expand_debug_syms): Likewise.
2970 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2971 * config/tc-z80.c (md_begin): Likewise.
2972 * stabs.c (stabs_generate_asm_func): Likewise.
2974 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2976 * cgen.c: Modernize the way functions declare arguments.
2977 * config/tc-bfin.c: Likewise.
2978 * config/tc-pdp11.c: Likewise.
2979 * literal.c: Likewise.
2981 * stabs.c: Likewise.
2983 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2985 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2986 variables unsigned char[].
2987 * config/tc-alpha.c (alpha_handle_align): Likewise.
2988 * config/tc-arm.c (arm_handle_align): Likewise.
2989 * config/tc-z80.c: Likewise.
2991 2016-03-30 Nick Clifton <nickc@redhat.com>
2994 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2997 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2999 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3000 * testsuite/gas/elf/elf.exp: Likewise.
3001 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3003 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3005 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3007 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3009 * testsuite/gas/arc/ext2op.d: New file.
3010 * testsuite/gas/arc/ext2op.s: Likewise.
3011 * testsuite/gas/arc/ext3op.d: Likewise.
3012 * testsuite/gas/arc/ext3op.s: Likewise.
3014 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3016 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3018 * config/tc-alpha.c (md_parse_option): Likewise.
3019 * config/tc-arc.c (md_parse_option): Likewise.
3020 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3021 (md_parse_option): Likewise.
3022 * config/tc-avr.c (md_parse_option): Likewise.
3023 * config/tc-bfin.c (md_parse_option): Likewise.
3024 * config/tc-cr16.c (md_parse_option): Likewise.
3025 * config/tc-cris.c (s_cris_arch): Likewise.
3026 (md_parse_option): Likewise.
3027 * config/tc-crx.c (md_parse_option): Likewise.
3028 * config/tc-d10v.c (md_parse_option): Likewise.
3029 * config/tc-d30v.c (md_parse_option): Likewise.
3030 * config/tc-dlx.c (md_parse_option): Likewise.
3031 * config/tc-epiphany.c (md_parse_option): Likewise.
3032 * config/tc-fr30.c (md_parse_option): Likewise.
3033 * config/tc-frv.c (md_parse_option): Likewise.
3034 * config/tc-ft32.c (md_parse_option): Likewise.
3035 * config/tc-h8300.c (md_parse_option): Likewise.
3036 * config/tc-hppa.c (md_parse_option): Likewise.
3037 * config/tc-i370.c (md_parse_option): Likewise.
3038 * config/tc-i386.c (md_parse_option): Likewise.
3039 * config/tc-i860.c (md_parse_option): Likewise.
3040 * config/tc-i960.c (md_parse_option): Likewise.
3041 * config/tc-ia64.c (md_parse_option): Likewise.
3042 * config/tc-ip2k.c (md_parse_option): Likewise.
3043 * config/tc-iq2000.c (md_parse_option): Likewise.
3044 * config/tc-lm32.c (md_parse_option): Likewise.
3045 * config/tc-m32c.c (md_parse_option): Likewise.
3046 * config/tc-m32r.c (md_parse_option): Likewise.
3047 * config/tc-m68hc11.c (md_parse_option): Likewise.
3048 * config/tc-m68k.c (md_parse_option): Likewise.
3049 * config/tc-mcore.c (md_parse_option): Likewise.
3050 * config/tc-mep.c (md_parse_option): Likewise.
3051 * config/tc-metag.c (struct metag_long_option): Likewise.
3052 (md_parse_option): Likewise.
3053 * config/tc-microblaze.c (md_parse_option): Likewise.
3054 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3055 * config/tc-mips.c (md_parse_option): Adjust.
3056 * config/tc-mmix.c (md_parse_option): Likewise.
3057 * config/tc-mn10200.c (md_parse_option): Likewise.
3058 * config/tc-mn10300.c (md_parse_option): Likewise.
3059 * config/tc-moxie.c (md_parse_option): Likewise.
3060 * config/tc-msp430.c (md_parse_option): Likewise.
3061 * config/tc-mt.c (md_parse_option): Likewise.
3062 * config/tc-nds32.c (md_parse_option): Likewise.
3063 * config/tc-nds32.h (nds32_parse_option): Likewise.
3064 * config/tc-nios2.c (md_parse_option): Likewise.
3065 * config/tc-ns32k.c (md_parse_option): Likewise.
3066 * config/tc-or1k.c (md_parse_option): Likewise.
3067 * config/tc-pdp11.c (md_parse_option): Likewise.
3068 * config/tc-pj.c (md_parse_option): Likewise.
3069 * config/tc-ppc.c (md_parse_option): Likewise.
3070 * config/tc-rl78.c (md_parse_option): Likewise.
3071 * config/tc-rx.c (md_parse_option): Likewise.
3072 * config/tc-s390.c (s390_parse_cpu): Likewise.
3073 * config/tc-score.c (md_parse_option): Likewise.
3074 * config/tc-sh.c (md_parse_option): Likewise.
3075 * config/tc-sparc.c (md_parse_option): Likewise.
3076 * config/tc-spu.c (md_parse_option): Likewise.
3077 * config/tc-tic30.c (md_parse_option): Likewise.
3078 * config/tc-tic4x.c (md_parse_option): Likewise.
3079 * config/tc-tic54x.c (md_parse_option): Likewise.
3080 * config/tc-tic6x.c (md_parse_option): Likewise.
3081 * config/tc-tilegx.c (md_parse_option): Likewise.
3082 * config/tc-tilepro.c (md_parse_option): Likewise.
3083 * config/tc-v850.c (md_parse_option): Likewise.
3084 * config/tc-vax.c (md_parse_option): Likewise.
3085 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3086 * config/tc-xc16x.c (md_parse_option): Likewise.
3087 * config/tc-xgate.c (md_parse_option): Likewise.
3088 * config/tc-xstormy16.c (md_parse_option): Likewise.
3089 * config/tc-xtensa.c (md_parse_option): Likewise.
3090 * config/tc-z80.c (md_parse_option): Likewise.
3091 * config/tc-z8k.c (md_parse_option): Likewise.
3092 * tc.h (md_parse_option): Likewise.
3094 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3096 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3097 * config/tc-hppa.c (fix_new_hppa): Likewise.
3098 (pa_vtable_entry): Likewise.
3099 (pa_vtable_inherit): Likewise.
3100 * config/tc-m68k.c (md_begin): Likewise.
3102 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3104 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3105 * config/obj-elf.h (obj_elf_section_name): Adjust.
3106 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3107 (aarch64_parse_cpu): Likewise.
3108 (aarch64_parse_arch): Likewise.
3109 * config/tc-arm.c (arm_parse_extension): Likewise.
3110 (arm_parse_cpu): Likewise.
3111 (arm_parse_arch): Likewise.
3112 * config/tc-nds32.c: Likewise.
3113 * config/xtensa-relax.c (parse_special_fn): Likewise.
3114 * stabs.c (generate_asm_file): Likewise.
3116 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3118 * config/tc-cr16.c (cr16_assemble): New function.
3119 (md_assemble): Call cr16_assemble.
3121 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3123 * as.c (parse_args): Adjust.
3124 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3125 * config/obj-elf.c (elf_frob_symbol): Adjust.
3127 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3129 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3130 registers to be in the 16..31 range.
3132 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3134 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3137 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3139 * config/tc-visium.c (md_atof): Localize the string returned on
3142 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3144 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3145 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3146 * config/tc-m68hc11.c (md_begin): Likewise.
3147 (print_opcode_list): Likewise.
3148 * config/tc-msp430.c (msp430_section): Likewise.
3149 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3150 (s3_build_dependency_insn_hsh): Likewise.
3151 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3152 (s7_build_dependency_insn_hsh): Likewise.
3153 * config/tc-tic4x.c: Likewise.
3154 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3155 (subsym_get_arg): Likewise.
3156 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3157 (get_directive): Likewise.
3158 (cache_literal_section): Likewise.
3159 * config/xtensa-relax.c: Likewise.
3160 * symbols.c (symbol_create): Likewise.
3161 (local_symbol_make): Likewise.
3162 (symbol_relc_make_expr): Likewise.
3164 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3166 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3169 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3171 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3174 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3176 * config/tc-ia64.c (ia64_do_align): Remove.
3177 (ia64_cons_align): Call do_align () directly.
3178 (dot_proc): Likewise.
3179 (stmt_float_cons): Likewise.
3181 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3183 * listing.c (listing_message): Use XNEW style allocation macros.
3184 * read.c (read_a_source_file): Likewise.
3185 (read_symbol_name): Likewise.
3186 (s_mri_common): Likewise.
3187 (assign_symbol): Likewise.
3188 (s_reloc): Likewise.
3189 (emit_expr_with_reloc): Likewise.
3190 (s_incbin): Likewise.
3191 (s_include): Likewise.
3192 * sb.c (sb_build): Likewise.
3193 (sb_check): Likewise.
3195 2016-03-22 Alan Modra <amodra@gmail.com>
3197 * write.c (record_alignment): Revert 2016-02-18 change.
3199 2016-03-22 Alan Modra <amodra@gmail.com>
3201 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3202 (emit_jsrjmp, tc_gen_reloc): Likewise.
3203 * config/tc-i370.c (i370_macro): Likewise.
3205 2016-03-22 Nick Clifton <nickc@redhat.com>
3207 * configure: Regenerate.
3209 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3211 * testsuite/gas/arc/nps400-0.d: New file.
3212 * testsuite/gas/arc/nps400-0.s: New file.
3213 * testsuite/gas/arc/nps400-1.d: New file.
3214 * testsuite/gas/arc/nps400-1.s: New file.
3216 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3218 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3219 declarations to start of block. Reset code on all flags before
3220 attempting to match them. Handle multiple hits on the same flag.
3222 * testsuite/gas/arc/asm-errors.d: New file.
3223 * testsuite/gas/arc/asm-errors.err: New file.
3224 * testsuite/gas/arc/asm-errors.s: New file.
3226 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3228 * config/tc-arc.c (cpu_types): Add nps400 entry.
3229 (check_zol): Handle nps400.
3231 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3233 * config/tc-arc.c (arc_select_cpu): Remove use of
3236 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3238 * config/tc-arc.c (arc_target): Delay initialisation until
3240 (arc_target_name): Likewise.
3241 (arc_features): Likewise.
3242 (arc_mach_type): Likewise.
3243 (cpu_types): Remove "all" entry.
3244 (arc_select_cpu): New function, most of the content is from...
3245 (md_parse_option): ... here. Call new arc_select_cpu.
3246 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3248 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3250 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3251 * testsuite/gas/arc/inline-data-2.d: New file.
3253 2016-03-21 Nick Clifton <nickc@redhat.com>
3255 * atof-generic.c: Replace use of alloca with call to xmalloc.
3257 * dwarf2dbg.c: Likewise.
3258 * macro.c: Likewise.
3259 * remap.c: Likewise.
3260 * stabs.c: Likewise.
3261 * symbols.c: Likewise.
3262 * config/obj-elf.c: Likewise.
3263 * config/tc-aarch64.c: Likewise.
3264 * config/tc-arc.c: Likewise.
3265 * config/tc-arm.c: Likewise.
3266 * config/tc-avr.c: Likewise.
3267 * config/tc-ia64.c: Likewise.
3268 * config/tc-mips.c: Likewise.
3269 * config/tc-msp430.c: Likewise.
3270 * config/tc-nds32.c: Likewise.
3271 * config/tc-ppc.c: Likewise.
3272 * config/tc-sh.c: Likewise.
3273 * config/tc-tic30.c: Likewise.
3274 * config/tc-tic54x.c: Likewise.
3275 * config/tc-xstormy16.c: Likewise.
3276 * config/te-vms.c: Likewise.
3277 * configure: Regenerate.
3279 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3281 * tc-i386.c (f32_1): Change type to unsigned char[].
3301 (jump_31): Likewise.
3302 (f32_patt): Likewise.
3303 (f16_patt): Likewise.
3312 (alt_patt): Likewise.
3314 2016-03-18 Nick Clifton <nickc@redhat.com>
3316 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3317 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3318 .tlsdescldr and .xword directives.
3321 * testsuite/gas/aarch64/pr19721.s: New test source file.
3322 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3324 * doc/as.texinfo: Place the target specific command line options
3325 into their own man page section.
3327 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3329 * config/tc-arm.c (N_S_32): New.
3330 (N_F_16_32): Likewise.
3331 (N_SUF_32): Support N_F16.
3332 (N_IF_32): Likewise.
3333 (neon_dyadic_misc): Likewise.
3334 (do_neon_cmp): Likewise.
3335 (do_neon_cmp_inv): Likewise.
3336 (do_neon_mul): Likewise.
3337 (do_neon_fcmp_absolute): Likewise.
3338 (do_neon_step): Likewise.
3339 (do_neon_abs_neg): Likewise.
3340 (CVT_FLAVOR_VAR): Likewise.
3341 (do_neon_cvt_1): Likewise.
3342 (do_neon_recip_est): Likewise.
3343 (do_vmaxnm): Likewise.
3344 (do_vrint_1): Likewise.
3345 (neon_check_type): Check architecture support for FP16 extension.
3346 (insns): Update comments.
3347 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3348 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3349 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3350 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3352 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3354 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3357 2016-03-16 Nick Clifton <nickc@redhat.com>
3359 * read.c (emit_expr_with_reloc): Add code check a bignum with
3361 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3363 * testsuite/gas/elf/bignum.s: New test source file.
3364 * testsuite/gas/elf/bignum.d: New test driver file.
3365 * testsuite/gas/elf/elf.exp: Run the new test.
3367 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3369 * doc/c-i386.texi (Register Naming): Update to details of the
3370 latest architecture version.
3372 2016-03-10 Mickael Guene <mickael.guene@st.com>
3375 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3377 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3378 (do_t_mov_cmp): Likewise.
3379 (do_t_add_sub): Protect against bad relocations usage.
3380 (do_t_mov_cmp): Likewise.
3381 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3382 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3383 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3384 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3386 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3388 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3390 (do_neon_ld_st_lane): Likewise.
3391 (do_neon_ld_dup): Likewise.
3393 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3395 * testsuite/gas/arc/inline-data-1.d: New file.
3396 * testsuite/gas/arc/inline-data-1.s: New file.
3398 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3400 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3401 * doc/c-arm.texi: Add cortex-r8.
3403 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3405 * config/tc-arc.c: Add const qualifiers.
3406 * config/tc-h8300.c (md_begin): Likewise.
3407 * config/tc-ia64.c (print_prmask): Likewise.
3408 * config/tc-msp430.c (msp430_operands): Likewise.
3409 * config/tc-nds32.c (struct suffix_name): Likewise.
3410 (struct nds32_parse_option_table): Likewise.
3411 (struct nds32_set_option_table): Likewise.
3412 (do_pseudo_pushpopm): Likewise.
3413 (do_pseudo_pushpop_stack): Likewise.
3414 (nds32_relax_relocs): Likewise.
3415 (nds32_flag): Likewise.
3416 (struct nds32_hint_map): Likewise.
3417 (nds32_find_reloc_table): Likewise.
3418 (nds32_match_hint_insn): Likewise.
3419 * config/tc-s390.c: Likewise.
3420 * config/tc-sh.c (get_specific): Likewise.
3421 * config/tc-tic30.c: Likewise.
3422 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3423 (tic4x_indirect_parse): Likewise.
3424 * config/tc-vax.c (vax_cons): Likewise.
3425 * config/tc-z80.c (struct reg_entry): Likewise.
3426 * config/tc-epiphany.c (md_assemble): Adjust.
3427 (epiphany_assemble): New function.
3428 (epiphany_elf_section_rtn): Call do_align directly.
3429 (epiphany_elf_section_text): Likewise.
3430 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3431 (ip2k_elf_section_text): Likewise.
3432 * read.c (do_align): Make it not static.
3433 * read.h (do_align): New prototype.
3435 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3437 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3438 for ARMv8.1 AdvSIMD use.
3439 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3440 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3442 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3444 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3446 (record_feature_use): New.
3447 (mark_feature_used): Use record_feature_use.
3448 (do_neon_qrdmlah): New.
3449 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3451 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3452 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3453 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3454 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3455 Make source file explicit.
3456 * testsuite/gas/arm/armv8-a+rdma.l: New.
3457 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3458 directives. Fix white-space.
3459 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3461 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3463 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3465 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3466 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3468 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3469 (tc_arc_fix_adjustable): Changed default return value to 1.
3470 * testsuite/gas/arc/j.d: Updated expected symbol
3471 * testsuite/gas/arc/jl.d: Likewise
3472 * testsuite/gas/arc/relax-avoid1.d: Likewise
3473 * testsuite/gas/arc/st.d: Likewise
3475 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3477 * config/tc-arc.c: Enable code density instructions for ARC EM.
3479 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3482 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3484 * as.c (flag_use_elf_stt_common): New.
3485 (show_usage): Add --elf-stt-common=.
3486 (option_values): Add OPTION_ELF_STT_COMMON.
3487 (std_longopts): Add --elf-stt-common=.
3488 (parse_args): Handle --elf-stt-common=.
3489 * as.h (flag_use_elf_stt_common): New.
3490 * config.in: Regenerated.
3491 * configure: Likewise.
3492 * configure.ac: Add --enable-elf-stt-common and define
3493 DEFAULT_GENERATE_ELF_STT_COMMON.
3494 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3495 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3496 * doc/as.texinfo: Document --elf-stt-common=.
3497 * testsuite/gas/elf/common3.s: New file.
3498 * testsuite/gas/elf/common3a.d: Likewise.
3499 * testsuite/gas/elf/common3b.d: Likewise.
3500 * testsuite/gas/elf/common4.s: Likewise.
3501 * testsuite/gas/elf/common4a.d: Likewise.
3502 * testsuite/gas/elf/common4b.d: Likewise.
3503 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3504 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3505 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3507 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3508 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3509 --elf-stt-common=no to as.
3510 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3511 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3512 --elf-stt-common=no to as.
3513 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3514 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3515 of dw2-compress-3 and dw2-compressed-3.
3517 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3519 * as.c (select_emulation_mode): Add const qualifiers.
3521 * config/bfin-defs.h: Likewise.
3522 * config/bfin-parse.y: Likewise.
3523 * config/rx-parse.y: Likewise.
3524 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3525 (struct aarch64_cpu_option_table): Likewise.
3526 (struct aarch64_arch_option_table): Likewise.
3527 (struct aarch64_option_cpu_value_table): Likewise.
3528 (struct aarch64_long_option_table): Likewise.
3529 (struct aarch64_option_abi_value_table): Likewise.
3530 * config/tc-arm.c (struct reloc_entry): Likewise.
3531 (tc_gen_reloc): Likewise.
3532 (struct arm_option_table): Likewise.
3533 (struct arm_legacy_option_table): Likewise.
3534 (struct arm_cpu_option_table): Likewise.
3535 (struct arm_arch_option_table): Likewise.
3536 (struct arm_option_extension_value_table): Likewise.
3537 (struct arm_option_fpu_value_table): Likewise.
3538 (struct arm_option_value_table): Likewise.
3539 (struct arm_long_option_table): Likewise.
3540 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3541 (struct mcu_type_s): Likewise.
3542 (struct exp_mod_s): Likewise.
3543 (avr_operand): Likewise.
3544 (avr_operands): Likewise.
3545 * config/tc-d10v.c (md_begin): Likewise.
3546 * config/tc-dlx.c: Likewise.
3547 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3548 * config/tc-ft32.c (parse_condition): Likewise.
3549 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3550 * config/tc-hppa.c (pa_ip): Likewise.
3551 (hppa_regname_to_dw2regnum): Likewise.
3552 * config/tc-i370.c (i370_elf_suffix): Likewise.
3553 * config/tc-i960.c (struct tabentry): Likewise.
3554 * config/tc-m32r.c: Likewise.
3555 * config/tc-m68k.c: Likewise.
3556 * config/tc-m68k.h: Likewise.
3557 * config/tc-mcore.c (parse_psrmod): Likewise.
3558 * config/tc-metag.c (struct metag_core_option): Likewise.
3559 (struct metag_long_option): Likewise.
3560 * config/tc-microblaze.c: Likewise.
3561 * config/tc-mips.c (macro): Likewise.
3562 * config/tc-mn10200.c: Likewise.
3563 * config/tc-mn10300.c: Likewise.
3564 * config/tc-msp430.c (struct rcodes_s): Likewise.
3565 (struct hcodes_s): Likewise.
3566 (md_parse_option): Likewise.
3567 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3568 (optlist): Likewise.
3569 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3570 (tc_ppc_regname_to_dw2regnum): Likewise.
3571 * config/tc-ppc.h: Likewise.
3572 * config/tc-rl78.c: Likewise.
3573 * config/tc-rx.c (struct cpu_type): Likewise.
3574 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3575 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3576 (sparc_ip): Likewise.
3577 * config/tc-spu.c (insn_fmt_string): Likewise.
3578 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3579 * config/tc-v850.c: Likewise.
3580 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3581 (struct visium_long_option_table): Likewise.
3582 * config/tc-xgate.c: Likewise.
3583 * config/tc-z8k.c: Likewise.
3584 * read.c (add_include_dir): Likewise.
3587 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3589 * testsuite/gas/all/gas.exp: Change target pattern to cover
3591 * testsuite/gas/all/redef3.d: Likewise.
3592 * testsuite/gas/elf/elf.exp: Likewise.
3594 2016-02-24 Renlin Li <renlin.li@arm.com>
3596 * config/tc-arm.c (BAD_FP16): New error message macro.
3597 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3598 fp16 scalar instructions.
3599 (neon_check_type): Allow different size from key.
3600 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3601 (try_vfp_nsyn): Likewise.
3602 (do_vfp_nsyn_mla_mls): Likewise.
3603 (do_vfp_nsyn_fma_fms): Likewise.
3604 (do_vfp_nsyn_ldm_stm): Likewise
3605 (do_vfp_nsyn_sqrt): Likewise
3606 (do_vfp_nsyn_div): Likewise
3607 (do_vfp_nsyn_nmul): Likewise.
3608 (do_vfp_nsyn_cmp): Likewise.
3609 (do_neon_shll): Likewise.
3610 (do_vfp_nsyn_cvt_fpv8): Likewise.
3611 (do_neon_cvttb_2): Likewise.
3612 (do_neon_mov): Likewise.
3613 (do_neon_rshift_round_imm): Likewise.
3614 (do_neon_ldr_str): Likewise.
3615 (do_vfp_nsyn_fpv8): Likewise.
3616 (do_vmaxnm): Likewise.
3617 (do_vrint_1): Likewise.
3618 (insns): New entry for vins, vmovx.
3619 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3620 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3621 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3622 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3623 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3624 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3625 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3627 2016-02-24 Renlin Li <renlin.li@arm.com>
3629 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3630 (neon_shape_class): New SC_HALF.
3631 (neon_shape_el): New SE_H.
3632 (neon_shape_el_size): New size for SE_H.
3633 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3634 (neon_select_shape): Add SE_H support code.
3635 (el_type_of_type_chk): Use N_F_ALL.
3636 (do_vfp_nsyn_cvt): Add SE_H shape support.
3637 (do_neon_cvtz): Likewise.
3638 (do_neon_cvt_1): Likewise.
3639 (do_neon_cvttb_1): Likewise.
3641 2016-02-24 Renlin Li <renlin.li@arm.com>
3643 * testsuite/gas/arm/copro.d: Adjust output.
3644 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3646 2016-02-24 Renlin Li <renlin.li@arm.com>
3648 * testsuite/gas/arm/mask_1.d: New.
3649 * testsuite/gas/arm/mask_1.s: New.
3651 2016-02-24 Renlin Li <renlin.li@arm.com>
3653 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3654 * testsuite/gas/arm/copro.d: Update.
3656 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3658 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3659 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3661 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3663 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3665 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3667 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3670 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3672 * output-file.c (output_file_create): Make file name argument const.
3673 (output_file_close): Likewise.
3674 * output-file.h (output_file_create): Adjust.
3675 (output_file_close): Likewise.
3676 * depend.c (quote_string_for_make): Make src argument const char *.
3677 (register_dependency): Likewise.
3678 (wrap_output): Likewise.
3679 * as.h (register_dependency): Adjust.
3680 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3682 * symbols.c (S_SET_EXTERNAL): Likewise.
3683 * input-scrub.c (as_where): Return the file name.
3684 * as.h (as_where): Adjust prototype.
3685 * app.c (do_scrub_chars): Adjust.
3686 * cond.c (s_elseif): Likewise.
3688 (initialize_cframe): Likewise.
3689 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3690 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3691 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3692 * config/tc-aarch64.c (output_info): Likewise.
3693 * config/tc-ia64.c (md_assemble): Likewise.
3694 (dot_alias): Likewise.
3695 * config/tc-m68k.c (m68k_frob_label): Likewise.
3696 * config/tc-mmix.c (s_bspec): Likewise.
3697 (mmix_handle_mmixal): Likewise.
3698 * config/tc-rx.c (rx_include): Likewise.
3699 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3700 (tic54x_adjust_symtab): Likewise.
3701 * config/tc-xtensa.c (directive_push): Likewise.
3702 (xtensa_sanity_check): Likewise.
3703 (xtensa_relax_frag): Likewise.
3704 (md_convert_frag): Likewise.
3705 (tinsn_to_slotbuf): Likewise.
3706 * dwarf2dbg.c (dwarf2_where): Likewise.
3707 * ecoff.c (add_file): Likewise.
3708 (ecoff_generate_asm_lineno): Likewise.
3709 * expr.c (make_expr_symbol): Likewise.
3710 * frags.c (frag_new): Likewise.
3711 (frag_var_init): Likewise.
3712 * listing.c (listing_newline): Likewise.
3713 * messages.c (identify): Likewise.
3714 (as_show_where): Likewise.
3715 (as_warn_internal): Likewise.
3716 (as_bad_internal): Likewise.
3717 * read.c (s_irp): Likewise.
3718 (s_macro): Likewise.
3719 (s_reloc): Likewise.
3720 * stabs.c (stabs_generate_asm_file): Likewise.
3721 (stabs_generate_asm_lineno): Likewise.
3722 (stabs_generate_asm_func): Likewise.
3723 * write.c (fix_new_internal): Likewise.
3724 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3725 (as_warn_value_out_of_range): Adjust prototype.
3726 (as_bad_value_out_of_range): Adjust prototype.
3727 * messages.c (identify): Make file name argument const char *.
3728 (as_warn_internal): Likewise.
3729 (as_warn_where): Likewise.
3730 (as_bad_internal): Likewise.
3731 (as_bad_where): Likewise.
3732 (as_internal_value_out_of_range): Likewise.
3733 (as_warn_value_out_of_range): Likewise.
3734 (as_bad_value_out_of_range): Likewise.
3735 * as.h (found_comment_file): Change type to const char *.
3736 * cond.c (file_line::file): Likewise.
3737 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3738 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3739 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3740 * config/tc-aarch64.c (output_info): Likewise.
3741 * config/tc-alpha.c (insert_operand): Likewise.
3742 * config/tc-arc.c (insert_operand): Likewise.
3743 * config/tc-d30v.c (check_size): Likewise.
3744 * config/tc-ia64.c (struct alias): Likewise.
3745 * config/tc-m68k.c (struct label_line): Likewise.
3746 * config/tc-mcore.c (md_apply_fix): Likewise.
3747 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3748 * config/tc-mips.c (mips16_immed): Likewise.
3749 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3750 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3751 * config/tc-rx.c (rx_include): Likewise.
3752 * config/tc-s390.c (s390_insert_operand): Likewise.
3753 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3754 (tic54x_adjust_symtab): Likewise.
3755 * config/tc-tilegx.c (insert_operand): Likewise.
3756 (apply_special_operator): Likewise.
3757 * config/tc-tilepro.c (insert_operand): Likewise.
3758 * config/tc-xtensa.c (directive_push): Likewise.
3759 * ecoff.c (add_file): Likewise.
3760 (ecoff_generate_asm_lineno): Likewise.
3761 * listing.c (listing_newline): Likewise.
3762 * read.c (s_irp): Likewise.
3763 * write.c (install_reloc): Likewise.
3764 * write.h (struct fix): Likewise.
3765 * input-file.c (file_name): Change type to const char *.
3766 (saved_file::file_name): Likewise.
3767 (input_file_open): Change type of argument to const char *.
3768 * input-file.h (input_file_open): Adjust.
3769 * input-scrub.c (logical_input_file): change type to const char *.
3770 (physical_input_file): Likewise.
3771 (struct input_save): Adjust.
3772 (input_scrub_push): Adjust.
3773 (input_scrub_begin): Adjust.
3775 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3776 (input_scrub_include_file): Likewise.
3777 (new_logical_line_flags): Likewise.
3778 (new_logical_line): Likewise.
3780 * frags.h (struct frag): Change type of fr_file to const char *.
3781 * expr.c (expr_symbol_where): Change type of file argument to
3783 * expr.h (expr_symbol_where): Likewise.
3784 * config/tc-i370.c (md_apply_fix): adjust.
3785 * config/tc-mmix.c (mmix_md_end): Likewise.
3786 * config/tc-ppc.c (md_apply_fix): Likewise.
3787 * config/tc-s390.c (md_apply_fix): Likewise.
3788 * symbols.c (report_op_error): Likewise.
3789 (resolve_symbol_value): Likewise.
3790 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3791 (rsrc::file): Likewise.
3792 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3794 (xtensa_relax_frag): Likewise.
3795 (md_convert_frag): Likewise.
3796 (tinsn_to_slotbuf): Likewise.
3797 * expr.c (expr_symbol_line): Likewise.
3798 * macro.c (define_macro): Likewise.
3799 * macro.h (macro_struct): Likewise.
3800 * messages.c (as_show_where): Likewise.
3801 * read.c (s_macro): Likewise.
3802 * stabs.c (stabs_generate_asm_file): Likewise.
3803 (generate_asm_file): Likewise.
3804 (stabs_generate_asm_lineno): Likewise.
3805 * write.h (struct reloc_list): Likewise.
3806 * input-scrub.c (as_where): Change return type to const char *.
3807 * as.h (as_wheree): Adjust.
3809 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3811 * write.c (compress_debug): Move BFD compression bits setting
3813 (write_object_file): Here.
3815 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3817 * config/tc-i386.c (register_number): Check RegVRex.
3818 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3819 with %zmm19 and %zmm3.
3820 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3821 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3823 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3824 Jiong Wang <jiong.wang@arm.com>
3826 * config/tc-arm.c (arm_ext_fp16): New.
3827 (arm_extensions): New entry for "fp16".
3829 2016-02-19 Nick Clifton <nickc@redhat.com>
3832 * read.c (read_a_source_file): Check for assemble_one returning
3833 with input_line_pointer set to NULL.
3835 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3837 * listing.c (rebuffer_line): Change return type to void.
3839 * symbols.c (decode_local_label_name): Make type a const char *.
3840 * listing.c (print_source): Make type of p const char *.
3841 (print_line): Make type of string const char *.
3842 (buffer_line): Return const char *.
3843 (title): Make type const char *.
3844 (subtitle): Likewise.
3845 (listing_listing): Make type of p const char *.
3846 * messages.c (as_internal_value_out_of_range): Make type of prefix
3848 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3849 and string const char *.
3850 * read.c (_bfd_rel): Make type of name const char *.
3851 * app.c (out_string): Change type to const char *.
3852 (struct app_save::out_string): Likewise.
3854 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3855 Nick Clifton <nickc@redhat.com>
3857 * read.c (finish_bundle): Avoid recording a negative alignment.
3858 (do_align): Use unsigned values for n, len and max. Only create
3859 a frag if the alignment requirement is greater than the minimum
3860 byte alignment. Avoid recording a negative alignment.
3861 (s_align): Use unsigned values where appropriate.
3862 (bss_alloc): Use an unsigned value for the alignment.
3863 (sizeof_sleb128): Add a comment noting that we encode one octet
3864 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3865 (emit_leb129_expr): Abort if the emitted encoding was longer than
3867 * read.h (output_leb128): Update prototype.
3868 (sizeof_leb128): Update prototype.
3869 (bss_alloc): Update prototype.
3870 * write.c (record_alignment): Use an unsigned value for the
3871 alignment. Do not record alignments less than the minimum
3872 alignment for a byte.
3873 * write.h (record_alignment): Update prototype.
3875 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3877 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3878 .init.literal/.fini.literal section name.
3879 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3880 list of xtensa tests.
3881 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3882 init-fini-literals test result patterns.
3883 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3884 init-fini-literals test.
3886 2016-02-17 Nick Clifton <nickc@redhat.com>
3888 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3889 devices.csv file as of March 2016.
3891 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3893 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3895 (tc_arc_regname_to_dw2regnum): Likewise.
3896 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3897 (tc_cfi_frame_initial_instructions): Likewise.
3898 (tc_regname_to_dw2regnum): Likewise.
3899 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3900 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3901 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3903 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3905 * doc/internals.texi (S_IS_EXTERN): Remove.
3907 2016-02-16 Nick Clifton <nickc@redhat.com>
3909 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3912 2016-02-16 Renlin Li <renlin.li@arm.com>
3915 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3916 * testsuite/gas/aarch64/movw_label.d: New.
3917 * testsuite/gas/aarch64/movw_label.s: New.
3919 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3922 * config/rx-parse.y (MOV): Opcode generation for index
3923 register addressing mode.
3924 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3925 * testsuite/gas/rx/pr19665.s: New file.
3926 * testsuite/gas/rx/pr19665.s: New file.
3927 * testsuite/gas/rx/mov.d: Update expected output.
3929 2016-02-15 Nick Clifton <nickc@redhat.com>
3931 * doc/as.texinfo (.section): Document that numeric values can now
3932 be used for the flags and type fields of the ELF target's .section
3933 directive. Add notes about the restrictions on setting flags and
3935 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3936 to be given processor specific section types. Allow processor and
3937 application specific flags of a section to be set after
3939 (obj_elf_parse_section_letters): Handle parsing numeric values.
3940 (obj_elf_section_type): Handle parsing numeric values.
3941 (obj_elf_section): Allow numeric type values.
3942 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3943 * testsuite/gas/elf/section10.d: New test.
3944 * testsuite/gas/elf/section10.s: Source file for new test.
3945 * testsuite/gas/elf/elf.exp: Run the new test.
3946 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3947 the description of the flags produced by readelf.
3948 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3949 * NEWS: Mention the new feature.
3951 2016-02-11 Nick Clifton <nickc@redhat.com>
3954 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3955 until it is actually used.
3956 (cfi_set_sections): Set cfi_sections_set to true.
3957 (dot_cfi_startproc): Likewise.
3958 (dot_cfi_endproc): Likewise.
3959 (dot_cfi_fde_data): Likewise.
3960 (cfi_finish): Likewise.
3961 (dot_cfi_sections): Do not set cfi_sections_set.
3962 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3963 their own cfi section name. Also note that the directive can be
3964 reissued provided that CFI generation has not started.
3965 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3966 .cfi_endproc directives so that the redefinition of .cfi_sections
3967 will trigger the generation of the error message.
3968 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3969 number of error message.
3971 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3972 Janek van Oirschot <jvanoirs@synopsys.com>
3974 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3975 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3977 (arc_flags, arc_relax_type): New structure.
3978 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3979 (RELAX_TABLE_ENTRY_MAX): New define.
3980 (relaxation_state, md_relax_table, arc_relaxable_insns)
3981 (arc_num_relaxable_ins): New variable.
3982 (rlx_operand_type, arc_rlx_types): New enums.
3983 (arc_relaxable_ins): New structure.
3984 (OPTION_RELAX): New option.
3985 (arc_insn): New relax member.
3986 (arc_flags): Remove.
3987 (relax_insn_p): New function.
3988 (apply_fixups): Likewise.
3989 (relaxable_operand): Likewise.
3990 (may_relax_expr): Likewise.
3991 (relaxable_flag): Likewise.
3992 (arc_pcrel_adjust): Likewise.
3993 (md_estimate_size_before_relax): Implement.
3994 (md_convert_frag): Likewise.
3995 (md_parse_option): Handle new mrelax option.
3996 (md_show_usage): Likewise.
3997 (assemble_insn): Set relax member.
3998 (emit_insn0): New function.
3999 (emit_insn1): Likewise.
4000 (emit_insn): Handle relaxation case.
4001 * NEWS: Mention the new relaxation option.
4002 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4003 * doc/as.texinfo (Target ARC Options): Likewise.
4004 * testsuite/gas/arc/relax-avoid1.d: New file.
4005 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4006 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4007 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4008 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4009 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4010 * testsuite/gas/arc/relax-b.d: Likewise.
4011 * testsuite/gas/arc/relax-b.s: Likewise.
4013 2016-02-08 Nick Clifton <nickc@redhat.com>
4015 * config/tc-ia64.c (dot_prologue): Fix formatting.
4017 2016-02-04 Nick Clifton <nickc@redhat.com>
4019 * config/obj-elf.c (obj_elf_change_section): Remove support for
4020 ARM NOREAD sections.
4021 * config/tc-arm.c (arm_elf_section_letter): Delete.
4022 * config/tc-arm.h (md_elf_section_letter): Delete.
4023 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4024 * testsuite/gas/arm/section-execute-only.d: Delete.
4025 * testsuite/gas/arm/section-execute-only.s: Delete.
4027 2016-02-04 Nick Clifton <nickc@redhat.com>
4030 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4031 to handle encoding of RRUX instruction.
4032 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4034 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4036 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4038 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4039 substitutions for BFD_RELOC_* as unsigned.
4040 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4041 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4042 * testsuite/gas/xtensa/loc.s: New file: loc test.
4044 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4046 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4048 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4051 * NEWS: Mention new command line option -mrelax-relocations and
4052 new configure option --enable-x86-relax-relocations for x86
4054 * config.in: Regenerated.
4055 * configure.ac: Add --enable-x86-relax-relocations.
4056 (ac_default_x86_relax_relocations): New. Default to 1 except
4057 for x86 Solaris targets older than Solaris 12.
4058 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4059 * configure: Likewise.
4060 * config/tc-i386.c (generate_relax_relocations): New.
4061 (OPTION_MRELAX_RELOCATIONS): Likewise.
4062 (output_disp): Don't generate relax relocations if
4063 generate_relax_relocations is 0.
4064 (md_longopts): Add -mrelax-relocations.
4065 (md_show_usage): Likewise.
4066 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4067 * doc/c-i386.texi: Document -mrelax-relocations=.
4068 * testsuite/gas/i386/got-no-relax.d: New file.
4069 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4070 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4071 * testsuite/gas/i386/localpic.d: Likewise.
4072 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4073 * testsuite/gas/i386/reloc32.d: Likewise.
4074 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4075 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4076 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4077 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4078 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4079 x86-64-gotpcrel-no-relax.
4081 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4083 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4086 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4088 * NEWS: Remove duplicated marker for 2.26.
4090 2016-02-02 Renlin Li <renlin.li@arm.com>
4092 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4094 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4096 * testsuite/gas/ip2k/allinsn.d: New file.
4097 * testsuite/gas/ip2k/allinsn.s: New file.
4098 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4100 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4102 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4103 some load instructions.
4104 * testsuite/gas/epiphany/allinsn.d: Likewise.
4105 * testsuite/gas/epiphany/regression.d: Likewise.
4107 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4109 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4110 suffixes from instruction mnemonics in expected output.
4111 * testsuite/gas/epiphany/allinsn.d: Likewise.
4112 * testsuite/gas/epiphany/regression.d: Likewise.
4113 * testsuite/gas/epiphany/sample.d: Likewise.
4115 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4117 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4119 * testsuite/gas/epiphany/allinsn.d: Likewise.
4120 * testsuite/gas/epiphany/sample.d: Likewise.
4122 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4124 * testsuite/gas/epiphany/sample.d: Update expected output.
4126 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4128 * config/tc-arc.c (md_apply_fix): Allow addendum.
4129 (arc_reloc_op): Allow complex expressions for tpoff.
4130 (md_apply_fix): Handle resolved TLS local symbol.
4131 * testsuite/gas/arc/tls-relocs1.d: New file.
4132 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4134 2016-02-01 Loria <Loria@phantasia.org>
4137 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4138 efficiency and avoid an LLVM loop optimization bug.
4140 2016-02-01 Nick Clifton <nickc@redhat.com>
4142 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4143 message extending a negative 32-bit value into a larger signed
4144 value on a 32-bit host.
4146 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4149 * configure.ac (compressed_debug_sections): Replace == with =.
4150 * configure: Regenerated.
4152 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4153 H.J. Lu <hongjiu.lu@intel.com>
4155 * config/tc-i386.c (avoid_fence): New.
4156 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4158 (OPTION_FENCE_AS_LOCK_ADD): New.
4159 (md_longopts): Add -mfence-as-lock-add.
4160 (md_parse_option): Handle -mfence-as-lock-add.
4161 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4162 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4163 * testsuite/gas/i386/i386.exp: Run new tests.
4164 * testsuite/gas/i386/fence-as-lock-add.s: New.
4165 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4166 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4167 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4168 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4170 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4172 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4173 * configure: Regenerated.
4175 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4177 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4178 (OPTION_MOMIT_LOCK_PREFIX): This.
4179 (md_longopts): Updated.
4180 (md_parse_option): Likewise.
4182 2016-01-25 Catherine Moore <clm@codesourcery.com>
4184 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4185 if abicalls are in effect.
4186 * testsuite/gas/mips/sdata-gp.s: New test.
4187 * testsuite/gas/mips/sdata-gp.d: New expected output
4188 * testsuite/gas/mips/mips.exp: Run new test.
4190 2016-01-25 Renlin Li <renlin.li@arm.com>
4192 * testsuite/gas/arm/thumb2_it_search.d: New.
4193 * testsuite/gas/arm/thumb2_it_search.s: New.
4195 2016-01-21 Nick Clifton <nickc@redhat.com>
4198 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4199 with arm-netbsdelf target.
4200 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4202 2016-01-20 Nick Clifton <nickc@redhat.com>
4205 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4206 * testsuite/gas/arm/blx-bl-convert.d
4207 * testsuite/gas/arm/plt-1.d: Likewise.
4208 * testsuite/gas/arm/reloc-bad.d: Likewise.
4209 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4210 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4211 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4212 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4215 * doc/as.texinfo (Errors): Correct documentation describing the
4216 interaction of .file and .line with warning and error messages.
4219 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4220 * testsuite/gas/arm/archv8m-main.d: Likewise.
4221 * testsuite/gas/arm/archv8m-base.d: Likewise.
4223 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4225 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4226 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4227 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4229 2016-01-20 Mickael Guene <mickael.guene@st.com>
4230 Terry Guo <terry.guo@arm.com>
4232 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4233 SHF_ARM_NOREAD section flag.
4234 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4236 (arm_elf_section_letter) : Declare it.
4237 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4238 SHF_ARM_NOREAD section flag.
4239 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4241 * testsuite/gas/arm/section-execute-only.s: New test case.
4242 * testsuite/gas/arm/section-execute-only.d: Expected output.
4244 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4246 * config/tc-mips.c (micromips_insn_length): Remove the mention
4247 of 48-bit microMIPS instructions.
4249 2016-01-18 Alan Modra <amodra@gmail.com>
4251 * configure: Regenerate.
4253 2016-01-17 Alan Modra <amodra@gmail.com>
4255 * configure: Regenerate.
4257 2016-01-17 Alan Modra <amodra@gmail.com>
4259 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4261 2016-01-14 Nick Clifton <nickc@redhat.com>
4263 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4264 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4265 * testsuite/gas/rl78/rl78.exp: Run the new test.
4267 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4269 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4270 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4272 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4274 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4276 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4278 * config/tc-h8300.c (get_operand): Remove spurious condition in
4279 test for closing parenthesis.
4281 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4283 * config/tc-arm.c (arm_ext_v8_2): New.
4285 * testsuite/gas/arm/armv8_2-a.d: New.
4286 * testsuite/gas/arm/armv8_2-a.s: New.
4288 2016-01-12 Alan Modra <amodra@gmail.com>
4290 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4292 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4294 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4295 xvcmpnesp, xvcmpnesp.>: Delete tests.
4296 * testsuite/gas/ppc/power9.s: Likewise.
4297 * testsuite/gas/ppc/vsx3.d: Likewise.
4298 * testsuite/gas/ppc/vsx3.s: Likewise.
4300 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4303 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4304 * testsuite/gas/m68k/p13050-1.s: New file.
4305 * testsuite/gas/m68k/p13050-2.d: New file.
4306 * testsuite/gas/m68k/p13050-2.s: New file.
4308 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4310 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4311 * testsuite/gas/arc/add.d: Likewise.
4312 * testsuite/gas/arc/and.d: Likewise.
4313 * testsuite/gas/arc/asl.d: Likewise.
4314 * testsuite/gas/arc/asr.d: Likewise.
4315 * testsuite/gas/arc/bic.d: Likewise.
4316 * testsuite/gas/arc/extb.d: Likewise.
4317 * testsuite/gas/arc/extw.d: Likewise.
4318 * testsuite/gas/arc/j.d: Likewise.
4319 * testsuite/gas/arc/jl.d: Likewise.
4320 * testsuite/gas/arc/ld2.d: Likewise.
4321 * testsuite/gas/arc/lsr.d: Likewise.
4322 * testsuite/gas/arc/mov.d: Likewise.
4323 * testsuite/gas/arc/or.d: Likewise.
4324 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4325 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4326 * testsuite/gas/arc/pic-relocs.d: Likewise.
4327 * testsuite/gas/arc/plt-relocs.d: Likewise.
4328 * testsuite/gas/arc/rlc.d: Likewise.
4329 * testsuite/gas/arc/ror.d: Likewise.
4330 * testsuite/gas/arc/rrc.d: Likewise.
4331 * testsuite/gas/arc/sbc.d: Likewise.
4332 * testsuite/gas/arc/sda-relocs.d: Likewise.
4333 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4334 * testsuite/gas/arc/sexb.d: Likewise.
4335 * testsuite/gas/arc/sexw.d: Likewise.
4336 * testsuite/gas/arc/st.d: Likewise.
4337 * testsuite/gas/arc/sub.d: Likewise.
4338 * testsuite/gas/arc/tls-relocs.d: Likewise.
4339 * testsuite/gas/arc/xor.d: Likewise.
4341 2016-01-01 Alan Modra <amodra@gmail.com>
4343 Update year range in copyright notice of all files.
4345 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4347 Copyright (C) 2016 Free Software Foundation, Inc.
4349 Copying and distribution of this file, with or without modification,
4350 are permitted in any medium without royalty provided the copyright
4351 notice and this notice are preserved.
4357 version-control: never