1 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
3 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
4 and FP register operands.
6 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
8 * config/tc-aarch64.c (double_precision_operand_p): New function.
9 (parse_operands): Use it to calculate the dp_p input to
10 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
12 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
14 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
17 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
19 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
21 (parse_shift): Handle SHIFTED_MUL_VL.
22 (parse_address_main): Add an imm_shift_mode parameter.
23 (parse_address, parse_sve_address): Update accordingly.
24 (parse_operands): Handle MUL VL addressing modes.
26 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
28 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
30 (get_reg_expected_msg): Handle them.
31 (aarch64_addr_reg_parse): New function, split out from
32 aarch64_reg_parse_32_64. Handle Z registers too.
33 (aarch64_reg_parse_32_64): Call it.
34 (parse_address_main): Add base_qualifier, offset_qualifier,
35 base_type and offset_type parameters. Handle SVE base and offset
37 (parse_address): Update call to parse_address_main.
38 (parse_sve_address): New function.
39 (parse_operands): Parse the new SVE address operands.
41 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
43 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
44 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
45 shift modes. Skip range tests for AARCH64_MOD_MUL.
46 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
47 (parse_operands): Likewise.
49 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
51 * config/tc-aarch64.c (parse_enum_string): New function.
52 (po_enum_or_fail): New macro.
53 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
54 AARCH64_OPND_SVE_PRFOP.
56 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
58 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
59 (parse_vector_type_for_operand): Assert that the skipped character
61 (parse_predication_for_operand): New function.
62 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
63 (vectype_to_qualifier): Handle NT_zero and NT_merge.
65 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
67 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
68 (AARCH64_REG_TYPES): Add ZN and PN.
69 (get_reg_expected_msg): Handle them.
70 (parse_vector_type_for_operand): Add a reg_type parameter.
71 Skip the width for Zn and Pn registers.
72 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
73 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
74 expecting the width to be 0.
75 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
77 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
78 (parse_operands): Handle the new Zn and Pn operands.
79 (REGSET16): New macro, split out from...
81 (reg_names): Add Zn and Pn entries.
83 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
85 * config/tc-aarch64.c (output_operand_error_record): Handle
86 AARCH64_OPDE_UNTIED_OPERAND.
88 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
90 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
91 instruction with all-NIL qualifiers to fail to match.
93 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
95 * config/tc-aarch64.c (parse_address_main): Remove reloc and
96 accept_reg_post_index parameters. Parse relocations and register
97 post indexes unconditionally.
98 (parse_address): Remove accept_reg_post_index parameter.
99 Update call to parse_address_main.
100 (parse_address_reloc): Delete.
101 (parse_operands): Call parse_address instead of parse_address_main.
102 Update existing callers of parse_address and make them check
103 inst.reloc.type where appropriate.
104 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
105 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
106 Also test for invalid uses of post-index register addressing.
107 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
109 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
111 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
113 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
114 (aarch64_check_reg_type): Simplify.
115 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
116 register number. Return the type as a qualifier rather than an
117 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
119 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
120 Use get_reg_expected_msg.
121 (parse_address_main): Likewise. Use aarch64_check_reg_type.
122 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
123 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
124 Use aarch64_check_reg_type to test the result.
125 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
126 addresses normally before enforcing the syntax restrictions.
127 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
128 zero register and for a stack pointer index.
129 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
130 Also update existing diagnostic messages after the above changes.
131 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
132 for 32-bit register bases.
134 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
136 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
137 (parse_operands): Check the range of 8-bit FP immediates here instead.
139 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
141 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
142 low-severity error for registers.
143 (parse_operands): Report an invalid floating point constant for
144 if parsing an FPIMM8 fails, and if no better error has been
146 * testsuite/gas/aarch64/diagnostic.s,
147 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
150 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
152 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
154 (can_convert_double_to_float): ...this. Accept any double-precision
155 value that converts to single precision without loss of precision.
156 (parse_aarch64_imm_float): Update accordingly.
158 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
160 * config/tc-aarch64.c (parse_immediate_expression): Add a
162 (parse_constant_immediate): Likewise, and update calls.
163 (parse_aarch64_imm_float): Likewise.
164 (parse_big_immediate): Likewise.
165 (po_imm_nc_or_fail): Update accordingly, passing down a new
166 imm_reg_type variable.
167 (po_imm_of_fail): Likewise.
168 (parse_operands): Likewise.
170 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
172 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
173 (parse_vector_reg_list): ...this and take a register type
175 (parse_operands): Update accordingly.
177 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
179 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
180 (parse_vector_type_for_operand): ...this.
181 (parse_typed_reg): Update accordingly.
183 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
185 * config/tc-aarch64.c (neon_type_el): Rename to...
186 (vector_type_el): ...this.
187 (parse_neon_type_for_operand): Update accordingly.
188 (parse_typed_reg): Likewise.
189 (aarch64_reg_parse): Likewise.
190 (vectype_to_qualifier): Likewise.
191 (parse_operands): Likewise.
192 (eq_neon_type_el): Likewise. Rename to...
193 (eq_vector_type_el): ...this.
194 (parse_neon_reg_list): Update accordingly.
196 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
198 * config/tc-aarch64.c (neon_el_type: Rename to...
199 (vector_el_type): ...this.
200 (neon_type_el): Update accordingly.
201 (parse_neon_type_for_operand): Likewise.
202 (vectype_to_qualifier): Likewise.
204 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
206 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
207 (parse_typed_reg): Call parse_neon_type_for_operand directly.
209 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
211 * testsuite/gas/arc/textinsnxop.d: New file.
212 * testsuite/gas/arc/textinsnxop.s: Likewise.
214 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
216 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
217 dcti-couples-v9 only in ELF targets to avoid spurious failures in
218 sparc-aout and sparc-coff targets.
220 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
222 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
223 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
224 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
225 <copy, paste.>: Update tests.
226 * testsuite/gas/ppc/power9.s: Likewise.
228 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
230 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
231 in "architecture mismatch" error messages.
233 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
235 * config/tc-sparc.c (md_assemble): Detect and warning on
236 unpredictable DCTI couples in certain arches.
237 (dcti_couples_detect): New global.
238 (md_longopts): Add command line option -dcti-couples-detect.
239 (md_show_usage): Document -dcti-couples-detect.
240 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
241 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
242 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
243 * testsuite/gas/sparc/dcti-couples.s: New file.
244 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
245 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
246 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
247 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
248 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
249 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
250 * doc/c-sparc.texi (Sparc-Opts): Likewise.
252 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
254 * testsuite/gas/arc/tls-relocs2.d: New file.
255 * testsuite/gas/arc/tls-relocs2.s: Likewise.
256 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
259 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
261 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
263 * doc/as.texinfo: Document new arch strings.
264 * doc/c-s390.texi: Likewise.
266 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
268 * config/tc-s390.c: Set all facitily bits by default
270 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
272 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
274 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
276 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
279 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
281 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
282 (set_cpu_arch): Updated.
283 (md_parse_option): Likewise.
284 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
285 iamcu-inval-2 and iamcu-inval-3.
286 * testsuite/gas/i386/iamcu-4.d: New file.
287 * testsuite/gas/i386/iamcu-4.s: Likewise.
288 * testsuite/gas/i386/iamcu-5.d: Likewise.
289 * testsuite/gas/i386/iamcu-5.s: Likewise.
290 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
291 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
292 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
293 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
295 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
297 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
298 ARMv8-A CPUs except xgene1.
300 2016-08-31 Alan Modra <amodra@gmail.com>
302 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
303 ppc_cpu rather than calling ppc_mach to determine VLE mode.
304 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
306 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
308 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
310 * testsuite/gas/sparc/crypto.s: Likewise.
312 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
314 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
315 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
316 their lowecase counterpart special registers. Write register
318 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
319 operation, special register and then case. Use different register for
320 each operation. Add tests for new special registers.
321 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
323 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
324 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
326 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
328 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
330 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
332 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
333 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
334 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
336 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
338 * config/tc-i386.c (cpu_arch): Add .ptwrite.
339 * doc/c-i386.texi: Document ptwrite and .ptwrite.
340 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
341 x86-64-ptwrite and x86-64-ptwrite-intel.
342 * testsuite/gas/i386/ptwrite-intel.d: New file.
343 * testsuite/gas/i386/ptwrite.d: Likewise.
344 * testsuite/gas/i386/ptwrite.s: Likewise.
345 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
346 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
347 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
349 2016-08-19 Tamar Christina <tamar.christina@arm.com>
351 * config/tc-arm.c (do_co_reg2c): Added constraint.
352 * testsuite/gas/arm/dest-unpredictable.s: New.
353 * testsuite/gas/arm/dest-unpredictable.l: New.
354 * testsuite/gas/arm/dest-unpredictable.d: New.
356 2016-08-19 Nick Clifton <nickc@redhat.com>
358 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
359 ordering of sections.
360 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
361 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
362 * testsuite/gas/ia64/alias.d: Likewise.
363 * testsuite/gas/ia64/group-1.d: Likewise.
364 * testsuite/gas/ia64/group-2.d: Likewise.
365 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
366 * testsuite/gas/ia64/secname.d: Likewise.
367 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
368 * testsuite/gas/ia64/unwind.d: Likewise.
369 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
370 * testsuite/gas/ia64/xdata.d: Likewise.
371 * testsuite/gas/mmix/bspec-1.d: Likewise.
372 * testsuite/gas/mmix/bspec-2.d: Likewise.
373 * testsuite/gas/mmix/byte-1.d: Likewise.
374 * testsuite/gas/mmix/loc-1.d: Likewise.
375 * testsuite/gas/mmix/loc-2.d: Likewise.
376 * testsuite/gas/mmix/loc-3.d: Likewise.
377 * testsuite/gas/mmix/loc-4.d: Likewise.
378 * testsuite/gas/mmix/loc-5.d: Likewise.
379 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
381 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
383 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
384 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
385 Add tests for -0.0. Add an end-of-file comment.
387 2016-08-05 Nick Clifton <nickc@redhat.com>
390 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
391 registers are pushed.
392 (do_vfp_nsyn_pop): Check that no more than 16 registers are
394 * testsuite/gas/arm/pr20429.s: New test.
395 * testsuite/gas/arm/pr20429.d: New test driver.
396 * testsuite/gas/arm/pr20429.1: Expected error output.
399 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
401 (aarch64_init): Treat rs_align frags in code sections as
402 containing code, not data.
403 * testsuite/gas/aarch64/pr20364.s: New test.
404 * testsuite/gas/aarch64/pr20364.d: New test driver.
406 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
409 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
410 of 64-bit relocation types when assembling for a 32-bit Solaris
413 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
415 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
417 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
418 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
419 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
420 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
422 (sparc_elf_setup): Delete.
423 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
426 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
428 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
429 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
430 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
431 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
432 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
433 (get_append_method): Also return APPEND_ADD_COMPACT for
434 microMIPS instructions.
435 (find_altered_mips16_opcode): Exclude macros from matching.
437 (find_altered_opcode): ... to this new function.
438 (find_altered_micromips_opcode): New function.
439 (frag_branch_delay_slot_size): Likewise.
440 (append_insn): Handle microMIPS branch/jump compaction.
441 (macro_start): Likewise.
442 (relaxed_micromips_32bit_branch_length): Likewise.
443 (md_convert_frag): Likewise.
444 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
445 for delay slot filling.
446 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
448 * testsuite/gas/mips/micromips-size-1.s: Likewise.
449 * testsuite/gas/mips/micromips.l: Adjust line numbers.
450 * testsuite/gas/mips/micromips-warn.l: Likewise.
451 * testsuite/gas/mips/micromips-size-1.l: Likewise.
452 * testsuite/gas/mips/micromips.d: Adjust padding.
453 * testsuite/gas/mips/micromips-trap.d: Likewise.
454 * testsuite/gas/mips/micromips-insn32.d: Likewise.
455 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
456 * testsuite/gas/mips/micromips@beq.d: Update patterns for
457 branch/jump compaction.
458 * testsuite/gas/mips/micromips@bge.d: Likewise.
459 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
460 * testsuite/gas/mips/micromips@blt.d: Likewise.
461 * testsuite/gas/mips/micromips@bltu.d: Likewise.
462 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
463 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
464 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
465 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
466 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
467 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
468 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
469 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
471 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
473 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
474 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
475 * testsuite/gas/mips/micromips@relax.d: Likewise.
476 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
477 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
478 * testsuite/gas/mips/branch-extern-2.d: Likewise.
479 * testsuite/gas/mips/branch-extern-4.d: Likewise.
480 * testsuite/gas/mips/branch-section-2.d: Likewise.
481 * testsuite/gas/mips/branch-section-4.d: Likewise.
482 * testsuite/gas/mips/branch-weak-2.d: Likewise.
483 * testsuite/gas/mips/branch-weak-5.d: Likewise.
484 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
485 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
486 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
487 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
489 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
491 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
493 * testsuite/gas/mips/micromips-compact.d: New test.
494 * testsuite/gas/mips/mips.exp: Run the new test.
496 2016-07-27 Graham Markall <graham.markall@embecosm.com>
498 * config/tc-arc.c: Add new global arc_addrtype_hash.
499 Define O_colon and O_addrtype.
500 (debug_exp): Add O_colon and O_addrtype.
501 (tokenize_arguments): Handle colon and address type
503 (declare_addrtype): New function.
504 (md_begin): Initialise arc_addrtype_hash.
505 (arc_parse_name): Add lookup of address types.
506 (assemble_insn): Handle colons and address types by
508 * testsuite/gas/arc/nps400-8.s: New file.
509 * testsuite/gas/arc/nps400-8.d: New file.
510 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
511 * testsuite/gas/arc/nps400-8.d: Add expected PMU
514 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
516 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
517 (RELAX_MICROMIPS_INSN32): New macro.
518 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
519 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
520 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
521 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
522 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
524 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
526 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
528 (md_convert_frag): Likewise.
529 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
531 * testsuite/gas/mips/micromips-branch-relax.l: Update line
533 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
534 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
535 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
537 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
539 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
541 * testsuite/gas/mips/mips.exp: Run the new tests.
543 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
545 * configure: Regenerated.
547 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
549 * testsuite/gas/arc/dsp.d: New file.
550 * testsuite/gas/arc/dsp.s: Likewise.
551 * testsuite/gas/arc/fpu.d: Likewise.
552 * testsuite/gas/arc/fpu.s: Likewise.
553 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
554 * testsuite/gas/arc/ext3op.d: Likewise.
555 * testsuite/gas/arc/tdpfp.d: Likewise.
556 * testsuite/gas/arc/tfpuda.d: Likewise.
558 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
560 * config/tc-mips.c (mips_force_relocation): Remove
561 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
563 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
565 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
566 Adjust comments for BAL to JALX linker conversion.
567 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
568 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
570 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
571 * testsuite/gas/mips/branch-local-4.d: New test.
572 * testsuite/gas/mips/branch-local-n32-4.d: New test.
573 * testsuite/gas/mips/branch-local-n64-4.d: New test.
574 * testsuite/gas/mips/branch-addend.d: New test.
575 * testsuite/gas/mips/branch-addend-n32.d: New test.
576 * testsuite/gas/mips/branch-addend-n64.d: New test.
577 * testsuite/gas/mips/branch-local-4.s: New test source.
578 * testsuite/gas/mips/branch-addend.s: New test source.
579 * testsuite/gas/mips/mips.exp: Run the new tests.
581 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
583 * config/tc-mips.c (mips_force_relocation): Also retain branch
584 relocations against MIPS16 and microMIPS symbols.
585 (fix_bad_cross_mode_jump_p): New function.
586 (fix_bad_same_mode_jalx_p): Likewise.
587 (fix_bad_misaligned_jump_p): Likewise.
588 (fix_bad_cross_mode_branch_p): Likewise.
589 (fix_bad_misaligned_branch_p): Likewise.
590 (fix_validate_branch): Likewise.
591 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
592 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
593 etc. Verify the ISA mode and alignment of the jump target.
594 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
595 with a call to `fix_validate_branch'.
596 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
597 <BFD_RELOC_16_PCREL_S2>: Likewise.
598 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
599 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
600 Verify the ISA mode and alignment of the branch target.
601 (md_convert_frag): Verify the ISA mode and alignment of resolved
602 MIPS16 branch targets.
603 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
604 branch targets with `.insn'.
605 * testsuite/gas/mips/branch-misc-5.s: Likewise.
606 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
608 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
609 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
610 non-instruction branch target with `.insn'.
611 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
612 with external symbols.
613 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
614 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
615 * testsuite/gas/mips/micromips-trap.d: Likewise.
616 * testsuite/gas/mips/micromips.d: Likewise.
617 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
618 targets with `.insn'.
619 * testsuite/gas/mips/mips16.d: Update accordingly.
620 * testsuite/gas/mips/mips16-64.d: Likewise.
621 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
622 branch target with `.insn'.
623 * testsuite/gas/mips/relax-swap3.s: Likewise.
624 * testsuite/gas/mips/branch-local-2.l: New list test.
625 * testsuite/gas/mips/branch-local-3.l: New list test.
626 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
627 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
628 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
629 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
630 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
631 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
632 * testsuite/gas/mips/unaligned-jump-3.d: New test.
633 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
634 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
635 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
636 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
638 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
640 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
641 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
642 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
643 * testsuite/gas/mips/unaligned-branch-3.d: New test.
644 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
645 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
646 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
647 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
648 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
649 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
650 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
651 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
652 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
653 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
655 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
657 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
658 * testsuite/gas/mips/branch-local-2.s: New test source.
659 * testsuite/gas/mips/branch-local-3.s: New test source.
660 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
661 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
662 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
663 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
664 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
665 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
666 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
667 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
668 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
670 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
672 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
673 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
674 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
675 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
676 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
677 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
678 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
680 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
682 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
684 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
686 * testsuite/gas/mips/mips.exp: Run the new tests.
688 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
690 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
692 (do_pseudo_b): Adjust.
693 (do_pseudo_bal): Likewise.
694 (do_pseudo_bge): Likewise.
695 (do_pseudo_bges): Likewise.
696 (do_pseudo_bgt): Likewise.
697 (do_pseudo_bgts): Likewise.
698 (do_pseudo_ble): Likewise.
699 (do_pseudo_bles): Likewise.
700 (do_pseudo_blt): Likewise.
701 (do_pseudo_blts): Likewise.
702 (do_pseudo_br): Likewise.
703 (do_pseudo_bral): Likewise.
704 (do_pseudo_la): Likewise.
705 (do_pseudo_li): Likewise.
706 (do_pseudo_ls_bhw): Likewise.
707 (do_pseudo_ls_bhwp): Likewise.
708 (do_pseudo_ls_bhwpc): Likewise.
709 (do_pseudo_ls_bhwi): Likewise.
710 (do_pseudo_move): Likewise.
711 (do_pseudo_neg): Likewise.
712 (do_pseudo_not): Likewise.
713 (do_pseudo_pushpopm): Likewise.
714 (do_pseudo_pushpop): Likewise.
715 (do_pseudo_v3push): Likewise.
716 (do_pseudo_v3pop): Likewise.
717 (do_pseudo_pushpop_stack): Likewise.
718 (do_pseudo_push_bhwd): Likewise.
719 (do_pseudo_pop_bhwd): Likewise.
720 (do_pseudo_pusha): Likewise.
721 (do_pseudo_pushi): Likewise.
723 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
725 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
726 bfd_reloc_code_real_type.
728 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
730 * config/tc-sparc.c (pop_table): Remove sentinel.
731 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
734 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
736 * config/tc-z8k.c (newfix): Make type of type argument
737 bfd_reloc_code_real_type.
738 (apply_fix): Likewise.
740 2016-07-16 Alan Modra <amodra@gmail.com>
742 * config/tc-epiphany.c: Don't include libbfd.h.
743 * config/tc-frv.c: Likewise.
744 * config/tc-ip2k.c: Likewise.
745 * config/tc-iq2000.c: Likewise.
746 * config/tc-m32c.c: Likewise.
747 * config/tc-mep.c: Likewise.
748 * config/tc-mt.c: Likewise.
749 * config/tc-nios2.c: Likewise.
751 2016-07-16 Alan Modra <amodra@gmail.com>
753 * config/bfin-parse.y: Don't include libbfd.h.
754 * config/tc-bfin.c: Likewise.
755 * config/tc-rl78.c: Likewise.
756 * config/tc-rx.c: Likewise.
757 * config/tc-metag.c: Likewise.
758 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
759 * Makefile.am: Update dependencies.
760 * Makefile.in: Regenerate.
762 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
764 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
765 (mips_force_relocation_abs): New prototype.
766 * config/tc-mips.c (mips_force_relocation_abs): New function.
767 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
768 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
769 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
770 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
771 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
773 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
775 * testsuite/gas/mips/branch-absolute-addend.d: New test.
776 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
777 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
779 * testsuite/gas/mips/mips.exp: Run the new tests.
781 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
783 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
784 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
785 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
787 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
788 in `bar', export `foo'.
789 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
791 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
792 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
793 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
795 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
798 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
800 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
801 * testsuite/gas/mips/branch-absolute.d: New test.
802 * testsuite/gas/mips/branch-absolute-n32.d: New test.
803 * testsuite/gas/mips/branch-absolute-n64.d: New test.
804 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
805 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
806 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
807 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
808 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
810 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
812 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
813 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
814 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
815 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
817 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
819 * testsuite/gas/mips/branch-absolute.s: New test source.
820 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
821 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
823 * testsuite/gas/mips/micromips-branch-absolute.s: New test
825 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
827 * testsuite/gas/mips/mips.exp: Run the new tests.
829 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
831 * testsuite/gas/mips/nal-1.d: New test.
832 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
833 * testsuite/gas/mips/nal-2.d: New test.
834 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
835 * testsuite/gas/mips/nal.s: New test source.
836 * testsuite/gas/mips/mips.exp: Run the new tests.
838 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
840 * testsuite/gas/sparc/ldtxa.s: New file.
841 * testsuite/gas/sparc/ldtxa.d: Likewise.
842 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
844 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
846 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
847 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
848 as it is no longer needed.
850 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
852 * config/tc-mips.c (append_insn): Remove extraneous
855 2016-07-04 Jan Beulich <jbeulich@suse.com>
857 * config/tc-i386.c (check_qword_reg): Correct register kind
859 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
860 16-bit register cases.
861 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
864 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
866 * testsuite/gas/mips/ecoff@ld.d: Remove test.
867 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
868 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
869 * testsuite/gas/mips/ecoff@sd.d: Remove test.
870 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
871 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
873 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
874 * testsuite/gas/mips/bge.d: Likewise.
875 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
876 * testsuite/gas/mips/bgeu.d: Likewise.
877 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
878 * testsuite/gas/mips/blt.d: Likewise.
879 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
880 * testsuite/gas/mips/bltu.d: Likewise.
881 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
882 * testsuite/gas/mips/branch-likely.d: Likewise.
883 * testsuite/gas/mips/la.d: Likewise.
884 * testsuite/gas/mips/lb.d: Likewise.
885 * testsuite/gas/mips/lifloat.d: Likewise.
886 * testsuite/gas/mips/sb.d: Likewise.
887 * testsuite/gas/mips/uld.d: Likewise.
888 * testsuite/gas/mips/ulh.d: Likewise.
889 * testsuite/gas/mips/ulw.d: Likewise.
890 * testsuite/gas/mips/usd.d: Likewise.
891 * testsuite/gas/mips/ush.d: Likewise.
892 * testsuite/gas/mips/usw.d: Likewise.
894 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
896 * testsuite/gas/mips/branch-misc-2.s: Move non
897 locally-defined-global symbol tests...
898 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
899 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
900 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
901 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
902 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
903 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
904 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
905 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
906 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
907 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
908 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
909 * testsuite/gas/mips/branch-misc-5.d: New test.
910 * testsuite/gas/mips/branch-misc-5pic.d: New test.
911 * testsuite/gas/mips/branch-misc-5-64.d: New test.
912 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
913 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
914 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
915 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
916 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
917 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
918 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
919 * testsuite/gas/mips/mips.exp: Run the new tests.
921 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
923 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
925 * testsuite/gas/mips/beq.d: Update accordingly.
926 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
927 * testsuite/gas/mips/micromips@beq.d: Likewise.
929 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
931 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
932 tests to NewABI targets.
934 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
936 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
939 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
941 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
943 (aarch64_features): Initialize require fields.
944 (aarch64_parse_features): Handle dependencies.
945 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
946 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
947 * testsuite/gas/aarch64/illegal-nofp16.s: New.
948 * testsuite/gas/aarch64/illegal-nofp16.l: New.
949 * testsuite/gas/aarch64/illegal-nofp16.d: New.
951 2016-07-01 Nick Clifton <nickc@redhat.com>
953 * macro.c (macro_expand_body): Use a buffer big enough to hold an
954 extremely large integer.
956 2016-07-01 Jan Beulich <jbeulich@suse.com>
958 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
960 2016-07-01 Tristan Gingold <gingold@adacore.com>
962 * NEWS: Add marker for 2.27.
964 2016-07-01 Jan Beulich <jbeulich@suse.com>
966 * tc-i386.c (i386_index_check): Add special checks for bndmk,
968 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
969 as well as scaling by other than 1 tests.
970 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
972 2016-07-01 Jan Beulich <jbeulich@suse.com>
974 * tc-i386.c (md_assemble): Alter address size checking for MPX
976 * testsuite/gas/i386/mpx-inval-2.s: New.
977 * testsuite/gas/i386/mpx-inval-2.l: New.
978 * testsuite/gas/i386/i386.exp: Run new test.
980 2016-07-01 Jan Beulich <jbeulich@suse.com>
983 * config/tc-i386.c (match_template): Add char parameter,
984 consumed in Intel mode for an extra suffix check.
985 (md_assemble): New local variable mnem_suffix.
986 * testsuite/gas/i386/suffix-bad.s: New.
987 * testsuite/gas/i386/suffix-bad.l: New.
988 * testsuite/gas/i386/i386.exp: Run new test (twice).
990 2016-07-01 Jan Beulich <jbeulich@suse.com>
992 * testsuite/gas/i386/movz.s: New.
993 * testsuite/gas/i386/movz32.d: New.
994 * testsuite/gas/i386/movz64.d: New.
995 * testsuite/gas/i386/i386.exp: Run new tests.
997 2016-07-01 Jan Beulich <jbeulich@suse.com>
999 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1000 (md_assemble): Free first memory operand string.
1001 (i386_index_check): Use repprefixok to distingush xlat from
1002 other (real) string ops.
1003 (maybe_adjust_templates): New.
1004 (i386_att_operand). Call it. Store first memory operand string.
1005 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1006 * testsuite/gas/i386/intel-movs.s: New.
1007 * testsuite/gas/i386/intel-movs32.d: New.
1008 * testsuite/gas/i386/intel-movs64.d: New.
1009 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1010 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1012 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1014 * config/tc-mips.c (get_append_method): Fix a comment typo.
1016 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1017 Maciej W. Rozycki <macro@imgtec.com>
1019 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1020 case MIPS16 handling.
1021 * testsuite/gas/mips/branch-swap-3.d: New test.
1022 * testsuite/gas/mips/branch-swap-4.d: New test.
1023 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1024 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1025 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1026 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1027 * testsuite/gas/mips/branch-swap-3.s: New test source.
1028 * testsuite/gas/mips/mips.exp: Run the new tests.
1030 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1032 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1035 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1038 * write.c (subsegs_finish_section): Force no section padding to
1039 alignment on failed assembly, always set last frag's alignment
1041 * testsuite/gas/all/pr20312.l: New list test.
1042 * testsuite/gas/all/pr20312.s: New test source.
1043 * testsuite/gas/all/gas.exp: Run the new test
1045 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1047 * config.in (TARGET_WITH_CPU): Undefine.
1048 * configure.ac: Add --with-cpu support, and define in config.h.
1049 * configure: Regenerate.
1050 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1051 * NEWS: Mention new configure option.
1053 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1055 * testsuite/gas/arm/armv8_2+rdma.d: New.
1057 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1059 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1060 default for Linux/x86 targets.
1061 * configure.tgt (ac_default_compressed_debug_sections): Default
1062 to yes for Linux/x86 targets.
1064 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1066 * write.c: Remove "libbfd.h" inclusion.
1068 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1070 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1073 2016-06-28 Alan Modra <amodra@gmail.com>
1076 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1078 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1080 * testsuite/gas/aarch64/diagnostic.s,
1081 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1083 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1085 * config/tc-mips.c (mips16_reloc_p): Handle
1086 BFD_RELOC_MIPS16_16_PCREL_S1.
1087 (b_reloc_p): Likewise.
1088 (limited_pcrel_reloc_p): Likewise.
1089 (md_pcrel_from): Likewise.
1090 (md_apply_fix): Likewise.
1091 (tc_gen_reloc): Likewise.
1092 (md_convert_frag): Likewise.
1093 (mips_fix_adjustable): Update comment.
1094 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1095 output, add dump patterns.
1096 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1097 output, add dump patterns.
1098 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1099 output, add dump patterns.
1100 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1101 output, add dump patterns.
1102 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1103 output, add dump patterns.
1104 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1105 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1106 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1107 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1108 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1109 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1110 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1111 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1112 * testsuite/gas/mips/branch-weak-6.d: New test.
1113 * testsuite/gas/mips/branch-weak-7.d: New test.
1114 * testsuite/gas/mips/mips.exp: Run the new tests.
1116 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1118 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1119 cfi_add_CFA_def_cfa to generate default CFA with offset
1120 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1122 2016-06-27 Nick Clifton <nickc@redhat.com>
1125 * as.h (do_not_pad_sections_to_alignment): New global variable.
1126 * as.c (show_usage): Add --no-pad-sections.
1127 (parse_args): Likewise.
1128 * write.c (size_seg): Skip padding the end of the section if
1129 requested from the command line.
1130 (SUB_SEGMENT_ALIGN): Likewise.
1131 * doc/as.texinfo: Document the new option.
1132 * NEWS: Mention the new feature.
1133 * testsuite/gas/elf/section11.s: New test.
1134 * testsuite/gas/elf/section11.d: New test driver.
1135 * testsuite/gas/elf/elf.exp: Run the new test.
1137 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1139 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1140 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1142 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1144 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1146 (map_suffix_reloc_to_operator): Likewise.
1147 (map_operator_to_reloc): Likewise.
1149 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1151 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1152 element in relax_table.
1154 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1156 * config/tc-aarch64.c: Make the type of reg_entry::type
1159 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1161 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1162 (md_parse_option): Adjust.
1163 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1164 with iteration from 0 to ARRAY_SIZE.
1165 * config/tc-mcore.c (md_begin): Likewise.
1166 * config/tc-visium.c (visium_parse_arch): Likewise.
1168 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1170 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1171 and simplify accordingly.
1172 (tic54x_include): Adjust.
1173 (tic54x_mlib): Likewise.
1175 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1177 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1179 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1181 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1182 unchanged with relaxed MIPS16 instructions.
1183 (mips16_extended_frag): Adjust accordingly. Return 1 right
1184 away if a relocation will be required for the symbol requested.
1185 Remove dead first relaxation pass code.
1186 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1187 (md_convert_frag): Adjust symbol value calculation. Raise an
1188 error if a relocation is required for the symbol requested.
1189 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1191 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1192 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1193 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1194 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1195 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1196 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1197 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1198 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1199 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1200 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1201 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1202 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1203 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1204 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1205 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1206 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1207 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1208 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1209 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1210 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1211 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1212 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1213 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1214 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1215 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1216 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1217 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1218 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1219 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1220 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1221 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1222 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1223 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1224 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1225 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1226 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1227 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1228 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1229 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1230 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1231 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1232 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1233 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1234 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1235 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1236 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1237 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1238 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1239 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1240 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1241 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1242 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1243 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1244 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1245 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1246 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1247 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1248 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1249 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1250 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1251 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1252 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1253 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1254 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1255 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1256 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1257 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1258 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1259 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1260 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1261 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1262 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1263 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1264 * testsuite/gas/mips/mips.exp: Run the new tests.
1266 2016-06-24 Alan Modra <amodra@gmail.com>
1268 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1270 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1272 * config/tc-mips.c (b_reloc_p): New function.
1273 (mips_fix_adjustable): Also keep the original microMIPS symbol
1274 referred from branch relocations.
1275 * testsuite/gas/mips/branch-local-1.d: New test.
1276 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1277 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1278 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1280 * testsuite/gas/mips/branch-local-1.s: New test source.
1281 * testsuite/gas/mips/mips.exp: Run the new cases.
1283 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1285 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1286 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1287 options. Correct erroneous enabling of SPFP instructions when
1290 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1292 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1293 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1294 setbool, xor3>: New tests.
1295 * testsuite/gas/ppc/power9.s: Likewise.
1297 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1299 * config/tc-xtensa.c: Include elf/xtensa.h.
1301 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1303 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1304 <BFD_RELOC_LO16_PCREL>: New switch cases.
1305 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1306 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1307 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1308 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1310 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1311 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1312 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1313 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1314 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1315 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1316 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1317 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1318 * testsuite/gas/mips/mips.exp: Run the new tests.
1320 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1322 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1323 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1324 via `fixP->fx_addsy'.
1326 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1328 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1329 Calculate relocation from the containing aligned doubleword.
1330 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1331 addend from the containing aligned doubleword.
1333 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1335 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1336 rather than `mips_opts' for the R6 ISA check.
1337 (mips_fix_adjustable): Likewise.
1338 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1339 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1340 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1341 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1342 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1343 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1344 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1345 * testsuite/gas/mips/mips.exp: Run the new tests.
1347 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1349 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1350 Add nps400 option and feature. Add check for nps400
1351 feature. Refactor existing checks to check subclass before
1353 (md_show_usage): Document flags for NPS-400 and add some other
1355 (cpu_type): Remove nps400 CPU type entry
1356 (check_zol): Remove bfd_mach_arc_nps400 case.
1357 (md_show_usage): Add help on -mcpu=nps400.
1358 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1360 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1361 -fpuda flags. Document -mcpu=nps400.
1362 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1363 expected flags to match ARC700 instead of NPS400.
1364 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1365 * testsuite/gas/arc/nps-400-2.d: Likewise.
1366 * testsuite/gas/arc/nps-400-3.d: Likewise.
1367 * testsuite/gas/arc/nps-400-4.d: Likewise.
1368 * testsuite/gas/arc/nps-400-5.d: Likewise.
1369 * testsuite/gas/arc/nps-400-6.d: Likewise.
1370 * testsuite/gas/arc/nps-400-7.d: Likewise.
1371 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1372 avoid clash with cbba instruction.
1373 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1374 * testsuite/gas/arc/textinsn3op.d: Likewise.
1375 * testsuite/gas/arc/textinsn3op.s: Likewise.
1376 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1377 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1379 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1381 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1382 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1384 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1386 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1389 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1391 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1393 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1395 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1396 %hmcddfr and %hva_mask_nz.
1397 (sparc_ip): New handling of asr/privileged/hyperprivileged
1398 registers, adapted to the new form of the sparc opcodes table.
1399 * testsuite/gas/sparc/rdasr.s: New file.
1400 * testsuite/gas/sparc/rdasr.d: Likewise.
1401 * testsuite/gas/sparc/wrasr.s: Likewise.
1402 * testsuite/gas/sparc/wrasr.d: Likewise.
1403 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1405 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1406 registers require it.
1407 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1408 registers and write instruction modalities.
1409 * testsuite/gas/sparc/wrpr.d: Likewise.
1410 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1412 * testsuite/gas/sparc/rdhpr.d: Likewise.
1413 * testsuite/gas/sparc/wrhpr.s: Likewise.
1414 * testsuite/gas/sparc/wrhpr.d: Likewise.
1416 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1418 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1419 architectures to use the right opcode architecture.
1420 (sparc_md_end): Handle v9{c,d,e,v,m}.
1421 (sparc_ip): Fix some comments.
1422 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1423 instruction, which is v9d.
1424 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1425 instruction from the test, as %mwait is not readable.
1426 * testsuite/gas/sparc/mwait.d: Likewise.
1427 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1428 mismatch architecture errors.
1429 * testsuite/gas/sparc/mism-2.s: New file.
1431 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1433 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1434 empty string to mark the end of the array.
1435 (hpriv_reg_table): Likewise.
1436 (v9a_asr_table): Likewise.
1437 (cmp_reg_entry): Handle entries with NULL names.
1439 (F_POP_PCREL): Likewise.
1440 (F_POP_TLS_CALL): Likewise.
1441 (F_POP_POSTFIX): Likewise.
1442 (struct pop_entry): New type.
1443 (pop_table): New variable.
1444 (enum pop_entry_type): New type.
1445 (struct perc_entry): Likewise.
1446 (NUM_PERC_ENTRIES): Define.
1447 (perc_table): New variable.
1448 (cmp_perc_entry): New function.
1449 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1451 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1452 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1455 2016-06-15 Nick Clifton <nickc@redhat.com>
1457 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1459 * config/tc-mcore.c (md_assemble): Likewise.
1460 * config/tc-mn10200.c (md_assemble): Likewise.
1461 * config/tc-moxie.c (md_assemble): Likewise.
1462 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1463 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1464 exception targets. Add alpha, hppa, microblaze and rl78 to list
1466 (forward): Add microblaze to list of exceptions.
1467 (fwdexp): Add alpha to list of exceptions.
1468 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1469 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1470 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1471 mn10200 to list of exceptions.
1472 (align2): Expect to fail for nds32.
1473 (cond): Add alpha and rl78 to list of exceptions.
1474 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1475 * testsuite/gas/all/string.d: Skip for tic4x.
1476 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1477 target does not support ELF.
1478 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1479 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1480 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1481 tests for sh-pe and sh-rtemscoff targets.
1482 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1484 (type): Run the noifunc version for alpha-freebsd and visium.
1485 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1486 mn10200 or moxie targets.
1487 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1488 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1490 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1491 mcore and rx targets.
1492 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1494 (purge): Expect to fail on the ns32k and vax.
1495 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1496 * testsuite/gas/nds32/ls.d: Likewise.
1497 * testsuite/gas/nds32/sys-reg.d: Likewise.
1498 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1499 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1500 * testsuite/gas/pe/section-align-3.d: Likewise.
1501 * testsuite/gas/pe/section-exclude.d: Likewise.
1502 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1504 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1505 for variations in whitespace.
1506 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1508 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1509 Installs a 32-bit value without generating warnings on 64-bit
1511 Use the new macro to replace the .word directives.
1513 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1515 * testsuite/gas/arc/add_s.d: New file.
1516 * testsuite/gas/arc/add_s.s: New file.
1518 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1520 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1521 * testsuite/gas/arc/nps400-6.d: Likewise.
1523 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1525 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1527 * testsuite/gas/arc/nps400-6.d: Likewise.
1529 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1531 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1532 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1533 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1534 * testsuite/gas/arc/nps400-6.d: Likewise.
1536 2016-06-14 Nick Clifton <nickc@redhat.com>
1538 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1541 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1543 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1544 JALR relocations on R6.
1545 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1546 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1547 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1548 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1549 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1550 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1552 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1553 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1555 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1556 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1558 * testsuite/gas/mips/mips.exp: Run the new tests.
1560 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1562 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1563 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1566 2016-06-13 Nick Clifton <nickc@redhat.com>
1568 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1569 that are not supported.
1571 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1573 * config/tc-cr16.c (check_range): Likewise.
1574 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1576 2016-06-08 Renlin Li <renlin.li@arm.com>
1578 * config/tc-aarch64.c (print_operands): Substitute size.
1579 (output_operand_error_record): Likewise.
1581 2016-06-07 Alan Modra <amodra@gmail.com>
1583 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1584 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1585 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1586 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1587 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1588 add vle_opcodes twice.
1589 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1591 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1593 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1594 (arm_ext_ras): Renamed from arm_ext_v8_2.
1595 (insns): Update for arm_ext_v8_2 renaming.
1596 (arm_extensions): Add "ras".
1597 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1598 * testsuite/gas/arm/armv8-a+ras.d: New.
1599 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1602 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1604 * itbl-parse.y (yyerror): Use modern argument declaration style.
1606 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1608 * config/tc-sh.c (parse_reg): Change type of mode argument to
1610 (get_operand): Adjust.
1611 (insert): Change type of how to bfd_reloc_code_real_type.
1612 (insert4): Likewise.
1613 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1614 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1616 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1618 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1621 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1624 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1625 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1626 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1627 * gas/testsuite/gas/ppc/power8.s: Likewise.
1628 * gas/testsuite/gas/ppc/power8.d: Likewise.
1629 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1631 * gas/testsuite/gas/ppc/power4.d: Likewise.
1633 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1636 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1637 * testsuite/gas/i386/x86-64-branch.d: Updated.
1638 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1639 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1640 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1642 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1644 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1645 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1647 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1649 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1650 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1652 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1654 * configure.tgt: Replace -uclibc with *.
1656 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1658 * config/tc-arc.c (parse_opcode_flags): New function.
1659 (find_opcode_match): Move flag parsing code out to new function.
1660 Ignore operands marked IGNORE.
1661 (build_fake_opcode_hash_entry): New function.
1662 (find_special_case_long_opcode): New function.
1663 (find_special_case): Lookup long opcodes.
1664 * testsuite/gas/arc/nps400-7.d: New file.
1665 * testsuite/gas/arc/nps400-7.s: New file.
1667 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1669 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1671 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1673 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1674 sentinal with iteration to array size.
1676 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1678 * config/xtensa-relax.h: Move typedefs of enums to the enums
1681 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1683 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1686 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1688 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1689 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1690 * testsuite/gas/arc/nps-400-1.d: Likewise.
1692 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1695 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1696 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1697 noavx512ifma and noavx512vbmi.
1698 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1699 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1701 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1702 * testsuite/gas/i386/noavx512-1.l: New file.
1703 * testsuite/gas/i386/noavx512-1.s: Likewise.
1704 * testsuite/gas/i386/noavx512-2.l: Likewise.
1705 * testsuite/gas/i386/noavx512-2.s: Likewise.
1707 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1710 * config/tc-i386.c (cpu_arch): Add 687.
1711 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1712 nosse4.1, nosse4.2, nosse4 and noavx2.
1713 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1714 register. Check cpuregxmm instead of cpusse for XMM register.
1715 Check cpuregymm instead of cpuavx for YMM register. Check
1716 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1717 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1718 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1719 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1720 * testsuite/gas/i386/arch-10.d (as): Likewise.
1721 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1722 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1723 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1725 * testsuite/gas/i386/no87-3.l: New file.
1726 * testsuite/gas/i386/no87-3.s: Likewise.
1727 * testsuite/gas/i386/noavx-3.l: Likewise.
1728 * testsuite/gas/i386/noavx-3.s: Likewise.
1729 * testsuite/gas/i386/noavx-4.d: Likewise.
1730 * testsuite/gas/i386/noavx-4.s: Likewise.
1731 * testsuite/gas/i386/nosse-4.l: Likewise.
1732 * testsuite/gas/i386/nosse-4.s: Likewise.
1733 * testsuite/gas/i386/nosse-5.d: Likewise.
1734 * testsuite/gas/i386/nosse-5.s: Likewise.
1736 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1739 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1741 (match_template): Check Intel64/AMD64 ISA.
1743 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1746 * config/tc-i386.c (intel64): New.
1747 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1748 (md_parse_option): Set intel64 instead of cpuamd64 and
1751 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1753 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1756 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1758 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1759 * testsuite/gas/ppc/altivec3.s: Likewise.
1760 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1761 * testsuite/gas/ppc/power9.s: Likewise.
1763 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1765 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1766 * testsuite/gas/i386/noavx-1.l: Likewise.
1767 * testsuite/gas/i386/nommx-1.l: Likewise.
1768 * testsuite/gas/i386/nosse-1.l: Likewise.
1769 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1770 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1771 * testsuite/gas/i386/noavx-1.s: Likewise.
1772 * testsuite/gas/i386/nommx-1.s: Likewise.
1773 * testsuite/gas/i386/nosse-1.s: Likewise.
1774 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1776 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1778 * config/tc-metag.c (metag_handle_align): Make the type of noop
1781 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1783 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1784 bfd_reloc_code_real_type.
1786 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1789 * config/tc-i386.c (cpu_flags_match): Require another match
1791 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1792 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1793 * testsuite/gas/i386/avx512vl-1.l: New file.
1794 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1795 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1796 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1797 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1798 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1799 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1800 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1802 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1805 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1806 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1807 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1809 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1811 * config/tc-i386.c (arch_entry): Remove negated.
1812 (noarch_entry): New struct.
1813 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1815 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1816 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1818 (output_message): New function.
1819 (show_arch): Use it. Handle cpu_noarch.
1820 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1821 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1822 * testsuite/gas/i386/noavx-1.l: New file.
1823 * testsuite/gas/i386/noavx-1.s: Likewise.
1824 * testsuite/gas/i386/noavx-2.s: Likewise.
1825 * testsuite/gas/i386/noavx-2.l: Likewise.
1826 * testsuite/gas/i386/nommx-1.s: Likewise.
1827 * testsuite/gas/i386/nommx-1.l: Likewise.
1828 * testsuite/gas/i386/nommx-2.s: Likewise.
1829 * testsuite/gas/i386/nommx-2.l: Likewise.
1830 * testsuite/gas/i386/nommx-3.s: Likewise.
1831 * testsuite/gas/i386/nommx-3.l: Likewise.
1832 * testsuite/gas/i386/nosse-1.s: Likewise.
1833 * testsuite/gas/i386/nosse-1.l: Likewise.
1834 * testsuite/gas/i386/nosse-2.s: Likewise.
1835 * testsuite/gas/i386/nosse-2.l: Likewise.
1836 * testsuite/gas/i386/nosse-3.s: Likewise.
1837 * testsuite/gas/i386/nosse-3.l: Likewise.
1839 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1842 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1843 instruction if supported by the currently selected fpu variant.
1844 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1845 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1847 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1849 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1850 jump relocations against MIPS16 or microMIPS symbols on RELA
1852 * testsuite/gas/mips/jalx-local.d: New test.
1853 * testsuite/gas/mips/jalx-local-n32.d: New test.
1854 * testsuite/gas/mips/jalx-local-n64.d: New test.
1855 * testsuite/gas/mips/jalx-local.s: New test source.
1856 * testsuite/gas/mips/mips.exp: Run the new tests.
1858 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1860 * config/tc-mips.c (md_apply_fix)
1861 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1864 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1866 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1867 operator to operatorT.
1868 (map_suffix_reloc_to_operator): Change return type to operatorT.
1870 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1872 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1874 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1876 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1877 handler_charp to const char *.
1879 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1881 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1882 (ft32_target_format): Likewise.
1883 (TARGET_FORMAT): Adjust.
1885 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1887 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1888 (ia64_frob_label): Likewise.
1890 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1892 * config/tc-cr16.c (check_range): Make type of retval op_err.
1893 * config/tc-crx.c: Likewise.
1895 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1897 * config/tc-arc.c (md_begin): Add XY registers.
1898 (cpu_types): Code density is default off for ARC EM.
1900 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1902 * config/tc-arc.c (attributes_t): Renamed attribute class to
1904 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1906 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1908 * configuse.tgt: Add entry for arm-phoenix.
1910 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1912 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1914 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1916 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1918 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1920 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1921 (md_begin): Likewise.
1922 (encode_condition): Likewise.
1923 (encode_cc3): Likewise.
1924 (encode_cc2): Likewise.
1925 (encode_operand): Likewise.
1926 (tic54x_undefined_symbol): Likewise.
1928 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1930 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1932 * doc/c-mips.texi: Document p6600 -march option.
1934 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1937 * config/tc-i386.c (md_apply_fix): Preserve addend for
1938 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1939 * testsuite/gas/i386/addend.d: New file.
1940 * testsuite/gas/i386/addend.s: Likewise.
1941 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1942 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1943 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1944 * testsuite/gas/i386/reloc32.d: Updated.
1946 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1948 * config/tc-mips.c (append_insn): Correct the encoding of a
1949 constant argument for microMIPS JALX.
1950 (tc_gen_reloc): Correct the encoding of an in-place addend for
1952 * testsuite/gas/mips/jalx-addend.d: New test.
1953 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1954 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1955 * testsuite/gas/mips/jalx-imm.d: New test.
1956 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1957 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1958 * testsuite/gas/mips/jalx-addend.s: New test source.
1959 * testsuite/gas/mips/jalx-imm.s: New test source.
1960 * testsuite/gas/mips/mips.exp: Run the new tests.
1962 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1964 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1967 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1969 * config/tc-arc.c (find_opcode_match): Remove casting away of
1971 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1973 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1975 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1977 (md_convert_frag): Likewise.
1979 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1981 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1982 cached opcode to NULL when we reach a non-matching opcode.
1983 * testsuite/gas/arc/asm-errors-2.d: New file.
1984 * testsuite/gas/arc/asm-errors-2.err: New file.
1985 * testsuite/gas/arc/asm-errors-2.s: New file.
1987 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1989 * config/tc-arc.c (tokenize_arguments): Add checks for array
1991 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1992 * testsuite/gas/arc/asm-errors.err: Update expected results.
1994 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1996 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1997 int to enum rx_cpu_types.
1999 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2001 * config/tc-dlx.c (struct machine_it): change the type of a field from
2002 int to bfd_reloc_code_real_type.
2003 * config/tc-tic4x.c: Likewise.
2005 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2007 * config/tc-v850.c (v850_target_arch): change type to enum
2009 * config/tc-v850.h (v850_target_arch): Likewise.
2011 2016-05-18 Alan Modra <amodra@gmail.com>
2013 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2014 allowed negative range.
2015 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2016 * testsuite/gas/ppc/power9.d: Update.
2018 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2020 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2021 disassembling and stop skipping targets.
2022 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2023 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2024 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2025 instruction for targets that have stronger alignment requirement.
2026 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2027 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2028 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2029 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2030 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2031 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2032 * testsuite/gas/arm/archv8m-main.d: Likewise.
2033 * testsuite/gas/arm/archv8m.s: Add label.
2034 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2035 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2036 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2038 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2040 * config/tc-m32r.c (mach_table): Make static and const.
2042 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2044 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2047 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2049 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2051 * config/tc-msp430.c (md_begin): Likewise.
2053 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2055 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2056 bfd_reloc_code_real_type where appropriate.
2057 (fixup16): Likewise.
2058 (fixup8_xg): Likewise.
2060 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2062 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2064 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2066 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2067 * testsuite/gas/ppc/power9.s: Likewise.
2069 2016-05-13 Alan Modra <amodra@gmail.com>
2071 * config/obj-coff.c (weak_uniquify): Delete unused var.
2073 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2075 * app.c (app_push): Use XNEW and related macros.
2076 * as.c (parse_args): Likewise.
2077 * cgen.c (make_right_shifted_expr): Likewise.
2078 (gas_cgen_tc_gen_reloc): Likewise.
2079 * config/bfin-defs.h: Likewise.
2080 * config/bfin-parse.y: Likewise.
2081 * config/obj-coff.c (stack_init): Likewise.
2082 (stack_push): Likewise.
2083 (coff_obj_symbol_new_hook): Likewise.
2084 (coff_obj_symbol_clone_hook): Likewise.
2085 (add_lineno): Likewise.
2086 (coff_frob_symbol): Likewise.
2087 * config/obj-elf.c (obj_elf_section_name): Likewise.
2088 (build_group_lists): Likewise.
2089 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2090 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2091 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2092 (find_or_make_literal_pool): Likewise.
2093 (add_to_lit_pool): Likewise.
2094 (fill_instruction_hash_table): Likewise.
2095 * config/tc-alpha.c (load_expression): Likewise.
2096 (emit_jsrjmp): Likewise.
2097 (s_alpha_ent): Likewise.
2098 (s_alpha_end): Likewise.
2099 (s_alpha_linkage): Likewise.
2100 (md_begin): Likewise.
2101 (tc_gen_reloc): Likewise.
2102 * config/tc-arc.c (arc_insert_opcode): Likewise.
2103 (arc_extcorereg): Likewise.
2104 * config/tc-bfin.c: Likewise.
2105 * config/tc-cr16.c: Likewise.
2106 * config/tc-cris.c: Likewise.
2107 * config/tc-crx.c (preprocess_reglist): Likewise.
2108 * config/tc-d10v.c: Likewise.
2109 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2110 (frv_tomcat_shuffle): Likewise.
2111 * config/tc-h8300.c: Likewise.
2112 * config/tc-i370.c (i370_macro): Likewise.
2113 * config/tc-i386.c (lex_got): Likewise.
2114 (md_parse_option): Likewise.
2115 * config/tc-ia64.c (alloc_record): Likewise.
2116 (set_imask): Likewise.
2117 (save_prologue_count): Likewise.
2118 (dot_proc): Likewise.
2119 (dot_endp): Likewise.
2120 (ia64_frob_label): Likewise.
2121 (add_qp_imply): Likewise.
2122 (add_qp_mutex): Likewise.
2123 (mark_resource): Likewise.
2124 (dot_alias): Likewise.
2125 * config/tc-m68hc11.c: Likewise.
2126 * config/tc-m68k.c (m68k_frob_label): Likewise.
2128 (mri_control_label): Likewise.
2129 (push_mri_control): Likewise.
2130 (build_mri_control_operand): Likewise.
2131 (s_mri_else): Likewise.
2132 (s_mri_break): Likewise.
2133 (s_mri_next): Likewise.
2134 (s_mri_for): Likewise.
2135 (s_mri_endw): Likewise.
2136 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2137 * config/tc-microblaze.c: Likewise.
2138 * config/tc-mmix.c (s_loc): Likewise.
2139 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2140 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2141 * config/tc-rl78.c: Likewise.
2142 * config/tc-rx.c (rx_include): Likewise.
2143 * config/tc-sh.c: Likewise.
2144 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2145 * config/tc-sparc.c: Likewise.
2146 * config/tc-spu.c: Likewise.
2147 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2148 (tic6x_start_unwind_section): Likewise.
2149 * config/tc-tilegx.c: Likewise.
2150 * config/tc-tilepro.c: Likewise.
2151 * config/tc-v850.c: Likewise.
2152 * config/tc-visium.c: Likewise.
2153 * config/tc-xgate.c: Likewise.
2154 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2155 (new_resource_table): Likewise.
2156 (resize_resource_table): Likewise.
2157 (xtensa_create_trampoline_frag): Likewise.
2158 (xtensa_maybe_create_literal_pool_frag): Likewise.
2159 (cache_literal_section): Likewise.
2160 * config/xtensa-relax.c (append_transition): Likewise.
2161 (append_condition): Likewise.
2162 (append_value_condition): Likewise.
2163 (append_constant_value_condition): Likewise.
2164 (append_literal_op): Likewise.
2165 (append_label_op): Likewise.
2166 (append_constant_op): Likewise.
2167 (append_field_op): Likewise.
2168 (append_user_fn_field_op): Likewise.
2169 (enter_opname_n): Likewise.
2170 (enter_opname): Likewise.
2171 (split_string): Likewise.
2172 (parse_insn_templ): Likewise.
2173 (clone_req_or_option_list): Likewise.
2174 (clone_req_option_list): Likewise.
2175 (parse_option_cond): Likewise.
2176 (parse_insn_pattern): Likewise.
2177 (parse_insn_repl): Likewise.
2178 (build_transition): Likewise.
2179 (build_transition_table): Likewise.
2180 * dw2gencfi.c (alloc_fde_entry): Likewise.
2181 (alloc_cfi_insn_data): Likewise.
2182 (cfi_add_CFA_remember_state): Likewise.
2183 (dot_cfi_escape): Likewise.
2184 (dot_cfi_fde_data): Likewise.
2185 (select_cie_for_fde): Likewise.
2186 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2187 * ecoff.c (ecoff_add_bytes): Likewise.
2188 (ecoff_build_debug): Likewise.
2189 * input-scrub.c (input_scrub_push): Likewise.
2190 (input_scrub_begin): Likewise.
2191 (input_scrub_next_buffer): Likewise.
2192 * itbl-ops.c (append_insns_as_macros): Likewise.
2193 (alloc_entry): Likewise.
2194 (alloc_field): Likewise.
2195 * listing.c (listing_newline): Likewise.
2196 (listing_listing): Likewise.
2197 * macro.c (get_any_string): Likewise.
2198 (delete_macro): Likewise.
2199 * stabs.c (generate_asm_file): Likewise.
2200 (stabs_generate_asm_lineno): Likewise.
2201 * subsegs.c (subseg_change): Likewise.
2202 (subseg_get): Likewise.
2203 * symbols.c (define_dollar_label): Likewise.
2204 (symbol_relc_make_sym): Likewise.
2205 * write.c (write_relocs): Likewise.
2207 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2209 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2210 (weak_name2altname): Likewise.
2211 (weak_uniquify): Likewise.
2212 (obj_coff_section): Likewise.
2213 (obj_coff_init_stab_section): Likewise.
2214 * config/obj-elf.c (obj_elf_section_name): Likewise.
2215 (obj_elf_init_stab_section): Likewise.
2216 * config/obj-evax.c (evax_shorten_name): Likewise.
2217 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2218 * config/tc-aarch64.c (create_register_alias): Likewise.
2219 * config/tc-alpha.c (load_expression): Likewise.
2220 (s_alpha_file): Likewise.
2221 (s_alpha_section_name): Likewise.
2222 (tc_gen_reloc): Likewise.
2223 * config/tc-arc.c (md_assemble): Likewise.
2224 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2225 (start_unwind_section): Likewise.
2226 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2227 (hppa_elf_mark_end_of_function): Likewise.
2228 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2229 (nios2_negate_arg): Likewise.
2230 * config/tc-rx.c (rx_section): Likewise.
2231 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2232 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2233 * config/tc-tic54x.c (tic54x_include): Likewise.
2234 (tic54x_macro_info): Likewise.
2235 (subsym_get_arg): Likewise.
2236 (subsym_substitute): Likewise.
2237 (tic54x_start_line_hook): Likewise.
2238 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2239 (xg_reverse_shift_count): Likewise.
2240 * config/xtensa-relax.c (enter_opname_n): Likewise.
2241 (split_string): Likewise.
2242 * dwarf2dbg.c (get_filenum): Likewise.
2243 (process_entries): Likewise.
2244 * expr.c (operand): Likewise.
2245 * itbl-ops.c (alloc_entry): Likewise.
2246 * listing.c (listing_message): Likewise.
2247 (listing_title): Likewise.
2248 * macro.c (check_macro): Likewise.
2249 * stabs.c (s_xstab): Likewise.
2250 * symbols.c (symbol_relc_make_expr): Likewise.
2251 * write.c (compress_debug): Likewise.
2253 2016-05-12 Nick Clifton <nickc@redhat.com>
2256 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2258 2016-05-11 Nick Clifton <nickc@redhat.com>
2261 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2262 big endian ARM configurations.
2264 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2265 Matthew Fortune <matthew.fortune@imgtec.com>
2267 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2269 (md_longopts): Likewise.
2270 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2271 (mips_ases): Define availability for DSPr3.
2272 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2273 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2274 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2276 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2277 .set nodspr3. Fix -mdspr2 formatting.
2278 * testsuite/gas/mips/mips32-dspr3.d: New file.
2279 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2280 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2282 2016-05-11 Nick Clifton <nickc@redhat.com>
2285 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2286 to the pool uses O_constant.
2287 * testsuite/gas/arm/pr20068.s: New test.
2288 * testsuite/gas/arm/pr20068.d: Test driver.
2290 2016-05-11 Nick Clifton <nickc@redhat.com>
2292 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2293 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2294 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2295 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2296 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2297 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2298 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2299 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2300 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2302 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2304 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2305 * testsuite/gas/i386/prefix.d: Adjust.
2306 * testsuite/gas/i386/rdpid.s: New test.
2307 * testsuite/gas/i386/rdpid.d: Ditto.
2308 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2309 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2310 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2311 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2313 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2315 * config/tc-i386.c (cpu_arch): Add RDPID.
2316 * doc/c-i386.texi: Document RDPID.
2318 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2320 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2321 set branch type of a symbol.
2323 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2325 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2326 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2328 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2329 (aeabi_set_public_attributes): Memorize the feature bits of the
2330 architecture selected for Tag_CPU_arch. Use it to set
2331 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2332 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2333 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2334 * testsuite/gas/arm/arch7em-bad-1.d: This.
2335 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2336 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2337 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2338 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2339 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2340 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2341 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2342 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2344 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2346 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2347 allowed_archs an array with 2 entries.
2348 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2349 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2350 (arm_extensions): Use separate entries in allowed_archs when several
2351 archs are allowed to use an extension and change ARCH_ANY in
2352 ARM_ARCH_NONE in allowed_archs.
2353 (arm_parse_extension): Check that, for each allowed_archs entry, all
2354 bits are set in the current architecture, ignoring ARM_ANY entries.
2355 (s_arm_arch_extension): Likewise.
2357 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2359 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2360 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2361 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2362 shared with a non M profile architecture.
2363 (do_rn): New function.
2364 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2366 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2367 (insns): Add ARMv8-M Security Extensions instructions.
2368 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2369 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2370 * testsuite/gas/arm/archv8m-cmse.s: New file.
2371 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2372 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2373 * testsuite/gas/arm/any-cmse.d: Likewise.
2374 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2375 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2376 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2377 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2378 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2379 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2381 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2383 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2384 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2386 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2388 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2389 (fpu_arch_vfp_v3): Likewise.
2390 (fpu_arch_neon_v1): Likewise.
2391 (arm_arch_full): Likewise.
2392 (parse_neon_el_struct_list): Initialize fields of firsttype.
2394 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2396 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2397 (arc_extinsn): Handle new introduced syntax.
2398 * testsuite/gas/arc/textinsn1op.d: New file.
2399 * testsuite/gas/arc/textinsn1op.s: Likewise.
2400 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2402 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2404 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2405 DW_LNS_fixed_advance_pc.
2407 2016-04-27 Alan Modra <amodra@gmail.com>
2409 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2410 (xmemdup0): New inline function.
2412 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2414 * config/tc-mips.c (code_option_type): New enum.
2415 (parse_code_option): Return status indicating option type.
2416 (s_mipsset): Update `parse_code_option' call site accordingly.
2417 Always set register sizes from the ISA with ISA overrides.
2418 (s_module): Update `parse_code_option' call site.
2419 * testsuite/gas/mips/isa-override-1.d: New test.
2420 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2421 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2422 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2423 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2424 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2425 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2426 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2427 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2428 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2429 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2430 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2431 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2432 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2433 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2434 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2435 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2436 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2437 * testsuite/gas/mips/isa-override-2.l: New list test.
2438 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2439 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2440 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2441 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2442 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2443 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2444 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2445 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2446 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2447 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2448 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2450 * testsuite/gas/mips/isa-override-1.s: New test source.
2451 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2452 * testsuite/gas/mips/isa-override-2.s: New test source.
2453 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2454 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2455 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2456 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2457 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2458 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2459 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2460 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2461 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2462 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2463 * testsuite/gas/mips/mips.exp: Run the new tests.
2465 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2468 * config/tc-bfin.c: Likewise.
2469 * config/tc-ia64.c: Likewise.
2470 * config/tc-mep.c: Likewise.
2471 * config/tc-metag.c: Likewise.
2472 * config/tc-nios2.c: Likewise.
2473 * config/tc-rl78.c: Likewise.
2475 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2477 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2478 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2479 (ARC Directives): Add NPS400 to .cpu directive list.
2481 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2483 * config/tc-aarch64.c (aarch64_features): Add "ras".
2484 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2485 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2486 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2487 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2488 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2490 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2492 * testsuite/gas/arc/nps400-6.d: New file.
2493 * testsuite/gas/arc/nps400-6.s: New file.
2495 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2497 * testsuite/gas/arc/nps400-4.d: New file.
2498 * testsuite/gas/arc/nps400-4.s: New file.
2499 * testsuite/gas/arc/nps400-5.d: New file.
2500 * testsuite/gas/arc/nps400-5.s: New file.
2502 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2504 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2507 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2509 Revert prevous change.
2510 * config/tc-arc.c (arc_option): Make .cpu directive
2511 case-sensitive again.
2513 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2515 * config/tc-arc.c (arc_option): Make .cpu directive
2518 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2520 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2522 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2524 * config/tc-mips.c (md_begin): Remove useless assignment.
2526 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2528 * Makefile.in: Regenerated with automake 1.11.6.
2529 * aclocal.m4: Likewise.
2530 * doc/Makefile.in: Likewise.
2532 2016-04-15 Alan Modra <amodra@gmail.com>
2534 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2536 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2538 * config/tc-nios2.c (nios2_as_options): Make file static.
2539 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2540 * config/tc-sparc.c (native_op_table): Likewise.
2542 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2544 * config/tc-m32c.c (M32C_Macros): Remove.
2545 * config/tc-msp430.c (option_numbers): Likewise.
2547 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2549 * testsuite/gas/arc/nps400-3.d: New file.
2550 * testsuite/gas/arc/nps400-3.s: New file.
2552 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2554 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2555 * testsuite/gas/arc/warn.s: Likewise.
2556 * testsuite/gas/elf/elf.exp: Run test for arc.
2558 2016-04-14 Nick Clifton <nickc@redhat.com>
2561 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2562 sections possibly having the SHF_STRINGS flag bit set.
2563 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2565 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2567 * config/tc-arc.c (mach_type_specified_p): Change type to
2569 (arc_option): Set private flags when parsing cpu pseudo-op.
2570 (md_parse_option): Set mach_type_specified_p to TRUE.
2572 2016-04-13 Nick Clifton <nickc@redhat.com>
2575 * testsuite/gas/v850/pr19937.s: New test.
2576 * testsuite/gas/v850/pr19937.d: New test control file.
2577 * testsuite/gas/v850/basic.exp: Run the new test.
2579 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2580 Andrew Bennett <andrew.bennett@imgtec.com>
2582 * config/tc-mips.c (relaxed_branch_length): Use the long
2583 sequence where the target is a weak symbol.
2584 (relaxed_micromips_32bit_branch_length): Likewise.
2585 (relaxed_micromips_16bit_branch_length): Likewise.
2586 * testsuite/gas/mips/branch-weak-1.d: New test.
2587 * testsuite/gas/mips/branch-weak-2.d: New test.
2588 * testsuite/gas/mips/branch-weak-3.d: New test.
2589 * testsuite/gas/mips/branch-weak-4.d: New test.
2590 * testsuite/gas/mips/branch-weak-5.d: New test.
2591 * testsuite/gas/mips/branch-weak.l: New stderr output.
2592 * testsuite/gas/mips/branch-weak.s: New test source.
2593 * testsuite/gas/mips/mips.exp: Run the new tests.
2595 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2597 * config/tc-mips.c (relaxed_branch_length): Use the long
2598 sequence where the distance cannot be determined.
2599 (relaxed_micromips_32bit_branch_length): Likewise.
2600 * testsuite/gas/mips/branch-extern-1.d: New test.
2601 * testsuite/gas/mips/branch-extern-2.d: New test.
2602 * testsuite/gas/mips/branch-extern-3.d: New test.
2603 * testsuite/gas/mips/branch-extern-4.d: New test.
2604 * testsuite/gas/mips/branch-extern.l: New stderr output.
2605 * testsuite/gas/mips/branch-extern.s: New test source.
2606 * testsuite/gas/mips/branch-section-1.d: New test.
2607 * testsuite/gas/mips/branch-section-2.d: New test.
2608 * testsuite/gas/mips/branch-section-3.d: New test.
2609 * testsuite/gas/mips/branch-section-4.d: New test.
2610 * testsuite/gas/mips/branch-section.l: New stderr output.
2611 * testsuite/gas/mips/branch-section.s: New test source.
2612 * testsuite/gas/mips/mips.exp: Run the new tests.
2614 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2616 * testsuite/gas/arc/textauxregister.d: New file.
2617 * testsuite/gas/arc/textauxregister.s: Likewise.
2618 * testsuite/gas/arc/textcondcode.d: Likewise.
2619 * testsuite/gas/arc/textcondcode.s: Likewise.
2620 * testsuite/gas/arc/textcoreregister.d: Likewise.
2621 * testsuite/gas/arc/textcoreregister.s: Likewise.
2622 * testsuite/gas/arc/textpseudoop.d: Likewise.
2623 * testsuite/gas/arc/textpseudoop.s: Likewise.
2624 * testsuite/gas/arc/ld2.d: Update test.
2625 * testsuite/gas/arc/st.d: Likewise.
2626 * testsuite/gas/arc/taux.d: Likewise.
2627 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2628 .extCoreRegister and .extAuxRegister documentation.
2629 * config/tc-arc.c (arc_extcorereg): New function.
2630 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2631 .extAuxRegister pseudo-ops.
2632 (extRegister_t): New type.
2633 (ext_condcode, arc_aux_hash): New global variable.
2634 (find_opcode_match): Check for extensions.
2635 (preprocess_operands): Likewise.
2636 (md_begin): Add aux registers in a hash.
2637 (assemble_insn): Update use arc_flags member.
2638 (tokenize_extregister): New function.
2639 (create_extcore_section): Likewise.
2640 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2642 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2644 * testsuite/gas/arc/noargs_a7.d: New file.
2645 * testsuite/gas/arc/noargs_a7.s: Likewise.
2646 * testsuite/gas/arc/noargs_hs.d: Likewise.
2647 * testsuite/gas/arc/noargs_hs.s: Likewise.
2649 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2651 * testsuite/gas/arc/textinsn-errors.d: New File.
2652 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2653 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2654 * testsuite/gas/arc/textinsn2op.d: Likewise.
2655 * testsuite/gas/arc/textinsn2op.s: Likewise.
2656 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2657 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2658 * testsuite/gas/arc/textinsn3op.d: Likewise.
2659 * testsuite/gas/arc/textinsn3op.s: Likewise.
2660 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2662 * config/tc-arc.c (arcext_section): New variable.
2663 (arc_extinsn): New function.
2664 (md_pseudo_table): Add .extInstruction pseudo op.
2665 (attributes_t): New type.
2666 (suffixclass, syntaxclass, syntaxclassmod): New constant
2668 (find_opcode_match): Remove arc_num_opcodes.
2669 (md_begin): Likewise.
2670 (tokenize_extinsn): New function.
2671 (arc_set_ext_seg): Likewise.
2672 (create_extinst_section): Likewise.
2674 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2676 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2677 (arc_adjust_symtab): New function.
2678 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2679 (obj_adjust_symtab): Likewise.
2680 * testsuite/gas/arc/taux.d: New file.
2681 * testsuite/gas/arc/taux.s: Likewise.
2683 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2685 * config/tc-mips.c (s_option): Sanitize `.option picX'
2687 * testsuite/gas/mips/option-pic-1.d: New test.
2688 * testsuite/gas/mips/option-pic-2.l: New list test.
2689 * testsuite/gas/mips/option-pic-1.s: New test source.
2690 * testsuite/gas/mips/option-pic-2.s: New test source.
2691 * testsuite/gas/mips/mips.exp: Run the new tests.
2693 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2695 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2697 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2698 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2699 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2700 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2701 * testsuite/gas/mips/mips.exp: Run the new tests.
2703 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2705 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2707 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2709 * messages.c (as_bad): Fix a typo in description.
2711 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2713 * config/tc-mips.c (mips_check_options): Unify messages.
2715 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2717 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2720 2016-04-08 Nick Clifton <nickc@redhat.com>
2723 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2724 COFF and AOUT sparc targets.
2726 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2728 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2729 * testsuite/gas/arc/nps400-2.d: New file.
2730 * testsuite/gas/arc/nps400-2.s: New file.
2732 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2734 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2736 (arc_opcode_hash_entry_iterator_init): New function.
2737 (arc_opcode_hash_entry_iterator_next): New function.
2738 (find_opcode_match): Iterate over all arc_opcode entries
2739 referenced by the arc_opcode_hash_entry passed in as a parameter.
2741 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2743 * config/tc-arc.c (arc_find_opcode): Now returns
2744 arc_opcode_hash_entry pointer.
2745 (find_opcode_match): Update argument type, extract arc_opcode from
2746 incoming arc_opcode_hash_entry.
2747 (find_special_case_pseudo): Update return type.
2748 (find_special_case_flag): Update return type.
2749 (find_special_case): Update return type.
2750 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2751 instruction mnemonic, then use find_opcode_match to identify
2752 specific arc_opcode.
2754 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2756 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2757 (arc_find_opcode): New function.
2758 (find_special_case_pseudo): Use arc_find_opcode.
2759 (find_special_case_flag): Likewise.
2760 (assemble_tokens): Likewise.
2761 (md_begin): Build hash using struct arc_opcode_hash_entry.
2763 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2765 * config/tc-arc.c (arc_option): Prepare string for automatic
2767 (declare_register): Likewise.
2769 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2771 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2772 Correct entry for RDMA. Alpha sort entries.
2774 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2776 * config/tc-arc.c (tokenize_flags): Allow greater range of
2777 characters into flag names.
2779 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2781 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2783 (preprocess_operands): Delete.
2784 (assemble_tokens): Remove call to preprocess_operands.
2786 2016-04-07 Nick Clifton <nickc@redhat.com>
2789 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2790 inside a %-macro could not be fully parsed.
2791 * expr.c (integer_constant): Accept and ignore U suffixes to
2793 (operand): When a missing closing parenthesis is encountered,
2794 report the character that was found instead.
2795 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2796 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2797 * testsuite/gas/sparc/pr19910-1.s: New test.
2798 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2799 * testsuite/gas/sparc/pr19910-2.s: New test.
2800 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2802 2016-04-06 Nick Clifton <nickc@redhat.com>
2804 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2805 an EINT instruction. Warn/fix as necessary.
2806 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2807 * testsuite/gas/msp430/bad.l: Update expected messages.
2809 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2811 * testsuite/gas/arc/nps400-1.d: Update expected results.
2812 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2814 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2816 * config/tc-arc.c (is_code_density_p): Compare directly the
2818 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2819 (check_cpu_feature): New function.
2820 (find_opcode_match): Use check_cpu_feature function.
2821 (preprocess_operands): Likewise.
2822 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2823 * testsuite/gas/arc/tdpfp.d: New file.
2824 * testsuite/gas/arc/tfpuda.d: Likewise.
2825 * testsuite/gas/arc/tfpx.s: Likewise.
2827 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2829 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2830 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2831 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2832 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2833 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2834 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2835 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2836 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2838 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2840 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2842 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2843 JUMP instructions type.
2844 * testsuite/gas/arc/relocs-errors.d: New file.
2845 * testsuite/gas/arc/relocs-errors.err: Likewise.
2846 * testsuite/gas/arc/relocs-errors.s: Likewise.
2848 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2851 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2852 only if i.disp_encoding != disp_encoding_32bit.
2853 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2854 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2855 * gas/testsuite/gas/i386/disp32.d: Updated.
2856 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2858 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2861 * testsuite/gas/i386/i386.exp: Run pr19498.
2862 * testsuite/gas/i386/pr19498.d: New file.
2863 * testsuite/gas/i386/pr19498.s: Likewise.
2865 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2867 * config/tc-arc.h: Include 'opcode/arc.h'.
2868 (MAX_INSN_ARGS): Delete.
2869 (MAX_INSN_FLGS): Delete.
2871 2016-04-04 Alan Modra <amodra@gmail.com>
2874 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2875 from function on all paths that set sy_resolving.
2877 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2879 * app.c (app_push): use XNEW macro.
2881 * config/obj-elf.c (obj_elf_change_section): Likewise.
2882 (elf_copy_symbol_attributes): Likewise.
2883 (obj_elf_size): Likewise.
2884 (build_group_lists): Likewise.
2885 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2886 (md_assemble): Likewise.
2887 (tc_gen_reloc): Likewise.
2888 (get_upper_str): Likewise.
2889 (aarch64_parse_features): Likewise.
2890 * config/tc-arm.c (insert_reg_alias): Likewise.
2891 (insert_neon_reg_alias): Likewise.
2892 (find_or_make_literal_pool): Likewise.
2893 (s_arm_elf_cons): Likewise.
2894 (add_unwind_opcode): Likewise.
2895 (arm_parse_extension): Likewise.
2896 * config/tc-avr.c (create_record_for_frag): Likewise.
2897 * config/tc-crx.c: Likewise.
2898 * config/tc-d30v.c: Likewise.
2899 * config/tc-dlx.c (s_proc): Likewise.
2900 * config/tc-ft32.c: Likewise.
2901 * config/tc-h8300.c: Likewise.
2902 * config/tc-hppa.c (pa_proc): Likewise.
2903 (create_new_space): Likewise.
2904 (create_new_subspace): Likewise.
2905 * config/tc-i860.c: Likewise.
2906 * config/tc-i960.c: Likewise.
2907 * config/tc-ia64.c: Likewise.
2908 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2909 (iq2000_record_hi16): Likewise.
2910 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2911 * config/tc-m32r.c (debug_sym): Likewise.
2912 (m32r_record_hi16): Likewise.
2913 * config/tc-m68k.c (m68k_ip): Likewise.
2914 (md_begin): Likewise.
2915 * config/tc-mcore.c: Likewise.
2916 * config/tc-microblaze.c (check_got): Likewise.
2917 * config/tc-mips.c (append_insn): Likewise.
2918 (s_mipsset): Likewise.
2919 (mips_record_label): Likewise.
2920 (s_mips_end): Likewise.
2921 * config/tc-mmix.c (mmix_frob_file): Likewise.
2922 * config/tc-mn10200.c: Likewise.
2923 * config/tc-mn10300.c: Likewise.
2924 * config/tc-moxie.c: Likewise.
2925 * config/tc-msp430.c: Likewise.
2926 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2927 * config/tc-ns32k.c: Likewise.
2928 * config/tc-or1k.c: Likewise.
2929 * config/tc-pdp11.c: Likewise.
2930 * config/tc-pj.c (fake_opcode): Likewise.
2931 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2932 (ppc_macro): Likewise.
2933 (ppc_dwsect): Likewise.
2934 (ppc_machine): Likewise.
2935 * config/tc-rl78.c (rl78_frag_init): Likewise.
2936 * config/tc-rx.c (rx_frag_init): Likewise.
2937 * config/tc-s390.c (s390_lit_suffix): Likewise.
2938 (s390_machine): Likewise.
2939 (s390_machinemode): Likewise.
2940 * config/tc-score.c (s3_insert_reg): Likewise.
2941 (s3_gen_reloc): Likewise.
2942 * config/tc-score7.c (s7_insert_reg): Likewise.
2943 (s7_gen_reloc): Likewise.
2944 * config/tc-tic30.c (tic30_operand): Likewise.
2945 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2946 * config/tc-tic54x.c (stag_add_field): Likewise.
2947 (tic54x_struct): Likewise.
2948 (tic54x_space): Likewise.
2949 (tic54x_field): Likewise.
2950 (tic54x_mlib): Likewise.
2951 (subsym_substitute): Likewise.
2952 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2953 * config/tc-vax.c: Likewise.
2954 * config/tc-xc16x.c: Likewise.
2955 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2956 (directive_push): Likewise.
2957 (xtensa_begin_directive): Likewise.
2958 (tokenize_arguments): Likewise.
2959 (xtensa_add_literal_sym): Likewise.
2960 (new_resource_table): Likewise.
2961 (resize_resource_table): Likewise.
2962 (emit_single_op): Likewise.
2963 (xtensa_create_trampoline_frag): Likewise.
2964 (xtensa_maybe_create_literal_pool_frag): Likewise.
2965 (xtensa_add_config_info): Likewise.
2966 (xtensa_realloc_fixup_cache): Likewise.
2967 (add_subseg_info): Likewise.
2968 (cache_literal_section): Likewise.
2969 (add_xt_block_frags): Likewise.
2970 (add_xt_prop_frags): Likewise.
2971 (init_op_placement_info_table): Likewise.
2972 (build_section_rename): Likewise.
2973 * config/tc-z80.c: Likewise.
2974 * config/tc-z8k.c: Likewise.
2975 * depend.c (register_dependency): Likewise.
2976 * dwarf2dbg.c (get_line_subseg): Likewise.
2977 (dwarf2_gen_line_info_1): Likewise.
2978 (get_filenum): Likewise.
2979 * ecoff.c (allocate_scope): Likewise.
2980 (allocate_vlinks): Likewise.
2981 (allocate_shash): Likewise.
2982 (allocate_thash): Likewise.
2983 (allocate_tag): Likewise.
2984 (allocate_forward): Likewise.
2985 (allocate_thead): Likewise.
2986 (allocate_lineno_list): Likewise.
2987 * expr.c (make_expr_symbol): Likewise.
2988 * hash.c (hash_new_sized): Likewise.
2989 * input-file.c (input_file_push): Likewise.
2990 * listing.c (file_info): Likewise.
2991 (listing_newline): Likewise.
2992 * macro.c (new_formal): Likewise.
2993 (define_macro): Likewise.
2994 * remap.c (add_debug_prefix_map): Likewise.
2995 * symbols.c (symbol_find_noref): Likewise.
2996 (define_dollar_label): Likewise.
2997 (fb_label_instance_inc): Likewise.
2998 (symbol_relc_make_value): Likewise.
3000 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3002 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3003 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3004 (ppc_znop): Likewise.
3005 (ppc_pe_section): Likewise.
3006 (ppc_frob_symbol): Likewise.
3007 * config/tc-tic30.c (tic30_operand): Likewise.
3008 * config/tc-tic4x.c (tic4x_sect): Likewise.
3009 (tic4x_usect): Likewise.
3011 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3013 * config/tc-alpha.c: Const qualify FLT_CHARS.
3014 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3015 * config/tc-cris.h: Likewise.
3017 * config/tc-mmix.c (md_atof): Adjust comment.
3018 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3019 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3021 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3023 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3024 * config/tc-score7.c (s7_gen_reloc): Likewise.
3026 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3028 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3029 bfd_reloc_code_real_type.
3031 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3033 * config/bfin-parse.y (current_inputline): Remove definition.
3034 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3036 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3038 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3041 2016-04-02 Alan Modra <amodra@gmail.com>
3044 * read.c (assign_symbol): Consume rest of line after an error
3045 rather than continuing to process the line.
3047 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3049 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3050 (MAX_FLAG_NAME_LENGTH): ...this.
3051 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3052 * config/tc-arc.c (tokenize_flags): Likewise.
3054 2016-04-01 Alan Modra <amodra@gmail.com>
3056 * cgen.c (weak_operand_overflow_check): Return const char*.
3057 * messages.c (as_internal_value_out_of_range): Formatting.
3058 (as_warn_value_out_of_range): Consify prefix param.
3059 (as_bad_value_out_of_range): Likewise.
3060 * read.c (s_errwarn): Constify msg..
3061 (s_float_space, float_cons): ..and err.
3062 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3063 ieee_md_atof, vax_md_atof): Update prototypes.
3064 * tc.h (md_atof): Update prototype.
3065 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3066 * config/atof-vax.c (vax_md_atof): Likewise.
3067 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3068 * config/tc-aarch64.c (md_atof): Return const char*.
3069 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3070 (s_alpha_comm): Constify sec_name.
3071 (section_name): Constify.
3072 (s_alpha_section): Consify name..
3073 (alpha_elf_section_letter): ..and ptr_msg param..
3074 (md_atof): ..and return.
3075 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3076 * config/tc-arc.c (md_atof): Return const char*.
3077 * config/tc-arm.c (md_atof): Likewise.
3078 * config/tc-avr.c (md_atof): Likewise.
3079 * config/tc-bfin.c (md_atof): Likewise.
3080 * config/tc-cr16.c (md_atof): Likewise.
3081 * config/tc-cris.c (md_atof): Likewise.
3082 * config/tc-crx.c (md_atof): Likewise.
3083 * config/tc-d10v.c (md_atof): Likewise.
3084 * config/tc-d30v.c (md_atof): Likewise.
3085 * config/tc-dlx.c (md_atof): Likewise.
3086 * config/tc-epiphany.c (md_atof): Likewise.
3087 * config/tc-fr30.c (md_atof): Likewise.
3088 * config/tc-frv.c (md_atof): Likewise.
3089 * config/tc-ft32.c (md_atof): Likewise.
3090 * config/tc-h8300.c (md_atof): Likewise.
3091 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3092 (struct default_space_dict): Likewise.
3093 (create_new_space): Constify name param.
3094 (create_new_subspace): Likewise.
3095 (is_defined_space, is_defined_subspace): Likewise.
3096 (pa_parse_space_stmt): Constify space_name param.
3097 (md_atof): Return const char*.
3098 (pa_spaces_begin): Constify name.
3099 * config/tc-i370.c (md_atof): Return const char*.
3100 * config/tc-i386.c (md_atof): Likewise.
3101 (x86_64_section_letter): Constify ptr_msg param.
3102 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3103 * config/tc-i860.c (struct i860_it): Constify error.
3104 (md_atof): Return const char*.
3105 * config/tc-i960.c (md_atof): Likewise.
3106 * config/tc-ia64.c (md_atof): Likewise.
3107 (ia64_elf_section_letter): Constify ptr_msg param.
3108 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3109 * config/tc-ip2k.c (md_atof): Return const char*.
3110 * config/tc-iq2000.c (md_atof): Likewise.
3111 * config/tc-lm32.c (md_atof): Likewise.
3112 * config/tc-m32c.c (md_atof): Likewise.
3113 * config/tc-m32r.c (md_atof): Likewise.
3114 * config/tc-m68hc11.c (md_atof): Likewise.
3115 * config/tc-m68k.c (md_atof): Likewise.
3116 * config/tc-mcore.c (md_atof): Likewise.
3117 * config/tc-mep.c (md_atof): Likewise.
3118 (mep_elf_section_letter): Constify ptr_msg param.
3119 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3120 * config/tc-metag.c (md_atof): Return const char*.
3121 * config/tc-microblaze.c (md_atof): Likewise.
3122 * config/tc-microblaze.h (md_atof): Delete prototype.
3123 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3124 (md_atof): Return const char*.
3125 * config/tc-mmix.c (md_atof): Likewise.
3126 * config/tc-mn10200.c (md_atof): Likewise.
3127 * config/tc-mn10300.c (md_atof): Likewise.
3128 * config/tc-moxie.c (md_atof): Likewise.
3129 * config/tc-msp430.c (md_atof): Likewise.
3130 * config/tc-mt.c (md_atof): Likewise.
3131 * config/tc-nds32.c (md_atof): Likewise.
3132 * config/tc-nios2.c (md_atof): Likewise.
3133 (nios2_elf_section_letter): Constify ptr_msg param.
3134 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3135 * config/tc-ns32k.c (md_atof): Return const char*.
3136 * config/tc-or1k.c (md_atof): Likewise.
3137 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3138 (md_atof): Return const char*.
3139 * config/tc-pj.c (md_atof): Likewise.
3140 * config/tc-ppc.c (md_atof): Likewise.
3141 * config/tc-rl78.c (md_atof): Likewise.
3142 * config/tc-rx.c (md_atof): Likewise.
3143 * config/tc-s390.c (md_atof): Likewise.
3144 * config/tc-score.c (s3_atof, md_atof): Likewise.
3145 * config/tc-sh.c (md_atof): Likewise.
3146 * config/tc-sparc.c (struct sparc_it): Constify error.
3147 (md_atof): Return const char*.
3148 * config/tc-spu.c (md_atof): Likewise.
3149 * config/tc-tic30.c (md_atof): Likewise.
3150 * config/tc-tic4x.c (md_atof): Likewise.
3151 * config/tc-tic54x.c (md_atof): Likewise.
3152 * config/tc-tic6x.c (md_atof): Likewise.
3153 * config/tc-tilegx.c (md_atof): Likewise.
3154 * config/tc-tilepro.c (md_atof): Likewise.
3155 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3156 * config/tc-vax.c (md_atof): Likewise.
3157 * config/tc-visium.c (md_atof): Likewise.
3158 * config/tc-xc16x.c (md_atof): Likewise.
3159 * config/tc-xgate.c (md_atof): Likewise.
3160 * config/tc-xstormy16.c (md_atof): Likewise.
3161 * config/tc-xtensa.c (md_atof): Likewise.
3162 * config/tc-z80.c (md_atof): Likewise.
3163 * config/tc-z8k.c (md_atof): Likewise.
3165 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3167 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3169 (xtensa_section_rename): Make argument type const char *.
3170 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3172 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3174 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3177 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3179 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3181 (m32c_indirect_operand): Likewise.
3182 * config/tc-nds32.c (do_pseudo_b): Likewise.
3183 (do_pseudo_bal): Likewise.
3184 (do_pseudo_ls_bhw): Likewise.
3186 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3188 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3190 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3192 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3194 * config/tc-sparc.c (s_register): Cast a literal to char * in
3197 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3199 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3201 * config/tc-m32r.c (expand_debug_syms): Likewise.
3202 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3203 * config/tc-z80.c (md_begin): Likewise.
3204 * stabs.c (stabs_generate_asm_func): Likewise.
3206 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3208 * cgen.c: Modernize the way functions declare arguments.
3209 * config/tc-bfin.c: Likewise.
3210 * config/tc-pdp11.c: Likewise.
3211 * literal.c: Likewise.
3213 * stabs.c: Likewise.
3215 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3217 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3218 variables unsigned char[].
3219 * config/tc-alpha.c (alpha_handle_align): Likewise.
3220 * config/tc-arm.c (arm_handle_align): Likewise.
3221 * config/tc-z80.c: Likewise.
3223 2016-03-30 Nick Clifton <nickc@redhat.com>
3226 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3229 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3231 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3232 * testsuite/gas/elf/elf.exp: Likewise.
3233 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3235 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3237 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3239 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3241 * testsuite/gas/arc/ext2op.d: New file.
3242 * testsuite/gas/arc/ext2op.s: Likewise.
3243 * testsuite/gas/arc/ext3op.d: Likewise.
3244 * testsuite/gas/arc/ext3op.s: Likewise.
3246 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3248 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3250 * config/tc-alpha.c (md_parse_option): Likewise.
3251 * config/tc-arc.c (md_parse_option): Likewise.
3252 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3253 (md_parse_option): Likewise.
3254 * config/tc-avr.c (md_parse_option): Likewise.
3255 * config/tc-bfin.c (md_parse_option): Likewise.
3256 * config/tc-cr16.c (md_parse_option): Likewise.
3257 * config/tc-cris.c (s_cris_arch): Likewise.
3258 (md_parse_option): Likewise.
3259 * config/tc-crx.c (md_parse_option): Likewise.
3260 * config/tc-d10v.c (md_parse_option): Likewise.
3261 * config/tc-d30v.c (md_parse_option): Likewise.
3262 * config/tc-dlx.c (md_parse_option): Likewise.
3263 * config/tc-epiphany.c (md_parse_option): Likewise.
3264 * config/tc-fr30.c (md_parse_option): Likewise.
3265 * config/tc-frv.c (md_parse_option): Likewise.
3266 * config/tc-ft32.c (md_parse_option): Likewise.
3267 * config/tc-h8300.c (md_parse_option): Likewise.
3268 * config/tc-hppa.c (md_parse_option): Likewise.
3269 * config/tc-i370.c (md_parse_option): Likewise.
3270 * config/tc-i386.c (md_parse_option): Likewise.
3271 * config/tc-i860.c (md_parse_option): Likewise.
3272 * config/tc-i960.c (md_parse_option): Likewise.
3273 * config/tc-ia64.c (md_parse_option): Likewise.
3274 * config/tc-ip2k.c (md_parse_option): Likewise.
3275 * config/tc-iq2000.c (md_parse_option): Likewise.
3276 * config/tc-lm32.c (md_parse_option): Likewise.
3277 * config/tc-m32c.c (md_parse_option): Likewise.
3278 * config/tc-m32r.c (md_parse_option): Likewise.
3279 * config/tc-m68hc11.c (md_parse_option): Likewise.
3280 * config/tc-m68k.c (md_parse_option): Likewise.
3281 * config/tc-mcore.c (md_parse_option): Likewise.
3282 * config/tc-mep.c (md_parse_option): Likewise.
3283 * config/tc-metag.c (struct metag_long_option): Likewise.
3284 (md_parse_option): Likewise.
3285 * config/tc-microblaze.c (md_parse_option): Likewise.
3286 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3287 * config/tc-mips.c (md_parse_option): Adjust.
3288 * config/tc-mmix.c (md_parse_option): Likewise.
3289 * config/tc-mn10200.c (md_parse_option): Likewise.
3290 * config/tc-mn10300.c (md_parse_option): Likewise.
3291 * config/tc-moxie.c (md_parse_option): Likewise.
3292 * config/tc-msp430.c (md_parse_option): Likewise.
3293 * config/tc-mt.c (md_parse_option): Likewise.
3294 * config/tc-nds32.c (md_parse_option): Likewise.
3295 * config/tc-nds32.h (nds32_parse_option): Likewise.
3296 * config/tc-nios2.c (md_parse_option): Likewise.
3297 * config/tc-ns32k.c (md_parse_option): Likewise.
3298 * config/tc-or1k.c (md_parse_option): Likewise.
3299 * config/tc-pdp11.c (md_parse_option): Likewise.
3300 * config/tc-pj.c (md_parse_option): Likewise.
3301 * config/tc-ppc.c (md_parse_option): Likewise.
3302 * config/tc-rl78.c (md_parse_option): Likewise.
3303 * config/tc-rx.c (md_parse_option): Likewise.
3304 * config/tc-s390.c (s390_parse_cpu): Likewise.
3305 * config/tc-score.c (md_parse_option): Likewise.
3306 * config/tc-sh.c (md_parse_option): Likewise.
3307 * config/tc-sparc.c (md_parse_option): Likewise.
3308 * config/tc-spu.c (md_parse_option): Likewise.
3309 * config/tc-tic30.c (md_parse_option): Likewise.
3310 * config/tc-tic4x.c (md_parse_option): Likewise.
3311 * config/tc-tic54x.c (md_parse_option): Likewise.
3312 * config/tc-tic6x.c (md_parse_option): Likewise.
3313 * config/tc-tilegx.c (md_parse_option): Likewise.
3314 * config/tc-tilepro.c (md_parse_option): Likewise.
3315 * config/tc-v850.c (md_parse_option): Likewise.
3316 * config/tc-vax.c (md_parse_option): Likewise.
3317 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3318 * config/tc-xc16x.c (md_parse_option): Likewise.
3319 * config/tc-xgate.c (md_parse_option): Likewise.
3320 * config/tc-xstormy16.c (md_parse_option): Likewise.
3321 * config/tc-xtensa.c (md_parse_option): Likewise.
3322 * config/tc-z80.c (md_parse_option): Likewise.
3323 * config/tc-z8k.c (md_parse_option): Likewise.
3324 * tc.h (md_parse_option): Likewise.
3326 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3328 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3329 * config/tc-hppa.c (fix_new_hppa): Likewise.
3330 (pa_vtable_entry): Likewise.
3331 (pa_vtable_inherit): Likewise.
3332 * config/tc-m68k.c (md_begin): Likewise.
3334 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3336 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3337 * config/obj-elf.h (obj_elf_section_name): Adjust.
3338 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3339 (aarch64_parse_cpu): Likewise.
3340 (aarch64_parse_arch): Likewise.
3341 * config/tc-arm.c (arm_parse_extension): Likewise.
3342 (arm_parse_cpu): Likewise.
3343 (arm_parse_arch): Likewise.
3344 * config/tc-nds32.c: Likewise.
3345 * config/xtensa-relax.c (parse_special_fn): Likewise.
3346 * stabs.c (generate_asm_file): Likewise.
3348 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3350 * config/tc-cr16.c (cr16_assemble): New function.
3351 (md_assemble): Call cr16_assemble.
3353 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3355 * as.c (parse_args): Adjust.
3356 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3357 * config/obj-elf.c (elf_frob_symbol): Adjust.
3359 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3361 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3362 registers to be in the 16..31 range.
3364 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3366 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3369 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3371 * config/tc-visium.c (md_atof): Localize the string returned on
3374 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3376 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3377 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3378 * config/tc-m68hc11.c (md_begin): Likewise.
3379 (print_opcode_list): Likewise.
3380 * config/tc-msp430.c (msp430_section): Likewise.
3381 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3382 (s3_build_dependency_insn_hsh): Likewise.
3383 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3384 (s7_build_dependency_insn_hsh): Likewise.
3385 * config/tc-tic4x.c: Likewise.
3386 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3387 (subsym_get_arg): Likewise.
3388 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3389 (get_directive): Likewise.
3390 (cache_literal_section): Likewise.
3391 * config/xtensa-relax.c: Likewise.
3392 * symbols.c (symbol_create): Likewise.
3393 (local_symbol_make): Likewise.
3394 (symbol_relc_make_expr): Likewise.
3396 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3398 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3401 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3403 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3406 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3408 * config/tc-ia64.c (ia64_do_align): Remove.
3409 (ia64_cons_align): Call do_align () directly.
3410 (dot_proc): Likewise.
3411 (stmt_float_cons): Likewise.
3413 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3415 * listing.c (listing_message): Use XNEW style allocation macros.
3416 * read.c (read_a_source_file): Likewise.
3417 (read_symbol_name): Likewise.
3418 (s_mri_common): Likewise.
3419 (assign_symbol): Likewise.
3420 (s_reloc): Likewise.
3421 (emit_expr_with_reloc): Likewise.
3422 (s_incbin): Likewise.
3423 (s_include): Likewise.
3424 * sb.c (sb_build): Likewise.
3425 (sb_check): Likewise.
3427 2016-03-22 Alan Modra <amodra@gmail.com>
3429 * write.c (record_alignment): Revert 2016-02-18 change.
3431 2016-03-22 Alan Modra <amodra@gmail.com>
3433 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3434 (emit_jsrjmp, tc_gen_reloc): Likewise.
3435 * config/tc-i370.c (i370_macro): Likewise.
3437 2016-03-22 Nick Clifton <nickc@redhat.com>
3439 * configure: Regenerate.
3441 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3443 * testsuite/gas/arc/nps400-0.d: New file.
3444 * testsuite/gas/arc/nps400-0.s: New file.
3445 * testsuite/gas/arc/nps400-1.d: New file.
3446 * testsuite/gas/arc/nps400-1.s: New file.
3448 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3450 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3451 declarations to start of block. Reset code on all flags before
3452 attempting to match them. Handle multiple hits on the same flag.
3454 * testsuite/gas/arc/asm-errors.d: New file.
3455 * testsuite/gas/arc/asm-errors.err: New file.
3456 * testsuite/gas/arc/asm-errors.s: New file.
3458 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3460 * config/tc-arc.c (cpu_types): Add nps400 entry.
3461 (check_zol): Handle nps400.
3463 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3465 * config/tc-arc.c (arc_select_cpu): Remove use of
3468 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3470 * config/tc-arc.c (arc_target): Delay initialisation until
3472 (arc_target_name): Likewise.
3473 (arc_features): Likewise.
3474 (arc_mach_type): Likewise.
3475 (cpu_types): Remove "all" entry.
3476 (arc_select_cpu): New function, most of the content is from...
3477 (md_parse_option): ... here. Call new arc_select_cpu.
3478 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3480 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3482 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3483 * testsuite/gas/arc/inline-data-2.d: New file.
3485 2016-03-21 Nick Clifton <nickc@redhat.com>
3487 * atof-generic.c: Replace use of alloca with call to xmalloc.
3489 * dwarf2dbg.c: Likewise.
3490 * macro.c: Likewise.
3491 * remap.c: Likewise.
3492 * stabs.c: Likewise.
3493 * symbols.c: Likewise.
3494 * config/obj-elf.c: Likewise.
3495 * config/tc-aarch64.c: Likewise.
3496 * config/tc-arc.c: Likewise.
3497 * config/tc-arm.c: Likewise.
3498 * config/tc-avr.c: Likewise.
3499 * config/tc-ia64.c: Likewise.
3500 * config/tc-mips.c: Likewise.
3501 * config/tc-msp430.c: Likewise.
3502 * config/tc-nds32.c: Likewise.
3503 * config/tc-ppc.c: Likewise.
3504 * config/tc-sh.c: Likewise.
3505 * config/tc-tic30.c: Likewise.
3506 * config/tc-tic54x.c: Likewise.
3507 * config/tc-xstormy16.c: Likewise.
3508 * config/te-vms.c: Likewise.
3509 * configure: Regenerate.
3511 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3513 * tc-i386.c (f32_1): Change type to unsigned char[].
3533 (jump_31): Likewise.
3534 (f32_patt): Likewise.
3535 (f16_patt): Likewise.
3544 (alt_patt): Likewise.
3546 2016-03-18 Nick Clifton <nickc@redhat.com>
3548 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3549 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3550 .tlsdescldr and .xword directives.
3553 * testsuite/gas/aarch64/pr19721.s: New test source file.
3554 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3556 * doc/as.texinfo: Place the target specific command line options
3557 into their own man page section.
3559 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3561 * config/tc-arm.c (N_S_32): New.
3562 (N_F_16_32): Likewise.
3563 (N_SUF_32): Support N_F16.
3564 (N_IF_32): Likewise.
3565 (neon_dyadic_misc): Likewise.
3566 (do_neon_cmp): Likewise.
3567 (do_neon_cmp_inv): Likewise.
3568 (do_neon_mul): Likewise.
3569 (do_neon_fcmp_absolute): Likewise.
3570 (do_neon_step): Likewise.
3571 (do_neon_abs_neg): Likewise.
3572 (CVT_FLAVOR_VAR): Likewise.
3573 (do_neon_cvt_1): Likewise.
3574 (do_neon_recip_est): Likewise.
3575 (do_vmaxnm): Likewise.
3576 (do_vrint_1): Likewise.
3577 (neon_check_type): Check architecture support for FP16 extension.
3578 (insns): Update comments.
3579 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3580 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3581 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3582 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3584 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3586 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3589 2016-03-16 Nick Clifton <nickc@redhat.com>
3591 * read.c (emit_expr_with_reloc): Add code check a bignum with
3593 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3595 * testsuite/gas/elf/bignum.s: New test source file.
3596 * testsuite/gas/elf/bignum.d: New test driver file.
3597 * testsuite/gas/elf/elf.exp: Run the new test.
3599 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3601 * doc/c-i386.texi (Register Naming): Update to details of the
3602 latest architecture version.
3604 2016-03-10 Mickael Guene <mickael.guene@st.com>
3607 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3609 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3610 (do_t_mov_cmp): Likewise.
3611 (do_t_add_sub): Protect against bad relocations usage.
3612 (do_t_mov_cmp): Likewise.
3613 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3614 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3615 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3616 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3618 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3620 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3622 (do_neon_ld_st_lane): Likewise.
3623 (do_neon_ld_dup): Likewise.
3625 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3627 * testsuite/gas/arc/inline-data-1.d: New file.
3628 * testsuite/gas/arc/inline-data-1.s: New file.
3630 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3632 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3633 * doc/c-arm.texi: Add cortex-r8.
3635 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3637 * config/tc-arc.c: Add const qualifiers.
3638 * config/tc-h8300.c (md_begin): Likewise.
3639 * config/tc-ia64.c (print_prmask): Likewise.
3640 * config/tc-msp430.c (msp430_operands): Likewise.
3641 * config/tc-nds32.c (struct suffix_name): Likewise.
3642 (struct nds32_parse_option_table): Likewise.
3643 (struct nds32_set_option_table): Likewise.
3644 (do_pseudo_pushpopm): Likewise.
3645 (do_pseudo_pushpop_stack): Likewise.
3646 (nds32_relax_relocs): Likewise.
3647 (nds32_flag): Likewise.
3648 (struct nds32_hint_map): Likewise.
3649 (nds32_find_reloc_table): Likewise.
3650 (nds32_match_hint_insn): Likewise.
3651 * config/tc-s390.c: Likewise.
3652 * config/tc-sh.c (get_specific): Likewise.
3653 * config/tc-tic30.c: Likewise.
3654 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3655 (tic4x_indirect_parse): Likewise.
3656 * config/tc-vax.c (vax_cons): Likewise.
3657 * config/tc-z80.c (struct reg_entry): Likewise.
3658 * config/tc-epiphany.c (md_assemble): Adjust.
3659 (epiphany_assemble): New function.
3660 (epiphany_elf_section_rtn): Call do_align directly.
3661 (epiphany_elf_section_text): Likewise.
3662 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3663 (ip2k_elf_section_text): Likewise.
3664 * read.c (do_align): Make it not static.
3665 * read.h (do_align): New prototype.
3667 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3669 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3670 for ARMv8.1 AdvSIMD use.
3671 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3672 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3674 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3676 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3678 (record_feature_use): New.
3679 (mark_feature_used): Use record_feature_use.
3680 (do_neon_qrdmlah): New.
3681 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3683 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3684 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3685 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3686 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3687 Make source file explicit.
3688 * testsuite/gas/arm/armv8-a+rdma.l: New.
3689 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3690 directives. Fix white-space.
3691 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3693 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3695 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3697 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3698 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3700 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3701 (tc_arc_fix_adjustable): Changed default return value to 1.
3702 * testsuite/gas/arc/j.d: Updated expected symbol
3703 * testsuite/gas/arc/jl.d: Likewise
3704 * testsuite/gas/arc/relax-avoid1.d: Likewise
3705 * testsuite/gas/arc/st.d: Likewise
3707 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3709 * config/tc-arc.c: Enable code density instructions for ARC EM.
3711 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3714 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3716 * as.c (flag_use_elf_stt_common): New.
3717 (show_usage): Add --elf-stt-common=.
3718 (option_values): Add OPTION_ELF_STT_COMMON.
3719 (std_longopts): Add --elf-stt-common=.
3720 (parse_args): Handle --elf-stt-common=.
3721 * as.h (flag_use_elf_stt_common): New.
3722 * config.in: Regenerated.
3723 * configure: Likewise.
3724 * configure.ac: Add --enable-elf-stt-common and define
3725 DEFAULT_GENERATE_ELF_STT_COMMON.
3726 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3727 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3728 * doc/as.texinfo: Document --elf-stt-common=.
3729 * testsuite/gas/elf/common3.s: New file.
3730 * testsuite/gas/elf/common3a.d: Likewise.
3731 * testsuite/gas/elf/common3b.d: Likewise.
3732 * testsuite/gas/elf/common4.s: Likewise.
3733 * testsuite/gas/elf/common4a.d: Likewise.
3734 * testsuite/gas/elf/common4b.d: Likewise.
3735 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3736 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3737 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3739 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3740 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3741 --elf-stt-common=no to as.
3742 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3743 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3744 --elf-stt-common=no to as.
3745 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3746 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3747 of dw2-compress-3 and dw2-compressed-3.
3749 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3751 * as.c (select_emulation_mode): Add const qualifiers.
3753 * config/bfin-defs.h: Likewise.
3754 * config/bfin-parse.y: Likewise.
3755 * config/rx-parse.y: Likewise.
3756 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3757 (struct aarch64_cpu_option_table): Likewise.
3758 (struct aarch64_arch_option_table): Likewise.
3759 (struct aarch64_option_cpu_value_table): Likewise.
3760 (struct aarch64_long_option_table): Likewise.
3761 (struct aarch64_option_abi_value_table): Likewise.
3762 * config/tc-arm.c (struct reloc_entry): Likewise.
3763 (tc_gen_reloc): Likewise.
3764 (struct arm_option_table): Likewise.
3765 (struct arm_legacy_option_table): Likewise.
3766 (struct arm_cpu_option_table): Likewise.
3767 (struct arm_arch_option_table): Likewise.
3768 (struct arm_option_extension_value_table): Likewise.
3769 (struct arm_option_fpu_value_table): Likewise.
3770 (struct arm_option_value_table): Likewise.
3771 (struct arm_long_option_table): Likewise.
3772 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3773 (struct mcu_type_s): Likewise.
3774 (struct exp_mod_s): Likewise.
3775 (avr_operand): Likewise.
3776 (avr_operands): Likewise.
3777 * config/tc-d10v.c (md_begin): Likewise.
3778 * config/tc-dlx.c: Likewise.
3779 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3780 * config/tc-ft32.c (parse_condition): Likewise.
3781 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3782 * config/tc-hppa.c (pa_ip): Likewise.
3783 (hppa_regname_to_dw2regnum): Likewise.
3784 * config/tc-i370.c (i370_elf_suffix): Likewise.
3785 * config/tc-i960.c (struct tabentry): Likewise.
3786 * config/tc-m32r.c: Likewise.
3787 * config/tc-m68k.c: Likewise.
3788 * config/tc-m68k.h: Likewise.
3789 * config/tc-mcore.c (parse_psrmod): Likewise.
3790 * config/tc-metag.c (struct metag_core_option): Likewise.
3791 (struct metag_long_option): Likewise.
3792 * config/tc-microblaze.c: Likewise.
3793 * config/tc-mips.c (macro): Likewise.
3794 * config/tc-mn10200.c: Likewise.
3795 * config/tc-mn10300.c: Likewise.
3796 * config/tc-msp430.c (struct rcodes_s): Likewise.
3797 (struct hcodes_s): Likewise.
3798 (md_parse_option): Likewise.
3799 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3800 (optlist): Likewise.
3801 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3802 (tc_ppc_regname_to_dw2regnum): Likewise.
3803 * config/tc-ppc.h: Likewise.
3804 * config/tc-rl78.c: Likewise.
3805 * config/tc-rx.c (struct cpu_type): Likewise.
3806 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3807 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3808 (sparc_ip): Likewise.
3809 * config/tc-spu.c (insn_fmt_string): Likewise.
3810 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3811 * config/tc-v850.c: Likewise.
3812 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3813 (struct visium_long_option_table): Likewise.
3814 * config/tc-xgate.c: Likewise.
3815 * config/tc-z8k.c: Likewise.
3816 * read.c (add_include_dir): Likewise.
3819 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3821 * testsuite/gas/all/gas.exp: Change target pattern to cover
3823 * testsuite/gas/all/redef3.d: Likewise.
3824 * testsuite/gas/elf/elf.exp: Likewise.
3826 2016-02-24 Renlin Li <renlin.li@arm.com>
3828 * config/tc-arm.c (BAD_FP16): New error message macro.
3829 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3830 fp16 scalar instructions.
3831 (neon_check_type): Allow different size from key.
3832 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3833 (try_vfp_nsyn): Likewise.
3834 (do_vfp_nsyn_mla_mls): Likewise.
3835 (do_vfp_nsyn_fma_fms): Likewise.
3836 (do_vfp_nsyn_ldm_stm): Likewise
3837 (do_vfp_nsyn_sqrt): Likewise
3838 (do_vfp_nsyn_div): Likewise
3839 (do_vfp_nsyn_nmul): Likewise.
3840 (do_vfp_nsyn_cmp): Likewise.
3841 (do_neon_shll): Likewise.
3842 (do_vfp_nsyn_cvt_fpv8): Likewise.
3843 (do_neon_cvttb_2): Likewise.
3844 (do_neon_mov): Likewise.
3845 (do_neon_rshift_round_imm): Likewise.
3846 (do_neon_ldr_str): Likewise.
3847 (do_vfp_nsyn_fpv8): Likewise.
3848 (do_vmaxnm): Likewise.
3849 (do_vrint_1): Likewise.
3850 (insns): New entry for vins, vmovx.
3851 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3852 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3853 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3854 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3855 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3856 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3857 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3859 2016-02-24 Renlin Li <renlin.li@arm.com>
3861 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3862 (neon_shape_class): New SC_HALF.
3863 (neon_shape_el): New SE_H.
3864 (neon_shape_el_size): New size for SE_H.
3865 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3866 (neon_select_shape): Add SE_H support code.
3867 (el_type_of_type_chk): Use N_F_ALL.
3868 (do_vfp_nsyn_cvt): Add SE_H shape support.
3869 (do_neon_cvtz): Likewise.
3870 (do_neon_cvt_1): Likewise.
3871 (do_neon_cvttb_1): Likewise.
3873 2016-02-24 Renlin Li <renlin.li@arm.com>
3875 * testsuite/gas/arm/copro.d: Adjust output.
3876 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3878 2016-02-24 Renlin Li <renlin.li@arm.com>
3880 * testsuite/gas/arm/mask_1.d: New.
3881 * testsuite/gas/arm/mask_1.s: New.
3883 2016-02-24 Renlin Li <renlin.li@arm.com>
3885 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3886 * testsuite/gas/arm/copro.d: Update.
3888 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3890 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3891 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3893 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3895 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3897 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3899 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3902 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3904 * output-file.c (output_file_create): Make file name argument const.
3905 (output_file_close): Likewise.
3906 * output-file.h (output_file_create): Adjust.
3907 (output_file_close): Likewise.
3908 * depend.c (quote_string_for_make): Make src argument const char *.
3909 (register_dependency): Likewise.
3910 (wrap_output): Likewise.
3911 * as.h (register_dependency): Adjust.
3912 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3914 * symbols.c (S_SET_EXTERNAL): Likewise.
3915 * input-scrub.c (as_where): Return the file name.
3916 * as.h (as_where): Adjust prototype.
3917 * app.c (do_scrub_chars): Adjust.
3918 * cond.c (s_elseif): Likewise.
3920 (initialize_cframe): Likewise.
3921 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
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-ia64.c (md_assemble): Likewise.
3926 (dot_alias): Likewise.
3927 * config/tc-m68k.c (m68k_frob_label): Likewise.
3928 * config/tc-mmix.c (s_bspec): Likewise.
3929 (mmix_handle_mmixal): Likewise.
3930 * config/tc-rx.c (rx_include): Likewise.
3931 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3932 (tic54x_adjust_symtab): Likewise.
3933 * config/tc-xtensa.c (directive_push): Likewise.
3934 (xtensa_sanity_check): Likewise.
3935 (xtensa_relax_frag): Likewise.
3936 (md_convert_frag): Likewise.
3937 (tinsn_to_slotbuf): Likewise.
3938 * dwarf2dbg.c (dwarf2_where): Likewise.
3939 * ecoff.c (add_file): Likewise.
3940 (ecoff_generate_asm_lineno): Likewise.
3941 * expr.c (make_expr_symbol): Likewise.
3942 * frags.c (frag_new): Likewise.
3943 (frag_var_init): Likewise.
3944 * listing.c (listing_newline): Likewise.
3945 * messages.c (identify): Likewise.
3946 (as_show_where): Likewise.
3947 (as_warn_internal): Likewise.
3948 (as_bad_internal): Likewise.
3949 * read.c (s_irp): Likewise.
3950 (s_macro): Likewise.
3951 (s_reloc): Likewise.
3952 * stabs.c (stabs_generate_asm_file): Likewise.
3953 (stabs_generate_asm_lineno): Likewise.
3954 (stabs_generate_asm_func): Likewise.
3955 * write.c (fix_new_internal): Likewise.
3956 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3957 (as_warn_value_out_of_range): Adjust prototype.
3958 (as_bad_value_out_of_range): Adjust prototype.
3959 * messages.c (identify): Make file name argument const char *.
3960 (as_warn_internal): Likewise.
3961 (as_warn_where): Likewise.
3962 (as_bad_internal): Likewise.
3963 (as_bad_where): Likewise.
3964 (as_internal_value_out_of_range): Likewise.
3965 (as_warn_value_out_of_range): Likewise.
3966 (as_bad_value_out_of_range): Likewise.
3967 * as.h (found_comment_file): Change type to const char *.
3968 * cond.c (file_line::file): Likewise.
3969 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3970 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3971 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3972 * config/tc-aarch64.c (output_info): Likewise.
3973 * config/tc-alpha.c (insert_operand): Likewise.
3974 * config/tc-arc.c (insert_operand): Likewise.
3975 * config/tc-d30v.c (check_size): Likewise.
3976 * config/tc-ia64.c (struct alias): Likewise.
3977 * config/tc-m68k.c (struct label_line): Likewise.
3978 * config/tc-mcore.c (md_apply_fix): Likewise.
3979 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3980 * config/tc-mips.c (mips16_immed): Likewise.
3981 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3982 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3983 * config/tc-rx.c (rx_include): Likewise.
3984 * config/tc-s390.c (s390_insert_operand): Likewise.
3985 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3986 (tic54x_adjust_symtab): Likewise.
3987 * config/tc-tilegx.c (insert_operand): Likewise.
3988 (apply_special_operator): Likewise.
3989 * config/tc-tilepro.c (insert_operand): Likewise.
3990 * config/tc-xtensa.c (directive_push): Likewise.
3991 * ecoff.c (add_file): Likewise.
3992 (ecoff_generate_asm_lineno): Likewise.
3993 * listing.c (listing_newline): Likewise.
3994 * read.c (s_irp): Likewise.
3995 * write.c (install_reloc): Likewise.
3996 * write.h (struct fix): Likewise.
3997 * input-file.c (file_name): Change type to const char *.
3998 (saved_file::file_name): Likewise.
3999 (input_file_open): Change type of argument to const char *.
4000 * input-file.h (input_file_open): Adjust.
4001 * input-scrub.c (logical_input_file): change type to const char *.
4002 (physical_input_file): Likewise.
4003 (struct input_save): Adjust.
4004 (input_scrub_push): Adjust.
4005 (input_scrub_begin): Adjust.
4007 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4008 (input_scrub_include_file): Likewise.
4009 (new_logical_line_flags): Likewise.
4010 (new_logical_line): Likewise.
4012 * frags.h (struct frag): Change type of fr_file to const char *.
4013 * expr.c (expr_symbol_where): Change type of file argument to
4015 * expr.h (expr_symbol_where): Likewise.
4016 * config/tc-i370.c (md_apply_fix): adjust.
4017 * config/tc-mmix.c (mmix_md_end): Likewise.
4018 * config/tc-ppc.c (md_apply_fix): Likewise.
4019 * config/tc-s390.c (md_apply_fix): Likewise.
4020 * symbols.c (report_op_error): Likewise.
4021 (resolve_symbol_value): Likewise.
4022 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4023 (rsrc::file): Likewise.
4024 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4026 (xtensa_relax_frag): Likewise.
4027 (md_convert_frag): Likewise.
4028 (tinsn_to_slotbuf): Likewise.
4029 * expr.c (expr_symbol_line): Likewise.
4030 * macro.c (define_macro): Likewise.
4031 * macro.h (macro_struct): Likewise.
4032 * messages.c (as_show_where): Likewise.
4033 * read.c (s_macro): Likewise.
4034 * stabs.c (stabs_generate_asm_file): Likewise.
4035 (generate_asm_file): Likewise.
4036 (stabs_generate_asm_lineno): Likewise.
4037 * write.h (struct reloc_list): Likewise.
4038 * input-scrub.c (as_where): Change return type to const char *.
4039 * as.h (as_wheree): Adjust.
4041 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4043 * write.c (compress_debug): Move BFD compression bits setting
4045 (write_object_file): Here.
4047 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4049 * config/tc-i386.c (register_number): Check RegVRex.
4050 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4051 with %zmm19 and %zmm3.
4052 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4053 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4055 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4056 Jiong Wang <jiong.wang@arm.com>
4058 * config/tc-arm.c (arm_ext_fp16): New.
4059 (arm_extensions): New entry for "fp16".
4061 2016-02-19 Nick Clifton <nickc@redhat.com>
4064 * read.c (read_a_source_file): Check for assemble_one returning
4065 with input_line_pointer set to NULL.
4067 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4069 * listing.c (rebuffer_line): Change return type to void.
4071 * symbols.c (decode_local_label_name): Make type a const char *.
4072 * listing.c (print_source): Make type of p const char *.
4073 (print_line): Make type of string const char *.
4074 (buffer_line): Return const char *.
4075 (title): Make type const char *.
4076 (subtitle): Likewise.
4077 (listing_listing): Make type of p const char *.
4078 * messages.c (as_internal_value_out_of_range): Make type of prefix
4080 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4081 and string const char *.
4082 * read.c (_bfd_rel): Make type of name const char *.
4083 * app.c (out_string): Change type to const char *.
4084 (struct app_save::out_string): Likewise.
4086 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4087 Nick Clifton <nickc@redhat.com>
4089 * read.c (finish_bundle): Avoid recording a negative alignment.
4090 (do_align): Use unsigned values for n, len and max. Only create
4091 a frag if the alignment requirement is greater than the minimum
4092 byte alignment. Avoid recording a negative alignment.
4093 (s_align): Use unsigned values where appropriate.
4094 (bss_alloc): Use an unsigned value for the alignment.
4095 (sizeof_sleb128): Add a comment noting that we encode one octet
4096 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4097 (emit_leb129_expr): Abort if the emitted encoding was longer than
4099 * read.h (output_leb128): Update prototype.
4100 (sizeof_leb128): Update prototype.
4101 (bss_alloc): Update prototype.
4102 * write.c (record_alignment): Use an unsigned value for the
4103 alignment. Do not record alignments less than the minimum
4104 alignment for a byte.
4105 * write.h (record_alignment): Update prototype.
4107 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4109 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4110 .init.literal/.fini.literal section name.
4111 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4112 list of xtensa tests.
4113 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4114 init-fini-literals test result patterns.
4115 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4116 init-fini-literals test.
4118 2016-02-17 Nick Clifton <nickc@redhat.com>
4120 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4121 devices.csv file as of March 2016.
4123 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4125 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4127 (tc_arc_regname_to_dw2regnum): Likewise.
4128 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4129 (tc_cfi_frame_initial_instructions): Likewise.
4130 (tc_regname_to_dw2regnum): Likewise.
4131 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4132 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4133 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4135 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4137 * doc/internals.texi (S_IS_EXTERN): Remove.
4139 2016-02-16 Nick Clifton <nickc@redhat.com>
4141 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4144 2016-02-16 Renlin Li <renlin.li@arm.com>
4147 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4148 * testsuite/gas/aarch64/movw_label.d: New.
4149 * testsuite/gas/aarch64/movw_label.s: New.
4151 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4154 * config/rx-parse.y (MOV): Opcode generation for index
4155 register addressing mode.
4156 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4157 * testsuite/gas/rx/pr19665.s: New file.
4158 * testsuite/gas/rx/pr19665.s: New file.
4159 * testsuite/gas/rx/mov.d: Update expected output.
4161 2016-02-15 Nick Clifton <nickc@redhat.com>
4163 * doc/as.texinfo (.section): Document that numeric values can now
4164 be used for the flags and type fields of the ELF target's .section
4165 directive. Add notes about the restrictions on setting flags and
4167 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4168 to be given processor specific section types. Allow processor and
4169 application specific flags of a section to be set after
4171 (obj_elf_parse_section_letters): Handle parsing numeric values.
4172 (obj_elf_section_type): Handle parsing numeric values.
4173 (obj_elf_section): Allow numeric type values.
4174 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4175 * testsuite/gas/elf/section10.d: New test.
4176 * testsuite/gas/elf/section10.s: Source file for new test.
4177 * testsuite/gas/elf/elf.exp: Run the new test.
4178 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4179 the description of the flags produced by readelf.
4180 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4181 * NEWS: Mention the new feature.
4183 2016-02-11 Nick Clifton <nickc@redhat.com>
4186 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4187 until it is actually used.
4188 (cfi_set_sections): Set cfi_sections_set to true.
4189 (dot_cfi_startproc): Likewise.
4190 (dot_cfi_endproc): Likewise.
4191 (dot_cfi_fde_data): Likewise.
4192 (cfi_finish): Likewise.
4193 (dot_cfi_sections): Do not set cfi_sections_set.
4194 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4195 their own cfi section name. Also note that the directive can be
4196 reissued provided that CFI generation has not started.
4197 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4198 .cfi_endproc directives so that the redefinition of .cfi_sections
4199 will trigger the generation of the error message.
4200 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4201 number of error message.
4203 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4204 Janek van Oirschot <jvanoirs@synopsys.com>
4206 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4207 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4209 (arc_flags, arc_relax_type): New structure.
4210 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4211 (RELAX_TABLE_ENTRY_MAX): New define.
4212 (relaxation_state, md_relax_table, arc_relaxable_insns)
4213 (arc_num_relaxable_ins): New variable.
4214 (rlx_operand_type, arc_rlx_types): New enums.
4215 (arc_relaxable_ins): New structure.
4216 (OPTION_RELAX): New option.
4217 (arc_insn): New relax member.
4218 (arc_flags): Remove.
4219 (relax_insn_p): New function.
4220 (apply_fixups): Likewise.
4221 (relaxable_operand): Likewise.
4222 (may_relax_expr): Likewise.
4223 (relaxable_flag): Likewise.
4224 (arc_pcrel_adjust): Likewise.
4225 (md_estimate_size_before_relax): Implement.
4226 (md_convert_frag): Likewise.
4227 (md_parse_option): Handle new mrelax option.
4228 (md_show_usage): Likewise.
4229 (assemble_insn): Set relax member.
4230 (emit_insn0): New function.
4231 (emit_insn1): Likewise.
4232 (emit_insn): Handle relaxation case.
4233 * NEWS: Mention the new relaxation option.
4234 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4235 * doc/as.texinfo (Target ARC Options): Likewise.
4236 * testsuite/gas/arc/relax-avoid1.d: New file.
4237 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4238 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4239 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4240 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4241 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4242 * testsuite/gas/arc/relax-b.d: Likewise.
4243 * testsuite/gas/arc/relax-b.s: Likewise.
4245 2016-02-08 Nick Clifton <nickc@redhat.com>
4247 * config/tc-ia64.c (dot_prologue): Fix formatting.
4249 2016-02-04 Nick Clifton <nickc@redhat.com>
4251 * config/obj-elf.c (obj_elf_change_section): Remove support for
4252 ARM NOREAD sections.
4253 * config/tc-arm.c (arm_elf_section_letter): Delete.
4254 * config/tc-arm.h (md_elf_section_letter): Delete.
4255 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4256 * testsuite/gas/arm/section-execute-only.d: Delete.
4257 * testsuite/gas/arm/section-execute-only.s: Delete.
4259 2016-02-04 Nick Clifton <nickc@redhat.com>
4262 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4263 to handle encoding of RRUX instruction.
4264 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4266 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4268 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4270 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4271 substitutions for BFD_RELOC_* as unsigned.
4272 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4273 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4274 * testsuite/gas/xtensa/loc.s: New file: loc test.
4276 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4278 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4280 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4283 * NEWS: Mention new command line option -mrelax-relocations and
4284 new configure option --enable-x86-relax-relocations for x86
4286 * config.in: Regenerated.
4287 * configure.ac: Add --enable-x86-relax-relocations.
4288 (ac_default_x86_relax_relocations): New. Default to 1 except
4289 for x86 Solaris targets older than Solaris 12.
4290 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4291 * configure: Likewise.
4292 * config/tc-i386.c (generate_relax_relocations): New.
4293 (OPTION_MRELAX_RELOCATIONS): Likewise.
4294 (output_disp): Don't generate relax relocations if
4295 generate_relax_relocations is 0.
4296 (md_longopts): Add -mrelax-relocations.
4297 (md_show_usage): Likewise.
4298 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4299 * doc/c-i386.texi: Document -mrelax-relocations=.
4300 * testsuite/gas/i386/got-no-relax.d: New file.
4301 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4302 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4303 * testsuite/gas/i386/localpic.d: Likewise.
4304 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4305 * testsuite/gas/i386/reloc32.d: Likewise.
4306 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4307 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4308 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4309 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4310 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4311 x86-64-gotpcrel-no-relax.
4313 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4315 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4318 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4320 * NEWS: Remove duplicated marker for 2.26.
4322 2016-02-02 Renlin Li <renlin.li@arm.com>
4324 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4326 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4328 * testsuite/gas/ip2k/allinsn.d: New file.
4329 * testsuite/gas/ip2k/allinsn.s: New file.
4330 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4332 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4334 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4335 some load instructions.
4336 * testsuite/gas/epiphany/allinsn.d: Likewise.
4337 * testsuite/gas/epiphany/regression.d: Likewise.
4339 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4341 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4342 suffixes from instruction mnemonics in expected output.
4343 * testsuite/gas/epiphany/allinsn.d: Likewise.
4344 * testsuite/gas/epiphany/regression.d: Likewise.
4345 * testsuite/gas/epiphany/sample.d: Likewise.
4347 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4349 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4351 * testsuite/gas/epiphany/allinsn.d: Likewise.
4352 * testsuite/gas/epiphany/sample.d: Likewise.
4354 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4356 * testsuite/gas/epiphany/sample.d: Update expected output.
4358 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4360 * config/tc-arc.c (md_apply_fix): Allow addendum.
4361 (arc_reloc_op): Allow complex expressions for tpoff.
4362 (md_apply_fix): Handle resolved TLS local symbol.
4363 * testsuite/gas/arc/tls-relocs1.d: New file.
4364 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4366 2016-02-01 Loria <Loria@phantasia.org>
4369 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4370 efficiency and avoid an LLVM loop optimization bug.
4372 2016-02-01 Nick Clifton <nickc@redhat.com>
4374 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4375 message extending a negative 32-bit value into a larger signed
4376 value on a 32-bit host.
4378 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4381 * configure.ac (compressed_debug_sections): Replace == with =.
4382 * configure: Regenerated.
4384 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4385 H.J. Lu <hongjiu.lu@intel.com>
4387 * config/tc-i386.c (avoid_fence): New.
4388 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4390 (OPTION_FENCE_AS_LOCK_ADD): New.
4391 (md_longopts): Add -mfence-as-lock-add.
4392 (md_parse_option): Handle -mfence-as-lock-add.
4393 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4394 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4395 * testsuite/gas/i386/i386.exp: Run new tests.
4396 * testsuite/gas/i386/fence-as-lock-add.s: New.
4397 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4398 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4399 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4400 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4402 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4404 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4405 * configure: Regenerated.
4407 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4409 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4410 (OPTION_MOMIT_LOCK_PREFIX): This.
4411 (md_longopts): Updated.
4412 (md_parse_option): Likewise.
4414 2016-01-25 Catherine Moore <clm@codesourcery.com>
4416 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4417 if abicalls are in effect.
4418 * testsuite/gas/mips/sdata-gp.s: New test.
4419 * testsuite/gas/mips/sdata-gp.d: New expected output
4420 * testsuite/gas/mips/mips.exp: Run new test.
4422 2016-01-25 Renlin Li <renlin.li@arm.com>
4424 * testsuite/gas/arm/thumb2_it_search.d: New.
4425 * testsuite/gas/arm/thumb2_it_search.s: New.
4427 2016-01-21 Nick Clifton <nickc@redhat.com>
4430 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4431 with arm-netbsdelf target.
4432 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4434 2016-01-20 Nick Clifton <nickc@redhat.com>
4437 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4438 * testsuite/gas/arm/blx-bl-convert.d
4439 * testsuite/gas/arm/plt-1.d: Likewise.
4440 * testsuite/gas/arm/reloc-bad.d: Likewise.
4441 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4442 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4443 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4444 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4447 * doc/as.texinfo (Errors): Correct documentation describing the
4448 interaction of .file and .line with warning and error messages.
4451 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4452 * testsuite/gas/arm/archv8m-main.d: Likewise.
4453 * testsuite/gas/arm/archv8m-base.d: Likewise.
4455 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4457 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4458 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4459 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4461 2016-01-20 Mickael Guene <mickael.guene@st.com>
4462 Terry Guo <terry.guo@arm.com>
4464 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4465 SHF_ARM_NOREAD section flag.
4466 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4468 (arm_elf_section_letter) : Declare it.
4469 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4470 SHF_ARM_NOREAD section flag.
4471 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4473 * testsuite/gas/arm/section-execute-only.s: New test case.
4474 * testsuite/gas/arm/section-execute-only.d: Expected output.
4476 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4478 * config/tc-mips.c (micromips_insn_length): Remove the mention
4479 of 48-bit microMIPS instructions.
4481 2016-01-18 Alan Modra <amodra@gmail.com>
4483 * configure: Regenerate.
4485 2016-01-17 Alan Modra <amodra@gmail.com>
4487 * configure: Regenerate.
4489 2016-01-17 Alan Modra <amodra@gmail.com>
4491 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4493 2016-01-14 Nick Clifton <nickc@redhat.com>
4495 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4496 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4497 * testsuite/gas/rl78/rl78.exp: Run the new test.
4499 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4501 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4502 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4504 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4506 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4508 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4510 * config/tc-h8300.c (get_operand): Remove spurious condition in
4511 test for closing parenthesis.
4513 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4515 * config/tc-arm.c (arm_ext_v8_2): New.
4517 * testsuite/gas/arm/armv8_2-a.d: New.
4518 * testsuite/gas/arm/armv8_2-a.s: New.
4520 2016-01-12 Alan Modra <amodra@gmail.com>
4522 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4524 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4526 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4527 xvcmpnesp, xvcmpnesp.>: Delete tests.
4528 * testsuite/gas/ppc/power9.s: Likewise.
4529 * testsuite/gas/ppc/vsx3.d: Likewise.
4530 * testsuite/gas/ppc/vsx3.s: Likewise.
4532 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4535 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4536 * testsuite/gas/m68k/p13050-1.s: New file.
4537 * testsuite/gas/m68k/p13050-2.d: New file.
4538 * testsuite/gas/m68k/p13050-2.s: New file.
4540 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4542 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4543 * testsuite/gas/arc/add.d: Likewise.
4544 * testsuite/gas/arc/and.d: Likewise.
4545 * testsuite/gas/arc/asl.d: Likewise.
4546 * testsuite/gas/arc/asr.d: Likewise.
4547 * testsuite/gas/arc/bic.d: Likewise.
4548 * testsuite/gas/arc/extb.d: Likewise.
4549 * testsuite/gas/arc/extw.d: Likewise.
4550 * testsuite/gas/arc/j.d: Likewise.
4551 * testsuite/gas/arc/jl.d: Likewise.
4552 * testsuite/gas/arc/ld2.d: Likewise.
4553 * testsuite/gas/arc/lsr.d: Likewise.
4554 * testsuite/gas/arc/mov.d: Likewise.
4555 * testsuite/gas/arc/or.d: Likewise.
4556 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4557 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4558 * testsuite/gas/arc/pic-relocs.d: Likewise.
4559 * testsuite/gas/arc/plt-relocs.d: Likewise.
4560 * testsuite/gas/arc/rlc.d: Likewise.
4561 * testsuite/gas/arc/ror.d: Likewise.
4562 * testsuite/gas/arc/rrc.d: Likewise.
4563 * testsuite/gas/arc/sbc.d: Likewise.
4564 * testsuite/gas/arc/sda-relocs.d: Likewise.
4565 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4566 * testsuite/gas/arc/sexb.d: Likewise.
4567 * testsuite/gas/arc/sexw.d: Likewise.
4568 * testsuite/gas/arc/st.d: Likewise.
4569 * testsuite/gas/arc/sub.d: Likewise.
4570 * testsuite/gas/arc/tls-relocs.d: Likewise.
4571 * testsuite/gas/arc/xor.d: Likewise.
4573 2016-01-01 Alan Modra <amodra@gmail.com>
4575 Update year range in copyright notice of all files.
4577 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4579 Copyright (C) 2016 Free Software Foundation, Inc.
4581 Copying and distribution of this file, with or without modification,
4582 are permitted in any medium without royalty provided the copyright
4583 notice and this notice are preserved.
4589 version-control: never