1 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
3 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
5 (get_reg_expected_msg): Handle them.
6 (aarch64_addr_reg_parse): New function, split out from
7 aarch64_reg_parse_32_64. Handle Z registers too.
8 (aarch64_reg_parse_32_64): Call it.
9 (parse_address_main): Add base_qualifier, offset_qualifier,
10 base_type and offset_type parameters. Handle SVE base and offset
12 (parse_address): Update call to parse_address_main.
13 (parse_sve_address): New function.
14 (parse_operands): Parse the new SVE address operands.
16 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
18 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
19 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
20 shift modes. Skip range tests for AARCH64_MOD_MUL.
21 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
22 (parse_operands): Likewise.
24 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
26 * config/tc-aarch64.c (parse_enum_string): New function.
27 (po_enum_or_fail): New macro.
28 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
29 AARCH64_OPND_SVE_PRFOP.
31 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
33 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
34 (parse_vector_type_for_operand): Assert that the skipped character
36 (parse_predication_for_operand): New function.
37 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
38 (vectype_to_qualifier): Handle NT_zero and NT_merge.
40 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
42 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
43 (AARCH64_REG_TYPES): Add ZN and PN.
44 (get_reg_expected_msg): Handle them.
45 (parse_vector_type_for_operand): Add a reg_type parameter.
46 Skip the width for Zn and Pn registers.
47 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
48 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
49 expecting the width to be 0.
50 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
52 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
53 (parse_operands): Handle the new Zn and Pn operands.
54 (REGSET16): New macro, split out from...
56 (reg_names): Add Zn and Pn entries.
58 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
60 * config/tc-aarch64.c (output_operand_error_record): Handle
61 AARCH64_OPDE_UNTIED_OPERAND.
63 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
65 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
66 instruction with all-NIL qualifiers to fail to match.
68 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
70 * config/tc-aarch64.c (parse_address_main): Remove reloc and
71 accept_reg_post_index parameters. Parse relocations and register
72 post indexes unconditionally.
73 (parse_address): Remove accept_reg_post_index parameter.
74 Update call to parse_address_main.
75 (parse_address_reloc): Delete.
76 (parse_operands): Call parse_address instead of parse_address_main.
77 Update existing callers of parse_address and make them check
78 inst.reloc.type where appropriate.
79 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
80 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
81 Also test for invalid uses of post-index register addressing.
82 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
84 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
86 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
88 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
89 (aarch64_check_reg_type): Simplify.
90 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
91 register number. Return the type as a qualifier rather than an
92 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
94 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
95 Use get_reg_expected_msg.
96 (parse_address_main): Likewise. Use aarch64_check_reg_type.
97 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
98 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
99 Use aarch64_check_reg_type to test the result.
100 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
101 addresses normally before enforcing the syntax restrictions.
102 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
103 zero register and for a stack pointer index.
104 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
105 Also update existing diagnostic messages after the above changes.
106 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
107 for 32-bit register bases.
109 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
111 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
112 (parse_operands): Check the range of 8-bit FP immediates here instead.
114 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
116 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
117 low-severity error for registers.
118 (parse_operands): Report an invalid floating point constant for
119 if parsing an FPIMM8 fails, and if no better error has been
121 * testsuite/gas/aarch64/diagnostic.s,
122 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
125 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
127 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
129 (can_convert_double_to_float): ...this. Accept any double-precision
130 value that converts to single precision without loss of precision.
131 (parse_aarch64_imm_float): Update accordingly.
133 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
135 * config/tc-aarch64.c (parse_immediate_expression): Add a
137 (parse_constant_immediate): Likewise, and update calls.
138 (parse_aarch64_imm_float): Likewise.
139 (parse_big_immediate): Likewise.
140 (po_imm_nc_or_fail): Update accordingly, passing down a new
141 imm_reg_type variable.
142 (po_imm_of_fail): Likewise.
143 (parse_operands): Likewise.
145 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
147 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
148 (parse_vector_reg_list): ...this and take a register type
150 (parse_operands): Update accordingly.
152 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
154 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
155 (parse_vector_type_for_operand): ...this.
156 (parse_typed_reg): Update accordingly.
158 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
160 * config/tc-aarch64.c (neon_type_el): Rename to...
161 (vector_type_el): ...this.
162 (parse_neon_type_for_operand): Update accordingly.
163 (parse_typed_reg): Likewise.
164 (aarch64_reg_parse): Likewise.
165 (vectype_to_qualifier): Likewise.
166 (parse_operands): Likewise.
167 (eq_neon_type_el): Likewise. Rename to...
168 (eq_vector_type_el): ...this.
169 (parse_neon_reg_list): Update accordingly.
171 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
173 * config/tc-aarch64.c (neon_el_type: Rename to...
174 (vector_el_type): ...this.
175 (neon_type_el): Update accordingly.
176 (parse_neon_type_for_operand): Likewise.
177 (vectype_to_qualifier): Likewise.
179 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
181 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
182 (parse_typed_reg): Call parse_neon_type_for_operand directly.
184 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
186 * testsuite/gas/arc/textinsnxop.d: New file.
187 * testsuite/gas/arc/textinsnxop.s: Likewise.
189 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
191 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
192 dcti-couples-v9 only in ELF targets to avoid spurious failures in
193 sparc-aout and sparc-coff targets.
195 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
197 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
198 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
199 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
200 <copy, paste.>: Update tests.
201 * testsuite/gas/ppc/power9.s: Likewise.
203 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
205 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
206 in "architecture mismatch" error messages.
208 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
210 * config/tc-sparc.c (md_assemble): Detect and warning on
211 unpredictable DCTI couples in certain arches.
212 (dcti_couples_detect): New global.
213 (md_longopts): Add command line option -dcti-couples-detect.
214 (md_show_usage): Document -dcti-couples-detect.
215 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
216 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
217 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
218 * testsuite/gas/sparc/dcti-couples.s: New file.
219 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
220 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
221 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
222 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
223 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
224 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
225 * doc/c-sparc.texi (Sparc-Opts): Likewise.
227 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
229 * testsuite/gas/arc/tls-relocs2.d: New file.
230 * testsuite/gas/arc/tls-relocs2.s: Likewise.
231 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
234 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
236 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
238 * doc/as.texinfo: Document new arch strings.
239 * doc/c-s390.texi: Likewise.
241 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
243 * config/tc-s390.c: Set all facitily bits by default
245 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
247 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
249 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
251 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
254 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
256 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
257 (set_cpu_arch): Updated.
258 (md_parse_option): Likewise.
259 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
260 iamcu-inval-2 and iamcu-inval-3.
261 * testsuite/gas/i386/iamcu-4.d: New file.
262 * testsuite/gas/i386/iamcu-4.s: Likewise.
263 * testsuite/gas/i386/iamcu-5.d: Likewise.
264 * testsuite/gas/i386/iamcu-5.s: Likewise.
265 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
266 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
267 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
268 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
270 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
272 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
273 ARMv8-A CPUs except xgene1.
275 2016-08-31 Alan Modra <amodra@gmail.com>
277 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
278 ppc_cpu rather than calling ppc_mach to determine VLE mode.
279 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
281 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
283 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
285 * testsuite/gas/sparc/crypto.s: Likewise.
287 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
289 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
290 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
291 their lowecase counterpart special registers. Write register
293 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
294 operation, special register and then case. Use different register for
295 each operation. Add tests for new special registers.
296 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
298 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
299 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
301 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
303 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
305 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
307 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
308 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
309 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
311 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
313 * config/tc-i386.c (cpu_arch): Add .ptwrite.
314 * doc/c-i386.texi: Document ptwrite and .ptwrite.
315 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
316 x86-64-ptwrite and x86-64-ptwrite-intel.
317 * testsuite/gas/i386/ptwrite-intel.d: New file.
318 * testsuite/gas/i386/ptwrite.d: Likewise.
319 * testsuite/gas/i386/ptwrite.s: Likewise.
320 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
321 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
322 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
324 2016-08-19 Tamar Christina <tamar.christina@arm.com>
326 * config/tc-arm.c (do_co_reg2c): Added constraint.
327 * testsuite/gas/arm/dest-unpredictable.s: New.
328 * testsuite/gas/arm/dest-unpredictable.l: New.
329 * testsuite/gas/arm/dest-unpredictable.d: New.
331 2016-08-19 Nick Clifton <nickc@redhat.com>
333 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
334 ordering of sections.
335 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
336 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
337 * testsuite/gas/ia64/alias.d: Likewise.
338 * testsuite/gas/ia64/group-1.d: Likewise.
339 * testsuite/gas/ia64/group-2.d: Likewise.
340 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
341 * testsuite/gas/ia64/secname.d: Likewise.
342 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
343 * testsuite/gas/ia64/unwind.d: Likewise.
344 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
345 * testsuite/gas/ia64/xdata.d: Likewise.
346 * testsuite/gas/mmix/bspec-1.d: Likewise.
347 * testsuite/gas/mmix/bspec-2.d: Likewise.
348 * testsuite/gas/mmix/byte-1.d: Likewise.
349 * testsuite/gas/mmix/loc-1.d: Likewise.
350 * testsuite/gas/mmix/loc-2.d: Likewise.
351 * testsuite/gas/mmix/loc-3.d: Likewise.
352 * testsuite/gas/mmix/loc-4.d: Likewise.
353 * testsuite/gas/mmix/loc-5.d: Likewise.
354 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
356 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
358 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
359 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
360 Add tests for -0.0. Add an end-of-file comment.
362 2016-08-05 Nick Clifton <nickc@redhat.com>
365 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
366 registers are pushed.
367 (do_vfp_nsyn_pop): Check that no more than 16 registers are
369 * testsuite/gas/arm/pr20429.s: New test.
370 * testsuite/gas/arm/pr20429.d: New test driver.
371 * testsuite/gas/arm/pr20429.1: Expected error output.
374 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
376 (aarch64_init): Treat rs_align frags in code sections as
377 containing code, not data.
378 * testsuite/gas/aarch64/pr20364.s: New test.
379 * testsuite/gas/aarch64/pr20364.d: New test driver.
381 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
384 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
385 of 64-bit relocation types when assembling for a 32-bit Solaris
388 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
390 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
392 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
393 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
394 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
395 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
397 (sparc_elf_setup): Delete.
398 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
401 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
403 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
404 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
405 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
406 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
407 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
408 (get_append_method): Also return APPEND_ADD_COMPACT for
409 microMIPS instructions.
410 (find_altered_mips16_opcode): Exclude macros from matching.
412 (find_altered_opcode): ... to this new function.
413 (find_altered_micromips_opcode): New function.
414 (frag_branch_delay_slot_size): Likewise.
415 (append_insn): Handle microMIPS branch/jump compaction.
416 (macro_start): Likewise.
417 (relaxed_micromips_32bit_branch_length): Likewise.
418 (md_convert_frag): Likewise.
419 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
420 for delay slot filling.
421 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
423 * testsuite/gas/mips/micromips-size-1.s: Likewise.
424 * testsuite/gas/mips/micromips.l: Adjust line numbers.
425 * testsuite/gas/mips/micromips-warn.l: Likewise.
426 * testsuite/gas/mips/micromips-size-1.l: Likewise.
427 * testsuite/gas/mips/micromips.d: Adjust padding.
428 * testsuite/gas/mips/micromips-trap.d: Likewise.
429 * testsuite/gas/mips/micromips-insn32.d: Likewise.
430 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
431 * testsuite/gas/mips/micromips@beq.d: Update patterns for
432 branch/jump compaction.
433 * testsuite/gas/mips/micromips@bge.d: Likewise.
434 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
435 * testsuite/gas/mips/micromips@blt.d: Likewise.
436 * testsuite/gas/mips/micromips@bltu.d: Likewise.
437 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
438 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
439 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
440 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
441 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
442 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
443 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
444 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
446 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
448 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
449 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
450 * testsuite/gas/mips/micromips@relax.d: Likewise.
451 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
452 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
453 * testsuite/gas/mips/branch-extern-2.d: Likewise.
454 * testsuite/gas/mips/branch-extern-4.d: Likewise.
455 * testsuite/gas/mips/branch-section-2.d: Likewise.
456 * testsuite/gas/mips/branch-section-4.d: Likewise.
457 * testsuite/gas/mips/branch-weak-2.d: Likewise.
458 * testsuite/gas/mips/branch-weak-5.d: Likewise.
459 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
460 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
461 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
462 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
464 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
466 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
468 * testsuite/gas/mips/micromips-compact.d: New test.
469 * testsuite/gas/mips/mips.exp: Run the new test.
471 2016-07-27 Graham Markall <graham.markall@embecosm.com>
473 * config/tc-arc.c: Add new global arc_addrtype_hash.
474 Define O_colon and O_addrtype.
475 (debug_exp): Add O_colon and O_addrtype.
476 (tokenize_arguments): Handle colon and address type
478 (declare_addrtype): New function.
479 (md_begin): Initialise arc_addrtype_hash.
480 (arc_parse_name): Add lookup of address types.
481 (assemble_insn): Handle colons and address types by
483 * testsuite/gas/arc/nps400-8.s: New file.
484 * testsuite/gas/arc/nps400-8.d: New file.
485 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
486 * testsuite/gas/arc/nps400-8.d: Add expected PMU
489 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
491 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
492 (RELAX_MICROMIPS_INSN32): New macro.
493 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
494 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
495 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
496 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
497 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
499 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
501 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
503 (md_convert_frag): Likewise.
504 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
506 * testsuite/gas/mips/micromips-branch-relax.l: Update line
508 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
509 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
510 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
512 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
514 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
516 * testsuite/gas/mips/mips.exp: Run the new tests.
518 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
520 * configure: Regenerated.
522 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
524 * testsuite/gas/arc/dsp.d: New file.
525 * testsuite/gas/arc/dsp.s: Likewise.
526 * testsuite/gas/arc/fpu.d: Likewise.
527 * testsuite/gas/arc/fpu.s: Likewise.
528 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
529 * testsuite/gas/arc/ext3op.d: Likewise.
530 * testsuite/gas/arc/tdpfp.d: Likewise.
531 * testsuite/gas/arc/tfpuda.d: Likewise.
533 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
535 * config/tc-mips.c (mips_force_relocation): Remove
536 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
538 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
540 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
541 Adjust comments for BAL to JALX linker conversion.
542 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
543 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
545 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
546 * testsuite/gas/mips/branch-local-4.d: New test.
547 * testsuite/gas/mips/branch-local-n32-4.d: New test.
548 * testsuite/gas/mips/branch-local-n64-4.d: New test.
549 * testsuite/gas/mips/branch-addend.d: New test.
550 * testsuite/gas/mips/branch-addend-n32.d: New test.
551 * testsuite/gas/mips/branch-addend-n64.d: New test.
552 * testsuite/gas/mips/branch-local-4.s: New test source.
553 * testsuite/gas/mips/branch-addend.s: New test source.
554 * testsuite/gas/mips/mips.exp: Run the new tests.
556 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
558 * config/tc-mips.c (mips_force_relocation): Also retain branch
559 relocations against MIPS16 and microMIPS symbols.
560 (fix_bad_cross_mode_jump_p): New function.
561 (fix_bad_same_mode_jalx_p): Likewise.
562 (fix_bad_misaligned_jump_p): Likewise.
563 (fix_bad_cross_mode_branch_p): Likewise.
564 (fix_bad_misaligned_branch_p): Likewise.
565 (fix_validate_branch): Likewise.
566 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
567 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
568 etc. Verify the ISA mode and alignment of the jump target.
569 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
570 with a call to `fix_validate_branch'.
571 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
572 <BFD_RELOC_16_PCREL_S2>: Likewise.
573 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
574 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
575 Verify the ISA mode and alignment of the branch target.
576 (md_convert_frag): Verify the ISA mode and alignment of resolved
577 MIPS16 branch targets.
578 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
579 branch targets with `.insn'.
580 * testsuite/gas/mips/branch-misc-5.s: Likewise.
581 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
583 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
584 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
585 non-instruction branch target with `.insn'.
586 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
587 with external symbols.
588 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
589 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
590 * testsuite/gas/mips/micromips-trap.d: Likewise.
591 * testsuite/gas/mips/micromips.d: Likewise.
592 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
593 targets with `.insn'.
594 * testsuite/gas/mips/mips16.d: Update accordingly.
595 * testsuite/gas/mips/mips16-64.d: Likewise.
596 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
597 branch target with `.insn'.
598 * testsuite/gas/mips/relax-swap3.s: Likewise.
599 * testsuite/gas/mips/branch-local-2.l: New list test.
600 * testsuite/gas/mips/branch-local-3.l: New list test.
601 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
602 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
603 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
604 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
605 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
606 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
607 * testsuite/gas/mips/unaligned-jump-3.d: New test.
608 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
609 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
610 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
611 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
613 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
615 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
616 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
617 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
618 * testsuite/gas/mips/unaligned-branch-3.d: New test.
619 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
620 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
621 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
622 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
623 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
624 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
625 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
626 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
627 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
628 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
630 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
632 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
633 * testsuite/gas/mips/branch-local-2.s: New test source.
634 * testsuite/gas/mips/branch-local-3.s: New test source.
635 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
636 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
637 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
638 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
639 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
640 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
641 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
642 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
643 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
645 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
647 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
648 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
649 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
650 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
651 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
652 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
653 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
655 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
657 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
659 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
661 * testsuite/gas/mips/mips.exp: Run the new tests.
663 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
665 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
667 (do_pseudo_b): Adjust.
668 (do_pseudo_bal): Likewise.
669 (do_pseudo_bge): Likewise.
670 (do_pseudo_bges): Likewise.
671 (do_pseudo_bgt): Likewise.
672 (do_pseudo_bgts): Likewise.
673 (do_pseudo_ble): Likewise.
674 (do_pseudo_bles): Likewise.
675 (do_pseudo_blt): Likewise.
676 (do_pseudo_blts): Likewise.
677 (do_pseudo_br): Likewise.
678 (do_pseudo_bral): Likewise.
679 (do_pseudo_la): Likewise.
680 (do_pseudo_li): Likewise.
681 (do_pseudo_ls_bhw): Likewise.
682 (do_pseudo_ls_bhwp): Likewise.
683 (do_pseudo_ls_bhwpc): Likewise.
684 (do_pseudo_ls_bhwi): Likewise.
685 (do_pseudo_move): Likewise.
686 (do_pseudo_neg): Likewise.
687 (do_pseudo_not): Likewise.
688 (do_pseudo_pushpopm): Likewise.
689 (do_pseudo_pushpop): Likewise.
690 (do_pseudo_v3push): Likewise.
691 (do_pseudo_v3pop): Likewise.
692 (do_pseudo_pushpop_stack): Likewise.
693 (do_pseudo_push_bhwd): Likewise.
694 (do_pseudo_pop_bhwd): Likewise.
695 (do_pseudo_pusha): Likewise.
696 (do_pseudo_pushi): Likewise.
698 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
700 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
701 bfd_reloc_code_real_type.
703 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
705 * config/tc-sparc.c (pop_table): Remove sentinel.
706 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
709 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
711 * config/tc-z8k.c (newfix): Make type of type argument
712 bfd_reloc_code_real_type.
713 (apply_fix): Likewise.
715 2016-07-16 Alan Modra <amodra@gmail.com>
717 * config/tc-epiphany.c: Don't include libbfd.h.
718 * config/tc-frv.c: Likewise.
719 * config/tc-ip2k.c: Likewise.
720 * config/tc-iq2000.c: Likewise.
721 * config/tc-m32c.c: Likewise.
722 * config/tc-mep.c: Likewise.
723 * config/tc-mt.c: Likewise.
724 * config/tc-nios2.c: Likewise.
726 2016-07-16 Alan Modra <amodra@gmail.com>
728 * config/bfin-parse.y: Don't include libbfd.h.
729 * config/tc-bfin.c: Likewise.
730 * config/tc-rl78.c: Likewise.
731 * config/tc-rx.c: Likewise.
732 * config/tc-metag.c: Likewise.
733 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
734 * Makefile.am: Update dependencies.
735 * Makefile.in: Regenerate.
737 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
739 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
740 (mips_force_relocation_abs): New prototype.
741 * config/tc-mips.c (mips_force_relocation_abs): New function.
742 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
743 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
744 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
745 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
746 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
748 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
750 * testsuite/gas/mips/branch-absolute-addend.d: New test.
751 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
752 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
754 * testsuite/gas/mips/mips.exp: Run the new tests.
756 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
758 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
759 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
760 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
762 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
763 in `bar', export `foo'.
764 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
766 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
767 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
768 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
770 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
773 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
775 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
776 * testsuite/gas/mips/branch-absolute.d: New test.
777 * testsuite/gas/mips/branch-absolute-n32.d: New test.
778 * testsuite/gas/mips/branch-absolute-n64.d: New test.
779 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
780 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
781 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
782 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
783 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
785 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
787 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
788 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
789 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
790 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
792 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
794 * testsuite/gas/mips/branch-absolute.s: New test source.
795 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
796 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
798 * testsuite/gas/mips/micromips-branch-absolute.s: New test
800 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
802 * testsuite/gas/mips/mips.exp: Run the new tests.
804 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
806 * testsuite/gas/mips/nal-1.d: New test.
807 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
808 * testsuite/gas/mips/nal-2.d: New test.
809 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
810 * testsuite/gas/mips/nal.s: New test source.
811 * testsuite/gas/mips/mips.exp: Run the new tests.
813 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
815 * testsuite/gas/sparc/ldtxa.s: New file.
816 * testsuite/gas/sparc/ldtxa.d: Likewise.
817 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
819 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
821 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
822 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
823 as it is no longer needed.
825 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
827 * config/tc-mips.c (append_insn): Remove extraneous
830 2016-07-04 Jan Beulich <jbeulich@suse.com>
832 * config/tc-i386.c (check_qword_reg): Correct register kind
834 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
835 16-bit register cases.
836 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
839 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
841 * testsuite/gas/mips/ecoff@ld.d: Remove test.
842 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
843 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
844 * testsuite/gas/mips/ecoff@sd.d: Remove test.
845 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
846 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
848 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
849 * testsuite/gas/mips/bge.d: Likewise.
850 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
851 * testsuite/gas/mips/bgeu.d: Likewise.
852 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
853 * testsuite/gas/mips/blt.d: Likewise.
854 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
855 * testsuite/gas/mips/bltu.d: Likewise.
856 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
857 * testsuite/gas/mips/branch-likely.d: Likewise.
858 * testsuite/gas/mips/la.d: Likewise.
859 * testsuite/gas/mips/lb.d: Likewise.
860 * testsuite/gas/mips/lifloat.d: Likewise.
861 * testsuite/gas/mips/sb.d: Likewise.
862 * testsuite/gas/mips/uld.d: Likewise.
863 * testsuite/gas/mips/ulh.d: Likewise.
864 * testsuite/gas/mips/ulw.d: Likewise.
865 * testsuite/gas/mips/usd.d: Likewise.
866 * testsuite/gas/mips/ush.d: Likewise.
867 * testsuite/gas/mips/usw.d: Likewise.
869 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
871 * testsuite/gas/mips/branch-misc-2.s: Move non
872 locally-defined-global symbol tests...
873 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
874 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
875 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
876 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
877 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
878 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
879 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
880 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
881 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
882 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
883 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
884 * testsuite/gas/mips/branch-misc-5.d: New test.
885 * testsuite/gas/mips/branch-misc-5pic.d: New test.
886 * testsuite/gas/mips/branch-misc-5-64.d: New test.
887 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
888 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
889 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
890 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
891 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
892 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
893 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
894 * testsuite/gas/mips/mips.exp: Run the new tests.
896 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
898 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
900 * testsuite/gas/mips/beq.d: Update accordingly.
901 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
902 * testsuite/gas/mips/micromips@beq.d: Likewise.
904 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
906 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
907 tests to NewABI targets.
909 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
911 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
914 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
916 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
918 (aarch64_features): Initialize require fields.
919 (aarch64_parse_features): Handle dependencies.
920 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
921 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
922 * testsuite/gas/aarch64/illegal-nofp16.s: New.
923 * testsuite/gas/aarch64/illegal-nofp16.l: New.
924 * testsuite/gas/aarch64/illegal-nofp16.d: New.
926 2016-07-01 Nick Clifton <nickc@redhat.com>
928 * macro.c (macro_expand_body): Use a buffer big enough to hold an
929 extremely large integer.
931 2016-07-01 Jan Beulich <jbeulich@suse.com>
933 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
935 2016-07-01 Tristan Gingold <gingold@adacore.com>
937 * NEWS: Add marker for 2.27.
939 2016-07-01 Jan Beulich <jbeulich@suse.com>
941 * tc-i386.c (i386_index_check): Add special checks for bndmk,
943 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
944 as well as scaling by other than 1 tests.
945 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
947 2016-07-01 Jan Beulich <jbeulich@suse.com>
949 * tc-i386.c (md_assemble): Alter address size checking for MPX
951 * testsuite/gas/i386/mpx-inval-2.s: New.
952 * testsuite/gas/i386/mpx-inval-2.l: New.
953 * testsuite/gas/i386/i386.exp: Run new test.
955 2016-07-01 Jan Beulich <jbeulich@suse.com>
958 * config/tc-i386.c (match_template): Add char parameter,
959 consumed in Intel mode for an extra suffix check.
960 (md_assemble): New local variable mnem_suffix.
961 * testsuite/gas/i386/suffix-bad.s: New.
962 * testsuite/gas/i386/suffix-bad.l: New.
963 * testsuite/gas/i386/i386.exp: Run new test (twice).
965 2016-07-01 Jan Beulich <jbeulich@suse.com>
967 * testsuite/gas/i386/movz.s: New.
968 * testsuite/gas/i386/movz32.d: New.
969 * testsuite/gas/i386/movz64.d: New.
970 * testsuite/gas/i386/i386.exp: Run new tests.
972 2016-07-01 Jan Beulich <jbeulich@suse.com>
974 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
975 (md_assemble): Free first memory operand string.
976 (i386_index_check): Use repprefixok to distingush xlat from
977 other (real) string ops.
978 (maybe_adjust_templates): New.
979 (i386_att_operand). Call it. Store first memory operand string.
980 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
981 * testsuite/gas/i386/intel-movs.s: New.
982 * testsuite/gas/i386/intel-movs32.d: New.
983 * testsuite/gas/i386/intel-movs64.d: New.
984 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
985 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
987 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
989 * config/tc-mips.c (get_append_method): Fix a comment typo.
991 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
992 Maciej W. Rozycki <macro@imgtec.com>
994 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
995 case MIPS16 handling.
996 * testsuite/gas/mips/branch-swap-3.d: New test.
997 * testsuite/gas/mips/branch-swap-4.d: New test.
998 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
999 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1000 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1001 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1002 * testsuite/gas/mips/branch-swap-3.s: New test source.
1003 * testsuite/gas/mips/mips.exp: Run the new tests.
1005 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1007 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1010 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1013 * write.c (subsegs_finish_section): Force no section padding to
1014 alignment on failed assembly, always set last frag's alignment
1016 * testsuite/gas/all/pr20312.l: New list test.
1017 * testsuite/gas/all/pr20312.s: New test source.
1018 * testsuite/gas/all/gas.exp: Run the new test
1020 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1022 * config.in (TARGET_WITH_CPU): Undefine.
1023 * configure.ac: Add --with-cpu support, and define in config.h.
1024 * configure: Regenerate.
1025 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1026 * NEWS: Mention new configure option.
1028 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1030 * testsuite/gas/arm/armv8_2+rdma.d: New.
1032 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1034 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1035 default for Linux/x86 targets.
1036 * configure.tgt (ac_default_compressed_debug_sections): Default
1037 to yes for Linux/x86 targets.
1039 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1041 * write.c: Remove "libbfd.h" inclusion.
1043 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1045 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1048 2016-06-28 Alan Modra <amodra@gmail.com>
1051 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1053 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1055 * testsuite/gas/aarch64/diagnostic.s,
1056 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1058 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1060 * config/tc-mips.c (mips16_reloc_p): Handle
1061 BFD_RELOC_MIPS16_16_PCREL_S1.
1062 (b_reloc_p): Likewise.
1063 (limited_pcrel_reloc_p): Likewise.
1064 (md_pcrel_from): Likewise.
1065 (md_apply_fix): Likewise.
1066 (tc_gen_reloc): Likewise.
1067 (md_convert_frag): Likewise.
1068 (mips_fix_adjustable): Update comment.
1069 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1070 output, add dump patterns.
1071 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1072 output, add dump patterns.
1073 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1074 output, add dump patterns.
1075 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1076 output, add dump patterns.
1077 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1078 output, add dump patterns.
1079 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1080 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1081 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1082 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1083 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1084 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1085 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1086 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1087 * testsuite/gas/mips/branch-weak-6.d: New test.
1088 * testsuite/gas/mips/branch-weak-7.d: New test.
1089 * testsuite/gas/mips/mips.exp: Run the new tests.
1091 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1093 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1094 cfi_add_CFA_def_cfa to generate default CFA with offset
1095 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1097 2016-06-27 Nick Clifton <nickc@redhat.com>
1100 * as.h (do_not_pad_sections_to_alignment): New global variable.
1101 * as.c (show_usage): Add --no-pad-sections.
1102 (parse_args): Likewise.
1103 * write.c (size_seg): Skip padding the end of the section if
1104 requested from the command line.
1105 (SUB_SEGMENT_ALIGN): Likewise.
1106 * doc/as.texinfo: Document the new option.
1107 * NEWS: Mention the new feature.
1108 * testsuite/gas/elf/section11.s: New test.
1109 * testsuite/gas/elf/section11.d: New test driver.
1110 * testsuite/gas/elf/elf.exp: Run the new test.
1112 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1114 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1115 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1117 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1119 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1121 (map_suffix_reloc_to_operator): Likewise.
1122 (map_operator_to_reloc): Likewise.
1124 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1126 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1127 element in relax_table.
1129 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1131 * config/tc-aarch64.c: Make the type of reg_entry::type
1134 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1136 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1137 (md_parse_option): Adjust.
1138 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1139 with iteration from 0 to ARRAY_SIZE.
1140 * config/tc-mcore.c (md_begin): Likewise.
1141 * config/tc-visium.c (visium_parse_arch): Likewise.
1143 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1145 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1146 and simplify accordingly.
1147 (tic54x_include): Adjust.
1148 (tic54x_mlib): Likewise.
1150 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1152 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1154 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1156 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1157 unchanged with relaxed MIPS16 instructions.
1158 (mips16_extended_frag): Adjust accordingly. Return 1 right
1159 away if a relocation will be required for the symbol requested.
1160 Remove dead first relaxation pass code.
1161 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1162 (md_convert_frag): Adjust symbol value calculation. Raise an
1163 error if a relocation is required for the symbol requested.
1164 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1166 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1167 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1168 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1169 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1170 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1171 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1172 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1173 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1174 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1175 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1176 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1177 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1178 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1179 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1180 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1181 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1182 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1183 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1184 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1185 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1186 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1187 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1188 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1189 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1190 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1191 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1192 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1193 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1194 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1195 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1196 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1197 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1198 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1199 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1200 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1201 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1202 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1203 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1204 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1205 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1206 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1207 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1208 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1209 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1210 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1211 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1212 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1213 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1214 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1215 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1216 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1217 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1218 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1219 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1220 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1221 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1222 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1223 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1224 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1225 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1226 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1227 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1228 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1229 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1230 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1231 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1232 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1233 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1234 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1235 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1236 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1237 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1238 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1239 * testsuite/gas/mips/mips.exp: Run the new tests.
1241 2016-06-24 Alan Modra <amodra@gmail.com>
1243 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1245 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1247 * config/tc-mips.c (b_reloc_p): New function.
1248 (mips_fix_adjustable): Also keep the original microMIPS symbol
1249 referred from branch relocations.
1250 * testsuite/gas/mips/branch-local-1.d: New test.
1251 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1252 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1253 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1255 * testsuite/gas/mips/branch-local-1.s: New test source.
1256 * testsuite/gas/mips/mips.exp: Run the new cases.
1258 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1260 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1261 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1262 options. Correct erroneous enabling of SPFP instructions when
1265 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1267 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1268 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1269 setbool, xor3>: New tests.
1270 * testsuite/gas/ppc/power9.s: Likewise.
1272 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1274 * config/tc-xtensa.c: Include elf/xtensa.h.
1276 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1278 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1279 <BFD_RELOC_LO16_PCREL>: New switch cases.
1280 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1281 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1282 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1283 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1285 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1286 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1287 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1288 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1289 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1290 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1291 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1292 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1293 * testsuite/gas/mips/mips.exp: Run the new tests.
1295 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1297 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1298 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1299 via `fixP->fx_addsy'.
1301 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1303 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1304 Calculate relocation from the containing aligned doubleword.
1305 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1306 addend from the containing aligned doubleword.
1308 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1310 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1311 rather than `mips_opts' for the R6 ISA check.
1312 (mips_fix_adjustable): Likewise.
1313 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1314 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1315 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1316 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1317 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1318 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1319 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1320 * testsuite/gas/mips/mips.exp: Run the new tests.
1322 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1324 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1325 Add nps400 option and feature. Add check for nps400
1326 feature. Refactor existing checks to check subclass before
1328 (md_show_usage): Document flags for NPS-400 and add some other
1330 (cpu_type): Remove nps400 CPU type entry
1331 (check_zol): Remove bfd_mach_arc_nps400 case.
1332 (md_show_usage): Add help on -mcpu=nps400.
1333 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1335 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1336 -fpuda flags. Document -mcpu=nps400.
1337 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1338 expected flags to match ARC700 instead of NPS400.
1339 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1340 * testsuite/gas/arc/nps-400-2.d: Likewise.
1341 * testsuite/gas/arc/nps-400-3.d: Likewise.
1342 * testsuite/gas/arc/nps-400-4.d: Likewise.
1343 * testsuite/gas/arc/nps-400-5.d: Likewise.
1344 * testsuite/gas/arc/nps-400-6.d: Likewise.
1345 * testsuite/gas/arc/nps-400-7.d: Likewise.
1346 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1347 avoid clash with cbba instruction.
1348 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1349 * testsuite/gas/arc/textinsn3op.d: Likewise.
1350 * testsuite/gas/arc/textinsn3op.s: Likewise.
1351 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1352 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1354 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1356 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1357 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1359 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1361 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1364 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1366 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1368 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1370 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1371 %hmcddfr and %hva_mask_nz.
1372 (sparc_ip): New handling of asr/privileged/hyperprivileged
1373 registers, adapted to the new form of the sparc opcodes table.
1374 * testsuite/gas/sparc/rdasr.s: New file.
1375 * testsuite/gas/sparc/rdasr.d: Likewise.
1376 * testsuite/gas/sparc/wrasr.s: Likewise.
1377 * testsuite/gas/sparc/wrasr.d: Likewise.
1378 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1380 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1381 registers require it.
1382 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1383 registers and write instruction modalities.
1384 * testsuite/gas/sparc/wrpr.d: Likewise.
1385 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1387 * testsuite/gas/sparc/rdhpr.d: Likewise.
1388 * testsuite/gas/sparc/wrhpr.s: Likewise.
1389 * testsuite/gas/sparc/wrhpr.d: Likewise.
1391 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1393 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1394 architectures to use the right opcode architecture.
1395 (sparc_md_end): Handle v9{c,d,e,v,m}.
1396 (sparc_ip): Fix some comments.
1397 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1398 instruction, which is v9d.
1399 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1400 instruction from the test, as %mwait is not readable.
1401 * testsuite/gas/sparc/mwait.d: Likewise.
1402 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1403 mismatch architecture errors.
1404 * testsuite/gas/sparc/mism-2.s: New file.
1406 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1408 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1409 empty string to mark the end of the array.
1410 (hpriv_reg_table): Likewise.
1411 (v9a_asr_table): Likewise.
1412 (cmp_reg_entry): Handle entries with NULL names.
1414 (F_POP_PCREL): Likewise.
1415 (F_POP_TLS_CALL): Likewise.
1416 (F_POP_POSTFIX): Likewise.
1417 (struct pop_entry): New type.
1418 (pop_table): New variable.
1419 (enum pop_entry_type): New type.
1420 (struct perc_entry): Likewise.
1421 (NUM_PERC_ENTRIES): Define.
1422 (perc_table): New variable.
1423 (cmp_perc_entry): New function.
1424 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1426 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1427 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1430 2016-06-15 Nick Clifton <nickc@redhat.com>
1432 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1434 * config/tc-mcore.c (md_assemble): Likewise.
1435 * config/tc-mn10200.c (md_assemble): Likewise.
1436 * config/tc-moxie.c (md_assemble): Likewise.
1437 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1438 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1439 exception targets. Add alpha, hppa, microblaze and rl78 to list
1441 (forward): Add microblaze to list of exceptions.
1442 (fwdexp): Add alpha to list of exceptions.
1443 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1444 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1445 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1446 mn10200 to list of exceptions.
1447 (align2): Expect to fail for nds32.
1448 (cond): Add alpha and rl78 to list of exceptions.
1449 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1450 * testsuite/gas/all/string.d: Skip for tic4x.
1451 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1452 target does not support ELF.
1453 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1454 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1455 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1456 tests for sh-pe and sh-rtemscoff targets.
1457 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1459 (type): Run the noifunc version for alpha-freebsd and visium.
1460 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1461 mn10200 or moxie targets.
1462 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1463 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1465 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1466 mcore and rx targets.
1467 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1469 (purge): Expect to fail on the ns32k and vax.
1470 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1471 * testsuite/gas/nds32/ls.d: Likewise.
1472 * testsuite/gas/nds32/sys-reg.d: Likewise.
1473 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1474 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1475 * testsuite/gas/pe/section-align-3.d: Likewise.
1476 * testsuite/gas/pe/section-exclude.d: Likewise.
1477 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1479 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1480 for variations in whitespace.
1481 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1483 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1484 Installs a 32-bit value without generating warnings on 64-bit
1486 Use the new macro to replace the .word directives.
1488 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1490 * testsuite/gas/arc/add_s.d: New file.
1491 * testsuite/gas/arc/add_s.s: New file.
1493 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1495 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1496 * testsuite/gas/arc/nps400-6.d: Likewise.
1498 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1500 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1502 * testsuite/gas/arc/nps400-6.d: Likewise.
1504 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1506 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1507 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1508 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1509 * testsuite/gas/arc/nps400-6.d: Likewise.
1511 2016-06-14 Nick Clifton <nickc@redhat.com>
1513 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1516 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1518 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1519 JALR relocations on R6.
1520 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1521 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1522 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1523 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1524 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1525 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1527 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1528 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1530 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1531 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1533 * testsuite/gas/mips/mips.exp: Run the new tests.
1535 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1537 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1538 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1541 2016-06-13 Nick Clifton <nickc@redhat.com>
1543 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1544 that are not supported.
1546 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1548 * config/tc-cr16.c (check_range): Likewise.
1549 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1551 2016-06-08 Renlin Li <renlin.li@arm.com>
1553 * config/tc-aarch64.c (print_operands): Substitute size.
1554 (output_operand_error_record): Likewise.
1556 2016-06-07 Alan Modra <amodra@gmail.com>
1558 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1559 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1560 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1561 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1562 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1563 add vle_opcodes twice.
1564 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1566 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1568 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1569 (arm_ext_ras): Renamed from arm_ext_v8_2.
1570 (insns): Update for arm_ext_v8_2 renaming.
1571 (arm_extensions): Add "ras".
1572 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1573 * testsuite/gas/arm/armv8-a+ras.d: New.
1574 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1577 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1579 * itbl-parse.y (yyerror): Use modern argument declaration style.
1581 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1583 * config/tc-sh.c (parse_reg): Change type of mode argument to
1585 (get_operand): Adjust.
1586 (insert): Change type of how to bfd_reloc_code_real_type.
1587 (insert4): Likewise.
1588 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1589 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1591 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1593 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1596 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1599 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1600 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1601 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1602 * gas/testsuite/gas/ppc/power8.s: Likewise.
1603 * gas/testsuite/gas/ppc/power8.d: Likewise.
1604 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1606 * gas/testsuite/gas/ppc/power4.d: Likewise.
1608 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1611 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1612 * testsuite/gas/i386/x86-64-branch.d: Updated.
1613 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1614 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1615 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1617 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1619 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1620 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1622 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1624 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1625 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1627 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1629 * configure.tgt: Replace -uclibc with *.
1631 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1633 * config/tc-arc.c (parse_opcode_flags): New function.
1634 (find_opcode_match): Move flag parsing code out to new function.
1635 Ignore operands marked IGNORE.
1636 (build_fake_opcode_hash_entry): New function.
1637 (find_special_case_long_opcode): New function.
1638 (find_special_case): Lookup long opcodes.
1639 * testsuite/gas/arc/nps400-7.d: New file.
1640 * testsuite/gas/arc/nps400-7.s: New file.
1642 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1644 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1646 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1648 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1649 sentinal with iteration to array size.
1651 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1653 * config/xtensa-relax.h: Move typedefs of enums to the enums
1656 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1658 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1661 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1663 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1664 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1665 * testsuite/gas/arc/nps-400-1.d: Likewise.
1667 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1670 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1671 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1672 noavx512ifma and noavx512vbmi.
1673 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1674 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1676 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1677 * testsuite/gas/i386/noavx512-1.l: New file.
1678 * testsuite/gas/i386/noavx512-1.s: Likewise.
1679 * testsuite/gas/i386/noavx512-2.l: Likewise.
1680 * testsuite/gas/i386/noavx512-2.s: Likewise.
1682 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1685 * config/tc-i386.c (cpu_arch): Add 687.
1686 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1687 nosse4.1, nosse4.2, nosse4 and noavx2.
1688 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1689 register. Check cpuregxmm instead of cpusse for XMM register.
1690 Check cpuregymm instead of cpuavx for YMM register. Check
1691 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1692 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1693 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1694 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1695 * testsuite/gas/i386/arch-10.d (as): Likewise.
1696 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1697 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1698 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1700 * testsuite/gas/i386/no87-3.l: New file.
1701 * testsuite/gas/i386/no87-3.s: Likewise.
1702 * testsuite/gas/i386/noavx-3.l: Likewise.
1703 * testsuite/gas/i386/noavx-3.s: Likewise.
1704 * testsuite/gas/i386/noavx-4.d: Likewise.
1705 * testsuite/gas/i386/noavx-4.s: Likewise.
1706 * testsuite/gas/i386/nosse-4.l: Likewise.
1707 * testsuite/gas/i386/nosse-4.s: Likewise.
1708 * testsuite/gas/i386/nosse-5.d: Likewise.
1709 * testsuite/gas/i386/nosse-5.s: Likewise.
1711 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1714 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1716 (match_template): Check Intel64/AMD64 ISA.
1718 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1721 * config/tc-i386.c (intel64): New.
1722 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1723 (md_parse_option): Set intel64 instead of cpuamd64 and
1726 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1728 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1731 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1733 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1734 * testsuite/gas/ppc/altivec3.s: Likewise.
1735 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1736 * testsuite/gas/ppc/power9.s: Likewise.
1738 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1740 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1741 * testsuite/gas/i386/noavx-1.l: Likewise.
1742 * testsuite/gas/i386/nommx-1.l: Likewise.
1743 * testsuite/gas/i386/nosse-1.l: Likewise.
1744 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1745 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1746 * testsuite/gas/i386/noavx-1.s: Likewise.
1747 * testsuite/gas/i386/nommx-1.s: Likewise.
1748 * testsuite/gas/i386/nosse-1.s: Likewise.
1749 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1751 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1753 * config/tc-metag.c (metag_handle_align): Make the type of noop
1756 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1758 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1759 bfd_reloc_code_real_type.
1761 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1764 * config/tc-i386.c (cpu_flags_match): Require another match
1766 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1767 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1768 * testsuite/gas/i386/avx512vl-1.l: New file.
1769 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1770 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1771 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1772 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1773 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1774 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1775 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1777 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1780 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1781 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1782 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1784 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1786 * config/tc-i386.c (arch_entry): Remove negated.
1787 (noarch_entry): New struct.
1788 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1790 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1791 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1793 (output_message): New function.
1794 (show_arch): Use it. Handle cpu_noarch.
1795 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1796 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1797 * testsuite/gas/i386/noavx-1.l: New file.
1798 * testsuite/gas/i386/noavx-1.s: Likewise.
1799 * testsuite/gas/i386/noavx-2.s: Likewise.
1800 * testsuite/gas/i386/noavx-2.l: Likewise.
1801 * testsuite/gas/i386/nommx-1.s: Likewise.
1802 * testsuite/gas/i386/nommx-1.l: Likewise.
1803 * testsuite/gas/i386/nommx-2.s: Likewise.
1804 * testsuite/gas/i386/nommx-2.l: Likewise.
1805 * testsuite/gas/i386/nommx-3.s: Likewise.
1806 * testsuite/gas/i386/nommx-3.l: Likewise.
1807 * testsuite/gas/i386/nosse-1.s: Likewise.
1808 * testsuite/gas/i386/nosse-1.l: Likewise.
1809 * testsuite/gas/i386/nosse-2.s: Likewise.
1810 * testsuite/gas/i386/nosse-2.l: Likewise.
1811 * testsuite/gas/i386/nosse-3.s: Likewise.
1812 * testsuite/gas/i386/nosse-3.l: Likewise.
1814 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1817 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1818 instruction if supported by the currently selected fpu variant.
1819 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1820 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1822 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1824 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1825 jump relocations against MIPS16 or microMIPS symbols on RELA
1827 * testsuite/gas/mips/jalx-local.d: New test.
1828 * testsuite/gas/mips/jalx-local-n32.d: New test.
1829 * testsuite/gas/mips/jalx-local-n64.d: New test.
1830 * testsuite/gas/mips/jalx-local.s: New test source.
1831 * testsuite/gas/mips/mips.exp: Run the new tests.
1833 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1835 * config/tc-mips.c (md_apply_fix)
1836 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1839 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1841 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1842 operator to operatorT.
1843 (map_suffix_reloc_to_operator): Change return type to operatorT.
1845 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1847 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1849 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1851 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1852 handler_charp to const char *.
1854 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1856 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1857 (ft32_target_format): Likewise.
1858 (TARGET_FORMAT): Adjust.
1860 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1862 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1863 (ia64_frob_label): Likewise.
1865 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1867 * config/tc-cr16.c (check_range): Make type of retval op_err.
1868 * config/tc-crx.c: Likewise.
1870 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1872 * config/tc-arc.c (md_begin): Add XY registers.
1873 (cpu_types): Code density is default off for ARC EM.
1875 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1877 * config/tc-arc.c (attributes_t): Renamed attribute class to
1879 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1881 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1883 * configuse.tgt: Add entry for arm-phoenix.
1885 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1887 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1889 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1891 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1893 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1895 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1896 (md_begin): Likewise.
1897 (encode_condition): Likewise.
1898 (encode_cc3): Likewise.
1899 (encode_cc2): Likewise.
1900 (encode_operand): Likewise.
1901 (tic54x_undefined_symbol): Likewise.
1903 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1905 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1907 * doc/c-mips.texi: Document p6600 -march option.
1909 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1912 * config/tc-i386.c (md_apply_fix): Preserve addend for
1913 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1914 * testsuite/gas/i386/addend.d: New file.
1915 * testsuite/gas/i386/addend.s: Likewise.
1916 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1917 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1918 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1919 * testsuite/gas/i386/reloc32.d: Updated.
1921 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1923 * config/tc-mips.c (append_insn): Correct the encoding of a
1924 constant argument for microMIPS JALX.
1925 (tc_gen_reloc): Correct the encoding of an in-place addend for
1927 * testsuite/gas/mips/jalx-addend.d: New test.
1928 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1929 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1930 * testsuite/gas/mips/jalx-imm.d: New test.
1931 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1932 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1933 * testsuite/gas/mips/jalx-addend.s: New test source.
1934 * testsuite/gas/mips/jalx-imm.s: New test source.
1935 * testsuite/gas/mips/mips.exp: Run the new tests.
1937 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1939 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1942 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1944 * config/tc-arc.c (find_opcode_match): Remove casting away of
1946 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1948 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1950 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1952 (md_convert_frag): Likewise.
1954 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1956 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1957 cached opcode to NULL when we reach a non-matching opcode.
1958 * testsuite/gas/arc/asm-errors-2.d: New file.
1959 * testsuite/gas/arc/asm-errors-2.err: New file.
1960 * testsuite/gas/arc/asm-errors-2.s: New file.
1962 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1964 * config/tc-arc.c (tokenize_arguments): Add checks for array
1966 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1967 * testsuite/gas/arc/asm-errors.err: Update expected results.
1969 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1971 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1972 int to enum rx_cpu_types.
1974 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1976 * config/tc-dlx.c (struct machine_it): change the type of a field from
1977 int to bfd_reloc_code_real_type.
1978 * config/tc-tic4x.c: Likewise.
1980 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1982 * config/tc-v850.c (v850_target_arch): change type to enum
1984 * config/tc-v850.h (v850_target_arch): Likewise.
1986 2016-05-18 Alan Modra <amodra@gmail.com>
1988 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1989 allowed negative range.
1990 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1991 * testsuite/gas/ppc/power9.d: Update.
1993 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1995 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1996 disassembling and stop skipping targets.
1997 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1998 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1999 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2000 instruction for targets that have stronger alignment requirement.
2001 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2002 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2003 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2004 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2005 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2006 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2007 * testsuite/gas/arm/archv8m-main.d: Likewise.
2008 * testsuite/gas/arm/archv8m.s: Add label.
2009 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2010 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2011 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2013 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2015 * config/tc-m32r.c (mach_table): Make static and const.
2017 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2019 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2022 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2024 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2026 * config/tc-msp430.c (md_begin): Likewise.
2028 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2030 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2031 bfd_reloc_code_real_type where appropriate.
2032 (fixup16): Likewise.
2033 (fixup8_xg): Likewise.
2035 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2037 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2039 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2041 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2042 * testsuite/gas/ppc/power9.s: Likewise.
2044 2016-05-13 Alan Modra <amodra@gmail.com>
2046 * config/obj-coff.c (weak_uniquify): Delete unused var.
2048 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2050 * app.c (app_push): Use XNEW and related macros.
2051 * as.c (parse_args): Likewise.
2052 * cgen.c (make_right_shifted_expr): Likewise.
2053 (gas_cgen_tc_gen_reloc): Likewise.
2054 * config/bfin-defs.h: Likewise.
2055 * config/bfin-parse.y: Likewise.
2056 * config/obj-coff.c (stack_init): Likewise.
2057 (stack_push): Likewise.
2058 (coff_obj_symbol_new_hook): Likewise.
2059 (coff_obj_symbol_clone_hook): Likewise.
2060 (add_lineno): Likewise.
2061 (coff_frob_symbol): Likewise.
2062 * config/obj-elf.c (obj_elf_section_name): Likewise.
2063 (build_group_lists): Likewise.
2064 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2065 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2066 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2067 (find_or_make_literal_pool): Likewise.
2068 (add_to_lit_pool): Likewise.
2069 (fill_instruction_hash_table): Likewise.
2070 * config/tc-alpha.c (load_expression): Likewise.
2071 (emit_jsrjmp): Likewise.
2072 (s_alpha_ent): Likewise.
2073 (s_alpha_end): Likewise.
2074 (s_alpha_linkage): Likewise.
2075 (md_begin): Likewise.
2076 (tc_gen_reloc): Likewise.
2077 * config/tc-arc.c (arc_insert_opcode): Likewise.
2078 (arc_extcorereg): Likewise.
2079 * config/tc-bfin.c: Likewise.
2080 * config/tc-cr16.c: Likewise.
2081 * config/tc-cris.c: Likewise.
2082 * config/tc-crx.c (preprocess_reglist): Likewise.
2083 * config/tc-d10v.c: Likewise.
2084 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2085 (frv_tomcat_shuffle): Likewise.
2086 * config/tc-h8300.c: Likewise.
2087 * config/tc-i370.c (i370_macro): Likewise.
2088 * config/tc-i386.c (lex_got): Likewise.
2089 (md_parse_option): Likewise.
2090 * config/tc-ia64.c (alloc_record): Likewise.
2091 (set_imask): Likewise.
2092 (save_prologue_count): Likewise.
2093 (dot_proc): Likewise.
2094 (dot_endp): Likewise.
2095 (ia64_frob_label): Likewise.
2096 (add_qp_imply): Likewise.
2097 (add_qp_mutex): Likewise.
2098 (mark_resource): Likewise.
2099 (dot_alias): Likewise.
2100 * config/tc-m68hc11.c: Likewise.
2101 * config/tc-m68k.c (m68k_frob_label): Likewise.
2103 (mri_control_label): Likewise.
2104 (push_mri_control): Likewise.
2105 (build_mri_control_operand): Likewise.
2106 (s_mri_else): Likewise.
2107 (s_mri_break): Likewise.
2108 (s_mri_next): Likewise.
2109 (s_mri_for): Likewise.
2110 (s_mri_endw): Likewise.
2111 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2112 * config/tc-microblaze.c: Likewise.
2113 * config/tc-mmix.c (s_loc): Likewise.
2114 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2115 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2116 * config/tc-rl78.c: Likewise.
2117 * config/tc-rx.c (rx_include): Likewise.
2118 * config/tc-sh.c: Likewise.
2119 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2120 * config/tc-sparc.c: Likewise.
2121 * config/tc-spu.c: Likewise.
2122 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2123 (tic6x_start_unwind_section): Likewise.
2124 * config/tc-tilegx.c: Likewise.
2125 * config/tc-tilepro.c: Likewise.
2126 * config/tc-v850.c: Likewise.
2127 * config/tc-visium.c: Likewise.
2128 * config/tc-xgate.c: Likewise.
2129 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2130 (new_resource_table): Likewise.
2131 (resize_resource_table): Likewise.
2132 (xtensa_create_trampoline_frag): Likewise.
2133 (xtensa_maybe_create_literal_pool_frag): Likewise.
2134 (cache_literal_section): Likewise.
2135 * config/xtensa-relax.c (append_transition): Likewise.
2136 (append_condition): Likewise.
2137 (append_value_condition): Likewise.
2138 (append_constant_value_condition): Likewise.
2139 (append_literal_op): Likewise.
2140 (append_label_op): Likewise.
2141 (append_constant_op): Likewise.
2142 (append_field_op): Likewise.
2143 (append_user_fn_field_op): Likewise.
2144 (enter_opname_n): Likewise.
2145 (enter_opname): Likewise.
2146 (split_string): Likewise.
2147 (parse_insn_templ): Likewise.
2148 (clone_req_or_option_list): Likewise.
2149 (clone_req_option_list): Likewise.
2150 (parse_option_cond): Likewise.
2151 (parse_insn_pattern): Likewise.
2152 (parse_insn_repl): Likewise.
2153 (build_transition): Likewise.
2154 (build_transition_table): Likewise.
2155 * dw2gencfi.c (alloc_fde_entry): Likewise.
2156 (alloc_cfi_insn_data): Likewise.
2157 (cfi_add_CFA_remember_state): Likewise.
2158 (dot_cfi_escape): Likewise.
2159 (dot_cfi_fde_data): Likewise.
2160 (select_cie_for_fde): Likewise.
2161 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2162 * ecoff.c (ecoff_add_bytes): Likewise.
2163 (ecoff_build_debug): Likewise.
2164 * input-scrub.c (input_scrub_push): Likewise.
2165 (input_scrub_begin): Likewise.
2166 (input_scrub_next_buffer): Likewise.
2167 * itbl-ops.c (append_insns_as_macros): Likewise.
2168 (alloc_entry): Likewise.
2169 (alloc_field): Likewise.
2170 * listing.c (listing_newline): Likewise.
2171 (listing_listing): Likewise.
2172 * macro.c (get_any_string): Likewise.
2173 (delete_macro): Likewise.
2174 * stabs.c (generate_asm_file): Likewise.
2175 (stabs_generate_asm_lineno): Likewise.
2176 * subsegs.c (subseg_change): Likewise.
2177 (subseg_get): Likewise.
2178 * symbols.c (define_dollar_label): Likewise.
2179 (symbol_relc_make_sym): Likewise.
2180 * write.c (write_relocs): Likewise.
2182 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2184 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2185 (weak_name2altname): Likewise.
2186 (weak_uniquify): Likewise.
2187 (obj_coff_section): Likewise.
2188 (obj_coff_init_stab_section): Likewise.
2189 * config/obj-elf.c (obj_elf_section_name): Likewise.
2190 (obj_elf_init_stab_section): Likewise.
2191 * config/obj-evax.c (evax_shorten_name): Likewise.
2192 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2193 * config/tc-aarch64.c (create_register_alias): Likewise.
2194 * config/tc-alpha.c (load_expression): Likewise.
2195 (s_alpha_file): Likewise.
2196 (s_alpha_section_name): Likewise.
2197 (tc_gen_reloc): Likewise.
2198 * config/tc-arc.c (md_assemble): Likewise.
2199 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2200 (start_unwind_section): Likewise.
2201 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2202 (hppa_elf_mark_end_of_function): Likewise.
2203 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2204 (nios2_negate_arg): Likewise.
2205 * config/tc-rx.c (rx_section): Likewise.
2206 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2207 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2208 * config/tc-tic54x.c (tic54x_include): Likewise.
2209 (tic54x_macro_info): Likewise.
2210 (subsym_get_arg): Likewise.
2211 (subsym_substitute): Likewise.
2212 (tic54x_start_line_hook): Likewise.
2213 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2214 (xg_reverse_shift_count): Likewise.
2215 * config/xtensa-relax.c (enter_opname_n): Likewise.
2216 (split_string): Likewise.
2217 * dwarf2dbg.c (get_filenum): Likewise.
2218 (process_entries): Likewise.
2219 * expr.c (operand): Likewise.
2220 * itbl-ops.c (alloc_entry): Likewise.
2221 * listing.c (listing_message): Likewise.
2222 (listing_title): Likewise.
2223 * macro.c (check_macro): Likewise.
2224 * stabs.c (s_xstab): Likewise.
2225 * symbols.c (symbol_relc_make_expr): Likewise.
2226 * write.c (compress_debug): Likewise.
2228 2016-05-12 Nick Clifton <nickc@redhat.com>
2231 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2233 2016-05-11 Nick Clifton <nickc@redhat.com>
2236 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2237 big endian ARM configurations.
2239 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2240 Matthew Fortune <matthew.fortune@imgtec.com>
2242 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2244 (md_longopts): Likewise.
2245 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2246 (mips_ases): Define availability for DSPr3.
2247 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2248 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2249 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2251 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2252 .set nodspr3. Fix -mdspr2 formatting.
2253 * testsuite/gas/mips/mips32-dspr3.d: New file.
2254 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2255 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2257 2016-05-11 Nick Clifton <nickc@redhat.com>
2260 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2261 to the pool uses O_constant.
2262 * testsuite/gas/arm/pr20068.s: New test.
2263 * testsuite/gas/arm/pr20068.d: Test driver.
2265 2016-05-11 Nick Clifton <nickc@redhat.com>
2267 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2268 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2269 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2270 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2271 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2272 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2273 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2274 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2275 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2277 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2279 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2280 * testsuite/gas/i386/prefix.d: Adjust.
2281 * testsuite/gas/i386/rdpid.s: New test.
2282 * testsuite/gas/i386/rdpid.d: Ditto.
2283 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2284 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2285 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2286 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2288 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2290 * config/tc-i386.c (cpu_arch): Add RDPID.
2291 * doc/c-i386.texi: Document RDPID.
2293 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2295 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2296 set branch type of a symbol.
2298 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2300 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2301 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2303 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2304 (aeabi_set_public_attributes): Memorize the feature bits of the
2305 architecture selected for Tag_CPU_arch. Use it to set
2306 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2307 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2308 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2309 * testsuite/gas/arm/arch7em-bad-1.d: This.
2310 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2311 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2312 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2313 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2314 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2315 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2316 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2317 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2319 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2321 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2322 allowed_archs an array with 2 entries.
2323 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2324 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2325 (arm_extensions): Use separate entries in allowed_archs when several
2326 archs are allowed to use an extension and change ARCH_ANY in
2327 ARM_ARCH_NONE in allowed_archs.
2328 (arm_parse_extension): Check that, for each allowed_archs entry, all
2329 bits are set in the current architecture, ignoring ARM_ANY entries.
2330 (s_arm_arch_extension): Likewise.
2332 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2334 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2335 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2336 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2337 shared with a non M profile architecture.
2338 (do_rn): New function.
2339 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2341 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2342 (insns): Add ARMv8-M Security Extensions instructions.
2343 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2344 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2345 * testsuite/gas/arm/archv8m-cmse.s: New file.
2346 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2347 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2348 * testsuite/gas/arm/any-cmse.d: Likewise.
2349 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2350 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2351 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2352 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2353 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2354 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2356 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2358 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2359 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2361 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2363 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2364 (fpu_arch_vfp_v3): Likewise.
2365 (fpu_arch_neon_v1): Likewise.
2366 (arm_arch_full): Likewise.
2367 (parse_neon_el_struct_list): Initialize fields of firsttype.
2369 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2371 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2372 (arc_extinsn): Handle new introduced syntax.
2373 * testsuite/gas/arc/textinsn1op.d: New file.
2374 * testsuite/gas/arc/textinsn1op.s: Likewise.
2375 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2377 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2379 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2380 DW_LNS_fixed_advance_pc.
2382 2016-04-27 Alan Modra <amodra@gmail.com>
2384 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2385 (xmemdup0): New inline function.
2387 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2389 * config/tc-mips.c (code_option_type): New enum.
2390 (parse_code_option): Return status indicating option type.
2391 (s_mipsset): Update `parse_code_option' call site accordingly.
2392 Always set register sizes from the ISA with ISA overrides.
2393 (s_module): Update `parse_code_option' call site.
2394 * testsuite/gas/mips/isa-override-1.d: New test.
2395 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2396 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2397 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2398 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2399 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2400 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2401 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2402 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2403 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2404 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2405 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2406 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2407 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2408 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2409 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2410 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2411 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2412 * testsuite/gas/mips/isa-override-2.l: New list test.
2413 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2414 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2415 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2416 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2417 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2418 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2419 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2420 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2421 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2422 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2423 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2425 * testsuite/gas/mips/isa-override-1.s: New test source.
2426 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2427 * testsuite/gas/mips/isa-override-2.s: New test source.
2428 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2429 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2430 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2431 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2432 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2433 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2434 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2435 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2436 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2437 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2438 * testsuite/gas/mips/mips.exp: Run the new tests.
2440 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2443 * config/tc-bfin.c: Likewise.
2444 * config/tc-ia64.c: Likewise.
2445 * config/tc-mep.c: Likewise.
2446 * config/tc-metag.c: Likewise.
2447 * config/tc-nios2.c: Likewise.
2448 * config/tc-rl78.c: Likewise.
2450 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2452 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2453 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2454 (ARC Directives): Add NPS400 to .cpu directive list.
2456 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2458 * config/tc-aarch64.c (aarch64_features): Add "ras".
2459 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2460 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2461 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2462 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2463 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2465 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2467 * testsuite/gas/arc/nps400-6.d: New file.
2468 * testsuite/gas/arc/nps400-6.s: New file.
2470 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2472 * testsuite/gas/arc/nps400-4.d: New file.
2473 * testsuite/gas/arc/nps400-4.s: New file.
2474 * testsuite/gas/arc/nps400-5.d: New file.
2475 * testsuite/gas/arc/nps400-5.s: New file.
2477 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2479 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2482 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2484 Revert prevous change.
2485 * config/tc-arc.c (arc_option): Make .cpu directive
2486 case-sensitive again.
2488 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2490 * config/tc-arc.c (arc_option): Make .cpu directive
2493 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2495 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2497 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2499 * config/tc-mips.c (md_begin): Remove useless assignment.
2501 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2503 * Makefile.in: Regenerated with automake 1.11.6.
2504 * aclocal.m4: Likewise.
2505 * doc/Makefile.in: Likewise.
2507 2016-04-15 Alan Modra <amodra@gmail.com>
2509 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2511 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2513 * config/tc-nios2.c (nios2_as_options): Make file static.
2514 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2515 * config/tc-sparc.c (native_op_table): Likewise.
2517 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2519 * config/tc-m32c.c (M32C_Macros): Remove.
2520 * config/tc-msp430.c (option_numbers): Likewise.
2522 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2524 * testsuite/gas/arc/nps400-3.d: New file.
2525 * testsuite/gas/arc/nps400-3.s: New file.
2527 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2529 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2530 * testsuite/gas/arc/warn.s: Likewise.
2531 * testsuite/gas/elf/elf.exp: Run test for arc.
2533 2016-04-14 Nick Clifton <nickc@redhat.com>
2536 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2537 sections possibly having the SHF_STRINGS flag bit set.
2538 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2540 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2542 * config/tc-arc.c (mach_type_specified_p): Change type to
2544 (arc_option): Set private flags when parsing cpu pseudo-op.
2545 (md_parse_option): Set mach_type_specified_p to TRUE.
2547 2016-04-13 Nick Clifton <nickc@redhat.com>
2550 * testsuite/gas/v850/pr19937.s: New test.
2551 * testsuite/gas/v850/pr19937.d: New test control file.
2552 * testsuite/gas/v850/basic.exp: Run the new test.
2554 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2555 Andrew Bennett <andrew.bennett@imgtec.com>
2557 * config/tc-mips.c (relaxed_branch_length): Use the long
2558 sequence where the target is a weak symbol.
2559 (relaxed_micromips_32bit_branch_length): Likewise.
2560 (relaxed_micromips_16bit_branch_length): Likewise.
2561 * testsuite/gas/mips/branch-weak-1.d: New test.
2562 * testsuite/gas/mips/branch-weak-2.d: New test.
2563 * testsuite/gas/mips/branch-weak-3.d: New test.
2564 * testsuite/gas/mips/branch-weak-4.d: New test.
2565 * testsuite/gas/mips/branch-weak-5.d: New test.
2566 * testsuite/gas/mips/branch-weak.l: New stderr output.
2567 * testsuite/gas/mips/branch-weak.s: New test source.
2568 * testsuite/gas/mips/mips.exp: Run the new tests.
2570 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2572 * config/tc-mips.c (relaxed_branch_length): Use the long
2573 sequence where the distance cannot be determined.
2574 (relaxed_micromips_32bit_branch_length): Likewise.
2575 * testsuite/gas/mips/branch-extern-1.d: New test.
2576 * testsuite/gas/mips/branch-extern-2.d: New test.
2577 * testsuite/gas/mips/branch-extern-3.d: New test.
2578 * testsuite/gas/mips/branch-extern-4.d: New test.
2579 * testsuite/gas/mips/branch-extern.l: New stderr output.
2580 * testsuite/gas/mips/branch-extern.s: New test source.
2581 * testsuite/gas/mips/branch-section-1.d: New test.
2582 * testsuite/gas/mips/branch-section-2.d: New test.
2583 * testsuite/gas/mips/branch-section-3.d: New test.
2584 * testsuite/gas/mips/branch-section-4.d: New test.
2585 * testsuite/gas/mips/branch-section.l: New stderr output.
2586 * testsuite/gas/mips/branch-section.s: New test source.
2587 * testsuite/gas/mips/mips.exp: Run the new tests.
2589 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2591 * testsuite/gas/arc/textauxregister.d: New file.
2592 * testsuite/gas/arc/textauxregister.s: Likewise.
2593 * testsuite/gas/arc/textcondcode.d: Likewise.
2594 * testsuite/gas/arc/textcondcode.s: Likewise.
2595 * testsuite/gas/arc/textcoreregister.d: Likewise.
2596 * testsuite/gas/arc/textcoreregister.s: Likewise.
2597 * testsuite/gas/arc/textpseudoop.d: Likewise.
2598 * testsuite/gas/arc/textpseudoop.s: Likewise.
2599 * testsuite/gas/arc/ld2.d: Update test.
2600 * testsuite/gas/arc/st.d: Likewise.
2601 * testsuite/gas/arc/taux.d: Likewise.
2602 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2603 .extCoreRegister and .extAuxRegister documentation.
2604 * config/tc-arc.c (arc_extcorereg): New function.
2605 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2606 .extAuxRegister pseudo-ops.
2607 (extRegister_t): New type.
2608 (ext_condcode, arc_aux_hash): New global variable.
2609 (find_opcode_match): Check for extensions.
2610 (preprocess_operands): Likewise.
2611 (md_begin): Add aux registers in a hash.
2612 (assemble_insn): Update use arc_flags member.
2613 (tokenize_extregister): New function.
2614 (create_extcore_section): Likewise.
2615 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2617 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2619 * testsuite/gas/arc/noargs_a7.d: New file.
2620 * testsuite/gas/arc/noargs_a7.s: Likewise.
2621 * testsuite/gas/arc/noargs_hs.d: Likewise.
2622 * testsuite/gas/arc/noargs_hs.s: Likewise.
2624 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2626 * testsuite/gas/arc/textinsn-errors.d: New File.
2627 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2628 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2629 * testsuite/gas/arc/textinsn2op.d: Likewise.
2630 * testsuite/gas/arc/textinsn2op.s: Likewise.
2631 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2632 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2633 * testsuite/gas/arc/textinsn3op.d: Likewise.
2634 * testsuite/gas/arc/textinsn3op.s: Likewise.
2635 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2637 * config/tc-arc.c (arcext_section): New variable.
2638 (arc_extinsn): New function.
2639 (md_pseudo_table): Add .extInstruction pseudo op.
2640 (attributes_t): New type.
2641 (suffixclass, syntaxclass, syntaxclassmod): New constant
2643 (find_opcode_match): Remove arc_num_opcodes.
2644 (md_begin): Likewise.
2645 (tokenize_extinsn): New function.
2646 (arc_set_ext_seg): Likewise.
2647 (create_extinst_section): Likewise.
2649 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2651 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2652 (arc_adjust_symtab): New function.
2653 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2654 (obj_adjust_symtab): Likewise.
2655 * testsuite/gas/arc/taux.d: New file.
2656 * testsuite/gas/arc/taux.s: Likewise.
2658 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2660 * config/tc-mips.c (s_option): Sanitize `.option picX'
2662 * testsuite/gas/mips/option-pic-1.d: New test.
2663 * testsuite/gas/mips/option-pic-2.l: New list test.
2664 * testsuite/gas/mips/option-pic-1.s: New test source.
2665 * testsuite/gas/mips/option-pic-2.s: New test source.
2666 * testsuite/gas/mips/mips.exp: Run the new tests.
2668 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2670 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2672 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2673 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2674 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2675 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2676 * testsuite/gas/mips/mips.exp: Run the new tests.
2678 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2680 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2682 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2684 * messages.c (as_bad): Fix a typo in description.
2686 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2688 * config/tc-mips.c (mips_check_options): Unify messages.
2690 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2692 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2695 2016-04-08 Nick Clifton <nickc@redhat.com>
2698 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2699 COFF and AOUT sparc targets.
2701 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2703 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2704 * testsuite/gas/arc/nps400-2.d: New file.
2705 * testsuite/gas/arc/nps400-2.s: New file.
2707 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2709 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2711 (arc_opcode_hash_entry_iterator_init): New function.
2712 (arc_opcode_hash_entry_iterator_next): New function.
2713 (find_opcode_match): Iterate over all arc_opcode entries
2714 referenced by the arc_opcode_hash_entry passed in as a parameter.
2716 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2718 * config/tc-arc.c (arc_find_opcode): Now returns
2719 arc_opcode_hash_entry pointer.
2720 (find_opcode_match): Update argument type, extract arc_opcode from
2721 incoming arc_opcode_hash_entry.
2722 (find_special_case_pseudo): Update return type.
2723 (find_special_case_flag): Update return type.
2724 (find_special_case): Update return type.
2725 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2726 instruction mnemonic, then use find_opcode_match to identify
2727 specific arc_opcode.
2729 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2731 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2732 (arc_find_opcode): New function.
2733 (find_special_case_pseudo): Use arc_find_opcode.
2734 (find_special_case_flag): Likewise.
2735 (assemble_tokens): Likewise.
2736 (md_begin): Build hash using struct arc_opcode_hash_entry.
2738 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2740 * config/tc-arc.c (arc_option): Prepare string for automatic
2742 (declare_register): Likewise.
2744 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2746 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2747 Correct entry for RDMA. Alpha sort entries.
2749 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2751 * config/tc-arc.c (tokenize_flags): Allow greater range of
2752 characters into flag names.
2754 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2756 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2758 (preprocess_operands): Delete.
2759 (assemble_tokens): Remove call to preprocess_operands.
2761 2016-04-07 Nick Clifton <nickc@redhat.com>
2764 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2765 inside a %-macro could not be fully parsed.
2766 * expr.c (integer_constant): Accept and ignore U suffixes to
2768 (operand): When a missing closing parenthesis is encountered,
2769 report the character that was found instead.
2770 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2771 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2772 * testsuite/gas/sparc/pr19910-1.s: New test.
2773 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2774 * testsuite/gas/sparc/pr19910-2.s: New test.
2775 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2777 2016-04-06 Nick Clifton <nickc@redhat.com>
2779 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2780 an EINT instruction. Warn/fix as necessary.
2781 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2782 * testsuite/gas/msp430/bad.l: Update expected messages.
2784 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2786 * testsuite/gas/arc/nps400-1.d: Update expected results.
2787 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2789 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2791 * config/tc-arc.c (is_code_density_p): Compare directly the
2793 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2794 (check_cpu_feature): New function.
2795 (find_opcode_match): Use check_cpu_feature function.
2796 (preprocess_operands): Likewise.
2797 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2798 * testsuite/gas/arc/tdpfp.d: New file.
2799 * testsuite/gas/arc/tfpuda.d: Likewise.
2800 * testsuite/gas/arc/tfpx.s: Likewise.
2802 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2804 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2805 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2806 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2807 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2808 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2809 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2810 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2811 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2813 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2815 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2817 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2818 JUMP instructions type.
2819 * testsuite/gas/arc/relocs-errors.d: New file.
2820 * testsuite/gas/arc/relocs-errors.err: Likewise.
2821 * testsuite/gas/arc/relocs-errors.s: Likewise.
2823 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2826 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2827 only if i.disp_encoding != disp_encoding_32bit.
2828 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2829 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2830 * gas/testsuite/gas/i386/disp32.d: Updated.
2831 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2833 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2836 * testsuite/gas/i386/i386.exp: Run pr19498.
2837 * testsuite/gas/i386/pr19498.d: New file.
2838 * testsuite/gas/i386/pr19498.s: Likewise.
2840 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2842 * config/tc-arc.h: Include 'opcode/arc.h'.
2843 (MAX_INSN_ARGS): Delete.
2844 (MAX_INSN_FLGS): Delete.
2846 2016-04-04 Alan Modra <amodra@gmail.com>
2849 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2850 from function on all paths that set sy_resolving.
2852 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2854 * app.c (app_push): use XNEW macro.
2856 * config/obj-elf.c (obj_elf_change_section): Likewise.
2857 (elf_copy_symbol_attributes): Likewise.
2858 (obj_elf_size): Likewise.
2859 (build_group_lists): Likewise.
2860 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2861 (md_assemble): Likewise.
2862 (tc_gen_reloc): Likewise.
2863 (get_upper_str): Likewise.
2864 (aarch64_parse_features): Likewise.
2865 * config/tc-arm.c (insert_reg_alias): Likewise.
2866 (insert_neon_reg_alias): Likewise.
2867 (find_or_make_literal_pool): Likewise.
2868 (s_arm_elf_cons): Likewise.
2869 (add_unwind_opcode): Likewise.
2870 (arm_parse_extension): Likewise.
2871 * config/tc-avr.c (create_record_for_frag): Likewise.
2872 * config/tc-crx.c: Likewise.
2873 * config/tc-d30v.c: Likewise.
2874 * config/tc-dlx.c (s_proc): Likewise.
2875 * config/tc-ft32.c: Likewise.
2876 * config/tc-h8300.c: Likewise.
2877 * config/tc-hppa.c (pa_proc): Likewise.
2878 (create_new_space): Likewise.
2879 (create_new_subspace): Likewise.
2880 * config/tc-i860.c: Likewise.
2881 * config/tc-i960.c: Likewise.
2882 * config/tc-ia64.c: Likewise.
2883 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2884 (iq2000_record_hi16): Likewise.
2885 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2886 * config/tc-m32r.c (debug_sym): Likewise.
2887 (m32r_record_hi16): Likewise.
2888 * config/tc-m68k.c (m68k_ip): Likewise.
2889 (md_begin): Likewise.
2890 * config/tc-mcore.c: Likewise.
2891 * config/tc-microblaze.c (check_got): Likewise.
2892 * config/tc-mips.c (append_insn): Likewise.
2893 (s_mipsset): Likewise.
2894 (mips_record_label): Likewise.
2895 (s_mips_end): Likewise.
2896 * config/tc-mmix.c (mmix_frob_file): Likewise.
2897 * config/tc-mn10200.c: Likewise.
2898 * config/tc-mn10300.c: Likewise.
2899 * config/tc-moxie.c: Likewise.
2900 * config/tc-msp430.c: Likewise.
2901 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2902 * config/tc-ns32k.c: Likewise.
2903 * config/tc-or1k.c: Likewise.
2904 * config/tc-pdp11.c: Likewise.
2905 * config/tc-pj.c (fake_opcode): Likewise.
2906 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2907 (ppc_macro): Likewise.
2908 (ppc_dwsect): Likewise.
2909 (ppc_machine): Likewise.
2910 * config/tc-rl78.c (rl78_frag_init): Likewise.
2911 * config/tc-rx.c (rx_frag_init): Likewise.
2912 * config/tc-s390.c (s390_lit_suffix): Likewise.
2913 (s390_machine): Likewise.
2914 (s390_machinemode): Likewise.
2915 * config/tc-score.c (s3_insert_reg): Likewise.
2916 (s3_gen_reloc): Likewise.
2917 * config/tc-score7.c (s7_insert_reg): Likewise.
2918 (s7_gen_reloc): Likewise.
2919 * config/tc-tic30.c (tic30_operand): Likewise.
2920 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2921 * config/tc-tic54x.c (stag_add_field): Likewise.
2922 (tic54x_struct): Likewise.
2923 (tic54x_space): Likewise.
2924 (tic54x_field): Likewise.
2925 (tic54x_mlib): Likewise.
2926 (subsym_substitute): Likewise.
2927 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2928 * config/tc-vax.c: Likewise.
2929 * config/tc-xc16x.c: Likewise.
2930 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2931 (directive_push): Likewise.
2932 (xtensa_begin_directive): Likewise.
2933 (tokenize_arguments): Likewise.
2934 (xtensa_add_literal_sym): Likewise.
2935 (new_resource_table): Likewise.
2936 (resize_resource_table): Likewise.
2937 (emit_single_op): Likewise.
2938 (xtensa_create_trampoline_frag): Likewise.
2939 (xtensa_maybe_create_literal_pool_frag): Likewise.
2940 (xtensa_add_config_info): Likewise.
2941 (xtensa_realloc_fixup_cache): Likewise.
2942 (add_subseg_info): Likewise.
2943 (cache_literal_section): Likewise.
2944 (add_xt_block_frags): Likewise.
2945 (add_xt_prop_frags): Likewise.
2946 (init_op_placement_info_table): Likewise.
2947 (build_section_rename): Likewise.
2948 * config/tc-z80.c: Likewise.
2949 * config/tc-z8k.c: Likewise.
2950 * depend.c (register_dependency): Likewise.
2951 * dwarf2dbg.c (get_line_subseg): Likewise.
2952 (dwarf2_gen_line_info_1): Likewise.
2953 (get_filenum): Likewise.
2954 * ecoff.c (allocate_scope): Likewise.
2955 (allocate_vlinks): Likewise.
2956 (allocate_shash): Likewise.
2957 (allocate_thash): Likewise.
2958 (allocate_tag): Likewise.
2959 (allocate_forward): Likewise.
2960 (allocate_thead): Likewise.
2961 (allocate_lineno_list): Likewise.
2962 * expr.c (make_expr_symbol): Likewise.
2963 * hash.c (hash_new_sized): Likewise.
2964 * input-file.c (input_file_push): Likewise.
2965 * listing.c (file_info): Likewise.
2966 (listing_newline): Likewise.
2967 * macro.c (new_formal): Likewise.
2968 (define_macro): Likewise.
2969 * remap.c (add_debug_prefix_map): Likewise.
2970 * symbols.c (symbol_find_noref): Likewise.
2971 (define_dollar_label): Likewise.
2972 (fb_label_instance_inc): Likewise.
2973 (symbol_relc_make_value): Likewise.
2975 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2977 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2978 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2979 (ppc_znop): Likewise.
2980 (ppc_pe_section): Likewise.
2981 (ppc_frob_symbol): Likewise.
2982 * config/tc-tic30.c (tic30_operand): Likewise.
2983 * config/tc-tic4x.c (tic4x_sect): Likewise.
2984 (tic4x_usect): Likewise.
2986 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2988 * config/tc-alpha.c: Const qualify FLT_CHARS.
2989 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2990 * config/tc-cris.h: Likewise.
2992 * config/tc-mmix.c (md_atof): Adjust comment.
2993 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2994 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2996 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2998 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2999 * config/tc-score7.c (s7_gen_reloc): Likewise.
3001 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3003 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3004 bfd_reloc_code_real_type.
3006 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3008 * config/bfin-parse.y (current_inputline): Remove definition.
3009 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3011 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3013 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3016 2016-04-02 Alan Modra <amodra@gmail.com>
3019 * read.c (assign_symbol): Consume rest of line after an error
3020 rather than continuing to process the line.
3022 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3024 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3025 (MAX_FLAG_NAME_LENGTH): ...this.
3026 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3027 * config/tc-arc.c (tokenize_flags): Likewise.
3029 2016-04-01 Alan Modra <amodra@gmail.com>
3031 * cgen.c (weak_operand_overflow_check): Return const char*.
3032 * messages.c (as_internal_value_out_of_range): Formatting.
3033 (as_warn_value_out_of_range): Consify prefix param.
3034 (as_bad_value_out_of_range): Likewise.
3035 * read.c (s_errwarn): Constify msg..
3036 (s_float_space, float_cons): ..and err.
3037 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3038 ieee_md_atof, vax_md_atof): Update prototypes.
3039 * tc.h (md_atof): Update prototype.
3040 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3041 * config/atof-vax.c (vax_md_atof): Likewise.
3042 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3043 * config/tc-aarch64.c (md_atof): Return const char*.
3044 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3045 (s_alpha_comm): Constify sec_name.
3046 (section_name): Constify.
3047 (s_alpha_section): Consify name..
3048 (alpha_elf_section_letter): ..and ptr_msg param..
3049 (md_atof): ..and return.
3050 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3051 * config/tc-arc.c (md_atof): Return const char*.
3052 * config/tc-arm.c (md_atof): Likewise.
3053 * config/tc-avr.c (md_atof): Likewise.
3054 * config/tc-bfin.c (md_atof): Likewise.
3055 * config/tc-cr16.c (md_atof): Likewise.
3056 * config/tc-cris.c (md_atof): Likewise.
3057 * config/tc-crx.c (md_atof): Likewise.
3058 * config/tc-d10v.c (md_atof): Likewise.
3059 * config/tc-d30v.c (md_atof): Likewise.
3060 * config/tc-dlx.c (md_atof): Likewise.
3061 * config/tc-epiphany.c (md_atof): Likewise.
3062 * config/tc-fr30.c (md_atof): Likewise.
3063 * config/tc-frv.c (md_atof): Likewise.
3064 * config/tc-ft32.c (md_atof): Likewise.
3065 * config/tc-h8300.c (md_atof): Likewise.
3066 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3067 (struct default_space_dict): Likewise.
3068 (create_new_space): Constify name param.
3069 (create_new_subspace): Likewise.
3070 (is_defined_space, is_defined_subspace): Likewise.
3071 (pa_parse_space_stmt): Constify space_name param.
3072 (md_atof): Return const char*.
3073 (pa_spaces_begin): Constify name.
3074 * config/tc-i370.c (md_atof): Return const char*.
3075 * config/tc-i386.c (md_atof): Likewise.
3076 (x86_64_section_letter): Constify ptr_msg param.
3077 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3078 * config/tc-i860.c (struct i860_it): Constify error.
3079 (md_atof): Return const char*.
3080 * config/tc-i960.c (md_atof): Likewise.
3081 * config/tc-ia64.c (md_atof): Likewise.
3082 (ia64_elf_section_letter): Constify ptr_msg param.
3083 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3084 * config/tc-ip2k.c (md_atof): Return const char*.
3085 * config/tc-iq2000.c (md_atof): Likewise.
3086 * config/tc-lm32.c (md_atof): Likewise.
3087 * config/tc-m32c.c (md_atof): Likewise.
3088 * config/tc-m32r.c (md_atof): Likewise.
3089 * config/tc-m68hc11.c (md_atof): Likewise.
3090 * config/tc-m68k.c (md_atof): Likewise.
3091 * config/tc-mcore.c (md_atof): Likewise.
3092 * config/tc-mep.c (md_atof): Likewise.
3093 (mep_elf_section_letter): Constify ptr_msg param.
3094 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3095 * config/tc-metag.c (md_atof): Return const char*.
3096 * config/tc-microblaze.c (md_atof): Likewise.
3097 * config/tc-microblaze.h (md_atof): Delete prototype.
3098 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3099 (md_atof): Return const char*.
3100 * config/tc-mmix.c (md_atof): Likewise.
3101 * config/tc-mn10200.c (md_atof): Likewise.
3102 * config/tc-mn10300.c (md_atof): Likewise.
3103 * config/tc-moxie.c (md_atof): Likewise.
3104 * config/tc-msp430.c (md_atof): Likewise.
3105 * config/tc-mt.c (md_atof): Likewise.
3106 * config/tc-nds32.c (md_atof): Likewise.
3107 * config/tc-nios2.c (md_atof): Likewise.
3108 (nios2_elf_section_letter): Constify ptr_msg param.
3109 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3110 * config/tc-ns32k.c (md_atof): Return const char*.
3111 * config/tc-or1k.c (md_atof): Likewise.
3112 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3113 (md_atof): Return const char*.
3114 * config/tc-pj.c (md_atof): Likewise.
3115 * config/tc-ppc.c (md_atof): Likewise.
3116 * config/tc-rl78.c (md_atof): Likewise.
3117 * config/tc-rx.c (md_atof): Likewise.
3118 * config/tc-s390.c (md_atof): Likewise.
3119 * config/tc-score.c (s3_atof, md_atof): Likewise.
3120 * config/tc-sh.c (md_atof): Likewise.
3121 * config/tc-sparc.c (struct sparc_it): Constify error.
3122 (md_atof): Return const char*.
3123 * config/tc-spu.c (md_atof): Likewise.
3124 * config/tc-tic30.c (md_atof): Likewise.
3125 * config/tc-tic4x.c (md_atof): Likewise.
3126 * config/tc-tic54x.c (md_atof): Likewise.
3127 * config/tc-tic6x.c (md_atof): Likewise.
3128 * config/tc-tilegx.c (md_atof): Likewise.
3129 * config/tc-tilepro.c (md_atof): Likewise.
3130 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3131 * config/tc-vax.c (md_atof): Likewise.
3132 * config/tc-visium.c (md_atof): Likewise.
3133 * config/tc-xc16x.c (md_atof): Likewise.
3134 * config/tc-xgate.c (md_atof): Likewise.
3135 * config/tc-xstormy16.c (md_atof): Likewise.
3136 * config/tc-xtensa.c (md_atof): Likewise.
3137 * config/tc-z80.c (md_atof): Likewise.
3138 * config/tc-z8k.c (md_atof): Likewise.
3140 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3142 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3144 (xtensa_section_rename): Make argument type const char *.
3145 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3147 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3149 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3152 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3154 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3156 (m32c_indirect_operand): Likewise.
3157 * config/tc-nds32.c (do_pseudo_b): Likewise.
3158 (do_pseudo_bal): Likewise.
3159 (do_pseudo_ls_bhw): Likewise.
3161 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3163 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3165 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3167 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3169 * config/tc-sparc.c (s_register): Cast a literal to char * in
3172 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3174 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3176 * config/tc-m32r.c (expand_debug_syms): Likewise.
3177 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3178 * config/tc-z80.c (md_begin): Likewise.
3179 * stabs.c (stabs_generate_asm_func): Likewise.
3181 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3183 * cgen.c: Modernize the way functions declare arguments.
3184 * config/tc-bfin.c: Likewise.
3185 * config/tc-pdp11.c: Likewise.
3186 * literal.c: Likewise.
3188 * stabs.c: Likewise.
3190 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3192 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3193 variables unsigned char[].
3194 * config/tc-alpha.c (alpha_handle_align): Likewise.
3195 * config/tc-arm.c (arm_handle_align): Likewise.
3196 * config/tc-z80.c: Likewise.
3198 2016-03-30 Nick Clifton <nickc@redhat.com>
3201 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3204 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3206 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3207 * testsuite/gas/elf/elf.exp: Likewise.
3208 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3210 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3212 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3214 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3216 * testsuite/gas/arc/ext2op.d: New file.
3217 * testsuite/gas/arc/ext2op.s: Likewise.
3218 * testsuite/gas/arc/ext3op.d: Likewise.
3219 * testsuite/gas/arc/ext3op.s: Likewise.
3221 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3223 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3225 * config/tc-alpha.c (md_parse_option): Likewise.
3226 * config/tc-arc.c (md_parse_option): Likewise.
3227 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3228 (md_parse_option): Likewise.
3229 * config/tc-avr.c (md_parse_option): Likewise.
3230 * config/tc-bfin.c (md_parse_option): Likewise.
3231 * config/tc-cr16.c (md_parse_option): Likewise.
3232 * config/tc-cris.c (s_cris_arch): Likewise.
3233 (md_parse_option): Likewise.
3234 * config/tc-crx.c (md_parse_option): Likewise.
3235 * config/tc-d10v.c (md_parse_option): Likewise.
3236 * config/tc-d30v.c (md_parse_option): Likewise.
3237 * config/tc-dlx.c (md_parse_option): Likewise.
3238 * config/tc-epiphany.c (md_parse_option): Likewise.
3239 * config/tc-fr30.c (md_parse_option): Likewise.
3240 * config/tc-frv.c (md_parse_option): Likewise.
3241 * config/tc-ft32.c (md_parse_option): Likewise.
3242 * config/tc-h8300.c (md_parse_option): Likewise.
3243 * config/tc-hppa.c (md_parse_option): Likewise.
3244 * config/tc-i370.c (md_parse_option): Likewise.
3245 * config/tc-i386.c (md_parse_option): Likewise.
3246 * config/tc-i860.c (md_parse_option): Likewise.
3247 * config/tc-i960.c (md_parse_option): Likewise.
3248 * config/tc-ia64.c (md_parse_option): Likewise.
3249 * config/tc-ip2k.c (md_parse_option): Likewise.
3250 * config/tc-iq2000.c (md_parse_option): Likewise.
3251 * config/tc-lm32.c (md_parse_option): Likewise.
3252 * config/tc-m32c.c (md_parse_option): Likewise.
3253 * config/tc-m32r.c (md_parse_option): Likewise.
3254 * config/tc-m68hc11.c (md_parse_option): Likewise.
3255 * config/tc-m68k.c (md_parse_option): Likewise.
3256 * config/tc-mcore.c (md_parse_option): Likewise.
3257 * config/tc-mep.c (md_parse_option): Likewise.
3258 * config/tc-metag.c (struct metag_long_option): Likewise.
3259 (md_parse_option): Likewise.
3260 * config/tc-microblaze.c (md_parse_option): Likewise.
3261 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3262 * config/tc-mips.c (md_parse_option): Adjust.
3263 * config/tc-mmix.c (md_parse_option): Likewise.
3264 * config/tc-mn10200.c (md_parse_option): Likewise.
3265 * config/tc-mn10300.c (md_parse_option): Likewise.
3266 * config/tc-moxie.c (md_parse_option): Likewise.
3267 * config/tc-msp430.c (md_parse_option): Likewise.
3268 * config/tc-mt.c (md_parse_option): Likewise.
3269 * config/tc-nds32.c (md_parse_option): Likewise.
3270 * config/tc-nds32.h (nds32_parse_option): Likewise.
3271 * config/tc-nios2.c (md_parse_option): Likewise.
3272 * config/tc-ns32k.c (md_parse_option): Likewise.
3273 * config/tc-or1k.c (md_parse_option): Likewise.
3274 * config/tc-pdp11.c (md_parse_option): Likewise.
3275 * config/tc-pj.c (md_parse_option): Likewise.
3276 * config/tc-ppc.c (md_parse_option): Likewise.
3277 * config/tc-rl78.c (md_parse_option): Likewise.
3278 * config/tc-rx.c (md_parse_option): Likewise.
3279 * config/tc-s390.c (s390_parse_cpu): Likewise.
3280 * config/tc-score.c (md_parse_option): Likewise.
3281 * config/tc-sh.c (md_parse_option): Likewise.
3282 * config/tc-sparc.c (md_parse_option): Likewise.
3283 * config/tc-spu.c (md_parse_option): Likewise.
3284 * config/tc-tic30.c (md_parse_option): Likewise.
3285 * config/tc-tic4x.c (md_parse_option): Likewise.
3286 * config/tc-tic54x.c (md_parse_option): Likewise.
3287 * config/tc-tic6x.c (md_parse_option): Likewise.
3288 * config/tc-tilegx.c (md_parse_option): Likewise.
3289 * config/tc-tilepro.c (md_parse_option): Likewise.
3290 * config/tc-v850.c (md_parse_option): Likewise.
3291 * config/tc-vax.c (md_parse_option): Likewise.
3292 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3293 * config/tc-xc16x.c (md_parse_option): Likewise.
3294 * config/tc-xgate.c (md_parse_option): Likewise.
3295 * config/tc-xstormy16.c (md_parse_option): Likewise.
3296 * config/tc-xtensa.c (md_parse_option): Likewise.
3297 * config/tc-z80.c (md_parse_option): Likewise.
3298 * config/tc-z8k.c (md_parse_option): Likewise.
3299 * tc.h (md_parse_option): Likewise.
3301 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3303 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3304 * config/tc-hppa.c (fix_new_hppa): Likewise.
3305 (pa_vtable_entry): Likewise.
3306 (pa_vtable_inherit): Likewise.
3307 * config/tc-m68k.c (md_begin): Likewise.
3309 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3311 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3312 * config/obj-elf.h (obj_elf_section_name): Adjust.
3313 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3314 (aarch64_parse_cpu): Likewise.
3315 (aarch64_parse_arch): Likewise.
3316 * config/tc-arm.c (arm_parse_extension): Likewise.
3317 (arm_parse_cpu): Likewise.
3318 (arm_parse_arch): Likewise.
3319 * config/tc-nds32.c: Likewise.
3320 * config/xtensa-relax.c (parse_special_fn): Likewise.
3321 * stabs.c (generate_asm_file): Likewise.
3323 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3325 * config/tc-cr16.c (cr16_assemble): New function.
3326 (md_assemble): Call cr16_assemble.
3328 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3330 * as.c (parse_args): Adjust.
3331 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3332 * config/obj-elf.c (elf_frob_symbol): Adjust.
3334 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3336 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3337 registers to be in the 16..31 range.
3339 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3341 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3344 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3346 * config/tc-visium.c (md_atof): Localize the string returned on
3349 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3351 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3352 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3353 * config/tc-m68hc11.c (md_begin): Likewise.
3354 (print_opcode_list): Likewise.
3355 * config/tc-msp430.c (msp430_section): Likewise.
3356 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3357 (s3_build_dependency_insn_hsh): Likewise.
3358 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3359 (s7_build_dependency_insn_hsh): Likewise.
3360 * config/tc-tic4x.c: Likewise.
3361 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3362 (subsym_get_arg): Likewise.
3363 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3364 (get_directive): Likewise.
3365 (cache_literal_section): Likewise.
3366 * config/xtensa-relax.c: Likewise.
3367 * symbols.c (symbol_create): Likewise.
3368 (local_symbol_make): Likewise.
3369 (symbol_relc_make_expr): Likewise.
3371 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3373 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3376 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3378 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3381 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3383 * config/tc-ia64.c (ia64_do_align): Remove.
3384 (ia64_cons_align): Call do_align () directly.
3385 (dot_proc): Likewise.
3386 (stmt_float_cons): Likewise.
3388 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3390 * listing.c (listing_message): Use XNEW style allocation macros.
3391 * read.c (read_a_source_file): Likewise.
3392 (read_symbol_name): Likewise.
3393 (s_mri_common): Likewise.
3394 (assign_symbol): Likewise.
3395 (s_reloc): Likewise.
3396 (emit_expr_with_reloc): Likewise.
3397 (s_incbin): Likewise.
3398 (s_include): Likewise.
3399 * sb.c (sb_build): Likewise.
3400 (sb_check): Likewise.
3402 2016-03-22 Alan Modra <amodra@gmail.com>
3404 * write.c (record_alignment): Revert 2016-02-18 change.
3406 2016-03-22 Alan Modra <amodra@gmail.com>
3408 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3409 (emit_jsrjmp, tc_gen_reloc): Likewise.
3410 * config/tc-i370.c (i370_macro): Likewise.
3412 2016-03-22 Nick Clifton <nickc@redhat.com>
3414 * configure: Regenerate.
3416 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3418 * testsuite/gas/arc/nps400-0.d: New file.
3419 * testsuite/gas/arc/nps400-0.s: New file.
3420 * testsuite/gas/arc/nps400-1.d: New file.
3421 * testsuite/gas/arc/nps400-1.s: New file.
3423 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3425 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3426 declarations to start of block. Reset code on all flags before
3427 attempting to match them. Handle multiple hits on the same flag.
3429 * testsuite/gas/arc/asm-errors.d: New file.
3430 * testsuite/gas/arc/asm-errors.err: New file.
3431 * testsuite/gas/arc/asm-errors.s: New file.
3433 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3435 * config/tc-arc.c (cpu_types): Add nps400 entry.
3436 (check_zol): Handle nps400.
3438 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3440 * config/tc-arc.c (arc_select_cpu): Remove use of
3443 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3445 * config/tc-arc.c (arc_target): Delay initialisation until
3447 (arc_target_name): Likewise.
3448 (arc_features): Likewise.
3449 (arc_mach_type): Likewise.
3450 (cpu_types): Remove "all" entry.
3451 (arc_select_cpu): New function, most of the content is from...
3452 (md_parse_option): ... here. Call new arc_select_cpu.
3453 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3455 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3457 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3458 * testsuite/gas/arc/inline-data-2.d: New file.
3460 2016-03-21 Nick Clifton <nickc@redhat.com>
3462 * atof-generic.c: Replace use of alloca with call to xmalloc.
3464 * dwarf2dbg.c: Likewise.
3465 * macro.c: Likewise.
3466 * remap.c: Likewise.
3467 * stabs.c: Likewise.
3468 * symbols.c: Likewise.
3469 * config/obj-elf.c: Likewise.
3470 * config/tc-aarch64.c: Likewise.
3471 * config/tc-arc.c: Likewise.
3472 * config/tc-arm.c: Likewise.
3473 * config/tc-avr.c: Likewise.
3474 * config/tc-ia64.c: Likewise.
3475 * config/tc-mips.c: Likewise.
3476 * config/tc-msp430.c: Likewise.
3477 * config/tc-nds32.c: Likewise.
3478 * config/tc-ppc.c: Likewise.
3479 * config/tc-sh.c: Likewise.
3480 * config/tc-tic30.c: Likewise.
3481 * config/tc-tic54x.c: Likewise.
3482 * config/tc-xstormy16.c: Likewise.
3483 * config/te-vms.c: Likewise.
3484 * configure: Regenerate.
3486 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3488 * tc-i386.c (f32_1): Change type to unsigned char[].
3508 (jump_31): Likewise.
3509 (f32_patt): Likewise.
3510 (f16_patt): Likewise.
3519 (alt_patt): Likewise.
3521 2016-03-18 Nick Clifton <nickc@redhat.com>
3523 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3524 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3525 .tlsdescldr and .xword directives.
3528 * testsuite/gas/aarch64/pr19721.s: New test source file.
3529 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3531 * doc/as.texinfo: Place the target specific command line options
3532 into their own man page section.
3534 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3536 * config/tc-arm.c (N_S_32): New.
3537 (N_F_16_32): Likewise.
3538 (N_SUF_32): Support N_F16.
3539 (N_IF_32): Likewise.
3540 (neon_dyadic_misc): Likewise.
3541 (do_neon_cmp): Likewise.
3542 (do_neon_cmp_inv): Likewise.
3543 (do_neon_mul): Likewise.
3544 (do_neon_fcmp_absolute): Likewise.
3545 (do_neon_step): Likewise.
3546 (do_neon_abs_neg): Likewise.
3547 (CVT_FLAVOR_VAR): Likewise.
3548 (do_neon_cvt_1): Likewise.
3549 (do_neon_recip_est): Likewise.
3550 (do_vmaxnm): Likewise.
3551 (do_vrint_1): Likewise.
3552 (neon_check_type): Check architecture support for FP16 extension.
3553 (insns): Update comments.
3554 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3555 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3556 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3557 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3559 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3561 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3564 2016-03-16 Nick Clifton <nickc@redhat.com>
3566 * read.c (emit_expr_with_reloc): Add code check a bignum with
3568 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3570 * testsuite/gas/elf/bignum.s: New test source file.
3571 * testsuite/gas/elf/bignum.d: New test driver file.
3572 * testsuite/gas/elf/elf.exp: Run the new test.
3574 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3576 * doc/c-i386.texi (Register Naming): Update to details of the
3577 latest architecture version.
3579 2016-03-10 Mickael Guene <mickael.guene@st.com>
3582 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3584 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3585 (do_t_mov_cmp): Likewise.
3586 (do_t_add_sub): Protect against bad relocations usage.
3587 (do_t_mov_cmp): Likewise.
3588 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3589 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3590 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3591 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3593 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3595 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3597 (do_neon_ld_st_lane): Likewise.
3598 (do_neon_ld_dup): Likewise.
3600 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3602 * testsuite/gas/arc/inline-data-1.d: New file.
3603 * testsuite/gas/arc/inline-data-1.s: New file.
3605 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3607 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3608 * doc/c-arm.texi: Add cortex-r8.
3610 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3612 * config/tc-arc.c: Add const qualifiers.
3613 * config/tc-h8300.c (md_begin): Likewise.
3614 * config/tc-ia64.c (print_prmask): Likewise.
3615 * config/tc-msp430.c (msp430_operands): Likewise.
3616 * config/tc-nds32.c (struct suffix_name): Likewise.
3617 (struct nds32_parse_option_table): Likewise.
3618 (struct nds32_set_option_table): Likewise.
3619 (do_pseudo_pushpopm): Likewise.
3620 (do_pseudo_pushpop_stack): Likewise.
3621 (nds32_relax_relocs): Likewise.
3622 (nds32_flag): Likewise.
3623 (struct nds32_hint_map): Likewise.
3624 (nds32_find_reloc_table): Likewise.
3625 (nds32_match_hint_insn): Likewise.
3626 * config/tc-s390.c: Likewise.
3627 * config/tc-sh.c (get_specific): Likewise.
3628 * config/tc-tic30.c: Likewise.
3629 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3630 (tic4x_indirect_parse): Likewise.
3631 * config/tc-vax.c (vax_cons): Likewise.
3632 * config/tc-z80.c (struct reg_entry): Likewise.
3633 * config/tc-epiphany.c (md_assemble): Adjust.
3634 (epiphany_assemble): New function.
3635 (epiphany_elf_section_rtn): Call do_align directly.
3636 (epiphany_elf_section_text): Likewise.
3637 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3638 (ip2k_elf_section_text): Likewise.
3639 * read.c (do_align): Make it not static.
3640 * read.h (do_align): New prototype.
3642 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3644 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3645 for ARMv8.1 AdvSIMD use.
3646 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3647 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3649 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3651 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3653 (record_feature_use): New.
3654 (mark_feature_used): Use record_feature_use.
3655 (do_neon_qrdmlah): New.
3656 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3658 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3659 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3660 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3661 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3662 Make source file explicit.
3663 * testsuite/gas/arm/armv8-a+rdma.l: New.
3664 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3665 directives. Fix white-space.
3666 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3668 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3670 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3672 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3673 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3675 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3676 (tc_arc_fix_adjustable): Changed default return value to 1.
3677 * testsuite/gas/arc/j.d: Updated expected symbol
3678 * testsuite/gas/arc/jl.d: Likewise
3679 * testsuite/gas/arc/relax-avoid1.d: Likewise
3680 * testsuite/gas/arc/st.d: Likewise
3682 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3684 * config/tc-arc.c: Enable code density instructions for ARC EM.
3686 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3689 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3691 * as.c (flag_use_elf_stt_common): New.
3692 (show_usage): Add --elf-stt-common=.
3693 (option_values): Add OPTION_ELF_STT_COMMON.
3694 (std_longopts): Add --elf-stt-common=.
3695 (parse_args): Handle --elf-stt-common=.
3696 * as.h (flag_use_elf_stt_common): New.
3697 * config.in: Regenerated.
3698 * configure: Likewise.
3699 * configure.ac: Add --enable-elf-stt-common and define
3700 DEFAULT_GENERATE_ELF_STT_COMMON.
3701 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3702 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3703 * doc/as.texinfo: Document --elf-stt-common=.
3704 * testsuite/gas/elf/common3.s: New file.
3705 * testsuite/gas/elf/common3a.d: Likewise.
3706 * testsuite/gas/elf/common3b.d: Likewise.
3707 * testsuite/gas/elf/common4.s: Likewise.
3708 * testsuite/gas/elf/common4a.d: Likewise.
3709 * testsuite/gas/elf/common4b.d: Likewise.
3710 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3711 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3712 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3714 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3715 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3716 --elf-stt-common=no to as.
3717 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3718 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3719 --elf-stt-common=no to as.
3720 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3721 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3722 of dw2-compress-3 and dw2-compressed-3.
3724 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3726 * as.c (select_emulation_mode): Add const qualifiers.
3728 * config/bfin-defs.h: Likewise.
3729 * config/bfin-parse.y: Likewise.
3730 * config/rx-parse.y: Likewise.
3731 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3732 (struct aarch64_cpu_option_table): Likewise.
3733 (struct aarch64_arch_option_table): Likewise.
3734 (struct aarch64_option_cpu_value_table): Likewise.
3735 (struct aarch64_long_option_table): Likewise.
3736 (struct aarch64_option_abi_value_table): Likewise.
3737 * config/tc-arm.c (struct reloc_entry): Likewise.
3738 (tc_gen_reloc): Likewise.
3739 (struct arm_option_table): Likewise.
3740 (struct arm_legacy_option_table): Likewise.
3741 (struct arm_cpu_option_table): Likewise.
3742 (struct arm_arch_option_table): Likewise.
3743 (struct arm_option_extension_value_table): Likewise.
3744 (struct arm_option_fpu_value_table): Likewise.
3745 (struct arm_option_value_table): Likewise.
3746 (struct arm_long_option_table): Likewise.
3747 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3748 (struct mcu_type_s): Likewise.
3749 (struct exp_mod_s): Likewise.
3750 (avr_operand): Likewise.
3751 (avr_operands): Likewise.
3752 * config/tc-d10v.c (md_begin): Likewise.
3753 * config/tc-dlx.c: Likewise.
3754 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3755 * config/tc-ft32.c (parse_condition): Likewise.
3756 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3757 * config/tc-hppa.c (pa_ip): Likewise.
3758 (hppa_regname_to_dw2regnum): Likewise.
3759 * config/tc-i370.c (i370_elf_suffix): Likewise.
3760 * config/tc-i960.c (struct tabentry): Likewise.
3761 * config/tc-m32r.c: Likewise.
3762 * config/tc-m68k.c: Likewise.
3763 * config/tc-m68k.h: Likewise.
3764 * config/tc-mcore.c (parse_psrmod): Likewise.
3765 * config/tc-metag.c (struct metag_core_option): Likewise.
3766 (struct metag_long_option): Likewise.
3767 * config/tc-microblaze.c: Likewise.
3768 * config/tc-mips.c (macro): Likewise.
3769 * config/tc-mn10200.c: Likewise.
3770 * config/tc-mn10300.c: Likewise.
3771 * config/tc-msp430.c (struct rcodes_s): Likewise.
3772 (struct hcodes_s): Likewise.
3773 (md_parse_option): Likewise.
3774 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3775 (optlist): Likewise.
3776 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3777 (tc_ppc_regname_to_dw2regnum): Likewise.
3778 * config/tc-ppc.h: Likewise.
3779 * config/tc-rl78.c: Likewise.
3780 * config/tc-rx.c (struct cpu_type): Likewise.
3781 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3782 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3783 (sparc_ip): Likewise.
3784 * config/tc-spu.c (insn_fmt_string): Likewise.
3785 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3786 * config/tc-v850.c: Likewise.
3787 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3788 (struct visium_long_option_table): Likewise.
3789 * config/tc-xgate.c: Likewise.
3790 * config/tc-z8k.c: Likewise.
3791 * read.c (add_include_dir): Likewise.
3794 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3796 * testsuite/gas/all/gas.exp: Change target pattern to cover
3798 * testsuite/gas/all/redef3.d: Likewise.
3799 * testsuite/gas/elf/elf.exp: Likewise.
3801 2016-02-24 Renlin Li <renlin.li@arm.com>
3803 * config/tc-arm.c (BAD_FP16): New error message macro.
3804 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3805 fp16 scalar instructions.
3806 (neon_check_type): Allow different size from key.
3807 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3808 (try_vfp_nsyn): Likewise.
3809 (do_vfp_nsyn_mla_mls): Likewise.
3810 (do_vfp_nsyn_fma_fms): Likewise.
3811 (do_vfp_nsyn_ldm_stm): Likewise
3812 (do_vfp_nsyn_sqrt): Likewise
3813 (do_vfp_nsyn_div): Likewise
3814 (do_vfp_nsyn_nmul): Likewise.
3815 (do_vfp_nsyn_cmp): Likewise.
3816 (do_neon_shll): Likewise.
3817 (do_vfp_nsyn_cvt_fpv8): Likewise.
3818 (do_neon_cvttb_2): Likewise.
3819 (do_neon_mov): Likewise.
3820 (do_neon_rshift_round_imm): Likewise.
3821 (do_neon_ldr_str): Likewise.
3822 (do_vfp_nsyn_fpv8): Likewise.
3823 (do_vmaxnm): Likewise.
3824 (do_vrint_1): Likewise.
3825 (insns): New entry for vins, vmovx.
3826 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3827 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3828 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3829 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3830 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3831 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3832 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3834 2016-02-24 Renlin Li <renlin.li@arm.com>
3836 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3837 (neon_shape_class): New SC_HALF.
3838 (neon_shape_el): New SE_H.
3839 (neon_shape_el_size): New size for SE_H.
3840 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3841 (neon_select_shape): Add SE_H support code.
3842 (el_type_of_type_chk): Use N_F_ALL.
3843 (do_vfp_nsyn_cvt): Add SE_H shape support.
3844 (do_neon_cvtz): Likewise.
3845 (do_neon_cvt_1): Likewise.
3846 (do_neon_cvttb_1): Likewise.
3848 2016-02-24 Renlin Li <renlin.li@arm.com>
3850 * testsuite/gas/arm/copro.d: Adjust output.
3851 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3853 2016-02-24 Renlin Li <renlin.li@arm.com>
3855 * testsuite/gas/arm/mask_1.d: New.
3856 * testsuite/gas/arm/mask_1.s: New.
3858 2016-02-24 Renlin Li <renlin.li@arm.com>
3860 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3861 * testsuite/gas/arm/copro.d: Update.
3863 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3865 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3866 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3868 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3870 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3872 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3874 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3877 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3879 * output-file.c (output_file_create): Make file name argument const.
3880 (output_file_close): Likewise.
3881 * output-file.h (output_file_create): Adjust.
3882 (output_file_close): Likewise.
3883 * depend.c (quote_string_for_make): Make src argument const char *.
3884 (register_dependency): Likewise.
3885 (wrap_output): Likewise.
3886 * as.h (register_dependency): Adjust.
3887 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3889 * symbols.c (S_SET_EXTERNAL): Likewise.
3890 * input-scrub.c (as_where): Return the file name.
3891 * as.h (as_where): Adjust prototype.
3892 * app.c (do_scrub_chars): Adjust.
3893 * cond.c (s_elseif): Likewise.
3895 (initialize_cframe): Likewise.
3896 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3897 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3898 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3899 * config/tc-aarch64.c (output_info): Likewise.
3900 * config/tc-ia64.c (md_assemble): Likewise.
3901 (dot_alias): Likewise.
3902 * config/tc-m68k.c (m68k_frob_label): Likewise.
3903 * config/tc-mmix.c (s_bspec): Likewise.
3904 (mmix_handle_mmixal): Likewise.
3905 * config/tc-rx.c (rx_include): Likewise.
3906 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3907 (tic54x_adjust_symtab): Likewise.
3908 * config/tc-xtensa.c (directive_push): Likewise.
3909 (xtensa_sanity_check): Likewise.
3910 (xtensa_relax_frag): Likewise.
3911 (md_convert_frag): Likewise.
3912 (tinsn_to_slotbuf): Likewise.
3913 * dwarf2dbg.c (dwarf2_where): Likewise.
3914 * ecoff.c (add_file): Likewise.
3915 (ecoff_generate_asm_lineno): Likewise.
3916 * expr.c (make_expr_symbol): Likewise.
3917 * frags.c (frag_new): Likewise.
3918 (frag_var_init): Likewise.
3919 * listing.c (listing_newline): Likewise.
3920 * messages.c (identify): Likewise.
3921 (as_show_where): Likewise.
3922 (as_warn_internal): Likewise.
3923 (as_bad_internal): Likewise.
3924 * read.c (s_irp): Likewise.
3925 (s_macro): Likewise.
3926 (s_reloc): Likewise.
3927 * stabs.c (stabs_generate_asm_file): Likewise.
3928 (stabs_generate_asm_lineno): Likewise.
3929 (stabs_generate_asm_func): Likewise.
3930 * write.c (fix_new_internal): Likewise.
3931 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3932 (as_warn_value_out_of_range): Adjust prototype.
3933 (as_bad_value_out_of_range): Adjust prototype.
3934 * messages.c (identify): Make file name argument const char *.
3935 (as_warn_internal): Likewise.
3936 (as_warn_where): Likewise.
3937 (as_bad_internal): Likewise.
3938 (as_bad_where): Likewise.
3939 (as_internal_value_out_of_range): Likewise.
3940 (as_warn_value_out_of_range): Likewise.
3941 (as_bad_value_out_of_range): Likewise.
3942 * as.h (found_comment_file): Change type to const char *.
3943 * cond.c (file_line::file): Likewise.
3944 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3945 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3946 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3947 * config/tc-aarch64.c (output_info): Likewise.
3948 * config/tc-alpha.c (insert_operand): Likewise.
3949 * config/tc-arc.c (insert_operand): Likewise.
3950 * config/tc-d30v.c (check_size): Likewise.
3951 * config/tc-ia64.c (struct alias): Likewise.
3952 * config/tc-m68k.c (struct label_line): Likewise.
3953 * config/tc-mcore.c (md_apply_fix): Likewise.
3954 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3955 * config/tc-mips.c (mips16_immed): Likewise.
3956 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3957 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3958 * config/tc-rx.c (rx_include): Likewise.
3959 * config/tc-s390.c (s390_insert_operand): Likewise.
3960 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3961 (tic54x_adjust_symtab): Likewise.
3962 * config/tc-tilegx.c (insert_operand): Likewise.
3963 (apply_special_operator): Likewise.
3964 * config/tc-tilepro.c (insert_operand): Likewise.
3965 * config/tc-xtensa.c (directive_push): Likewise.
3966 * ecoff.c (add_file): Likewise.
3967 (ecoff_generate_asm_lineno): Likewise.
3968 * listing.c (listing_newline): Likewise.
3969 * read.c (s_irp): Likewise.
3970 * write.c (install_reloc): Likewise.
3971 * write.h (struct fix): Likewise.
3972 * input-file.c (file_name): Change type to const char *.
3973 (saved_file::file_name): Likewise.
3974 (input_file_open): Change type of argument to const char *.
3975 * input-file.h (input_file_open): Adjust.
3976 * input-scrub.c (logical_input_file): change type to const char *.
3977 (physical_input_file): Likewise.
3978 (struct input_save): Adjust.
3979 (input_scrub_push): Adjust.
3980 (input_scrub_begin): Adjust.
3982 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3983 (input_scrub_include_file): Likewise.
3984 (new_logical_line_flags): Likewise.
3985 (new_logical_line): Likewise.
3987 * frags.h (struct frag): Change type of fr_file to const char *.
3988 * expr.c (expr_symbol_where): Change type of file argument to
3990 * expr.h (expr_symbol_where): Likewise.
3991 * config/tc-i370.c (md_apply_fix): adjust.
3992 * config/tc-mmix.c (mmix_md_end): Likewise.
3993 * config/tc-ppc.c (md_apply_fix): Likewise.
3994 * config/tc-s390.c (md_apply_fix): Likewise.
3995 * symbols.c (report_op_error): Likewise.
3996 (resolve_symbol_value): Likewise.
3997 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3998 (rsrc::file): Likewise.
3999 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4001 (xtensa_relax_frag): Likewise.
4002 (md_convert_frag): Likewise.
4003 (tinsn_to_slotbuf): Likewise.
4004 * expr.c (expr_symbol_line): Likewise.
4005 * macro.c (define_macro): Likewise.
4006 * macro.h (macro_struct): Likewise.
4007 * messages.c (as_show_where): Likewise.
4008 * read.c (s_macro): Likewise.
4009 * stabs.c (stabs_generate_asm_file): Likewise.
4010 (generate_asm_file): Likewise.
4011 (stabs_generate_asm_lineno): Likewise.
4012 * write.h (struct reloc_list): Likewise.
4013 * input-scrub.c (as_where): Change return type to const char *.
4014 * as.h (as_wheree): Adjust.
4016 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4018 * write.c (compress_debug): Move BFD compression bits setting
4020 (write_object_file): Here.
4022 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4024 * config/tc-i386.c (register_number): Check RegVRex.
4025 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4026 with %zmm19 and %zmm3.
4027 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4028 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4030 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4031 Jiong Wang <jiong.wang@arm.com>
4033 * config/tc-arm.c (arm_ext_fp16): New.
4034 (arm_extensions): New entry for "fp16".
4036 2016-02-19 Nick Clifton <nickc@redhat.com>
4039 * read.c (read_a_source_file): Check for assemble_one returning
4040 with input_line_pointer set to NULL.
4042 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4044 * listing.c (rebuffer_line): Change return type to void.
4046 * symbols.c (decode_local_label_name): Make type a const char *.
4047 * listing.c (print_source): Make type of p const char *.
4048 (print_line): Make type of string const char *.
4049 (buffer_line): Return const char *.
4050 (title): Make type const char *.
4051 (subtitle): Likewise.
4052 (listing_listing): Make type of p const char *.
4053 * messages.c (as_internal_value_out_of_range): Make type of prefix
4055 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4056 and string const char *.
4057 * read.c (_bfd_rel): Make type of name const char *.
4058 * app.c (out_string): Change type to const char *.
4059 (struct app_save::out_string): Likewise.
4061 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4062 Nick Clifton <nickc@redhat.com>
4064 * read.c (finish_bundle): Avoid recording a negative alignment.
4065 (do_align): Use unsigned values for n, len and max. Only create
4066 a frag if the alignment requirement is greater than the minimum
4067 byte alignment. Avoid recording a negative alignment.
4068 (s_align): Use unsigned values where appropriate.
4069 (bss_alloc): Use an unsigned value for the alignment.
4070 (sizeof_sleb128): Add a comment noting that we encode one octet
4071 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4072 (emit_leb129_expr): Abort if the emitted encoding was longer than
4074 * read.h (output_leb128): Update prototype.
4075 (sizeof_leb128): Update prototype.
4076 (bss_alloc): Update prototype.
4077 * write.c (record_alignment): Use an unsigned value for the
4078 alignment. Do not record alignments less than the minimum
4079 alignment for a byte.
4080 * write.h (record_alignment): Update prototype.
4082 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4084 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4085 .init.literal/.fini.literal section name.
4086 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4087 list of xtensa tests.
4088 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4089 init-fini-literals test result patterns.
4090 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4091 init-fini-literals test.
4093 2016-02-17 Nick Clifton <nickc@redhat.com>
4095 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4096 devices.csv file as of March 2016.
4098 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4100 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4102 (tc_arc_regname_to_dw2regnum): Likewise.
4103 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4104 (tc_cfi_frame_initial_instructions): Likewise.
4105 (tc_regname_to_dw2regnum): Likewise.
4106 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4107 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4108 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4110 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4112 * doc/internals.texi (S_IS_EXTERN): Remove.
4114 2016-02-16 Nick Clifton <nickc@redhat.com>
4116 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4119 2016-02-16 Renlin Li <renlin.li@arm.com>
4122 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4123 * testsuite/gas/aarch64/movw_label.d: New.
4124 * testsuite/gas/aarch64/movw_label.s: New.
4126 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4129 * config/rx-parse.y (MOV): Opcode generation for index
4130 register addressing mode.
4131 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4132 * testsuite/gas/rx/pr19665.s: New file.
4133 * testsuite/gas/rx/pr19665.s: New file.
4134 * testsuite/gas/rx/mov.d: Update expected output.
4136 2016-02-15 Nick Clifton <nickc@redhat.com>
4138 * doc/as.texinfo (.section): Document that numeric values can now
4139 be used for the flags and type fields of the ELF target's .section
4140 directive. Add notes about the restrictions on setting flags and
4142 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4143 to be given processor specific section types. Allow processor and
4144 application specific flags of a section to be set after
4146 (obj_elf_parse_section_letters): Handle parsing numeric values.
4147 (obj_elf_section_type): Handle parsing numeric values.
4148 (obj_elf_section): Allow numeric type values.
4149 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4150 * testsuite/gas/elf/section10.d: New test.
4151 * testsuite/gas/elf/section10.s: Source file for new test.
4152 * testsuite/gas/elf/elf.exp: Run the new test.
4153 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4154 the description of the flags produced by readelf.
4155 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4156 * NEWS: Mention the new feature.
4158 2016-02-11 Nick Clifton <nickc@redhat.com>
4161 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4162 until it is actually used.
4163 (cfi_set_sections): Set cfi_sections_set to true.
4164 (dot_cfi_startproc): Likewise.
4165 (dot_cfi_endproc): Likewise.
4166 (dot_cfi_fde_data): Likewise.
4167 (cfi_finish): Likewise.
4168 (dot_cfi_sections): Do not set cfi_sections_set.
4169 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4170 their own cfi section name. Also note that the directive can be
4171 reissued provided that CFI generation has not started.
4172 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4173 .cfi_endproc directives so that the redefinition of .cfi_sections
4174 will trigger the generation of the error message.
4175 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4176 number of error message.
4178 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4179 Janek van Oirschot <jvanoirs@synopsys.com>
4181 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4182 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4184 (arc_flags, arc_relax_type): New structure.
4185 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4186 (RELAX_TABLE_ENTRY_MAX): New define.
4187 (relaxation_state, md_relax_table, arc_relaxable_insns)
4188 (arc_num_relaxable_ins): New variable.
4189 (rlx_operand_type, arc_rlx_types): New enums.
4190 (arc_relaxable_ins): New structure.
4191 (OPTION_RELAX): New option.
4192 (arc_insn): New relax member.
4193 (arc_flags): Remove.
4194 (relax_insn_p): New function.
4195 (apply_fixups): Likewise.
4196 (relaxable_operand): Likewise.
4197 (may_relax_expr): Likewise.
4198 (relaxable_flag): Likewise.
4199 (arc_pcrel_adjust): Likewise.
4200 (md_estimate_size_before_relax): Implement.
4201 (md_convert_frag): Likewise.
4202 (md_parse_option): Handle new mrelax option.
4203 (md_show_usage): Likewise.
4204 (assemble_insn): Set relax member.
4205 (emit_insn0): New function.
4206 (emit_insn1): Likewise.
4207 (emit_insn): Handle relaxation case.
4208 * NEWS: Mention the new relaxation option.
4209 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4210 * doc/as.texinfo (Target ARC Options): Likewise.
4211 * testsuite/gas/arc/relax-avoid1.d: New file.
4212 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4213 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4214 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4215 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4216 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4217 * testsuite/gas/arc/relax-b.d: Likewise.
4218 * testsuite/gas/arc/relax-b.s: Likewise.
4220 2016-02-08 Nick Clifton <nickc@redhat.com>
4222 * config/tc-ia64.c (dot_prologue): Fix formatting.
4224 2016-02-04 Nick Clifton <nickc@redhat.com>
4226 * config/obj-elf.c (obj_elf_change_section): Remove support for
4227 ARM NOREAD sections.
4228 * config/tc-arm.c (arm_elf_section_letter): Delete.
4229 * config/tc-arm.h (md_elf_section_letter): Delete.
4230 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4231 * testsuite/gas/arm/section-execute-only.d: Delete.
4232 * testsuite/gas/arm/section-execute-only.s: Delete.
4234 2016-02-04 Nick Clifton <nickc@redhat.com>
4237 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4238 to handle encoding of RRUX instruction.
4239 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4241 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4243 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4245 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4246 substitutions for BFD_RELOC_* as unsigned.
4247 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4248 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4249 * testsuite/gas/xtensa/loc.s: New file: loc test.
4251 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4253 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4255 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4258 * NEWS: Mention new command line option -mrelax-relocations and
4259 new configure option --enable-x86-relax-relocations for x86
4261 * config.in: Regenerated.
4262 * configure.ac: Add --enable-x86-relax-relocations.
4263 (ac_default_x86_relax_relocations): New. Default to 1 except
4264 for x86 Solaris targets older than Solaris 12.
4265 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4266 * configure: Likewise.
4267 * config/tc-i386.c (generate_relax_relocations): New.
4268 (OPTION_MRELAX_RELOCATIONS): Likewise.
4269 (output_disp): Don't generate relax relocations if
4270 generate_relax_relocations is 0.
4271 (md_longopts): Add -mrelax-relocations.
4272 (md_show_usage): Likewise.
4273 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4274 * doc/c-i386.texi: Document -mrelax-relocations=.
4275 * testsuite/gas/i386/got-no-relax.d: New file.
4276 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4277 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4278 * testsuite/gas/i386/localpic.d: Likewise.
4279 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4280 * testsuite/gas/i386/reloc32.d: Likewise.
4281 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4282 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4283 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4284 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4285 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4286 x86-64-gotpcrel-no-relax.
4288 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4290 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4293 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4295 * NEWS: Remove duplicated marker for 2.26.
4297 2016-02-02 Renlin Li <renlin.li@arm.com>
4299 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4301 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4303 * testsuite/gas/ip2k/allinsn.d: New file.
4304 * testsuite/gas/ip2k/allinsn.s: New file.
4305 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4307 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4309 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4310 some load instructions.
4311 * testsuite/gas/epiphany/allinsn.d: Likewise.
4312 * testsuite/gas/epiphany/regression.d: Likewise.
4314 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4316 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4317 suffixes from instruction mnemonics in expected output.
4318 * testsuite/gas/epiphany/allinsn.d: Likewise.
4319 * testsuite/gas/epiphany/regression.d: Likewise.
4320 * testsuite/gas/epiphany/sample.d: Likewise.
4322 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4324 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4326 * testsuite/gas/epiphany/allinsn.d: Likewise.
4327 * testsuite/gas/epiphany/sample.d: Likewise.
4329 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4331 * testsuite/gas/epiphany/sample.d: Update expected output.
4333 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4335 * config/tc-arc.c (md_apply_fix): Allow addendum.
4336 (arc_reloc_op): Allow complex expressions for tpoff.
4337 (md_apply_fix): Handle resolved TLS local symbol.
4338 * testsuite/gas/arc/tls-relocs1.d: New file.
4339 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4341 2016-02-01 Loria <Loria@phantasia.org>
4344 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4345 efficiency and avoid an LLVM loop optimization bug.
4347 2016-02-01 Nick Clifton <nickc@redhat.com>
4349 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4350 message extending a negative 32-bit value into a larger signed
4351 value on a 32-bit host.
4353 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4356 * configure.ac (compressed_debug_sections): Replace == with =.
4357 * configure: Regenerated.
4359 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4360 H.J. Lu <hongjiu.lu@intel.com>
4362 * config/tc-i386.c (avoid_fence): New.
4363 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4365 (OPTION_FENCE_AS_LOCK_ADD): New.
4366 (md_longopts): Add -mfence-as-lock-add.
4367 (md_parse_option): Handle -mfence-as-lock-add.
4368 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4369 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4370 * testsuite/gas/i386/i386.exp: Run new tests.
4371 * testsuite/gas/i386/fence-as-lock-add.s: New.
4372 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4373 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4374 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4375 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4377 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4379 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4380 * configure: Regenerated.
4382 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4384 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4385 (OPTION_MOMIT_LOCK_PREFIX): This.
4386 (md_longopts): Updated.
4387 (md_parse_option): Likewise.
4389 2016-01-25 Catherine Moore <clm@codesourcery.com>
4391 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4392 if abicalls are in effect.
4393 * testsuite/gas/mips/sdata-gp.s: New test.
4394 * testsuite/gas/mips/sdata-gp.d: New expected output
4395 * testsuite/gas/mips/mips.exp: Run new test.
4397 2016-01-25 Renlin Li <renlin.li@arm.com>
4399 * testsuite/gas/arm/thumb2_it_search.d: New.
4400 * testsuite/gas/arm/thumb2_it_search.s: New.
4402 2016-01-21 Nick Clifton <nickc@redhat.com>
4405 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4406 with arm-netbsdelf target.
4407 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4409 2016-01-20 Nick Clifton <nickc@redhat.com>
4412 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4413 * testsuite/gas/arm/blx-bl-convert.d
4414 * testsuite/gas/arm/plt-1.d: Likewise.
4415 * testsuite/gas/arm/reloc-bad.d: Likewise.
4416 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4417 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4418 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4419 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4422 * doc/as.texinfo (Errors): Correct documentation describing the
4423 interaction of .file and .line with warning and error messages.
4426 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4427 * testsuite/gas/arm/archv8m-main.d: Likewise.
4428 * testsuite/gas/arm/archv8m-base.d: Likewise.
4430 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4432 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4433 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4434 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4436 2016-01-20 Mickael Guene <mickael.guene@st.com>
4437 Terry Guo <terry.guo@arm.com>
4439 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4440 SHF_ARM_NOREAD section flag.
4441 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4443 (arm_elf_section_letter) : Declare it.
4444 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4445 SHF_ARM_NOREAD section flag.
4446 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4448 * testsuite/gas/arm/section-execute-only.s: New test case.
4449 * testsuite/gas/arm/section-execute-only.d: Expected output.
4451 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4453 * config/tc-mips.c (micromips_insn_length): Remove the mention
4454 of 48-bit microMIPS instructions.
4456 2016-01-18 Alan Modra <amodra@gmail.com>
4458 * configure: Regenerate.
4460 2016-01-17 Alan Modra <amodra@gmail.com>
4462 * configure: Regenerate.
4464 2016-01-17 Alan Modra <amodra@gmail.com>
4466 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4468 2016-01-14 Nick Clifton <nickc@redhat.com>
4470 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4471 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4472 * testsuite/gas/rl78/rl78.exp: Run the new test.
4474 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4476 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4477 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4479 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4481 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4483 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4485 * config/tc-h8300.c (get_operand): Remove spurious condition in
4486 test for closing parenthesis.
4488 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4490 * config/tc-arm.c (arm_ext_v8_2): New.
4492 * testsuite/gas/arm/armv8_2-a.d: New.
4493 * testsuite/gas/arm/armv8_2-a.s: New.
4495 2016-01-12 Alan Modra <amodra@gmail.com>
4497 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4499 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4501 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4502 xvcmpnesp, xvcmpnesp.>: Delete tests.
4503 * testsuite/gas/ppc/power9.s: Likewise.
4504 * testsuite/gas/ppc/vsx3.d: Likewise.
4505 * testsuite/gas/ppc/vsx3.s: Likewise.
4507 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4510 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4511 * testsuite/gas/m68k/p13050-1.s: New file.
4512 * testsuite/gas/m68k/p13050-2.d: New file.
4513 * testsuite/gas/m68k/p13050-2.s: New file.
4515 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4517 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4518 * testsuite/gas/arc/add.d: Likewise.
4519 * testsuite/gas/arc/and.d: Likewise.
4520 * testsuite/gas/arc/asl.d: Likewise.
4521 * testsuite/gas/arc/asr.d: Likewise.
4522 * testsuite/gas/arc/bic.d: Likewise.
4523 * testsuite/gas/arc/extb.d: Likewise.
4524 * testsuite/gas/arc/extw.d: Likewise.
4525 * testsuite/gas/arc/j.d: Likewise.
4526 * testsuite/gas/arc/jl.d: Likewise.
4527 * testsuite/gas/arc/ld2.d: Likewise.
4528 * testsuite/gas/arc/lsr.d: Likewise.
4529 * testsuite/gas/arc/mov.d: Likewise.
4530 * testsuite/gas/arc/or.d: Likewise.
4531 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4532 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4533 * testsuite/gas/arc/pic-relocs.d: Likewise.
4534 * testsuite/gas/arc/plt-relocs.d: Likewise.
4535 * testsuite/gas/arc/rlc.d: Likewise.
4536 * testsuite/gas/arc/ror.d: Likewise.
4537 * testsuite/gas/arc/rrc.d: Likewise.
4538 * testsuite/gas/arc/sbc.d: Likewise.
4539 * testsuite/gas/arc/sda-relocs.d: Likewise.
4540 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4541 * testsuite/gas/arc/sexb.d: Likewise.
4542 * testsuite/gas/arc/sexw.d: Likewise.
4543 * testsuite/gas/arc/st.d: Likewise.
4544 * testsuite/gas/arc/sub.d: Likewise.
4545 * testsuite/gas/arc/tls-relocs.d: Likewise.
4546 * testsuite/gas/arc/xor.d: Likewise.
4548 2016-01-01 Alan Modra <amodra@gmail.com>
4550 Update year range in copyright notice of all files.
4552 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4554 Copyright (C) 2016 Free Software Foundation, Inc.
4556 Copying and distribution of this file, with or without modification,
4557 are permitted in any medium without royalty provided the copyright
4558 notice and this notice are preserved.
4564 version-control: never