1 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
3 * config/tc-aarch64.c (parse_enum_string): New function.
4 (po_enum_or_fail): New macro.
5 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
6 AARCH64_OPND_SVE_PRFOP.
8 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
10 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
11 (parse_vector_type_for_operand): Assert that the skipped character
13 (parse_predication_for_operand): New function.
14 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
15 (vectype_to_qualifier): Handle NT_zero and NT_merge.
17 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
19 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
20 (AARCH64_REG_TYPES): Add ZN and PN.
21 (get_reg_expected_msg): Handle them.
22 (parse_vector_type_for_operand): Add a reg_type parameter.
23 Skip the width for Zn and Pn registers.
24 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
25 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
26 expecting the width to be 0.
27 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
29 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
30 (parse_operands): Handle the new Zn and Pn operands.
31 (REGSET16): New macro, split out from...
33 (reg_names): Add Zn and Pn entries.
35 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
37 * config/tc-aarch64.c (output_operand_error_record): Handle
38 AARCH64_OPDE_UNTIED_OPERAND.
40 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
42 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
43 instruction with all-NIL qualifiers to fail to match.
45 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
47 * config/tc-aarch64.c (parse_address_main): Remove reloc and
48 accept_reg_post_index parameters. Parse relocations and register
49 post indexes unconditionally.
50 (parse_address): Remove accept_reg_post_index parameter.
51 Update call to parse_address_main.
52 (parse_address_reloc): Delete.
53 (parse_operands): Call parse_address instead of parse_address_main.
54 Update existing callers of parse_address and make them check
55 inst.reloc.type where appropriate.
56 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
57 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
58 Also test for invalid uses of post-index register addressing.
59 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
61 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
63 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
65 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
66 (aarch64_check_reg_type): Simplify.
67 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
68 register number. Return the type as a qualifier rather than an
69 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
71 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
72 Use get_reg_expected_msg.
73 (parse_address_main): Likewise. Use aarch64_check_reg_type.
74 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
75 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
76 Use aarch64_check_reg_type to test the result.
77 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
78 addresses normally before enforcing the syntax restrictions.
79 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
80 zero register and for a stack pointer index.
81 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
82 Also update existing diagnostic messages after the above changes.
83 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
84 for 32-bit register bases.
86 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
88 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
89 (parse_operands): Check the range of 8-bit FP immediates here instead.
91 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
93 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
94 low-severity error for registers.
95 (parse_operands): Report an invalid floating point constant for
96 if parsing an FPIMM8 fails, and if no better error has been
98 * testsuite/gas/aarch64/diagnostic.s,
99 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
102 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
104 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
106 (can_convert_double_to_float): ...this. Accept any double-precision
107 value that converts to single precision without loss of precision.
108 (parse_aarch64_imm_float): Update accordingly.
110 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
112 * config/tc-aarch64.c (parse_immediate_expression): Add a
114 (parse_constant_immediate): Likewise, and update calls.
115 (parse_aarch64_imm_float): Likewise.
116 (parse_big_immediate): Likewise.
117 (po_imm_nc_or_fail): Update accordingly, passing down a new
118 imm_reg_type variable.
119 (po_imm_of_fail): Likewise.
120 (parse_operands): Likewise.
122 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
124 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
125 (parse_vector_reg_list): ...this and take a register type
127 (parse_operands): Update accordingly.
129 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
131 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
132 (parse_vector_type_for_operand): ...this.
133 (parse_typed_reg): Update accordingly.
135 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
137 * config/tc-aarch64.c (neon_type_el): Rename to...
138 (vector_type_el): ...this.
139 (parse_neon_type_for_operand): Update accordingly.
140 (parse_typed_reg): Likewise.
141 (aarch64_reg_parse): Likewise.
142 (vectype_to_qualifier): Likewise.
143 (parse_operands): Likewise.
144 (eq_neon_type_el): Likewise. Rename to...
145 (eq_vector_type_el): ...this.
146 (parse_neon_reg_list): Update accordingly.
148 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
150 * config/tc-aarch64.c (neon_el_type: Rename to...
151 (vector_el_type): ...this.
152 (neon_type_el): Update accordingly.
153 (parse_neon_type_for_operand): Likewise.
154 (vectype_to_qualifier): Likewise.
156 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
158 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
159 (parse_typed_reg): Call parse_neon_type_for_operand directly.
161 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
163 * testsuite/gas/arc/textinsnxop.d: New file.
164 * testsuite/gas/arc/textinsnxop.s: Likewise.
166 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
168 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
169 dcti-couples-v9 only in ELF targets to avoid spurious failures in
170 sparc-aout and sparc-coff targets.
172 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
174 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
175 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
176 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
177 <copy, paste.>: Update tests.
178 * testsuite/gas/ppc/power9.s: Likewise.
180 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
182 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
183 in "architecture mismatch" error messages.
185 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
187 * config/tc-sparc.c (md_assemble): Detect and warning on
188 unpredictable DCTI couples in certain arches.
189 (dcti_couples_detect): New global.
190 (md_longopts): Add command line option -dcti-couples-detect.
191 (md_show_usage): Document -dcti-couples-detect.
192 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
193 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
194 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
195 * testsuite/gas/sparc/dcti-couples.s: New file.
196 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
197 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
198 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
199 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
200 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
201 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
202 * doc/c-sparc.texi (Sparc-Opts): Likewise.
204 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
206 * testsuite/gas/arc/tls-relocs2.d: New file.
207 * testsuite/gas/arc/tls-relocs2.s: Likewise.
208 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
211 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
213 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
215 * doc/as.texinfo: Document new arch strings.
216 * doc/c-s390.texi: Likewise.
218 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
220 * config/tc-s390.c: Set all facitily bits by default
222 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
224 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
226 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
228 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
231 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
233 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
234 (set_cpu_arch): Updated.
235 (md_parse_option): Likewise.
236 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
237 iamcu-inval-2 and iamcu-inval-3.
238 * testsuite/gas/i386/iamcu-4.d: New file.
239 * testsuite/gas/i386/iamcu-4.s: Likewise.
240 * testsuite/gas/i386/iamcu-5.d: Likewise.
241 * testsuite/gas/i386/iamcu-5.s: Likewise.
242 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
243 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
244 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
245 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
247 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
249 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
250 ARMv8-A CPUs except xgene1.
252 2016-08-31 Alan Modra <amodra@gmail.com>
254 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
255 ppc_cpu rather than calling ppc_mach to determine VLE mode.
256 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
258 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
260 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
262 * testsuite/gas/sparc/crypto.s: Likewise.
264 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
266 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
267 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
268 their lowecase counterpart special registers. Write register
270 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
271 operation, special register and then case. Use different register for
272 each operation. Add tests for new special registers.
273 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
275 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
276 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
278 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
280 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
282 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
284 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
285 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
286 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
288 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
290 * config/tc-i386.c (cpu_arch): Add .ptwrite.
291 * doc/c-i386.texi: Document ptwrite and .ptwrite.
292 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
293 x86-64-ptwrite and x86-64-ptwrite-intel.
294 * testsuite/gas/i386/ptwrite-intel.d: New file.
295 * testsuite/gas/i386/ptwrite.d: Likewise.
296 * testsuite/gas/i386/ptwrite.s: Likewise.
297 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
298 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
299 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
301 2016-08-19 Tamar Christina <tamar.christina@arm.com>
303 * config/tc-arm.c (do_co_reg2c): Added constraint.
304 * testsuite/gas/arm/dest-unpredictable.s: New.
305 * testsuite/gas/arm/dest-unpredictable.l: New.
306 * testsuite/gas/arm/dest-unpredictable.d: New.
308 2016-08-19 Nick Clifton <nickc@redhat.com>
310 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
311 ordering of sections.
312 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
313 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
314 * testsuite/gas/ia64/alias.d: Likewise.
315 * testsuite/gas/ia64/group-1.d: Likewise.
316 * testsuite/gas/ia64/group-2.d: Likewise.
317 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
318 * testsuite/gas/ia64/secname.d: Likewise.
319 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
320 * testsuite/gas/ia64/unwind.d: Likewise.
321 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
322 * testsuite/gas/ia64/xdata.d: Likewise.
323 * testsuite/gas/mmix/bspec-1.d: Likewise.
324 * testsuite/gas/mmix/bspec-2.d: Likewise.
325 * testsuite/gas/mmix/byte-1.d: Likewise.
326 * testsuite/gas/mmix/loc-1.d: Likewise.
327 * testsuite/gas/mmix/loc-2.d: Likewise.
328 * testsuite/gas/mmix/loc-3.d: Likewise.
329 * testsuite/gas/mmix/loc-4.d: Likewise.
330 * testsuite/gas/mmix/loc-5.d: Likewise.
331 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
333 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
335 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
336 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
337 Add tests for -0.0. Add an end-of-file comment.
339 2016-08-05 Nick Clifton <nickc@redhat.com>
342 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
343 registers are pushed.
344 (do_vfp_nsyn_pop): Check that no more than 16 registers are
346 * testsuite/gas/arm/pr20429.s: New test.
347 * testsuite/gas/arm/pr20429.d: New test driver.
348 * testsuite/gas/arm/pr20429.1: Expected error output.
351 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
353 (aarch64_init): Treat rs_align frags in code sections as
354 containing code, not data.
355 * testsuite/gas/aarch64/pr20364.s: New test.
356 * testsuite/gas/aarch64/pr20364.d: New test driver.
358 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
361 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
362 of 64-bit relocation types when assembling for a 32-bit Solaris
365 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
367 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
369 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
370 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
371 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
372 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
374 (sparc_elf_setup): Delete.
375 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
378 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
380 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
381 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
382 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
383 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
384 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
385 (get_append_method): Also return APPEND_ADD_COMPACT for
386 microMIPS instructions.
387 (find_altered_mips16_opcode): Exclude macros from matching.
389 (find_altered_opcode): ... to this new function.
390 (find_altered_micromips_opcode): New function.
391 (frag_branch_delay_slot_size): Likewise.
392 (append_insn): Handle microMIPS branch/jump compaction.
393 (macro_start): Likewise.
394 (relaxed_micromips_32bit_branch_length): Likewise.
395 (md_convert_frag): Likewise.
396 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
397 for delay slot filling.
398 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
400 * testsuite/gas/mips/micromips-size-1.s: Likewise.
401 * testsuite/gas/mips/micromips.l: Adjust line numbers.
402 * testsuite/gas/mips/micromips-warn.l: Likewise.
403 * testsuite/gas/mips/micromips-size-1.l: Likewise.
404 * testsuite/gas/mips/micromips.d: Adjust padding.
405 * testsuite/gas/mips/micromips-trap.d: Likewise.
406 * testsuite/gas/mips/micromips-insn32.d: Likewise.
407 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
408 * testsuite/gas/mips/micromips@beq.d: Update patterns for
409 branch/jump compaction.
410 * testsuite/gas/mips/micromips@bge.d: Likewise.
411 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
412 * testsuite/gas/mips/micromips@blt.d: Likewise.
413 * testsuite/gas/mips/micromips@bltu.d: Likewise.
414 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
415 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
416 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
417 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
418 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
419 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
420 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
421 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
423 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
425 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
426 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
427 * testsuite/gas/mips/micromips@relax.d: Likewise.
428 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
429 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
430 * testsuite/gas/mips/branch-extern-2.d: Likewise.
431 * testsuite/gas/mips/branch-extern-4.d: Likewise.
432 * testsuite/gas/mips/branch-section-2.d: Likewise.
433 * testsuite/gas/mips/branch-section-4.d: Likewise.
434 * testsuite/gas/mips/branch-weak-2.d: Likewise.
435 * testsuite/gas/mips/branch-weak-5.d: Likewise.
436 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
437 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
438 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
439 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
441 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
443 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
445 * testsuite/gas/mips/micromips-compact.d: New test.
446 * testsuite/gas/mips/mips.exp: Run the new test.
448 2016-07-27 Graham Markall <graham.markall@embecosm.com>
450 * config/tc-arc.c: Add new global arc_addrtype_hash.
451 Define O_colon and O_addrtype.
452 (debug_exp): Add O_colon and O_addrtype.
453 (tokenize_arguments): Handle colon and address type
455 (declare_addrtype): New function.
456 (md_begin): Initialise arc_addrtype_hash.
457 (arc_parse_name): Add lookup of address types.
458 (assemble_insn): Handle colons and address types by
460 * testsuite/gas/arc/nps400-8.s: New file.
461 * testsuite/gas/arc/nps400-8.d: New file.
462 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
463 * testsuite/gas/arc/nps400-8.d: Add expected PMU
466 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
468 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
469 (RELAX_MICROMIPS_INSN32): New macro.
470 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
471 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
472 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
473 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
474 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
476 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
478 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
480 (md_convert_frag): Likewise.
481 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
483 * testsuite/gas/mips/micromips-branch-relax.l: Update line
485 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
486 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
487 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
489 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
491 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
493 * testsuite/gas/mips/mips.exp: Run the new tests.
495 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
497 * configure: Regenerated.
499 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
501 * testsuite/gas/arc/dsp.d: New file.
502 * testsuite/gas/arc/dsp.s: Likewise.
503 * testsuite/gas/arc/fpu.d: Likewise.
504 * testsuite/gas/arc/fpu.s: Likewise.
505 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
506 * testsuite/gas/arc/ext3op.d: Likewise.
507 * testsuite/gas/arc/tdpfp.d: Likewise.
508 * testsuite/gas/arc/tfpuda.d: Likewise.
510 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
512 * config/tc-mips.c (mips_force_relocation): Remove
513 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
515 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
517 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
518 Adjust comments for BAL to JALX linker conversion.
519 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
520 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
522 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
523 * testsuite/gas/mips/branch-local-4.d: New test.
524 * testsuite/gas/mips/branch-local-n32-4.d: New test.
525 * testsuite/gas/mips/branch-local-n64-4.d: New test.
526 * testsuite/gas/mips/branch-addend.d: New test.
527 * testsuite/gas/mips/branch-addend-n32.d: New test.
528 * testsuite/gas/mips/branch-addend-n64.d: New test.
529 * testsuite/gas/mips/branch-local-4.s: New test source.
530 * testsuite/gas/mips/branch-addend.s: New test source.
531 * testsuite/gas/mips/mips.exp: Run the new tests.
533 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
535 * config/tc-mips.c (mips_force_relocation): Also retain branch
536 relocations against MIPS16 and microMIPS symbols.
537 (fix_bad_cross_mode_jump_p): New function.
538 (fix_bad_same_mode_jalx_p): Likewise.
539 (fix_bad_misaligned_jump_p): Likewise.
540 (fix_bad_cross_mode_branch_p): Likewise.
541 (fix_bad_misaligned_branch_p): Likewise.
542 (fix_validate_branch): Likewise.
543 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
544 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
545 etc. Verify the ISA mode and alignment of the jump target.
546 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
547 with a call to `fix_validate_branch'.
548 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
549 <BFD_RELOC_16_PCREL_S2>: Likewise.
550 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
551 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
552 Verify the ISA mode and alignment of the branch target.
553 (md_convert_frag): Verify the ISA mode and alignment of resolved
554 MIPS16 branch targets.
555 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
556 branch targets with `.insn'.
557 * testsuite/gas/mips/branch-misc-5.s: Likewise.
558 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
560 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
561 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
562 non-instruction branch target with `.insn'.
563 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
564 with external symbols.
565 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
566 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
567 * testsuite/gas/mips/micromips-trap.d: Likewise.
568 * testsuite/gas/mips/micromips.d: Likewise.
569 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
570 targets with `.insn'.
571 * testsuite/gas/mips/mips16.d: Update accordingly.
572 * testsuite/gas/mips/mips16-64.d: Likewise.
573 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
574 branch target with `.insn'.
575 * testsuite/gas/mips/relax-swap3.s: Likewise.
576 * testsuite/gas/mips/branch-local-2.l: New list test.
577 * testsuite/gas/mips/branch-local-3.l: New list test.
578 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
579 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
580 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
581 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
582 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
583 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
584 * testsuite/gas/mips/unaligned-jump-3.d: New test.
585 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
586 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
587 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
588 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
590 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
592 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
593 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
594 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
595 * testsuite/gas/mips/unaligned-branch-3.d: New test.
596 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
597 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
598 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
599 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
600 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
601 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
602 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
603 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
604 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
605 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
607 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
609 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
610 * testsuite/gas/mips/branch-local-2.s: New test source.
611 * testsuite/gas/mips/branch-local-3.s: New test source.
612 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
613 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
614 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
615 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
616 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
617 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
618 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
619 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
620 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
622 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
624 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
625 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
626 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
627 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
628 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
629 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
630 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
632 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
634 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
636 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
638 * testsuite/gas/mips/mips.exp: Run the new tests.
640 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
642 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
644 (do_pseudo_b): Adjust.
645 (do_pseudo_bal): Likewise.
646 (do_pseudo_bge): Likewise.
647 (do_pseudo_bges): Likewise.
648 (do_pseudo_bgt): Likewise.
649 (do_pseudo_bgts): Likewise.
650 (do_pseudo_ble): Likewise.
651 (do_pseudo_bles): Likewise.
652 (do_pseudo_blt): Likewise.
653 (do_pseudo_blts): Likewise.
654 (do_pseudo_br): Likewise.
655 (do_pseudo_bral): Likewise.
656 (do_pseudo_la): Likewise.
657 (do_pseudo_li): Likewise.
658 (do_pseudo_ls_bhw): Likewise.
659 (do_pseudo_ls_bhwp): Likewise.
660 (do_pseudo_ls_bhwpc): Likewise.
661 (do_pseudo_ls_bhwi): Likewise.
662 (do_pseudo_move): Likewise.
663 (do_pseudo_neg): Likewise.
664 (do_pseudo_not): Likewise.
665 (do_pseudo_pushpopm): Likewise.
666 (do_pseudo_pushpop): Likewise.
667 (do_pseudo_v3push): Likewise.
668 (do_pseudo_v3pop): Likewise.
669 (do_pseudo_pushpop_stack): Likewise.
670 (do_pseudo_push_bhwd): Likewise.
671 (do_pseudo_pop_bhwd): Likewise.
672 (do_pseudo_pusha): Likewise.
673 (do_pseudo_pushi): Likewise.
675 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
677 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
678 bfd_reloc_code_real_type.
680 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
682 * config/tc-sparc.c (pop_table): Remove sentinel.
683 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
686 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
688 * config/tc-z8k.c (newfix): Make type of type argument
689 bfd_reloc_code_real_type.
690 (apply_fix): Likewise.
692 2016-07-16 Alan Modra <amodra@gmail.com>
694 * config/tc-epiphany.c: Don't include libbfd.h.
695 * config/tc-frv.c: Likewise.
696 * config/tc-ip2k.c: Likewise.
697 * config/tc-iq2000.c: Likewise.
698 * config/tc-m32c.c: Likewise.
699 * config/tc-mep.c: Likewise.
700 * config/tc-mt.c: Likewise.
701 * config/tc-nios2.c: Likewise.
703 2016-07-16 Alan Modra <amodra@gmail.com>
705 * config/bfin-parse.y: Don't include libbfd.h.
706 * config/tc-bfin.c: Likewise.
707 * config/tc-rl78.c: Likewise.
708 * config/tc-rx.c: Likewise.
709 * config/tc-metag.c: Likewise.
710 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
711 * Makefile.am: Update dependencies.
712 * Makefile.in: Regenerate.
714 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
716 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
717 (mips_force_relocation_abs): New prototype.
718 * config/tc-mips.c (mips_force_relocation_abs): New function.
719 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
720 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
721 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
722 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
723 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
725 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
727 * testsuite/gas/mips/branch-absolute-addend.d: New test.
728 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
729 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
731 * testsuite/gas/mips/mips.exp: Run the new tests.
733 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
735 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
736 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
737 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
739 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
740 in `bar', export `foo'.
741 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
743 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
744 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
745 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
747 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
750 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
752 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
753 * testsuite/gas/mips/branch-absolute.d: New test.
754 * testsuite/gas/mips/branch-absolute-n32.d: New test.
755 * testsuite/gas/mips/branch-absolute-n64.d: New test.
756 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
757 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
758 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
759 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
760 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
762 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
764 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
765 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
766 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
767 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
769 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
771 * testsuite/gas/mips/branch-absolute.s: New test source.
772 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
773 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
775 * testsuite/gas/mips/micromips-branch-absolute.s: New test
777 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
779 * testsuite/gas/mips/mips.exp: Run the new tests.
781 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
783 * testsuite/gas/mips/nal-1.d: New test.
784 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
785 * testsuite/gas/mips/nal-2.d: New test.
786 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
787 * testsuite/gas/mips/nal.s: New test source.
788 * testsuite/gas/mips/mips.exp: Run the new tests.
790 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
792 * testsuite/gas/sparc/ldtxa.s: New file.
793 * testsuite/gas/sparc/ldtxa.d: Likewise.
794 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
796 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
798 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
799 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
800 as it is no longer needed.
802 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
804 * config/tc-mips.c (append_insn): Remove extraneous
807 2016-07-04 Jan Beulich <jbeulich@suse.com>
809 * config/tc-i386.c (check_qword_reg): Correct register kind
811 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
812 16-bit register cases.
813 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
816 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
818 * testsuite/gas/mips/ecoff@ld.d: Remove test.
819 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
820 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
821 * testsuite/gas/mips/ecoff@sd.d: Remove test.
822 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
823 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
825 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
826 * testsuite/gas/mips/bge.d: Likewise.
827 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
828 * testsuite/gas/mips/bgeu.d: Likewise.
829 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
830 * testsuite/gas/mips/blt.d: Likewise.
831 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
832 * testsuite/gas/mips/bltu.d: Likewise.
833 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
834 * testsuite/gas/mips/branch-likely.d: Likewise.
835 * testsuite/gas/mips/la.d: Likewise.
836 * testsuite/gas/mips/lb.d: Likewise.
837 * testsuite/gas/mips/lifloat.d: Likewise.
838 * testsuite/gas/mips/sb.d: Likewise.
839 * testsuite/gas/mips/uld.d: Likewise.
840 * testsuite/gas/mips/ulh.d: Likewise.
841 * testsuite/gas/mips/ulw.d: Likewise.
842 * testsuite/gas/mips/usd.d: Likewise.
843 * testsuite/gas/mips/ush.d: Likewise.
844 * testsuite/gas/mips/usw.d: Likewise.
846 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
848 * testsuite/gas/mips/branch-misc-2.s: Move non
849 locally-defined-global symbol tests...
850 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
851 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
852 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
853 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
854 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
855 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
856 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
857 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
858 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
859 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
860 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
861 * testsuite/gas/mips/branch-misc-5.d: New test.
862 * testsuite/gas/mips/branch-misc-5pic.d: New test.
863 * testsuite/gas/mips/branch-misc-5-64.d: New test.
864 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
865 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
866 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
867 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
868 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
869 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
870 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
871 * testsuite/gas/mips/mips.exp: Run the new tests.
873 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
875 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
877 * testsuite/gas/mips/beq.d: Update accordingly.
878 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
879 * testsuite/gas/mips/micromips@beq.d: Likewise.
881 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
883 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
884 tests to NewABI targets.
886 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
888 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
891 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
893 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
895 (aarch64_features): Initialize require fields.
896 (aarch64_parse_features): Handle dependencies.
897 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
898 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
899 * testsuite/gas/aarch64/illegal-nofp16.s: New.
900 * testsuite/gas/aarch64/illegal-nofp16.l: New.
901 * testsuite/gas/aarch64/illegal-nofp16.d: New.
903 2016-07-01 Nick Clifton <nickc@redhat.com>
905 * macro.c (macro_expand_body): Use a buffer big enough to hold an
906 extremely large integer.
908 2016-07-01 Jan Beulich <jbeulich@suse.com>
910 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
912 2016-07-01 Tristan Gingold <gingold@adacore.com>
914 * NEWS: Add marker for 2.27.
916 2016-07-01 Jan Beulich <jbeulich@suse.com>
918 * tc-i386.c (i386_index_check): Add special checks for bndmk,
920 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
921 as well as scaling by other than 1 tests.
922 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
924 2016-07-01 Jan Beulich <jbeulich@suse.com>
926 * tc-i386.c (md_assemble): Alter address size checking for MPX
928 * testsuite/gas/i386/mpx-inval-2.s: New.
929 * testsuite/gas/i386/mpx-inval-2.l: New.
930 * testsuite/gas/i386/i386.exp: Run new test.
932 2016-07-01 Jan Beulich <jbeulich@suse.com>
935 * config/tc-i386.c (match_template): Add char parameter,
936 consumed in Intel mode for an extra suffix check.
937 (md_assemble): New local variable mnem_suffix.
938 * testsuite/gas/i386/suffix-bad.s: New.
939 * testsuite/gas/i386/suffix-bad.l: New.
940 * testsuite/gas/i386/i386.exp: Run new test (twice).
942 2016-07-01 Jan Beulich <jbeulich@suse.com>
944 * testsuite/gas/i386/movz.s: New.
945 * testsuite/gas/i386/movz32.d: New.
946 * testsuite/gas/i386/movz64.d: New.
947 * testsuite/gas/i386/i386.exp: Run new tests.
949 2016-07-01 Jan Beulich <jbeulich@suse.com>
951 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
952 (md_assemble): Free first memory operand string.
953 (i386_index_check): Use repprefixok to distingush xlat from
954 other (real) string ops.
955 (maybe_adjust_templates): New.
956 (i386_att_operand). Call it. Store first memory operand string.
957 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
958 * testsuite/gas/i386/intel-movs.s: New.
959 * testsuite/gas/i386/intel-movs32.d: New.
960 * testsuite/gas/i386/intel-movs64.d: New.
961 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
962 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
964 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
966 * config/tc-mips.c (get_append_method): Fix a comment typo.
968 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
969 Maciej W. Rozycki <macro@imgtec.com>
971 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
972 case MIPS16 handling.
973 * testsuite/gas/mips/branch-swap-3.d: New test.
974 * testsuite/gas/mips/branch-swap-4.d: New test.
975 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
976 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
977 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
978 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
979 * testsuite/gas/mips/branch-swap-3.s: New test source.
980 * testsuite/gas/mips/mips.exp: Run the new tests.
982 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
984 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
987 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
990 * write.c (subsegs_finish_section): Force no section padding to
991 alignment on failed assembly, always set last frag's alignment
993 * testsuite/gas/all/pr20312.l: New list test.
994 * testsuite/gas/all/pr20312.s: New test source.
995 * testsuite/gas/all/gas.exp: Run the new test
997 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
999 * config.in (TARGET_WITH_CPU): Undefine.
1000 * configure.ac: Add --with-cpu support, and define in config.h.
1001 * configure: Regenerate.
1002 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1003 * NEWS: Mention new configure option.
1005 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1007 * testsuite/gas/arm/armv8_2+rdma.d: New.
1009 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1011 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1012 default for Linux/x86 targets.
1013 * configure.tgt (ac_default_compressed_debug_sections): Default
1014 to yes for Linux/x86 targets.
1016 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1018 * write.c: Remove "libbfd.h" inclusion.
1020 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1022 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1025 2016-06-28 Alan Modra <amodra@gmail.com>
1028 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1030 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1032 * testsuite/gas/aarch64/diagnostic.s,
1033 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1035 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1037 * config/tc-mips.c (mips16_reloc_p): Handle
1038 BFD_RELOC_MIPS16_16_PCREL_S1.
1039 (b_reloc_p): Likewise.
1040 (limited_pcrel_reloc_p): Likewise.
1041 (md_pcrel_from): Likewise.
1042 (md_apply_fix): Likewise.
1043 (tc_gen_reloc): Likewise.
1044 (md_convert_frag): Likewise.
1045 (mips_fix_adjustable): Update comment.
1046 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1047 output, add dump patterns.
1048 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1049 output, add dump patterns.
1050 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1051 output, add dump patterns.
1052 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1053 output, add dump patterns.
1054 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1055 output, add dump patterns.
1056 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1057 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1058 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1059 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1060 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1061 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1062 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1063 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1064 * testsuite/gas/mips/branch-weak-6.d: New test.
1065 * testsuite/gas/mips/branch-weak-7.d: New test.
1066 * testsuite/gas/mips/mips.exp: Run the new tests.
1068 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1070 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1071 cfi_add_CFA_def_cfa to generate default CFA with offset
1072 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1074 2016-06-27 Nick Clifton <nickc@redhat.com>
1077 * as.h (do_not_pad_sections_to_alignment): New global variable.
1078 * as.c (show_usage): Add --no-pad-sections.
1079 (parse_args): Likewise.
1080 * write.c (size_seg): Skip padding the end of the section if
1081 requested from the command line.
1082 (SUB_SEGMENT_ALIGN): Likewise.
1083 * doc/as.texinfo: Document the new option.
1084 * NEWS: Mention the new feature.
1085 * testsuite/gas/elf/section11.s: New test.
1086 * testsuite/gas/elf/section11.d: New test driver.
1087 * testsuite/gas/elf/elf.exp: Run the new test.
1089 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1091 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1092 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1094 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1096 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1098 (map_suffix_reloc_to_operator): Likewise.
1099 (map_operator_to_reloc): Likewise.
1101 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1103 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1104 element in relax_table.
1106 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1108 * config/tc-aarch64.c: Make the type of reg_entry::type
1111 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1113 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1114 (md_parse_option): Adjust.
1115 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1116 with iteration from 0 to ARRAY_SIZE.
1117 * config/tc-mcore.c (md_begin): Likewise.
1118 * config/tc-visium.c (visium_parse_arch): Likewise.
1120 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1122 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1123 and simplify accordingly.
1124 (tic54x_include): Adjust.
1125 (tic54x_mlib): Likewise.
1127 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1129 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1131 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1133 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1134 unchanged with relaxed MIPS16 instructions.
1135 (mips16_extended_frag): Adjust accordingly. Return 1 right
1136 away if a relocation will be required for the symbol requested.
1137 Remove dead first relaxation pass code.
1138 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1139 (md_convert_frag): Adjust symbol value calculation. Raise an
1140 error if a relocation is required for the symbol requested.
1141 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1143 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1144 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1145 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1146 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1147 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1148 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1149 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1150 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1151 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1152 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1153 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1154 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1155 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1156 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1157 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1158 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1159 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1160 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1161 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1162 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1163 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1164 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1165 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1166 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1167 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1168 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1169 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1170 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1171 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1172 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1173 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1174 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1175 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1176 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1177 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1178 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1179 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1180 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1181 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1182 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1183 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1184 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1185 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1186 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1187 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1188 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1189 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1190 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1191 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1192 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1193 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1194 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1195 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1196 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1197 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1198 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1199 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1200 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1201 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1202 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1203 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1204 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1205 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1206 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1207 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1208 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1209 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1210 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1211 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1212 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1213 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1214 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1215 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1216 * testsuite/gas/mips/mips.exp: Run the new tests.
1218 2016-06-24 Alan Modra <amodra@gmail.com>
1220 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1222 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1224 * config/tc-mips.c (b_reloc_p): New function.
1225 (mips_fix_adjustable): Also keep the original microMIPS symbol
1226 referred from branch relocations.
1227 * testsuite/gas/mips/branch-local-1.d: New test.
1228 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1229 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1230 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1232 * testsuite/gas/mips/branch-local-1.s: New test source.
1233 * testsuite/gas/mips/mips.exp: Run the new cases.
1235 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1237 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1238 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1239 options. Correct erroneous enabling of SPFP instructions when
1242 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1244 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1245 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1246 setbool, xor3>: New tests.
1247 * testsuite/gas/ppc/power9.s: Likewise.
1249 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1251 * config/tc-xtensa.c: Include elf/xtensa.h.
1253 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1255 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1256 <BFD_RELOC_LO16_PCREL>: New switch cases.
1257 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1258 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1259 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1260 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1262 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1263 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1264 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1265 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1266 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1267 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1268 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1269 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1270 * testsuite/gas/mips/mips.exp: Run the new tests.
1272 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1274 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1275 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1276 via `fixP->fx_addsy'.
1278 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1280 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1281 Calculate relocation from the containing aligned doubleword.
1282 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1283 addend from the containing aligned doubleword.
1285 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1287 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1288 rather than `mips_opts' for the R6 ISA check.
1289 (mips_fix_adjustable): Likewise.
1290 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1291 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1292 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1293 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1294 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1295 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1296 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1297 * testsuite/gas/mips/mips.exp: Run the new tests.
1299 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1301 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1302 Add nps400 option and feature. Add check for nps400
1303 feature. Refactor existing checks to check subclass before
1305 (md_show_usage): Document flags for NPS-400 and add some other
1307 (cpu_type): Remove nps400 CPU type entry
1308 (check_zol): Remove bfd_mach_arc_nps400 case.
1309 (md_show_usage): Add help on -mcpu=nps400.
1310 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1312 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1313 -fpuda flags. Document -mcpu=nps400.
1314 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1315 expected flags to match ARC700 instead of NPS400.
1316 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1317 * testsuite/gas/arc/nps-400-2.d: Likewise.
1318 * testsuite/gas/arc/nps-400-3.d: Likewise.
1319 * testsuite/gas/arc/nps-400-4.d: Likewise.
1320 * testsuite/gas/arc/nps-400-5.d: Likewise.
1321 * testsuite/gas/arc/nps-400-6.d: Likewise.
1322 * testsuite/gas/arc/nps-400-7.d: Likewise.
1323 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1324 avoid clash with cbba instruction.
1325 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1326 * testsuite/gas/arc/textinsn3op.d: Likewise.
1327 * testsuite/gas/arc/textinsn3op.s: Likewise.
1328 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1329 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1331 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1333 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1334 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1336 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1338 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1341 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1343 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1345 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1347 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1348 %hmcddfr and %hva_mask_nz.
1349 (sparc_ip): New handling of asr/privileged/hyperprivileged
1350 registers, adapted to the new form of the sparc opcodes table.
1351 * testsuite/gas/sparc/rdasr.s: New file.
1352 * testsuite/gas/sparc/rdasr.d: Likewise.
1353 * testsuite/gas/sparc/wrasr.s: Likewise.
1354 * testsuite/gas/sparc/wrasr.d: Likewise.
1355 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1357 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1358 registers require it.
1359 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1360 registers and write instruction modalities.
1361 * testsuite/gas/sparc/wrpr.d: Likewise.
1362 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1364 * testsuite/gas/sparc/rdhpr.d: Likewise.
1365 * testsuite/gas/sparc/wrhpr.s: Likewise.
1366 * testsuite/gas/sparc/wrhpr.d: Likewise.
1368 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1370 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1371 architectures to use the right opcode architecture.
1372 (sparc_md_end): Handle v9{c,d,e,v,m}.
1373 (sparc_ip): Fix some comments.
1374 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1375 instruction, which is v9d.
1376 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1377 instruction from the test, as %mwait is not readable.
1378 * testsuite/gas/sparc/mwait.d: Likewise.
1379 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1380 mismatch architecture errors.
1381 * testsuite/gas/sparc/mism-2.s: New file.
1383 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1385 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1386 empty string to mark the end of the array.
1387 (hpriv_reg_table): Likewise.
1388 (v9a_asr_table): Likewise.
1389 (cmp_reg_entry): Handle entries with NULL names.
1391 (F_POP_PCREL): Likewise.
1392 (F_POP_TLS_CALL): Likewise.
1393 (F_POP_POSTFIX): Likewise.
1394 (struct pop_entry): New type.
1395 (pop_table): New variable.
1396 (enum pop_entry_type): New type.
1397 (struct perc_entry): Likewise.
1398 (NUM_PERC_ENTRIES): Define.
1399 (perc_table): New variable.
1400 (cmp_perc_entry): New function.
1401 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1403 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1404 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1407 2016-06-15 Nick Clifton <nickc@redhat.com>
1409 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1411 * config/tc-mcore.c (md_assemble): Likewise.
1412 * config/tc-mn10200.c (md_assemble): Likewise.
1413 * config/tc-moxie.c (md_assemble): Likewise.
1414 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1415 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1416 exception targets. Add alpha, hppa, microblaze and rl78 to list
1418 (forward): Add microblaze to list of exceptions.
1419 (fwdexp): Add alpha to list of exceptions.
1420 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1421 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1422 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1423 mn10200 to list of exceptions.
1424 (align2): Expect to fail for nds32.
1425 (cond): Add alpha and rl78 to list of exceptions.
1426 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1427 * testsuite/gas/all/string.d: Skip for tic4x.
1428 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1429 target does not support ELF.
1430 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1431 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1432 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1433 tests for sh-pe and sh-rtemscoff targets.
1434 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1436 (type): Run the noifunc version for alpha-freebsd and visium.
1437 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1438 mn10200 or moxie targets.
1439 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1440 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1442 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1443 mcore and rx targets.
1444 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1446 (purge): Expect to fail on the ns32k and vax.
1447 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1448 * testsuite/gas/nds32/ls.d: Likewise.
1449 * testsuite/gas/nds32/sys-reg.d: Likewise.
1450 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1451 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1452 * testsuite/gas/pe/section-align-3.d: Likewise.
1453 * testsuite/gas/pe/section-exclude.d: Likewise.
1454 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1456 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1457 for variations in whitespace.
1458 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1460 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1461 Installs a 32-bit value without generating warnings on 64-bit
1463 Use the new macro to replace the .word directives.
1465 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1467 * testsuite/gas/arc/add_s.d: New file.
1468 * testsuite/gas/arc/add_s.s: New file.
1470 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1472 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1473 * testsuite/gas/arc/nps400-6.d: Likewise.
1475 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1477 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1479 * testsuite/gas/arc/nps400-6.d: Likewise.
1481 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1483 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1484 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1485 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1486 * testsuite/gas/arc/nps400-6.d: Likewise.
1488 2016-06-14 Nick Clifton <nickc@redhat.com>
1490 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1493 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1495 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1496 JALR relocations on R6.
1497 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1498 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1499 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1500 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1501 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1502 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1504 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1505 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1507 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1508 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1510 * testsuite/gas/mips/mips.exp: Run the new tests.
1512 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1514 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1515 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1518 2016-06-13 Nick Clifton <nickc@redhat.com>
1520 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1521 that are not supported.
1523 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1525 * config/tc-cr16.c (check_range): Likewise.
1526 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1528 2016-06-08 Renlin Li <renlin.li@arm.com>
1530 * config/tc-aarch64.c (print_operands): Substitute size.
1531 (output_operand_error_record): Likewise.
1533 2016-06-07 Alan Modra <amodra@gmail.com>
1535 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1536 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1537 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1538 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1539 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1540 add vle_opcodes twice.
1541 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1543 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1545 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1546 (arm_ext_ras): Renamed from arm_ext_v8_2.
1547 (insns): Update for arm_ext_v8_2 renaming.
1548 (arm_extensions): Add "ras".
1549 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1550 * testsuite/gas/arm/armv8-a+ras.d: New.
1551 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1554 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1556 * itbl-parse.y (yyerror): Use modern argument declaration style.
1558 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1560 * config/tc-sh.c (parse_reg): Change type of mode argument to
1562 (get_operand): Adjust.
1563 (insert): Change type of how to bfd_reloc_code_real_type.
1564 (insert4): Likewise.
1565 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1566 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1568 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1570 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1573 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1576 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1577 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1578 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1579 * gas/testsuite/gas/ppc/power8.s: Likewise.
1580 * gas/testsuite/gas/ppc/power8.d: Likewise.
1581 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1583 * gas/testsuite/gas/ppc/power4.d: Likewise.
1585 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1588 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1589 * testsuite/gas/i386/x86-64-branch.d: Updated.
1590 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1591 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1592 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1594 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1596 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1597 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1599 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1601 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1602 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1604 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1606 * configure.tgt: Replace -uclibc with *.
1608 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1610 * config/tc-arc.c (parse_opcode_flags): New function.
1611 (find_opcode_match): Move flag parsing code out to new function.
1612 Ignore operands marked IGNORE.
1613 (build_fake_opcode_hash_entry): New function.
1614 (find_special_case_long_opcode): New function.
1615 (find_special_case): Lookup long opcodes.
1616 * testsuite/gas/arc/nps400-7.d: New file.
1617 * testsuite/gas/arc/nps400-7.s: New file.
1619 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1621 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1623 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1625 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1626 sentinal with iteration to array size.
1628 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1630 * config/xtensa-relax.h: Move typedefs of enums to the enums
1633 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1635 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1638 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1640 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1641 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1642 * testsuite/gas/arc/nps-400-1.d: Likewise.
1644 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1647 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1648 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1649 noavx512ifma and noavx512vbmi.
1650 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1651 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1653 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1654 * testsuite/gas/i386/noavx512-1.l: New file.
1655 * testsuite/gas/i386/noavx512-1.s: Likewise.
1656 * testsuite/gas/i386/noavx512-2.l: Likewise.
1657 * testsuite/gas/i386/noavx512-2.s: Likewise.
1659 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1662 * config/tc-i386.c (cpu_arch): Add 687.
1663 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1664 nosse4.1, nosse4.2, nosse4 and noavx2.
1665 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1666 register. Check cpuregxmm instead of cpusse for XMM register.
1667 Check cpuregymm instead of cpuavx for YMM register. Check
1668 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1669 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1670 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1671 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1672 * testsuite/gas/i386/arch-10.d (as): Likewise.
1673 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1674 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1675 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1677 * testsuite/gas/i386/no87-3.l: New file.
1678 * testsuite/gas/i386/no87-3.s: Likewise.
1679 * testsuite/gas/i386/noavx-3.l: Likewise.
1680 * testsuite/gas/i386/noavx-3.s: Likewise.
1681 * testsuite/gas/i386/noavx-4.d: Likewise.
1682 * testsuite/gas/i386/noavx-4.s: Likewise.
1683 * testsuite/gas/i386/nosse-4.l: Likewise.
1684 * testsuite/gas/i386/nosse-4.s: Likewise.
1685 * testsuite/gas/i386/nosse-5.d: Likewise.
1686 * testsuite/gas/i386/nosse-5.s: Likewise.
1688 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1691 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1693 (match_template): Check Intel64/AMD64 ISA.
1695 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1698 * config/tc-i386.c (intel64): New.
1699 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1700 (md_parse_option): Set intel64 instead of cpuamd64 and
1703 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1705 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1708 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1710 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1711 * testsuite/gas/ppc/altivec3.s: Likewise.
1712 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1713 * testsuite/gas/ppc/power9.s: Likewise.
1715 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1717 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1718 * testsuite/gas/i386/noavx-1.l: Likewise.
1719 * testsuite/gas/i386/nommx-1.l: Likewise.
1720 * testsuite/gas/i386/nosse-1.l: Likewise.
1721 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1722 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1723 * testsuite/gas/i386/noavx-1.s: Likewise.
1724 * testsuite/gas/i386/nommx-1.s: Likewise.
1725 * testsuite/gas/i386/nosse-1.s: Likewise.
1726 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1728 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1730 * config/tc-metag.c (metag_handle_align): Make the type of noop
1733 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1735 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1736 bfd_reloc_code_real_type.
1738 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1741 * config/tc-i386.c (cpu_flags_match): Require another match
1743 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1744 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1745 * testsuite/gas/i386/avx512vl-1.l: New file.
1746 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1747 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1748 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1749 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1750 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1751 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1752 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1754 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1757 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1758 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1759 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1761 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1763 * config/tc-i386.c (arch_entry): Remove negated.
1764 (noarch_entry): New struct.
1765 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1767 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1768 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1770 (output_message): New function.
1771 (show_arch): Use it. Handle cpu_noarch.
1772 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1773 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1774 * testsuite/gas/i386/noavx-1.l: New file.
1775 * testsuite/gas/i386/noavx-1.s: Likewise.
1776 * testsuite/gas/i386/noavx-2.s: Likewise.
1777 * testsuite/gas/i386/noavx-2.l: Likewise.
1778 * testsuite/gas/i386/nommx-1.s: Likewise.
1779 * testsuite/gas/i386/nommx-1.l: Likewise.
1780 * testsuite/gas/i386/nommx-2.s: Likewise.
1781 * testsuite/gas/i386/nommx-2.l: Likewise.
1782 * testsuite/gas/i386/nommx-3.s: Likewise.
1783 * testsuite/gas/i386/nommx-3.l: Likewise.
1784 * testsuite/gas/i386/nosse-1.s: Likewise.
1785 * testsuite/gas/i386/nosse-1.l: Likewise.
1786 * testsuite/gas/i386/nosse-2.s: Likewise.
1787 * testsuite/gas/i386/nosse-2.l: Likewise.
1788 * testsuite/gas/i386/nosse-3.s: Likewise.
1789 * testsuite/gas/i386/nosse-3.l: Likewise.
1791 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1794 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1795 instruction if supported by the currently selected fpu variant.
1796 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1797 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1799 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1801 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1802 jump relocations against MIPS16 or microMIPS symbols on RELA
1804 * testsuite/gas/mips/jalx-local.d: New test.
1805 * testsuite/gas/mips/jalx-local-n32.d: New test.
1806 * testsuite/gas/mips/jalx-local-n64.d: New test.
1807 * testsuite/gas/mips/jalx-local.s: New test source.
1808 * testsuite/gas/mips/mips.exp: Run the new tests.
1810 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1812 * config/tc-mips.c (md_apply_fix)
1813 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1816 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1818 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1819 operator to operatorT.
1820 (map_suffix_reloc_to_operator): Change return type to operatorT.
1822 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1824 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1826 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1828 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1829 handler_charp to const char *.
1831 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1833 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1834 (ft32_target_format): Likewise.
1835 (TARGET_FORMAT): Adjust.
1837 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1839 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1840 (ia64_frob_label): Likewise.
1842 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1844 * config/tc-cr16.c (check_range): Make type of retval op_err.
1845 * config/tc-crx.c: Likewise.
1847 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1849 * config/tc-arc.c (md_begin): Add XY registers.
1850 (cpu_types): Code density is default off for ARC EM.
1852 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1854 * config/tc-arc.c (attributes_t): Renamed attribute class to
1856 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1858 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1860 * configuse.tgt: Add entry for arm-phoenix.
1862 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1864 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1866 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1868 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1870 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1872 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1873 (md_begin): Likewise.
1874 (encode_condition): Likewise.
1875 (encode_cc3): Likewise.
1876 (encode_cc2): Likewise.
1877 (encode_operand): Likewise.
1878 (tic54x_undefined_symbol): Likewise.
1880 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1882 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1884 * doc/c-mips.texi: Document p6600 -march option.
1886 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1889 * config/tc-i386.c (md_apply_fix): Preserve addend for
1890 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1891 * testsuite/gas/i386/addend.d: New file.
1892 * testsuite/gas/i386/addend.s: Likewise.
1893 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1894 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1895 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1896 * testsuite/gas/i386/reloc32.d: Updated.
1898 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1900 * config/tc-mips.c (append_insn): Correct the encoding of a
1901 constant argument for microMIPS JALX.
1902 (tc_gen_reloc): Correct the encoding of an in-place addend for
1904 * testsuite/gas/mips/jalx-addend.d: New test.
1905 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1906 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1907 * testsuite/gas/mips/jalx-imm.d: New test.
1908 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1909 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1910 * testsuite/gas/mips/jalx-addend.s: New test source.
1911 * testsuite/gas/mips/jalx-imm.s: New test source.
1912 * testsuite/gas/mips/mips.exp: Run the new tests.
1914 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1916 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1919 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1921 * config/tc-arc.c (find_opcode_match): Remove casting away of
1923 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1925 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1927 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1929 (md_convert_frag): Likewise.
1931 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1933 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1934 cached opcode to NULL when we reach a non-matching opcode.
1935 * testsuite/gas/arc/asm-errors-2.d: New file.
1936 * testsuite/gas/arc/asm-errors-2.err: New file.
1937 * testsuite/gas/arc/asm-errors-2.s: New file.
1939 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1941 * config/tc-arc.c (tokenize_arguments): Add checks for array
1943 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1944 * testsuite/gas/arc/asm-errors.err: Update expected results.
1946 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1948 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1949 int to enum rx_cpu_types.
1951 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1953 * config/tc-dlx.c (struct machine_it): change the type of a field from
1954 int to bfd_reloc_code_real_type.
1955 * config/tc-tic4x.c: Likewise.
1957 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1959 * config/tc-v850.c (v850_target_arch): change type to enum
1961 * config/tc-v850.h (v850_target_arch): Likewise.
1963 2016-05-18 Alan Modra <amodra@gmail.com>
1965 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1966 allowed negative range.
1967 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1968 * testsuite/gas/ppc/power9.d: Update.
1970 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1972 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1973 disassembling and stop skipping targets.
1974 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1975 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1976 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1977 instruction for targets that have stronger alignment requirement.
1978 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1979 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1980 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1981 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1982 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1983 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1984 * testsuite/gas/arm/archv8m-main.d: Likewise.
1985 * testsuite/gas/arm/archv8m.s: Add label.
1986 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1987 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1988 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1990 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1992 * config/tc-m32r.c (mach_table): Make static and const.
1994 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1996 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1999 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2001 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2003 * config/tc-msp430.c (md_begin): Likewise.
2005 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2007 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2008 bfd_reloc_code_real_type where appropriate.
2009 (fixup16): Likewise.
2010 (fixup8_xg): Likewise.
2012 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2014 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2016 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2018 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2019 * testsuite/gas/ppc/power9.s: Likewise.
2021 2016-05-13 Alan Modra <amodra@gmail.com>
2023 * config/obj-coff.c (weak_uniquify): Delete unused var.
2025 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2027 * app.c (app_push): Use XNEW and related macros.
2028 * as.c (parse_args): Likewise.
2029 * cgen.c (make_right_shifted_expr): Likewise.
2030 (gas_cgen_tc_gen_reloc): Likewise.
2031 * config/bfin-defs.h: Likewise.
2032 * config/bfin-parse.y: Likewise.
2033 * config/obj-coff.c (stack_init): Likewise.
2034 (stack_push): Likewise.
2035 (coff_obj_symbol_new_hook): Likewise.
2036 (coff_obj_symbol_clone_hook): Likewise.
2037 (add_lineno): Likewise.
2038 (coff_frob_symbol): Likewise.
2039 * config/obj-elf.c (obj_elf_section_name): Likewise.
2040 (build_group_lists): Likewise.
2041 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2042 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2043 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2044 (find_or_make_literal_pool): Likewise.
2045 (add_to_lit_pool): Likewise.
2046 (fill_instruction_hash_table): Likewise.
2047 * config/tc-alpha.c (load_expression): Likewise.
2048 (emit_jsrjmp): Likewise.
2049 (s_alpha_ent): Likewise.
2050 (s_alpha_end): Likewise.
2051 (s_alpha_linkage): Likewise.
2052 (md_begin): Likewise.
2053 (tc_gen_reloc): Likewise.
2054 * config/tc-arc.c (arc_insert_opcode): Likewise.
2055 (arc_extcorereg): Likewise.
2056 * config/tc-bfin.c: Likewise.
2057 * config/tc-cr16.c: Likewise.
2058 * config/tc-cris.c: Likewise.
2059 * config/tc-crx.c (preprocess_reglist): Likewise.
2060 * config/tc-d10v.c: Likewise.
2061 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2062 (frv_tomcat_shuffle): Likewise.
2063 * config/tc-h8300.c: Likewise.
2064 * config/tc-i370.c (i370_macro): Likewise.
2065 * config/tc-i386.c (lex_got): Likewise.
2066 (md_parse_option): Likewise.
2067 * config/tc-ia64.c (alloc_record): Likewise.
2068 (set_imask): Likewise.
2069 (save_prologue_count): Likewise.
2070 (dot_proc): Likewise.
2071 (dot_endp): Likewise.
2072 (ia64_frob_label): Likewise.
2073 (add_qp_imply): Likewise.
2074 (add_qp_mutex): Likewise.
2075 (mark_resource): Likewise.
2076 (dot_alias): Likewise.
2077 * config/tc-m68hc11.c: Likewise.
2078 * config/tc-m68k.c (m68k_frob_label): Likewise.
2080 (mri_control_label): Likewise.
2081 (push_mri_control): Likewise.
2082 (build_mri_control_operand): Likewise.
2083 (s_mri_else): Likewise.
2084 (s_mri_break): Likewise.
2085 (s_mri_next): Likewise.
2086 (s_mri_for): Likewise.
2087 (s_mri_endw): Likewise.
2088 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2089 * config/tc-microblaze.c: Likewise.
2090 * config/tc-mmix.c (s_loc): Likewise.
2091 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2092 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2093 * config/tc-rl78.c: Likewise.
2094 * config/tc-rx.c (rx_include): Likewise.
2095 * config/tc-sh.c: Likewise.
2096 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2097 * config/tc-sparc.c: Likewise.
2098 * config/tc-spu.c: Likewise.
2099 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2100 (tic6x_start_unwind_section): Likewise.
2101 * config/tc-tilegx.c: Likewise.
2102 * config/tc-tilepro.c: Likewise.
2103 * config/tc-v850.c: Likewise.
2104 * config/tc-visium.c: Likewise.
2105 * config/tc-xgate.c: Likewise.
2106 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2107 (new_resource_table): Likewise.
2108 (resize_resource_table): Likewise.
2109 (xtensa_create_trampoline_frag): Likewise.
2110 (xtensa_maybe_create_literal_pool_frag): Likewise.
2111 (cache_literal_section): Likewise.
2112 * config/xtensa-relax.c (append_transition): Likewise.
2113 (append_condition): Likewise.
2114 (append_value_condition): Likewise.
2115 (append_constant_value_condition): Likewise.
2116 (append_literal_op): Likewise.
2117 (append_label_op): Likewise.
2118 (append_constant_op): Likewise.
2119 (append_field_op): Likewise.
2120 (append_user_fn_field_op): Likewise.
2121 (enter_opname_n): Likewise.
2122 (enter_opname): Likewise.
2123 (split_string): Likewise.
2124 (parse_insn_templ): Likewise.
2125 (clone_req_or_option_list): Likewise.
2126 (clone_req_option_list): Likewise.
2127 (parse_option_cond): Likewise.
2128 (parse_insn_pattern): Likewise.
2129 (parse_insn_repl): Likewise.
2130 (build_transition): Likewise.
2131 (build_transition_table): Likewise.
2132 * dw2gencfi.c (alloc_fde_entry): Likewise.
2133 (alloc_cfi_insn_data): Likewise.
2134 (cfi_add_CFA_remember_state): Likewise.
2135 (dot_cfi_escape): Likewise.
2136 (dot_cfi_fde_data): Likewise.
2137 (select_cie_for_fde): Likewise.
2138 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2139 * ecoff.c (ecoff_add_bytes): Likewise.
2140 (ecoff_build_debug): Likewise.
2141 * input-scrub.c (input_scrub_push): Likewise.
2142 (input_scrub_begin): Likewise.
2143 (input_scrub_next_buffer): Likewise.
2144 * itbl-ops.c (append_insns_as_macros): Likewise.
2145 (alloc_entry): Likewise.
2146 (alloc_field): Likewise.
2147 * listing.c (listing_newline): Likewise.
2148 (listing_listing): Likewise.
2149 * macro.c (get_any_string): Likewise.
2150 (delete_macro): Likewise.
2151 * stabs.c (generate_asm_file): Likewise.
2152 (stabs_generate_asm_lineno): Likewise.
2153 * subsegs.c (subseg_change): Likewise.
2154 (subseg_get): Likewise.
2155 * symbols.c (define_dollar_label): Likewise.
2156 (symbol_relc_make_sym): Likewise.
2157 * write.c (write_relocs): Likewise.
2159 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2161 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2162 (weak_name2altname): Likewise.
2163 (weak_uniquify): Likewise.
2164 (obj_coff_section): Likewise.
2165 (obj_coff_init_stab_section): Likewise.
2166 * config/obj-elf.c (obj_elf_section_name): Likewise.
2167 (obj_elf_init_stab_section): Likewise.
2168 * config/obj-evax.c (evax_shorten_name): Likewise.
2169 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2170 * config/tc-aarch64.c (create_register_alias): Likewise.
2171 * config/tc-alpha.c (load_expression): Likewise.
2172 (s_alpha_file): Likewise.
2173 (s_alpha_section_name): Likewise.
2174 (tc_gen_reloc): Likewise.
2175 * config/tc-arc.c (md_assemble): Likewise.
2176 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2177 (start_unwind_section): Likewise.
2178 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2179 (hppa_elf_mark_end_of_function): Likewise.
2180 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2181 (nios2_negate_arg): Likewise.
2182 * config/tc-rx.c (rx_section): Likewise.
2183 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2184 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2185 * config/tc-tic54x.c (tic54x_include): Likewise.
2186 (tic54x_macro_info): Likewise.
2187 (subsym_get_arg): Likewise.
2188 (subsym_substitute): Likewise.
2189 (tic54x_start_line_hook): Likewise.
2190 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2191 (xg_reverse_shift_count): Likewise.
2192 * config/xtensa-relax.c (enter_opname_n): Likewise.
2193 (split_string): Likewise.
2194 * dwarf2dbg.c (get_filenum): Likewise.
2195 (process_entries): Likewise.
2196 * expr.c (operand): Likewise.
2197 * itbl-ops.c (alloc_entry): Likewise.
2198 * listing.c (listing_message): Likewise.
2199 (listing_title): Likewise.
2200 * macro.c (check_macro): Likewise.
2201 * stabs.c (s_xstab): Likewise.
2202 * symbols.c (symbol_relc_make_expr): Likewise.
2203 * write.c (compress_debug): Likewise.
2205 2016-05-12 Nick Clifton <nickc@redhat.com>
2208 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2210 2016-05-11 Nick Clifton <nickc@redhat.com>
2213 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2214 big endian ARM configurations.
2216 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2217 Matthew Fortune <matthew.fortune@imgtec.com>
2219 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2221 (md_longopts): Likewise.
2222 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2223 (mips_ases): Define availability for DSPr3.
2224 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2225 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2226 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2228 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2229 .set nodspr3. Fix -mdspr2 formatting.
2230 * testsuite/gas/mips/mips32-dspr3.d: New file.
2231 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2232 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2234 2016-05-11 Nick Clifton <nickc@redhat.com>
2237 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2238 to the pool uses O_constant.
2239 * testsuite/gas/arm/pr20068.s: New test.
2240 * testsuite/gas/arm/pr20068.d: Test driver.
2242 2016-05-11 Nick Clifton <nickc@redhat.com>
2244 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2245 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2246 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2247 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2248 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2249 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2250 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2251 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2252 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2254 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2256 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2257 * testsuite/gas/i386/prefix.d: Adjust.
2258 * testsuite/gas/i386/rdpid.s: New test.
2259 * testsuite/gas/i386/rdpid.d: Ditto.
2260 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2261 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2262 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2263 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2265 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2267 * config/tc-i386.c (cpu_arch): Add RDPID.
2268 * doc/c-i386.texi: Document RDPID.
2270 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2272 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2273 set branch type of a symbol.
2275 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2277 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2278 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2280 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2281 (aeabi_set_public_attributes): Memorize the feature bits of the
2282 architecture selected for Tag_CPU_arch. Use it to set
2283 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2284 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2285 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2286 * testsuite/gas/arm/arch7em-bad-1.d: This.
2287 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2288 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2289 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2290 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2291 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2292 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2293 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2294 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2296 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2298 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2299 allowed_archs an array with 2 entries.
2300 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2301 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2302 (arm_extensions): Use separate entries in allowed_archs when several
2303 archs are allowed to use an extension and change ARCH_ANY in
2304 ARM_ARCH_NONE in allowed_archs.
2305 (arm_parse_extension): Check that, for each allowed_archs entry, all
2306 bits are set in the current architecture, ignoring ARM_ANY entries.
2307 (s_arm_arch_extension): Likewise.
2309 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2311 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2312 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2313 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2314 shared with a non M profile architecture.
2315 (do_rn): New function.
2316 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2318 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2319 (insns): Add ARMv8-M Security Extensions instructions.
2320 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2321 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2322 * testsuite/gas/arm/archv8m-cmse.s: New file.
2323 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2324 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2325 * testsuite/gas/arm/any-cmse.d: Likewise.
2326 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2327 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2328 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2329 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2330 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2331 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2333 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2335 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2336 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2338 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2340 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2341 (fpu_arch_vfp_v3): Likewise.
2342 (fpu_arch_neon_v1): Likewise.
2343 (arm_arch_full): Likewise.
2344 (parse_neon_el_struct_list): Initialize fields of firsttype.
2346 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2348 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2349 (arc_extinsn): Handle new introduced syntax.
2350 * testsuite/gas/arc/textinsn1op.d: New file.
2351 * testsuite/gas/arc/textinsn1op.s: Likewise.
2352 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2354 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2356 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2357 DW_LNS_fixed_advance_pc.
2359 2016-04-27 Alan Modra <amodra@gmail.com>
2361 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2362 (xmemdup0): New inline function.
2364 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2366 * config/tc-mips.c (code_option_type): New enum.
2367 (parse_code_option): Return status indicating option type.
2368 (s_mipsset): Update `parse_code_option' call site accordingly.
2369 Always set register sizes from the ISA with ISA overrides.
2370 (s_module): Update `parse_code_option' call site.
2371 * testsuite/gas/mips/isa-override-1.d: New test.
2372 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2373 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2374 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2375 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2376 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2377 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2378 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2379 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2380 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2381 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2382 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2383 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2384 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2385 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2386 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2387 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2388 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2389 * testsuite/gas/mips/isa-override-2.l: New list test.
2390 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2391 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2392 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2393 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2394 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2395 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2396 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2397 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2398 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2399 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2400 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2402 * testsuite/gas/mips/isa-override-1.s: New test source.
2403 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2404 * testsuite/gas/mips/isa-override-2.s: New test source.
2405 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2406 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2407 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2408 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2409 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2410 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2411 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2412 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2413 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2414 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2415 * testsuite/gas/mips/mips.exp: Run the new tests.
2417 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2420 * config/tc-bfin.c: Likewise.
2421 * config/tc-ia64.c: Likewise.
2422 * config/tc-mep.c: Likewise.
2423 * config/tc-metag.c: Likewise.
2424 * config/tc-nios2.c: Likewise.
2425 * config/tc-rl78.c: Likewise.
2427 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2429 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2430 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2431 (ARC Directives): Add NPS400 to .cpu directive list.
2433 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2435 * config/tc-aarch64.c (aarch64_features): Add "ras".
2436 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2437 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2438 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2439 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2440 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2442 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2444 * testsuite/gas/arc/nps400-6.d: New file.
2445 * testsuite/gas/arc/nps400-6.s: New file.
2447 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2449 * testsuite/gas/arc/nps400-4.d: New file.
2450 * testsuite/gas/arc/nps400-4.s: New file.
2451 * testsuite/gas/arc/nps400-5.d: New file.
2452 * testsuite/gas/arc/nps400-5.s: New file.
2454 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2456 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2459 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2461 Revert prevous change.
2462 * config/tc-arc.c (arc_option): Make .cpu directive
2463 case-sensitive again.
2465 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2467 * config/tc-arc.c (arc_option): Make .cpu directive
2470 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2472 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2474 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2476 * config/tc-mips.c (md_begin): Remove useless assignment.
2478 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2480 * Makefile.in: Regenerated with automake 1.11.6.
2481 * aclocal.m4: Likewise.
2482 * doc/Makefile.in: Likewise.
2484 2016-04-15 Alan Modra <amodra@gmail.com>
2486 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2488 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2490 * config/tc-nios2.c (nios2_as_options): Make file static.
2491 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2492 * config/tc-sparc.c (native_op_table): Likewise.
2494 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2496 * config/tc-m32c.c (M32C_Macros): Remove.
2497 * config/tc-msp430.c (option_numbers): Likewise.
2499 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2501 * testsuite/gas/arc/nps400-3.d: New file.
2502 * testsuite/gas/arc/nps400-3.s: New file.
2504 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2506 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2507 * testsuite/gas/arc/warn.s: Likewise.
2508 * testsuite/gas/elf/elf.exp: Run test for arc.
2510 2016-04-14 Nick Clifton <nickc@redhat.com>
2513 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2514 sections possibly having the SHF_STRINGS flag bit set.
2515 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2517 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2519 * config/tc-arc.c (mach_type_specified_p): Change type to
2521 (arc_option): Set private flags when parsing cpu pseudo-op.
2522 (md_parse_option): Set mach_type_specified_p to TRUE.
2524 2016-04-13 Nick Clifton <nickc@redhat.com>
2527 * testsuite/gas/v850/pr19937.s: New test.
2528 * testsuite/gas/v850/pr19937.d: New test control file.
2529 * testsuite/gas/v850/basic.exp: Run the new test.
2531 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2532 Andrew Bennett <andrew.bennett@imgtec.com>
2534 * config/tc-mips.c (relaxed_branch_length): Use the long
2535 sequence where the target is a weak symbol.
2536 (relaxed_micromips_32bit_branch_length): Likewise.
2537 (relaxed_micromips_16bit_branch_length): Likewise.
2538 * testsuite/gas/mips/branch-weak-1.d: New test.
2539 * testsuite/gas/mips/branch-weak-2.d: New test.
2540 * testsuite/gas/mips/branch-weak-3.d: New test.
2541 * testsuite/gas/mips/branch-weak-4.d: New test.
2542 * testsuite/gas/mips/branch-weak-5.d: New test.
2543 * testsuite/gas/mips/branch-weak.l: New stderr output.
2544 * testsuite/gas/mips/branch-weak.s: New test source.
2545 * testsuite/gas/mips/mips.exp: Run the new tests.
2547 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2549 * config/tc-mips.c (relaxed_branch_length): Use the long
2550 sequence where the distance cannot be determined.
2551 (relaxed_micromips_32bit_branch_length): Likewise.
2552 * testsuite/gas/mips/branch-extern-1.d: New test.
2553 * testsuite/gas/mips/branch-extern-2.d: New test.
2554 * testsuite/gas/mips/branch-extern-3.d: New test.
2555 * testsuite/gas/mips/branch-extern-4.d: New test.
2556 * testsuite/gas/mips/branch-extern.l: New stderr output.
2557 * testsuite/gas/mips/branch-extern.s: New test source.
2558 * testsuite/gas/mips/branch-section-1.d: New test.
2559 * testsuite/gas/mips/branch-section-2.d: New test.
2560 * testsuite/gas/mips/branch-section-3.d: New test.
2561 * testsuite/gas/mips/branch-section-4.d: New test.
2562 * testsuite/gas/mips/branch-section.l: New stderr output.
2563 * testsuite/gas/mips/branch-section.s: New test source.
2564 * testsuite/gas/mips/mips.exp: Run the new tests.
2566 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2568 * testsuite/gas/arc/textauxregister.d: New file.
2569 * testsuite/gas/arc/textauxregister.s: Likewise.
2570 * testsuite/gas/arc/textcondcode.d: Likewise.
2571 * testsuite/gas/arc/textcondcode.s: Likewise.
2572 * testsuite/gas/arc/textcoreregister.d: Likewise.
2573 * testsuite/gas/arc/textcoreregister.s: Likewise.
2574 * testsuite/gas/arc/textpseudoop.d: Likewise.
2575 * testsuite/gas/arc/textpseudoop.s: Likewise.
2576 * testsuite/gas/arc/ld2.d: Update test.
2577 * testsuite/gas/arc/st.d: Likewise.
2578 * testsuite/gas/arc/taux.d: Likewise.
2579 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2580 .extCoreRegister and .extAuxRegister documentation.
2581 * config/tc-arc.c (arc_extcorereg): New function.
2582 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2583 .extAuxRegister pseudo-ops.
2584 (extRegister_t): New type.
2585 (ext_condcode, arc_aux_hash): New global variable.
2586 (find_opcode_match): Check for extensions.
2587 (preprocess_operands): Likewise.
2588 (md_begin): Add aux registers in a hash.
2589 (assemble_insn): Update use arc_flags member.
2590 (tokenize_extregister): New function.
2591 (create_extcore_section): Likewise.
2592 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2594 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2596 * testsuite/gas/arc/noargs_a7.d: New file.
2597 * testsuite/gas/arc/noargs_a7.s: Likewise.
2598 * testsuite/gas/arc/noargs_hs.d: Likewise.
2599 * testsuite/gas/arc/noargs_hs.s: Likewise.
2601 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2603 * testsuite/gas/arc/textinsn-errors.d: New File.
2604 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2605 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2606 * testsuite/gas/arc/textinsn2op.d: Likewise.
2607 * testsuite/gas/arc/textinsn2op.s: Likewise.
2608 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2609 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2610 * testsuite/gas/arc/textinsn3op.d: Likewise.
2611 * testsuite/gas/arc/textinsn3op.s: Likewise.
2612 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2614 * config/tc-arc.c (arcext_section): New variable.
2615 (arc_extinsn): New function.
2616 (md_pseudo_table): Add .extInstruction pseudo op.
2617 (attributes_t): New type.
2618 (suffixclass, syntaxclass, syntaxclassmod): New constant
2620 (find_opcode_match): Remove arc_num_opcodes.
2621 (md_begin): Likewise.
2622 (tokenize_extinsn): New function.
2623 (arc_set_ext_seg): Likewise.
2624 (create_extinst_section): Likewise.
2626 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2628 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2629 (arc_adjust_symtab): New function.
2630 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2631 (obj_adjust_symtab): Likewise.
2632 * testsuite/gas/arc/taux.d: New file.
2633 * testsuite/gas/arc/taux.s: Likewise.
2635 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2637 * config/tc-mips.c (s_option): Sanitize `.option picX'
2639 * testsuite/gas/mips/option-pic-1.d: New test.
2640 * testsuite/gas/mips/option-pic-2.l: New list test.
2641 * testsuite/gas/mips/option-pic-1.s: New test source.
2642 * testsuite/gas/mips/option-pic-2.s: New test source.
2643 * testsuite/gas/mips/mips.exp: Run the new tests.
2645 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2647 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2649 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2650 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2651 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2652 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2653 * testsuite/gas/mips/mips.exp: Run the new tests.
2655 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2657 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2659 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2661 * messages.c (as_bad): Fix a typo in description.
2663 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2665 * config/tc-mips.c (mips_check_options): Unify messages.
2667 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2669 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2672 2016-04-08 Nick Clifton <nickc@redhat.com>
2675 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2676 COFF and AOUT sparc targets.
2678 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2680 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2681 * testsuite/gas/arc/nps400-2.d: New file.
2682 * testsuite/gas/arc/nps400-2.s: New file.
2684 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2686 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2688 (arc_opcode_hash_entry_iterator_init): New function.
2689 (arc_opcode_hash_entry_iterator_next): New function.
2690 (find_opcode_match): Iterate over all arc_opcode entries
2691 referenced by the arc_opcode_hash_entry passed in as a parameter.
2693 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2695 * config/tc-arc.c (arc_find_opcode): Now returns
2696 arc_opcode_hash_entry pointer.
2697 (find_opcode_match): Update argument type, extract arc_opcode from
2698 incoming arc_opcode_hash_entry.
2699 (find_special_case_pseudo): Update return type.
2700 (find_special_case_flag): Update return type.
2701 (find_special_case): Update return type.
2702 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2703 instruction mnemonic, then use find_opcode_match to identify
2704 specific arc_opcode.
2706 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2708 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2709 (arc_find_opcode): New function.
2710 (find_special_case_pseudo): Use arc_find_opcode.
2711 (find_special_case_flag): Likewise.
2712 (assemble_tokens): Likewise.
2713 (md_begin): Build hash using struct arc_opcode_hash_entry.
2715 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2717 * config/tc-arc.c (arc_option): Prepare string for automatic
2719 (declare_register): Likewise.
2721 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2723 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2724 Correct entry for RDMA. Alpha sort entries.
2726 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2728 * config/tc-arc.c (tokenize_flags): Allow greater range of
2729 characters into flag names.
2731 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2733 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2735 (preprocess_operands): Delete.
2736 (assemble_tokens): Remove call to preprocess_operands.
2738 2016-04-07 Nick Clifton <nickc@redhat.com>
2741 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2742 inside a %-macro could not be fully parsed.
2743 * expr.c (integer_constant): Accept and ignore U suffixes to
2745 (operand): When a missing closing parenthesis is encountered,
2746 report the character that was found instead.
2747 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2748 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2749 * testsuite/gas/sparc/pr19910-1.s: New test.
2750 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2751 * testsuite/gas/sparc/pr19910-2.s: New test.
2752 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2754 2016-04-06 Nick Clifton <nickc@redhat.com>
2756 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2757 an EINT instruction. Warn/fix as necessary.
2758 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2759 * testsuite/gas/msp430/bad.l: Update expected messages.
2761 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2763 * testsuite/gas/arc/nps400-1.d: Update expected results.
2764 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2766 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2768 * config/tc-arc.c (is_code_density_p): Compare directly the
2770 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2771 (check_cpu_feature): New function.
2772 (find_opcode_match): Use check_cpu_feature function.
2773 (preprocess_operands): Likewise.
2774 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2775 * testsuite/gas/arc/tdpfp.d: New file.
2776 * testsuite/gas/arc/tfpuda.d: Likewise.
2777 * testsuite/gas/arc/tfpx.s: Likewise.
2779 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2781 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2782 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2783 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2784 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2785 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2786 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2787 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2788 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2790 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2792 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2794 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2795 JUMP instructions type.
2796 * testsuite/gas/arc/relocs-errors.d: New file.
2797 * testsuite/gas/arc/relocs-errors.err: Likewise.
2798 * testsuite/gas/arc/relocs-errors.s: Likewise.
2800 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2803 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2804 only if i.disp_encoding != disp_encoding_32bit.
2805 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2806 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2807 * gas/testsuite/gas/i386/disp32.d: Updated.
2808 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2810 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2813 * testsuite/gas/i386/i386.exp: Run pr19498.
2814 * testsuite/gas/i386/pr19498.d: New file.
2815 * testsuite/gas/i386/pr19498.s: Likewise.
2817 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2819 * config/tc-arc.h: Include 'opcode/arc.h'.
2820 (MAX_INSN_ARGS): Delete.
2821 (MAX_INSN_FLGS): Delete.
2823 2016-04-04 Alan Modra <amodra@gmail.com>
2826 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2827 from function on all paths that set sy_resolving.
2829 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2831 * app.c (app_push): use XNEW macro.
2833 * config/obj-elf.c (obj_elf_change_section): Likewise.
2834 (elf_copy_symbol_attributes): Likewise.
2835 (obj_elf_size): Likewise.
2836 (build_group_lists): Likewise.
2837 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2838 (md_assemble): Likewise.
2839 (tc_gen_reloc): Likewise.
2840 (get_upper_str): Likewise.
2841 (aarch64_parse_features): Likewise.
2842 * config/tc-arm.c (insert_reg_alias): Likewise.
2843 (insert_neon_reg_alias): Likewise.
2844 (find_or_make_literal_pool): Likewise.
2845 (s_arm_elf_cons): Likewise.
2846 (add_unwind_opcode): Likewise.
2847 (arm_parse_extension): Likewise.
2848 * config/tc-avr.c (create_record_for_frag): Likewise.
2849 * config/tc-crx.c: Likewise.
2850 * config/tc-d30v.c: Likewise.
2851 * config/tc-dlx.c (s_proc): Likewise.
2852 * config/tc-ft32.c: Likewise.
2853 * config/tc-h8300.c: Likewise.
2854 * config/tc-hppa.c (pa_proc): Likewise.
2855 (create_new_space): Likewise.
2856 (create_new_subspace): Likewise.
2857 * config/tc-i860.c: Likewise.
2858 * config/tc-i960.c: Likewise.
2859 * config/tc-ia64.c: Likewise.
2860 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2861 (iq2000_record_hi16): Likewise.
2862 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2863 * config/tc-m32r.c (debug_sym): Likewise.
2864 (m32r_record_hi16): Likewise.
2865 * config/tc-m68k.c (m68k_ip): Likewise.
2866 (md_begin): Likewise.
2867 * config/tc-mcore.c: Likewise.
2868 * config/tc-microblaze.c (check_got): Likewise.
2869 * config/tc-mips.c (append_insn): Likewise.
2870 (s_mipsset): Likewise.
2871 (mips_record_label): Likewise.
2872 (s_mips_end): Likewise.
2873 * config/tc-mmix.c (mmix_frob_file): Likewise.
2874 * config/tc-mn10200.c: Likewise.
2875 * config/tc-mn10300.c: Likewise.
2876 * config/tc-moxie.c: Likewise.
2877 * config/tc-msp430.c: Likewise.
2878 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2879 * config/tc-ns32k.c: Likewise.
2880 * config/tc-or1k.c: Likewise.
2881 * config/tc-pdp11.c: Likewise.
2882 * config/tc-pj.c (fake_opcode): Likewise.
2883 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2884 (ppc_macro): Likewise.
2885 (ppc_dwsect): Likewise.
2886 (ppc_machine): Likewise.
2887 * config/tc-rl78.c (rl78_frag_init): Likewise.
2888 * config/tc-rx.c (rx_frag_init): Likewise.
2889 * config/tc-s390.c (s390_lit_suffix): Likewise.
2890 (s390_machine): Likewise.
2891 (s390_machinemode): Likewise.
2892 * config/tc-score.c (s3_insert_reg): Likewise.
2893 (s3_gen_reloc): Likewise.
2894 * config/tc-score7.c (s7_insert_reg): Likewise.
2895 (s7_gen_reloc): Likewise.
2896 * config/tc-tic30.c (tic30_operand): Likewise.
2897 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2898 * config/tc-tic54x.c (stag_add_field): Likewise.
2899 (tic54x_struct): Likewise.
2900 (tic54x_space): Likewise.
2901 (tic54x_field): Likewise.
2902 (tic54x_mlib): Likewise.
2903 (subsym_substitute): Likewise.
2904 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2905 * config/tc-vax.c: Likewise.
2906 * config/tc-xc16x.c: Likewise.
2907 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2908 (directive_push): Likewise.
2909 (xtensa_begin_directive): Likewise.
2910 (tokenize_arguments): Likewise.
2911 (xtensa_add_literal_sym): Likewise.
2912 (new_resource_table): Likewise.
2913 (resize_resource_table): Likewise.
2914 (emit_single_op): Likewise.
2915 (xtensa_create_trampoline_frag): Likewise.
2916 (xtensa_maybe_create_literal_pool_frag): Likewise.
2917 (xtensa_add_config_info): Likewise.
2918 (xtensa_realloc_fixup_cache): Likewise.
2919 (add_subseg_info): Likewise.
2920 (cache_literal_section): Likewise.
2921 (add_xt_block_frags): Likewise.
2922 (add_xt_prop_frags): Likewise.
2923 (init_op_placement_info_table): Likewise.
2924 (build_section_rename): Likewise.
2925 * config/tc-z80.c: Likewise.
2926 * config/tc-z8k.c: Likewise.
2927 * depend.c (register_dependency): Likewise.
2928 * dwarf2dbg.c (get_line_subseg): Likewise.
2929 (dwarf2_gen_line_info_1): Likewise.
2930 (get_filenum): Likewise.
2931 * ecoff.c (allocate_scope): Likewise.
2932 (allocate_vlinks): Likewise.
2933 (allocate_shash): Likewise.
2934 (allocate_thash): Likewise.
2935 (allocate_tag): Likewise.
2936 (allocate_forward): Likewise.
2937 (allocate_thead): Likewise.
2938 (allocate_lineno_list): Likewise.
2939 * expr.c (make_expr_symbol): Likewise.
2940 * hash.c (hash_new_sized): Likewise.
2941 * input-file.c (input_file_push): Likewise.
2942 * listing.c (file_info): Likewise.
2943 (listing_newline): Likewise.
2944 * macro.c (new_formal): Likewise.
2945 (define_macro): Likewise.
2946 * remap.c (add_debug_prefix_map): Likewise.
2947 * symbols.c (symbol_find_noref): Likewise.
2948 (define_dollar_label): Likewise.
2949 (fb_label_instance_inc): Likewise.
2950 (symbol_relc_make_value): Likewise.
2952 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2954 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2955 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2956 (ppc_znop): Likewise.
2957 (ppc_pe_section): Likewise.
2958 (ppc_frob_symbol): Likewise.
2959 * config/tc-tic30.c (tic30_operand): Likewise.
2960 * config/tc-tic4x.c (tic4x_sect): Likewise.
2961 (tic4x_usect): Likewise.
2963 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2965 * config/tc-alpha.c: Const qualify FLT_CHARS.
2966 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2967 * config/tc-cris.h: Likewise.
2969 * config/tc-mmix.c (md_atof): Adjust comment.
2970 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2971 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2973 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2975 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2976 * config/tc-score7.c (s7_gen_reloc): Likewise.
2978 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2980 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2981 bfd_reloc_code_real_type.
2983 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2985 * config/bfin-parse.y (current_inputline): Remove definition.
2986 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2988 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2990 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2993 2016-04-02 Alan Modra <amodra@gmail.com>
2996 * read.c (assign_symbol): Consume rest of line after an error
2997 rather than continuing to process the line.
2999 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3001 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3002 (MAX_FLAG_NAME_LENGTH): ...this.
3003 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3004 * config/tc-arc.c (tokenize_flags): Likewise.
3006 2016-04-01 Alan Modra <amodra@gmail.com>
3008 * cgen.c (weak_operand_overflow_check): Return const char*.
3009 * messages.c (as_internal_value_out_of_range): Formatting.
3010 (as_warn_value_out_of_range): Consify prefix param.
3011 (as_bad_value_out_of_range): Likewise.
3012 * read.c (s_errwarn): Constify msg..
3013 (s_float_space, float_cons): ..and err.
3014 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3015 ieee_md_atof, vax_md_atof): Update prototypes.
3016 * tc.h (md_atof): Update prototype.
3017 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3018 * config/atof-vax.c (vax_md_atof): Likewise.
3019 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3020 * config/tc-aarch64.c (md_atof): Return const char*.
3021 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3022 (s_alpha_comm): Constify sec_name.
3023 (section_name): Constify.
3024 (s_alpha_section): Consify name..
3025 (alpha_elf_section_letter): ..and ptr_msg param..
3026 (md_atof): ..and return.
3027 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3028 * config/tc-arc.c (md_atof): Return const char*.
3029 * config/tc-arm.c (md_atof): Likewise.
3030 * config/tc-avr.c (md_atof): Likewise.
3031 * config/tc-bfin.c (md_atof): Likewise.
3032 * config/tc-cr16.c (md_atof): Likewise.
3033 * config/tc-cris.c (md_atof): Likewise.
3034 * config/tc-crx.c (md_atof): Likewise.
3035 * config/tc-d10v.c (md_atof): Likewise.
3036 * config/tc-d30v.c (md_atof): Likewise.
3037 * config/tc-dlx.c (md_atof): Likewise.
3038 * config/tc-epiphany.c (md_atof): Likewise.
3039 * config/tc-fr30.c (md_atof): Likewise.
3040 * config/tc-frv.c (md_atof): Likewise.
3041 * config/tc-ft32.c (md_atof): Likewise.
3042 * config/tc-h8300.c (md_atof): Likewise.
3043 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3044 (struct default_space_dict): Likewise.
3045 (create_new_space): Constify name param.
3046 (create_new_subspace): Likewise.
3047 (is_defined_space, is_defined_subspace): Likewise.
3048 (pa_parse_space_stmt): Constify space_name param.
3049 (md_atof): Return const char*.
3050 (pa_spaces_begin): Constify name.
3051 * config/tc-i370.c (md_atof): Return const char*.
3052 * config/tc-i386.c (md_atof): Likewise.
3053 (x86_64_section_letter): Constify ptr_msg param.
3054 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3055 * config/tc-i860.c (struct i860_it): Constify error.
3056 (md_atof): Return const char*.
3057 * config/tc-i960.c (md_atof): Likewise.
3058 * config/tc-ia64.c (md_atof): Likewise.
3059 (ia64_elf_section_letter): Constify ptr_msg param.
3060 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3061 * config/tc-ip2k.c (md_atof): Return const char*.
3062 * config/tc-iq2000.c (md_atof): Likewise.
3063 * config/tc-lm32.c (md_atof): Likewise.
3064 * config/tc-m32c.c (md_atof): Likewise.
3065 * config/tc-m32r.c (md_atof): Likewise.
3066 * config/tc-m68hc11.c (md_atof): Likewise.
3067 * config/tc-m68k.c (md_atof): Likewise.
3068 * config/tc-mcore.c (md_atof): Likewise.
3069 * config/tc-mep.c (md_atof): Likewise.
3070 (mep_elf_section_letter): Constify ptr_msg param.
3071 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3072 * config/tc-metag.c (md_atof): Return const char*.
3073 * config/tc-microblaze.c (md_atof): Likewise.
3074 * config/tc-microblaze.h (md_atof): Delete prototype.
3075 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3076 (md_atof): Return const char*.
3077 * config/tc-mmix.c (md_atof): Likewise.
3078 * config/tc-mn10200.c (md_atof): Likewise.
3079 * config/tc-mn10300.c (md_atof): Likewise.
3080 * config/tc-moxie.c (md_atof): Likewise.
3081 * config/tc-msp430.c (md_atof): Likewise.
3082 * config/tc-mt.c (md_atof): Likewise.
3083 * config/tc-nds32.c (md_atof): Likewise.
3084 * config/tc-nios2.c (md_atof): Likewise.
3085 (nios2_elf_section_letter): Constify ptr_msg param.
3086 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3087 * config/tc-ns32k.c (md_atof): Return const char*.
3088 * config/tc-or1k.c (md_atof): Likewise.
3089 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3090 (md_atof): Return const char*.
3091 * config/tc-pj.c (md_atof): Likewise.
3092 * config/tc-ppc.c (md_atof): Likewise.
3093 * config/tc-rl78.c (md_atof): Likewise.
3094 * config/tc-rx.c (md_atof): Likewise.
3095 * config/tc-s390.c (md_atof): Likewise.
3096 * config/tc-score.c (s3_atof, md_atof): Likewise.
3097 * config/tc-sh.c (md_atof): Likewise.
3098 * config/tc-sparc.c (struct sparc_it): Constify error.
3099 (md_atof): Return const char*.
3100 * config/tc-spu.c (md_atof): Likewise.
3101 * config/tc-tic30.c (md_atof): Likewise.
3102 * config/tc-tic4x.c (md_atof): Likewise.
3103 * config/tc-tic54x.c (md_atof): Likewise.
3104 * config/tc-tic6x.c (md_atof): Likewise.
3105 * config/tc-tilegx.c (md_atof): Likewise.
3106 * config/tc-tilepro.c (md_atof): Likewise.
3107 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3108 * config/tc-vax.c (md_atof): Likewise.
3109 * config/tc-visium.c (md_atof): Likewise.
3110 * config/tc-xc16x.c (md_atof): Likewise.
3111 * config/tc-xgate.c (md_atof): Likewise.
3112 * config/tc-xstormy16.c (md_atof): Likewise.
3113 * config/tc-xtensa.c (md_atof): Likewise.
3114 * config/tc-z80.c (md_atof): Likewise.
3115 * config/tc-z8k.c (md_atof): Likewise.
3117 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3119 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3121 (xtensa_section_rename): Make argument type const char *.
3122 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3124 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3126 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3129 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3131 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3133 (m32c_indirect_operand): Likewise.
3134 * config/tc-nds32.c (do_pseudo_b): Likewise.
3135 (do_pseudo_bal): Likewise.
3136 (do_pseudo_ls_bhw): Likewise.
3138 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3140 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3142 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3144 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3146 * config/tc-sparc.c (s_register): Cast a literal to char * in
3149 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3151 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3153 * config/tc-m32r.c (expand_debug_syms): Likewise.
3154 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3155 * config/tc-z80.c (md_begin): Likewise.
3156 * stabs.c (stabs_generate_asm_func): Likewise.
3158 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3160 * cgen.c: Modernize the way functions declare arguments.
3161 * config/tc-bfin.c: Likewise.
3162 * config/tc-pdp11.c: Likewise.
3163 * literal.c: Likewise.
3165 * stabs.c: Likewise.
3167 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3169 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3170 variables unsigned char[].
3171 * config/tc-alpha.c (alpha_handle_align): Likewise.
3172 * config/tc-arm.c (arm_handle_align): Likewise.
3173 * config/tc-z80.c: Likewise.
3175 2016-03-30 Nick Clifton <nickc@redhat.com>
3178 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3181 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3183 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3184 * testsuite/gas/elf/elf.exp: Likewise.
3185 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3187 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3189 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3191 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3193 * testsuite/gas/arc/ext2op.d: New file.
3194 * testsuite/gas/arc/ext2op.s: Likewise.
3195 * testsuite/gas/arc/ext3op.d: Likewise.
3196 * testsuite/gas/arc/ext3op.s: Likewise.
3198 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3200 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3202 * config/tc-alpha.c (md_parse_option): Likewise.
3203 * config/tc-arc.c (md_parse_option): Likewise.
3204 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3205 (md_parse_option): Likewise.
3206 * config/tc-avr.c (md_parse_option): Likewise.
3207 * config/tc-bfin.c (md_parse_option): Likewise.
3208 * config/tc-cr16.c (md_parse_option): Likewise.
3209 * config/tc-cris.c (s_cris_arch): Likewise.
3210 (md_parse_option): Likewise.
3211 * config/tc-crx.c (md_parse_option): Likewise.
3212 * config/tc-d10v.c (md_parse_option): Likewise.
3213 * config/tc-d30v.c (md_parse_option): Likewise.
3214 * config/tc-dlx.c (md_parse_option): Likewise.
3215 * config/tc-epiphany.c (md_parse_option): Likewise.
3216 * config/tc-fr30.c (md_parse_option): Likewise.
3217 * config/tc-frv.c (md_parse_option): Likewise.
3218 * config/tc-ft32.c (md_parse_option): Likewise.
3219 * config/tc-h8300.c (md_parse_option): Likewise.
3220 * config/tc-hppa.c (md_parse_option): Likewise.
3221 * config/tc-i370.c (md_parse_option): Likewise.
3222 * config/tc-i386.c (md_parse_option): Likewise.
3223 * config/tc-i860.c (md_parse_option): Likewise.
3224 * config/tc-i960.c (md_parse_option): Likewise.
3225 * config/tc-ia64.c (md_parse_option): Likewise.
3226 * config/tc-ip2k.c (md_parse_option): Likewise.
3227 * config/tc-iq2000.c (md_parse_option): Likewise.
3228 * config/tc-lm32.c (md_parse_option): Likewise.
3229 * config/tc-m32c.c (md_parse_option): Likewise.
3230 * config/tc-m32r.c (md_parse_option): Likewise.
3231 * config/tc-m68hc11.c (md_parse_option): Likewise.
3232 * config/tc-m68k.c (md_parse_option): Likewise.
3233 * config/tc-mcore.c (md_parse_option): Likewise.
3234 * config/tc-mep.c (md_parse_option): Likewise.
3235 * config/tc-metag.c (struct metag_long_option): Likewise.
3236 (md_parse_option): Likewise.
3237 * config/tc-microblaze.c (md_parse_option): Likewise.
3238 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3239 * config/tc-mips.c (md_parse_option): Adjust.
3240 * config/tc-mmix.c (md_parse_option): Likewise.
3241 * config/tc-mn10200.c (md_parse_option): Likewise.
3242 * config/tc-mn10300.c (md_parse_option): Likewise.
3243 * config/tc-moxie.c (md_parse_option): Likewise.
3244 * config/tc-msp430.c (md_parse_option): Likewise.
3245 * config/tc-mt.c (md_parse_option): Likewise.
3246 * config/tc-nds32.c (md_parse_option): Likewise.
3247 * config/tc-nds32.h (nds32_parse_option): Likewise.
3248 * config/tc-nios2.c (md_parse_option): Likewise.
3249 * config/tc-ns32k.c (md_parse_option): Likewise.
3250 * config/tc-or1k.c (md_parse_option): Likewise.
3251 * config/tc-pdp11.c (md_parse_option): Likewise.
3252 * config/tc-pj.c (md_parse_option): Likewise.
3253 * config/tc-ppc.c (md_parse_option): Likewise.
3254 * config/tc-rl78.c (md_parse_option): Likewise.
3255 * config/tc-rx.c (md_parse_option): Likewise.
3256 * config/tc-s390.c (s390_parse_cpu): Likewise.
3257 * config/tc-score.c (md_parse_option): Likewise.
3258 * config/tc-sh.c (md_parse_option): Likewise.
3259 * config/tc-sparc.c (md_parse_option): Likewise.
3260 * config/tc-spu.c (md_parse_option): Likewise.
3261 * config/tc-tic30.c (md_parse_option): Likewise.
3262 * config/tc-tic4x.c (md_parse_option): Likewise.
3263 * config/tc-tic54x.c (md_parse_option): Likewise.
3264 * config/tc-tic6x.c (md_parse_option): Likewise.
3265 * config/tc-tilegx.c (md_parse_option): Likewise.
3266 * config/tc-tilepro.c (md_parse_option): Likewise.
3267 * config/tc-v850.c (md_parse_option): Likewise.
3268 * config/tc-vax.c (md_parse_option): Likewise.
3269 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3270 * config/tc-xc16x.c (md_parse_option): Likewise.
3271 * config/tc-xgate.c (md_parse_option): Likewise.
3272 * config/tc-xstormy16.c (md_parse_option): Likewise.
3273 * config/tc-xtensa.c (md_parse_option): Likewise.
3274 * config/tc-z80.c (md_parse_option): Likewise.
3275 * config/tc-z8k.c (md_parse_option): Likewise.
3276 * tc.h (md_parse_option): Likewise.
3278 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3280 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3281 * config/tc-hppa.c (fix_new_hppa): Likewise.
3282 (pa_vtable_entry): Likewise.
3283 (pa_vtable_inherit): Likewise.
3284 * config/tc-m68k.c (md_begin): Likewise.
3286 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3288 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3289 * config/obj-elf.h (obj_elf_section_name): Adjust.
3290 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3291 (aarch64_parse_cpu): Likewise.
3292 (aarch64_parse_arch): Likewise.
3293 * config/tc-arm.c (arm_parse_extension): Likewise.
3294 (arm_parse_cpu): Likewise.
3295 (arm_parse_arch): Likewise.
3296 * config/tc-nds32.c: Likewise.
3297 * config/xtensa-relax.c (parse_special_fn): Likewise.
3298 * stabs.c (generate_asm_file): Likewise.
3300 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3302 * config/tc-cr16.c (cr16_assemble): New function.
3303 (md_assemble): Call cr16_assemble.
3305 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3307 * as.c (parse_args): Adjust.
3308 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3309 * config/obj-elf.c (elf_frob_symbol): Adjust.
3311 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3313 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3314 registers to be in the 16..31 range.
3316 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3318 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3321 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3323 * config/tc-visium.c (md_atof): Localize the string returned on
3326 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3328 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3329 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3330 * config/tc-m68hc11.c (md_begin): Likewise.
3331 (print_opcode_list): Likewise.
3332 * config/tc-msp430.c (msp430_section): Likewise.
3333 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3334 (s3_build_dependency_insn_hsh): Likewise.
3335 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3336 (s7_build_dependency_insn_hsh): Likewise.
3337 * config/tc-tic4x.c: Likewise.
3338 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3339 (subsym_get_arg): Likewise.
3340 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3341 (get_directive): Likewise.
3342 (cache_literal_section): Likewise.
3343 * config/xtensa-relax.c: Likewise.
3344 * symbols.c (symbol_create): Likewise.
3345 (local_symbol_make): Likewise.
3346 (symbol_relc_make_expr): Likewise.
3348 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3350 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3353 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3355 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3358 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3360 * config/tc-ia64.c (ia64_do_align): Remove.
3361 (ia64_cons_align): Call do_align () directly.
3362 (dot_proc): Likewise.
3363 (stmt_float_cons): Likewise.
3365 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3367 * listing.c (listing_message): Use XNEW style allocation macros.
3368 * read.c (read_a_source_file): Likewise.
3369 (read_symbol_name): Likewise.
3370 (s_mri_common): Likewise.
3371 (assign_symbol): Likewise.
3372 (s_reloc): Likewise.
3373 (emit_expr_with_reloc): Likewise.
3374 (s_incbin): Likewise.
3375 (s_include): Likewise.
3376 * sb.c (sb_build): Likewise.
3377 (sb_check): Likewise.
3379 2016-03-22 Alan Modra <amodra@gmail.com>
3381 * write.c (record_alignment): Revert 2016-02-18 change.
3383 2016-03-22 Alan Modra <amodra@gmail.com>
3385 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3386 (emit_jsrjmp, tc_gen_reloc): Likewise.
3387 * config/tc-i370.c (i370_macro): Likewise.
3389 2016-03-22 Nick Clifton <nickc@redhat.com>
3391 * configure: Regenerate.
3393 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3395 * testsuite/gas/arc/nps400-0.d: New file.
3396 * testsuite/gas/arc/nps400-0.s: New file.
3397 * testsuite/gas/arc/nps400-1.d: New file.
3398 * testsuite/gas/arc/nps400-1.s: New file.
3400 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3402 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3403 declarations to start of block. Reset code on all flags before
3404 attempting to match them. Handle multiple hits on the same flag.
3406 * testsuite/gas/arc/asm-errors.d: New file.
3407 * testsuite/gas/arc/asm-errors.err: New file.
3408 * testsuite/gas/arc/asm-errors.s: New file.
3410 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3412 * config/tc-arc.c (cpu_types): Add nps400 entry.
3413 (check_zol): Handle nps400.
3415 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3417 * config/tc-arc.c (arc_select_cpu): Remove use of
3420 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3422 * config/tc-arc.c (arc_target): Delay initialisation until
3424 (arc_target_name): Likewise.
3425 (arc_features): Likewise.
3426 (arc_mach_type): Likewise.
3427 (cpu_types): Remove "all" entry.
3428 (arc_select_cpu): New function, most of the content is from...
3429 (md_parse_option): ... here. Call new arc_select_cpu.
3430 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3432 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3434 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3435 * testsuite/gas/arc/inline-data-2.d: New file.
3437 2016-03-21 Nick Clifton <nickc@redhat.com>
3439 * atof-generic.c: Replace use of alloca with call to xmalloc.
3441 * dwarf2dbg.c: Likewise.
3442 * macro.c: Likewise.
3443 * remap.c: Likewise.
3444 * stabs.c: Likewise.
3445 * symbols.c: Likewise.
3446 * config/obj-elf.c: Likewise.
3447 * config/tc-aarch64.c: Likewise.
3448 * config/tc-arc.c: Likewise.
3449 * config/tc-arm.c: Likewise.
3450 * config/tc-avr.c: Likewise.
3451 * config/tc-ia64.c: Likewise.
3452 * config/tc-mips.c: Likewise.
3453 * config/tc-msp430.c: Likewise.
3454 * config/tc-nds32.c: Likewise.
3455 * config/tc-ppc.c: Likewise.
3456 * config/tc-sh.c: Likewise.
3457 * config/tc-tic30.c: Likewise.
3458 * config/tc-tic54x.c: Likewise.
3459 * config/tc-xstormy16.c: Likewise.
3460 * config/te-vms.c: Likewise.
3461 * configure: Regenerate.
3463 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3465 * tc-i386.c (f32_1): Change type to unsigned char[].
3485 (jump_31): Likewise.
3486 (f32_patt): Likewise.
3487 (f16_patt): Likewise.
3496 (alt_patt): Likewise.
3498 2016-03-18 Nick Clifton <nickc@redhat.com>
3500 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3501 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3502 .tlsdescldr and .xword directives.
3505 * testsuite/gas/aarch64/pr19721.s: New test source file.
3506 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3508 * doc/as.texinfo: Place the target specific command line options
3509 into their own man page section.
3511 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3513 * config/tc-arm.c (N_S_32): New.
3514 (N_F_16_32): Likewise.
3515 (N_SUF_32): Support N_F16.
3516 (N_IF_32): Likewise.
3517 (neon_dyadic_misc): Likewise.
3518 (do_neon_cmp): Likewise.
3519 (do_neon_cmp_inv): Likewise.
3520 (do_neon_mul): Likewise.
3521 (do_neon_fcmp_absolute): Likewise.
3522 (do_neon_step): Likewise.
3523 (do_neon_abs_neg): Likewise.
3524 (CVT_FLAVOR_VAR): Likewise.
3525 (do_neon_cvt_1): Likewise.
3526 (do_neon_recip_est): Likewise.
3527 (do_vmaxnm): Likewise.
3528 (do_vrint_1): Likewise.
3529 (neon_check_type): Check architecture support for FP16 extension.
3530 (insns): Update comments.
3531 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3532 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3533 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3534 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3536 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3538 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3541 2016-03-16 Nick Clifton <nickc@redhat.com>
3543 * read.c (emit_expr_with_reloc): Add code check a bignum with
3545 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3547 * testsuite/gas/elf/bignum.s: New test source file.
3548 * testsuite/gas/elf/bignum.d: New test driver file.
3549 * testsuite/gas/elf/elf.exp: Run the new test.
3551 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3553 * doc/c-i386.texi (Register Naming): Update to details of the
3554 latest architecture version.
3556 2016-03-10 Mickael Guene <mickael.guene@st.com>
3559 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3561 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3562 (do_t_mov_cmp): Likewise.
3563 (do_t_add_sub): Protect against bad relocations usage.
3564 (do_t_mov_cmp): Likewise.
3565 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3566 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3567 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3568 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3570 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3572 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3574 (do_neon_ld_st_lane): Likewise.
3575 (do_neon_ld_dup): Likewise.
3577 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3579 * testsuite/gas/arc/inline-data-1.d: New file.
3580 * testsuite/gas/arc/inline-data-1.s: New file.
3582 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3584 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3585 * doc/c-arm.texi: Add cortex-r8.
3587 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3589 * config/tc-arc.c: Add const qualifiers.
3590 * config/tc-h8300.c (md_begin): Likewise.
3591 * config/tc-ia64.c (print_prmask): Likewise.
3592 * config/tc-msp430.c (msp430_operands): Likewise.
3593 * config/tc-nds32.c (struct suffix_name): Likewise.
3594 (struct nds32_parse_option_table): Likewise.
3595 (struct nds32_set_option_table): Likewise.
3596 (do_pseudo_pushpopm): Likewise.
3597 (do_pseudo_pushpop_stack): Likewise.
3598 (nds32_relax_relocs): Likewise.
3599 (nds32_flag): Likewise.
3600 (struct nds32_hint_map): Likewise.
3601 (nds32_find_reloc_table): Likewise.
3602 (nds32_match_hint_insn): Likewise.
3603 * config/tc-s390.c: Likewise.
3604 * config/tc-sh.c (get_specific): Likewise.
3605 * config/tc-tic30.c: Likewise.
3606 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3607 (tic4x_indirect_parse): Likewise.
3608 * config/tc-vax.c (vax_cons): Likewise.
3609 * config/tc-z80.c (struct reg_entry): Likewise.
3610 * config/tc-epiphany.c (md_assemble): Adjust.
3611 (epiphany_assemble): New function.
3612 (epiphany_elf_section_rtn): Call do_align directly.
3613 (epiphany_elf_section_text): Likewise.
3614 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3615 (ip2k_elf_section_text): Likewise.
3616 * read.c (do_align): Make it not static.
3617 * read.h (do_align): New prototype.
3619 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3621 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3622 for ARMv8.1 AdvSIMD use.
3623 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3624 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3626 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3628 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3630 (record_feature_use): New.
3631 (mark_feature_used): Use record_feature_use.
3632 (do_neon_qrdmlah): New.
3633 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3635 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3636 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3637 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3638 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3639 Make source file explicit.
3640 * testsuite/gas/arm/armv8-a+rdma.l: New.
3641 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3642 directives. Fix white-space.
3643 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3645 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3647 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3649 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3650 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3652 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3653 (tc_arc_fix_adjustable): Changed default return value to 1.
3654 * testsuite/gas/arc/j.d: Updated expected symbol
3655 * testsuite/gas/arc/jl.d: Likewise
3656 * testsuite/gas/arc/relax-avoid1.d: Likewise
3657 * testsuite/gas/arc/st.d: Likewise
3659 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3661 * config/tc-arc.c: Enable code density instructions for ARC EM.
3663 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3666 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3668 * as.c (flag_use_elf_stt_common): New.
3669 (show_usage): Add --elf-stt-common=.
3670 (option_values): Add OPTION_ELF_STT_COMMON.
3671 (std_longopts): Add --elf-stt-common=.
3672 (parse_args): Handle --elf-stt-common=.
3673 * as.h (flag_use_elf_stt_common): New.
3674 * config.in: Regenerated.
3675 * configure: Likewise.
3676 * configure.ac: Add --enable-elf-stt-common and define
3677 DEFAULT_GENERATE_ELF_STT_COMMON.
3678 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3679 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3680 * doc/as.texinfo: Document --elf-stt-common=.
3681 * testsuite/gas/elf/common3.s: New file.
3682 * testsuite/gas/elf/common3a.d: Likewise.
3683 * testsuite/gas/elf/common3b.d: Likewise.
3684 * testsuite/gas/elf/common4.s: Likewise.
3685 * testsuite/gas/elf/common4a.d: Likewise.
3686 * testsuite/gas/elf/common4b.d: Likewise.
3687 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3688 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3689 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3691 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3692 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3693 --elf-stt-common=no to as.
3694 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3695 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3696 --elf-stt-common=no to as.
3697 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3698 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3699 of dw2-compress-3 and dw2-compressed-3.
3701 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3703 * as.c (select_emulation_mode): Add const qualifiers.
3705 * config/bfin-defs.h: Likewise.
3706 * config/bfin-parse.y: Likewise.
3707 * config/rx-parse.y: Likewise.
3708 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3709 (struct aarch64_cpu_option_table): Likewise.
3710 (struct aarch64_arch_option_table): Likewise.
3711 (struct aarch64_option_cpu_value_table): Likewise.
3712 (struct aarch64_long_option_table): Likewise.
3713 (struct aarch64_option_abi_value_table): Likewise.
3714 * config/tc-arm.c (struct reloc_entry): Likewise.
3715 (tc_gen_reloc): Likewise.
3716 (struct arm_option_table): Likewise.
3717 (struct arm_legacy_option_table): Likewise.
3718 (struct arm_cpu_option_table): Likewise.
3719 (struct arm_arch_option_table): Likewise.
3720 (struct arm_option_extension_value_table): Likewise.
3721 (struct arm_option_fpu_value_table): Likewise.
3722 (struct arm_option_value_table): Likewise.
3723 (struct arm_long_option_table): Likewise.
3724 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3725 (struct mcu_type_s): Likewise.
3726 (struct exp_mod_s): Likewise.
3727 (avr_operand): Likewise.
3728 (avr_operands): Likewise.
3729 * config/tc-d10v.c (md_begin): Likewise.
3730 * config/tc-dlx.c: Likewise.
3731 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3732 * config/tc-ft32.c (parse_condition): Likewise.
3733 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3734 * config/tc-hppa.c (pa_ip): Likewise.
3735 (hppa_regname_to_dw2regnum): Likewise.
3736 * config/tc-i370.c (i370_elf_suffix): Likewise.
3737 * config/tc-i960.c (struct tabentry): Likewise.
3738 * config/tc-m32r.c: Likewise.
3739 * config/tc-m68k.c: Likewise.
3740 * config/tc-m68k.h: Likewise.
3741 * config/tc-mcore.c (parse_psrmod): Likewise.
3742 * config/tc-metag.c (struct metag_core_option): Likewise.
3743 (struct metag_long_option): Likewise.
3744 * config/tc-microblaze.c: Likewise.
3745 * config/tc-mips.c (macro): Likewise.
3746 * config/tc-mn10200.c: Likewise.
3747 * config/tc-mn10300.c: Likewise.
3748 * config/tc-msp430.c (struct rcodes_s): Likewise.
3749 (struct hcodes_s): Likewise.
3750 (md_parse_option): Likewise.
3751 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3752 (optlist): Likewise.
3753 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3754 (tc_ppc_regname_to_dw2regnum): Likewise.
3755 * config/tc-ppc.h: Likewise.
3756 * config/tc-rl78.c: Likewise.
3757 * config/tc-rx.c (struct cpu_type): Likewise.
3758 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3759 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3760 (sparc_ip): Likewise.
3761 * config/tc-spu.c (insn_fmt_string): Likewise.
3762 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3763 * config/tc-v850.c: Likewise.
3764 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3765 (struct visium_long_option_table): Likewise.
3766 * config/tc-xgate.c: Likewise.
3767 * config/tc-z8k.c: Likewise.
3768 * read.c (add_include_dir): Likewise.
3771 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3773 * testsuite/gas/all/gas.exp: Change target pattern to cover
3775 * testsuite/gas/all/redef3.d: Likewise.
3776 * testsuite/gas/elf/elf.exp: Likewise.
3778 2016-02-24 Renlin Li <renlin.li@arm.com>
3780 * config/tc-arm.c (BAD_FP16): New error message macro.
3781 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3782 fp16 scalar instructions.
3783 (neon_check_type): Allow different size from key.
3784 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3785 (try_vfp_nsyn): Likewise.
3786 (do_vfp_nsyn_mla_mls): Likewise.
3787 (do_vfp_nsyn_fma_fms): Likewise.
3788 (do_vfp_nsyn_ldm_stm): Likewise
3789 (do_vfp_nsyn_sqrt): Likewise
3790 (do_vfp_nsyn_div): Likewise
3791 (do_vfp_nsyn_nmul): Likewise.
3792 (do_vfp_nsyn_cmp): Likewise.
3793 (do_neon_shll): Likewise.
3794 (do_vfp_nsyn_cvt_fpv8): Likewise.
3795 (do_neon_cvttb_2): Likewise.
3796 (do_neon_mov): Likewise.
3797 (do_neon_rshift_round_imm): Likewise.
3798 (do_neon_ldr_str): Likewise.
3799 (do_vfp_nsyn_fpv8): Likewise.
3800 (do_vmaxnm): Likewise.
3801 (do_vrint_1): Likewise.
3802 (insns): New entry for vins, vmovx.
3803 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3804 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3805 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3806 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3807 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3808 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3809 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3811 2016-02-24 Renlin Li <renlin.li@arm.com>
3813 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3814 (neon_shape_class): New SC_HALF.
3815 (neon_shape_el): New SE_H.
3816 (neon_shape_el_size): New size for SE_H.
3817 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3818 (neon_select_shape): Add SE_H support code.
3819 (el_type_of_type_chk): Use N_F_ALL.
3820 (do_vfp_nsyn_cvt): Add SE_H shape support.
3821 (do_neon_cvtz): Likewise.
3822 (do_neon_cvt_1): Likewise.
3823 (do_neon_cvttb_1): Likewise.
3825 2016-02-24 Renlin Li <renlin.li@arm.com>
3827 * testsuite/gas/arm/copro.d: Adjust output.
3828 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3830 2016-02-24 Renlin Li <renlin.li@arm.com>
3832 * testsuite/gas/arm/mask_1.d: New.
3833 * testsuite/gas/arm/mask_1.s: New.
3835 2016-02-24 Renlin Li <renlin.li@arm.com>
3837 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3838 * testsuite/gas/arm/copro.d: Update.
3840 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3842 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3843 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3845 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3847 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3849 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3851 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3854 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3856 * output-file.c (output_file_create): Make file name argument const.
3857 (output_file_close): Likewise.
3858 * output-file.h (output_file_create): Adjust.
3859 (output_file_close): Likewise.
3860 * depend.c (quote_string_for_make): Make src argument const char *.
3861 (register_dependency): Likewise.
3862 (wrap_output): Likewise.
3863 * as.h (register_dependency): Adjust.
3864 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3866 * symbols.c (S_SET_EXTERNAL): Likewise.
3867 * input-scrub.c (as_where): Return the file name.
3868 * as.h (as_where): Adjust prototype.
3869 * app.c (do_scrub_chars): Adjust.
3870 * cond.c (s_elseif): Likewise.
3872 (initialize_cframe): Likewise.
3873 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3874 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3875 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3876 * config/tc-aarch64.c (output_info): Likewise.
3877 * config/tc-ia64.c (md_assemble): Likewise.
3878 (dot_alias): Likewise.
3879 * config/tc-m68k.c (m68k_frob_label): Likewise.
3880 * config/tc-mmix.c (s_bspec): Likewise.
3881 (mmix_handle_mmixal): Likewise.
3882 * config/tc-rx.c (rx_include): Likewise.
3883 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3884 (tic54x_adjust_symtab): Likewise.
3885 * config/tc-xtensa.c (directive_push): Likewise.
3886 (xtensa_sanity_check): Likewise.
3887 (xtensa_relax_frag): Likewise.
3888 (md_convert_frag): Likewise.
3889 (tinsn_to_slotbuf): Likewise.
3890 * dwarf2dbg.c (dwarf2_where): Likewise.
3891 * ecoff.c (add_file): Likewise.
3892 (ecoff_generate_asm_lineno): Likewise.
3893 * expr.c (make_expr_symbol): Likewise.
3894 * frags.c (frag_new): Likewise.
3895 (frag_var_init): Likewise.
3896 * listing.c (listing_newline): Likewise.
3897 * messages.c (identify): Likewise.
3898 (as_show_where): Likewise.
3899 (as_warn_internal): Likewise.
3900 (as_bad_internal): Likewise.
3901 * read.c (s_irp): Likewise.
3902 (s_macro): Likewise.
3903 (s_reloc): Likewise.
3904 * stabs.c (stabs_generate_asm_file): Likewise.
3905 (stabs_generate_asm_lineno): Likewise.
3906 (stabs_generate_asm_func): Likewise.
3907 * write.c (fix_new_internal): Likewise.
3908 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3909 (as_warn_value_out_of_range): Adjust prototype.
3910 (as_bad_value_out_of_range): Adjust prototype.
3911 * messages.c (identify): Make file name argument const char *.
3912 (as_warn_internal): Likewise.
3913 (as_warn_where): Likewise.
3914 (as_bad_internal): Likewise.
3915 (as_bad_where): Likewise.
3916 (as_internal_value_out_of_range): Likewise.
3917 (as_warn_value_out_of_range): Likewise.
3918 (as_bad_value_out_of_range): Likewise.
3919 * as.h (found_comment_file): Change type to const char *.
3920 * cond.c (file_line::file): Likewise.
3921 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3922 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3923 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3924 * config/tc-aarch64.c (output_info): Likewise.
3925 * config/tc-alpha.c (insert_operand): Likewise.
3926 * config/tc-arc.c (insert_operand): Likewise.
3927 * config/tc-d30v.c (check_size): Likewise.
3928 * config/tc-ia64.c (struct alias): Likewise.
3929 * config/tc-m68k.c (struct label_line): Likewise.
3930 * config/tc-mcore.c (md_apply_fix): Likewise.
3931 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3932 * config/tc-mips.c (mips16_immed): Likewise.
3933 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3934 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3935 * config/tc-rx.c (rx_include): Likewise.
3936 * config/tc-s390.c (s390_insert_operand): Likewise.
3937 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3938 (tic54x_adjust_symtab): Likewise.
3939 * config/tc-tilegx.c (insert_operand): Likewise.
3940 (apply_special_operator): Likewise.
3941 * config/tc-tilepro.c (insert_operand): Likewise.
3942 * config/tc-xtensa.c (directive_push): Likewise.
3943 * ecoff.c (add_file): Likewise.
3944 (ecoff_generate_asm_lineno): Likewise.
3945 * listing.c (listing_newline): Likewise.
3946 * read.c (s_irp): Likewise.
3947 * write.c (install_reloc): Likewise.
3948 * write.h (struct fix): Likewise.
3949 * input-file.c (file_name): Change type to const char *.
3950 (saved_file::file_name): Likewise.
3951 (input_file_open): Change type of argument to const char *.
3952 * input-file.h (input_file_open): Adjust.
3953 * input-scrub.c (logical_input_file): change type to const char *.
3954 (physical_input_file): Likewise.
3955 (struct input_save): Adjust.
3956 (input_scrub_push): Adjust.
3957 (input_scrub_begin): Adjust.
3959 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3960 (input_scrub_include_file): Likewise.
3961 (new_logical_line_flags): Likewise.
3962 (new_logical_line): Likewise.
3964 * frags.h (struct frag): Change type of fr_file to const char *.
3965 * expr.c (expr_symbol_where): Change type of file argument to
3967 * expr.h (expr_symbol_where): Likewise.
3968 * config/tc-i370.c (md_apply_fix): adjust.
3969 * config/tc-mmix.c (mmix_md_end): Likewise.
3970 * config/tc-ppc.c (md_apply_fix): Likewise.
3971 * config/tc-s390.c (md_apply_fix): Likewise.
3972 * symbols.c (report_op_error): Likewise.
3973 (resolve_symbol_value): Likewise.
3974 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3975 (rsrc::file): Likewise.
3976 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3978 (xtensa_relax_frag): Likewise.
3979 (md_convert_frag): Likewise.
3980 (tinsn_to_slotbuf): Likewise.
3981 * expr.c (expr_symbol_line): Likewise.
3982 * macro.c (define_macro): Likewise.
3983 * macro.h (macro_struct): Likewise.
3984 * messages.c (as_show_where): Likewise.
3985 * read.c (s_macro): Likewise.
3986 * stabs.c (stabs_generate_asm_file): Likewise.
3987 (generate_asm_file): Likewise.
3988 (stabs_generate_asm_lineno): Likewise.
3989 * write.h (struct reloc_list): Likewise.
3990 * input-scrub.c (as_where): Change return type to const char *.
3991 * as.h (as_wheree): Adjust.
3993 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3995 * write.c (compress_debug): Move BFD compression bits setting
3997 (write_object_file): Here.
3999 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4001 * config/tc-i386.c (register_number): Check RegVRex.
4002 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4003 with %zmm19 and %zmm3.
4004 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4005 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4007 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4008 Jiong Wang <jiong.wang@arm.com>
4010 * config/tc-arm.c (arm_ext_fp16): New.
4011 (arm_extensions): New entry for "fp16".
4013 2016-02-19 Nick Clifton <nickc@redhat.com>
4016 * read.c (read_a_source_file): Check for assemble_one returning
4017 with input_line_pointer set to NULL.
4019 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4021 * listing.c (rebuffer_line): Change return type to void.
4023 * symbols.c (decode_local_label_name): Make type a const char *.
4024 * listing.c (print_source): Make type of p const char *.
4025 (print_line): Make type of string const char *.
4026 (buffer_line): Return const char *.
4027 (title): Make type const char *.
4028 (subtitle): Likewise.
4029 (listing_listing): Make type of p const char *.
4030 * messages.c (as_internal_value_out_of_range): Make type of prefix
4032 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4033 and string const char *.
4034 * read.c (_bfd_rel): Make type of name const char *.
4035 * app.c (out_string): Change type to const char *.
4036 (struct app_save::out_string): Likewise.
4038 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4039 Nick Clifton <nickc@redhat.com>
4041 * read.c (finish_bundle): Avoid recording a negative alignment.
4042 (do_align): Use unsigned values for n, len and max. Only create
4043 a frag if the alignment requirement is greater than the minimum
4044 byte alignment. Avoid recording a negative alignment.
4045 (s_align): Use unsigned values where appropriate.
4046 (bss_alloc): Use an unsigned value for the alignment.
4047 (sizeof_sleb128): Add a comment noting that we encode one octet
4048 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4049 (emit_leb129_expr): Abort if the emitted encoding was longer than
4051 * read.h (output_leb128): Update prototype.
4052 (sizeof_leb128): Update prototype.
4053 (bss_alloc): Update prototype.
4054 * write.c (record_alignment): Use an unsigned value for the
4055 alignment. Do not record alignments less than the minimum
4056 alignment for a byte.
4057 * write.h (record_alignment): Update prototype.
4059 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4061 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4062 .init.literal/.fini.literal section name.
4063 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4064 list of xtensa tests.
4065 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4066 init-fini-literals test result patterns.
4067 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4068 init-fini-literals test.
4070 2016-02-17 Nick Clifton <nickc@redhat.com>
4072 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4073 devices.csv file as of March 2016.
4075 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4077 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4079 (tc_arc_regname_to_dw2regnum): Likewise.
4080 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4081 (tc_cfi_frame_initial_instructions): Likewise.
4082 (tc_regname_to_dw2regnum): Likewise.
4083 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4084 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4085 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4087 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4089 * doc/internals.texi (S_IS_EXTERN): Remove.
4091 2016-02-16 Nick Clifton <nickc@redhat.com>
4093 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4096 2016-02-16 Renlin Li <renlin.li@arm.com>
4099 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4100 * testsuite/gas/aarch64/movw_label.d: New.
4101 * testsuite/gas/aarch64/movw_label.s: New.
4103 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4106 * config/rx-parse.y (MOV): Opcode generation for index
4107 register addressing mode.
4108 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4109 * testsuite/gas/rx/pr19665.s: New file.
4110 * testsuite/gas/rx/pr19665.s: New file.
4111 * testsuite/gas/rx/mov.d: Update expected output.
4113 2016-02-15 Nick Clifton <nickc@redhat.com>
4115 * doc/as.texinfo (.section): Document that numeric values can now
4116 be used for the flags and type fields of the ELF target's .section
4117 directive. Add notes about the restrictions on setting flags and
4119 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4120 to be given processor specific section types. Allow processor and
4121 application specific flags of a section to be set after
4123 (obj_elf_parse_section_letters): Handle parsing numeric values.
4124 (obj_elf_section_type): Handle parsing numeric values.
4125 (obj_elf_section): Allow numeric type values.
4126 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4127 * testsuite/gas/elf/section10.d: New test.
4128 * testsuite/gas/elf/section10.s: Source file for new test.
4129 * testsuite/gas/elf/elf.exp: Run the new test.
4130 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4131 the description of the flags produced by readelf.
4132 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4133 * NEWS: Mention the new feature.
4135 2016-02-11 Nick Clifton <nickc@redhat.com>
4138 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4139 until it is actually used.
4140 (cfi_set_sections): Set cfi_sections_set to true.
4141 (dot_cfi_startproc): Likewise.
4142 (dot_cfi_endproc): Likewise.
4143 (dot_cfi_fde_data): Likewise.
4144 (cfi_finish): Likewise.
4145 (dot_cfi_sections): Do not set cfi_sections_set.
4146 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4147 their own cfi section name. Also note that the directive can be
4148 reissued provided that CFI generation has not started.
4149 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4150 .cfi_endproc directives so that the redefinition of .cfi_sections
4151 will trigger the generation of the error message.
4152 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4153 number of error message.
4155 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4156 Janek van Oirschot <jvanoirs@synopsys.com>
4158 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4159 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4161 (arc_flags, arc_relax_type): New structure.
4162 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4163 (RELAX_TABLE_ENTRY_MAX): New define.
4164 (relaxation_state, md_relax_table, arc_relaxable_insns)
4165 (arc_num_relaxable_ins): New variable.
4166 (rlx_operand_type, arc_rlx_types): New enums.
4167 (arc_relaxable_ins): New structure.
4168 (OPTION_RELAX): New option.
4169 (arc_insn): New relax member.
4170 (arc_flags): Remove.
4171 (relax_insn_p): New function.
4172 (apply_fixups): Likewise.
4173 (relaxable_operand): Likewise.
4174 (may_relax_expr): Likewise.
4175 (relaxable_flag): Likewise.
4176 (arc_pcrel_adjust): Likewise.
4177 (md_estimate_size_before_relax): Implement.
4178 (md_convert_frag): Likewise.
4179 (md_parse_option): Handle new mrelax option.
4180 (md_show_usage): Likewise.
4181 (assemble_insn): Set relax member.
4182 (emit_insn0): New function.
4183 (emit_insn1): Likewise.
4184 (emit_insn): Handle relaxation case.
4185 * NEWS: Mention the new relaxation option.
4186 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4187 * doc/as.texinfo (Target ARC Options): Likewise.
4188 * testsuite/gas/arc/relax-avoid1.d: New file.
4189 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4190 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4191 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4192 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4193 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4194 * testsuite/gas/arc/relax-b.d: Likewise.
4195 * testsuite/gas/arc/relax-b.s: Likewise.
4197 2016-02-08 Nick Clifton <nickc@redhat.com>
4199 * config/tc-ia64.c (dot_prologue): Fix formatting.
4201 2016-02-04 Nick Clifton <nickc@redhat.com>
4203 * config/obj-elf.c (obj_elf_change_section): Remove support for
4204 ARM NOREAD sections.
4205 * config/tc-arm.c (arm_elf_section_letter): Delete.
4206 * config/tc-arm.h (md_elf_section_letter): Delete.
4207 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4208 * testsuite/gas/arm/section-execute-only.d: Delete.
4209 * testsuite/gas/arm/section-execute-only.s: Delete.
4211 2016-02-04 Nick Clifton <nickc@redhat.com>
4214 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4215 to handle encoding of RRUX instruction.
4216 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4218 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4220 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4222 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4223 substitutions for BFD_RELOC_* as unsigned.
4224 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4225 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4226 * testsuite/gas/xtensa/loc.s: New file: loc test.
4228 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4230 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4232 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4235 * NEWS: Mention new command line option -mrelax-relocations and
4236 new configure option --enable-x86-relax-relocations for x86
4238 * config.in: Regenerated.
4239 * configure.ac: Add --enable-x86-relax-relocations.
4240 (ac_default_x86_relax_relocations): New. Default to 1 except
4241 for x86 Solaris targets older than Solaris 12.
4242 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4243 * configure: Likewise.
4244 * config/tc-i386.c (generate_relax_relocations): New.
4245 (OPTION_MRELAX_RELOCATIONS): Likewise.
4246 (output_disp): Don't generate relax relocations if
4247 generate_relax_relocations is 0.
4248 (md_longopts): Add -mrelax-relocations.
4249 (md_show_usage): Likewise.
4250 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4251 * doc/c-i386.texi: Document -mrelax-relocations=.
4252 * testsuite/gas/i386/got-no-relax.d: New file.
4253 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4254 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4255 * testsuite/gas/i386/localpic.d: Likewise.
4256 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4257 * testsuite/gas/i386/reloc32.d: Likewise.
4258 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4259 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4260 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4261 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4262 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4263 x86-64-gotpcrel-no-relax.
4265 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4267 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4270 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4272 * NEWS: Remove duplicated marker for 2.26.
4274 2016-02-02 Renlin Li <renlin.li@arm.com>
4276 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4278 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4280 * testsuite/gas/ip2k/allinsn.d: New file.
4281 * testsuite/gas/ip2k/allinsn.s: New file.
4282 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4284 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4286 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4287 some load instructions.
4288 * testsuite/gas/epiphany/allinsn.d: Likewise.
4289 * testsuite/gas/epiphany/regression.d: Likewise.
4291 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4293 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4294 suffixes from instruction mnemonics in expected output.
4295 * testsuite/gas/epiphany/allinsn.d: Likewise.
4296 * testsuite/gas/epiphany/regression.d: Likewise.
4297 * testsuite/gas/epiphany/sample.d: Likewise.
4299 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4301 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4303 * testsuite/gas/epiphany/allinsn.d: Likewise.
4304 * testsuite/gas/epiphany/sample.d: Likewise.
4306 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4308 * testsuite/gas/epiphany/sample.d: Update expected output.
4310 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4312 * config/tc-arc.c (md_apply_fix): Allow addendum.
4313 (arc_reloc_op): Allow complex expressions for tpoff.
4314 (md_apply_fix): Handle resolved TLS local symbol.
4315 * testsuite/gas/arc/tls-relocs1.d: New file.
4316 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4318 2016-02-01 Loria <Loria@phantasia.org>
4321 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4322 efficiency and avoid an LLVM loop optimization bug.
4324 2016-02-01 Nick Clifton <nickc@redhat.com>
4326 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4327 message extending a negative 32-bit value into a larger signed
4328 value on a 32-bit host.
4330 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4333 * configure.ac (compressed_debug_sections): Replace == with =.
4334 * configure: Regenerated.
4336 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4337 H.J. Lu <hongjiu.lu@intel.com>
4339 * config/tc-i386.c (avoid_fence): New.
4340 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4342 (OPTION_FENCE_AS_LOCK_ADD): New.
4343 (md_longopts): Add -mfence-as-lock-add.
4344 (md_parse_option): Handle -mfence-as-lock-add.
4345 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4346 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4347 * testsuite/gas/i386/i386.exp: Run new tests.
4348 * testsuite/gas/i386/fence-as-lock-add.s: New.
4349 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4350 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4351 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4352 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4354 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4356 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4357 * configure: Regenerated.
4359 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4361 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4362 (OPTION_MOMIT_LOCK_PREFIX): This.
4363 (md_longopts): Updated.
4364 (md_parse_option): Likewise.
4366 2016-01-25 Catherine Moore <clm@codesourcery.com>
4368 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4369 if abicalls are in effect.
4370 * testsuite/gas/mips/sdata-gp.s: New test.
4371 * testsuite/gas/mips/sdata-gp.d: New expected output
4372 * testsuite/gas/mips/mips.exp: Run new test.
4374 2016-01-25 Renlin Li <renlin.li@arm.com>
4376 * testsuite/gas/arm/thumb2_it_search.d: New.
4377 * testsuite/gas/arm/thumb2_it_search.s: New.
4379 2016-01-21 Nick Clifton <nickc@redhat.com>
4382 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4383 with arm-netbsdelf target.
4384 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4386 2016-01-20 Nick Clifton <nickc@redhat.com>
4389 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4390 * testsuite/gas/arm/blx-bl-convert.d
4391 * testsuite/gas/arm/plt-1.d: Likewise.
4392 * testsuite/gas/arm/reloc-bad.d: Likewise.
4393 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4394 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4395 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4396 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4399 * doc/as.texinfo (Errors): Correct documentation describing the
4400 interaction of .file and .line with warning and error messages.
4403 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4404 * testsuite/gas/arm/archv8m-main.d: Likewise.
4405 * testsuite/gas/arm/archv8m-base.d: Likewise.
4407 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4409 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4410 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4411 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4413 2016-01-20 Mickael Guene <mickael.guene@st.com>
4414 Terry Guo <terry.guo@arm.com>
4416 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4417 SHF_ARM_NOREAD section flag.
4418 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4420 (arm_elf_section_letter) : Declare it.
4421 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4422 SHF_ARM_NOREAD section flag.
4423 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4425 * testsuite/gas/arm/section-execute-only.s: New test case.
4426 * testsuite/gas/arm/section-execute-only.d: Expected output.
4428 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4430 * config/tc-mips.c (micromips_insn_length): Remove the mention
4431 of 48-bit microMIPS instructions.
4433 2016-01-18 Alan Modra <amodra@gmail.com>
4435 * configure: Regenerate.
4437 2016-01-17 Alan Modra <amodra@gmail.com>
4439 * configure: Regenerate.
4441 2016-01-17 Alan Modra <amodra@gmail.com>
4443 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4445 2016-01-14 Nick Clifton <nickc@redhat.com>
4447 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4448 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4449 * testsuite/gas/rl78/rl78.exp: Run the new test.
4451 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4453 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4454 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4456 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4458 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4460 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4462 * config/tc-h8300.c (get_operand): Remove spurious condition in
4463 test for closing parenthesis.
4465 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4467 * config/tc-arm.c (arm_ext_v8_2): New.
4469 * testsuite/gas/arm/armv8_2-a.d: New.
4470 * testsuite/gas/arm/armv8_2-a.s: New.
4472 2016-01-12 Alan Modra <amodra@gmail.com>
4474 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4476 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4478 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4479 xvcmpnesp, xvcmpnesp.>: Delete tests.
4480 * testsuite/gas/ppc/power9.s: Likewise.
4481 * testsuite/gas/ppc/vsx3.d: Likewise.
4482 * testsuite/gas/ppc/vsx3.s: Likewise.
4484 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4487 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4488 * testsuite/gas/m68k/p13050-1.s: New file.
4489 * testsuite/gas/m68k/p13050-2.d: New file.
4490 * testsuite/gas/m68k/p13050-2.s: New file.
4492 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4494 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4495 * testsuite/gas/arc/add.d: Likewise.
4496 * testsuite/gas/arc/and.d: Likewise.
4497 * testsuite/gas/arc/asl.d: Likewise.
4498 * testsuite/gas/arc/asr.d: Likewise.
4499 * testsuite/gas/arc/bic.d: Likewise.
4500 * testsuite/gas/arc/extb.d: Likewise.
4501 * testsuite/gas/arc/extw.d: Likewise.
4502 * testsuite/gas/arc/j.d: Likewise.
4503 * testsuite/gas/arc/jl.d: Likewise.
4504 * testsuite/gas/arc/ld2.d: Likewise.
4505 * testsuite/gas/arc/lsr.d: Likewise.
4506 * testsuite/gas/arc/mov.d: Likewise.
4507 * testsuite/gas/arc/or.d: Likewise.
4508 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4509 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4510 * testsuite/gas/arc/pic-relocs.d: Likewise.
4511 * testsuite/gas/arc/plt-relocs.d: Likewise.
4512 * testsuite/gas/arc/rlc.d: Likewise.
4513 * testsuite/gas/arc/ror.d: Likewise.
4514 * testsuite/gas/arc/rrc.d: Likewise.
4515 * testsuite/gas/arc/sbc.d: Likewise.
4516 * testsuite/gas/arc/sda-relocs.d: Likewise.
4517 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4518 * testsuite/gas/arc/sexb.d: Likewise.
4519 * testsuite/gas/arc/sexw.d: Likewise.
4520 * testsuite/gas/arc/st.d: Likewise.
4521 * testsuite/gas/arc/sub.d: Likewise.
4522 * testsuite/gas/arc/tls-relocs.d: Likewise.
4523 * testsuite/gas/arc/xor.d: Likewise.
4525 2016-01-01 Alan Modra <amodra@gmail.com>
4527 Update year range in copyright notice of all files.
4529 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4531 Copyright (C) 2016 Free Software Foundation, Inc.
4533 Copying and distribution of this file, with or without modification,
4534 are permitted in any medium without royalty provided the copyright
4535 notice and this notice are preserved.
4541 version-control: never