1 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
3 * Makefile.in: Regenerate.
5 * doc/Makefile.in: Likewise.
7 2016-09-26 Alan Modra <amodra@gmail.com>
9 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
10 (md_pseudo_table <ELF>): Handle "gnu_attribute".
12 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
14 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
15 register and redundant basepri_max.
17 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
19 * config/tc-aarch64.c (print_operands): Print spaces between
21 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
23 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
24 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
25 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
26 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
27 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
28 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
29 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
30 * testsuite/gas/aarch64/sve.d: Likewise.
31 * testsuite/gas/aarch64/symbol.d: Likewise.
32 * testsuite/gas/aarch64/system.d: Likewise.
33 * testsuite/gas/aarch64/tls-desc.d: Likewise.
34 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
35 in suggested alternatives.
36 * testsuite/gas/aarch64/verbose-error.l: Likewise.
38 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
40 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
41 rather than "should be" or "expected to be" in error messages.
42 (parse_operands): Likewise.
43 * testsuite/gas/aarch64/diagnostic.l: Likewise.
44 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
45 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
46 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
48 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
50 * config/tc-aarch64.c (opcode_lookup): Search for the end of
51 a condition name, rather than assuming that it will have exactly
53 (parse_operands): Likewise.
54 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
55 to the expected output.
56 * testsuite/gas/aarch64/beq_1.d: Likewise.
57 * testsuite/gas/aarch64/float-fp16.d: Likewise.
58 * testsuite/gas/aarch64/int-insns.d: Likewise.
59 * testsuite/gas/aarch64/no-aliases.d: Likewise.
60 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
61 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
62 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
65 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
67 * testsuite/gas/aarch64/diagnostic.s,
68 testsuite/gas/aarch64/diagnostic.l: Add tests for
69 invalid uses of MUL VL and MUL in base AArch64 instructions.
70 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
71 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
72 testsuite/gas/aarch64/sve-invalid.s,
73 testsuite/gas/aarch64/sve-invalid.d,
74 testsuite/gas/aarch64/sve-invalid.l,
75 testsuite/gas/aarch64/sve-reg-diagnostic.s,
76 testsuite/gas/aarch64/sve-reg-diagnostic.d,
77 testsuite/gas/aarch64/sve-reg-diagnostic.l,
78 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
80 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
82 * doc/c-aarch64.texi: Document the "sve" feature.
83 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
84 (get_reg_expected_msg): Handle it.
85 (parse_operands): When parsing operands of an SVE instruction,
86 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
87 (aarch64_features): Add an entry for SVE.
89 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
91 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
92 and FP register operands.
94 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
96 * config/tc-aarch64.c (double_precision_operand_p): New function.
97 (parse_operands): Use it to calculate the dp_p input to
98 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
100 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
102 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
105 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
107 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
109 (parse_shift): Handle SHIFTED_MUL_VL.
110 (parse_address_main): Add an imm_shift_mode parameter.
111 (parse_address, parse_sve_address): Update accordingly.
112 (parse_operands): Handle MUL VL addressing modes.
114 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
116 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
118 (get_reg_expected_msg): Handle them.
119 (aarch64_addr_reg_parse): New function, split out from
120 aarch64_reg_parse_32_64. Handle Z registers too.
121 (aarch64_reg_parse_32_64): Call it.
122 (parse_address_main): Add base_qualifier, offset_qualifier,
123 base_type and offset_type parameters. Handle SVE base and offset
125 (parse_address): Update call to parse_address_main.
126 (parse_sve_address): New function.
127 (parse_operands): Parse the new SVE address operands.
129 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
131 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
132 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
133 shift modes. Skip range tests for AARCH64_MOD_MUL.
134 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
135 (parse_operands): Likewise.
137 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
139 * config/tc-aarch64.c (parse_enum_string): New function.
140 (po_enum_or_fail): New macro.
141 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
142 AARCH64_OPND_SVE_PRFOP.
144 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
146 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
147 (parse_vector_type_for_operand): Assert that the skipped character
149 (parse_predication_for_operand): New function.
150 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
151 (vectype_to_qualifier): Handle NT_zero and NT_merge.
153 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
155 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
156 (AARCH64_REG_TYPES): Add ZN and PN.
157 (get_reg_expected_msg): Handle them.
158 (parse_vector_type_for_operand): Add a reg_type parameter.
159 Skip the width for Zn and Pn registers.
160 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
161 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
162 expecting the width to be 0.
163 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
165 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
166 (parse_operands): Handle the new Zn and Pn operands.
167 (REGSET16): New macro, split out from...
169 (reg_names): Add Zn and Pn entries.
171 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
173 * config/tc-aarch64.c (output_operand_error_record): Handle
174 AARCH64_OPDE_UNTIED_OPERAND.
176 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
178 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
179 instruction with all-NIL qualifiers to fail to match.
181 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
183 * config/tc-aarch64.c (parse_address_main): Remove reloc and
184 accept_reg_post_index parameters. Parse relocations and register
185 post indexes unconditionally.
186 (parse_address): Remove accept_reg_post_index parameter.
187 Update call to parse_address_main.
188 (parse_address_reloc): Delete.
189 (parse_operands): Call parse_address instead of parse_address_main.
190 Update existing callers of parse_address and make them check
191 inst.reloc.type where appropriate.
192 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
193 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
194 Also test for invalid uses of post-index register addressing.
195 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
197 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
199 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
201 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
202 (aarch64_check_reg_type): Simplify.
203 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
204 register number. Return the type as a qualifier rather than an
205 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
207 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
208 Use get_reg_expected_msg.
209 (parse_address_main): Likewise. Use aarch64_check_reg_type.
210 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
211 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
212 Use aarch64_check_reg_type to test the result.
213 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
214 addresses normally before enforcing the syntax restrictions.
215 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
216 zero register and for a stack pointer index.
217 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
218 Also update existing diagnostic messages after the above changes.
219 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
220 for 32-bit register bases.
222 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
224 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
225 (parse_operands): Check the range of 8-bit FP immediates here instead.
227 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
229 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
230 low-severity error for registers.
231 (parse_operands): Report an invalid floating point constant for
232 if parsing an FPIMM8 fails, and if no better error has been
234 * testsuite/gas/aarch64/diagnostic.s,
235 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
238 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
240 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
242 (can_convert_double_to_float): ...this. Accept any double-precision
243 value that converts to single precision without loss of precision.
244 (parse_aarch64_imm_float): Update accordingly.
246 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
248 * config/tc-aarch64.c (parse_immediate_expression): Add a
250 (parse_constant_immediate): Likewise, and update calls.
251 (parse_aarch64_imm_float): Likewise.
252 (parse_big_immediate): Likewise.
253 (po_imm_nc_or_fail): Update accordingly, passing down a new
254 imm_reg_type variable.
255 (po_imm_of_fail): Likewise.
256 (parse_operands): Likewise.
258 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
260 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
261 (parse_vector_reg_list): ...this and take a register type
263 (parse_operands): Update accordingly.
265 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
267 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
268 (parse_vector_type_for_operand): ...this.
269 (parse_typed_reg): Update accordingly.
271 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
273 * config/tc-aarch64.c (neon_type_el): Rename to...
274 (vector_type_el): ...this.
275 (parse_neon_type_for_operand): Update accordingly.
276 (parse_typed_reg): Likewise.
277 (aarch64_reg_parse): Likewise.
278 (vectype_to_qualifier): Likewise.
279 (parse_operands): Likewise.
280 (eq_neon_type_el): Likewise. Rename to...
281 (eq_vector_type_el): ...this.
282 (parse_neon_reg_list): Update accordingly.
284 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
286 * config/tc-aarch64.c (neon_el_type: Rename to...
287 (vector_el_type): ...this.
288 (neon_type_el): Update accordingly.
289 (parse_neon_type_for_operand): Likewise.
290 (vectype_to_qualifier): Likewise.
292 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
294 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
295 (parse_typed_reg): Call parse_neon_type_for_operand directly.
297 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
299 * testsuite/gas/arc/textinsnxop.d: New file.
300 * testsuite/gas/arc/textinsnxop.s: Likewise.
302 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
304 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
305 dcti-couples-v9 only in ELF targets to avoid spurious failures in
306 sparc-aout and sparc-coff targets.
308 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
310 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
311 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
312 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
313 <copy, paste.>: Update tests.
314 * testsuite/gas/ppc/power9.s: Likewise.
316 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
318 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
319 in "architecture mismatch" error messages.
321 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
323 * config/tc-sparc.c (md_assemble): Detect and warning on
324 unpredictable DCTI couples in certain arches.
325 (dcti_couples_detect): New global.
326 (md_longopts): Add command line option -dcti-couples-detect.
327 (md_show_usage): Document -dcti-couples-detect.
328 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
329 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
330 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
331 * testsuite/gas/sparc/dcti-couples.s: New file.
332 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
333 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
334 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
335 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
336 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
337 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
338 * doc/c-sparc.texi (Sparc-Opts): Likewise.
340 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
342 * testsuite/gas/arc/tls-relocs2.d: New file.
343 * testsuite/gas/arc/tls-relocs2.s: Likewise.
344 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
347 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
349 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
351 * doc/as.texinfo: Document new arch strings.
352 * doc/c-s390.texi: Likewise.
354 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
356 * config/tc-s390.c: Set all facitily bits by default
358 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
360 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
362 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
364 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
367 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
369 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
370 (set_cpu_arch): Updated.
371 (md_parse_option): Likewise.
372 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
373 iamcu-inval-2 and iamcu-inval-3.
374 * testsuite/gas/i386/iamcu-4.d: New file.
375 * testsuite/gas/i386/iamcu-4.s: Likewise.
376 * testsuite/gas/i386/iamcu-5.d: Likewise.
377 * testsuite/gas/i386/iamcu-5.s: Likewise.
378 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
379 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
380 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
381 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
383 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
385 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
386 ARMv8-A CPUs except xgene1.
388 2016-08-31 Alan Modra <amodra@gmail.com>
390 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
391 ppc_cpu rather than calling ppc_mach to determine VLE mode.
392 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
394 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
396 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
398 * testsuite/gas/sparc/crypto.s: Likewise.
400 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
402 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
403 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
404 their lowecase counterpart special registers. Write register
406 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
407 operation, special register and then case. Use different register for
408 each operation. Add tests for new special registers.
409 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
411 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
412 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
414 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
416 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
418 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
420 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
421 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
422 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
424 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
426 * config/tc-i386.c (cpu_arch): Add .ptwrite.
427 * doc/c-i386.texi: Document ptwrite and .ptwrite.
428 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
429 x86-64-ptwrite and x86-64-ptwrite-intel.
430 * testsuite/gas/i386/ptwrite-intel.d: New file.
431 * testsuite/gas/i386/ptwrite.d: Likewise.
432 * testsuite/gas/i386/ptwrite.s: Likewise.
433 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
434 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
435 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
437 2016-08-19 Tamar Christina <tamar.christina@arm.com>
439 * config/tc-arm.c (do_co_reg2c): Added constraint.
440 * testsuite/gas/arm/dest-unpredictable.s: New.
441 * testsuite/gas/arm/dest-unpredictable.l: New.
442 * testsuite/gas/arm/dest-unpredictable.d: New.
444 2016-08-19 Nick Clifton <nickc@redhat.com>
446 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
447 ordering of sections.
448 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
449 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
450 * testsuite/gas/ia64/alias.d: Likewise.
451 * testsuite/gas/ia64/group-1.d: Likewise.
452 * testsuite/gas/ia64/group-2.d: Likewise.
453 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
454 * testsuite/gas/ia64/secname.d: Likewise.
455 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
456 * testsuite/gas/ia64/unwind.d: Likewise.
457 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
458 * testsuite/gas/ia64/xdata.d: Likewise.
459 * testsuite/gas/mmix/bspec-1.d: Likewise.
460 * testsuite/gas/mmix/bspec-2.d: Likewise.
461 * testsuite/gas/mmix/byte-1.d: Likewise.
462 * testsuite/gas/mmix/loc-1.d: Likewise.
463 * testsuite/gas/mmix/loc-2.d: Likewise.
464 * testsuite/gas/mmix/loc-3.d: Likewise.
465 * testsuite/gas/mmix/loc-4.d: Likewise.
466 * testsuite/gas/mmix/loc-5.d: Likewise.
467 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
469 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
471 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
472 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
473 Add tests for -0.0. Add an end-of-file comment.
475 2016-08-05 Nick Clifton <nickc@redhat.com>
478 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
479 registers are pushed.
480 (do_vfp_nsyn_pop): Check that no more than 16 registers are
482 * testsuite/gas/arm/pr20429.s: New test.
483 * testsuite/gas/arm/pr20429.d: New test driver.
484 * testsuite/gas/arm/pr20429.1: Expected error output.
487 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
489 (aarch64_init): Treat rs_align frags in code sections as
490 containing code, not data.
491 * testsuite/gas/aarch64/pr20364.s: New test.
492 * testsuite/gas/aarch64/pr20364.d: New test driver.
494 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
497 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
498 of 64-bit relocation types when assembling for a 32-bit Solaris
501 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
503 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
505 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
506 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
507 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
508 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
510 (sparc_elf_setup): Delete.
511 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
514 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
516 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
517 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
518 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
519 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
520 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
521 (get_append_method): Also return APPEND_ADD_COMPACT for
522 microMIPS instructions.
523 (find_altered_mips16_opcode): Exclude macros from matching.
525 (find_altered_opcode): ... to this new function.
526 (find_altered_micromips_opcode): New function.
527 (frag_branch_delay_slot_size): Likewise.
528 (append_insn): Handle microMIPS branch/jump compaction.
529 (macro_start): Likewise.
530 (relaxed_micromips_32bit_branch_length): Likewise.
531 (md_convert_frag): Likewise.
532 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
533 for delay slot filling.
534 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
536 * testsuite/gas/mips/micromips-size-1.s: Likewise.
537 * testsuite/gas/mips/micromips.l: Adjust line numbers.
538 * testsuite/gas/mips/micromips-warn.l: Likewise.
539 * testsuite/gas/mips/micromips-size-1.l: Likewise.
540 * testsuite/gas/mips/micromips.d: Adjust padding.
541 * testsuite/gas/mips/micromips-trap.d: Likewise.
542 * testsuite/gas/mips/micromips-insn32.d: Likewise.
543 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
544 * testsuite/gas/mips/micromips@beq.d: Update patterns for
545 branch/jump compaction.
546 * testsuite/gas/mips/micromips@bge.d: Likewise.
547 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
548 * testsuite/gas/mips/micromips@blt.d: Likewise.
549 * testsuite/gas/mips/micromips@bltu.d: Likewise.
550 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
551 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
552 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
553 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
554 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
555 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
556 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
557 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
559 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
561 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
562 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
563 * testsuite/gas/mips/micromips@relax.d: Likewise.
564 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
565 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
566 * testsuite/gas/mips/branch-extern-2.d: Likewise.
567 * testsuite/gas/mips/branch-extern-4.d: Likewise.
568 * testsuite/gas/mips/branch-section-2.d: Likewise.
569 * testsuite/gas/mips/branch-section-4.d: Likewise.
570 * testsuite/gas/mips/branch-weak-2.d: Likewise.
571 * testsuite/gas/mips/branch-weak-5.d: Likewise.
572 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
573 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
574 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
575 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
577 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
579 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
581 * testsuite/gas/mips/micromips-compact.d: New test.
582 * testsuite/gas/mips/mips.exp: Run the new test.
584 2016-07-27 Graham Markall <graham.markall@embecosm.com>
586 * config/tc-arc.c: Add new global arc_addrtype_hash.
587 Define O_colon and O_addrtype.
588 (debug_exp): Add O_colon and O_addrtype.
589 (tokenize_arguments): Handle colon and address type
591 (declare_addrtype): New function.
592 (md_begin): Initialise arc_addrtype_hash.
593 (arc_parse_name): Add lookup of address types.
594 (assemble_insn): Handle colons and address types by
596 * testsuite/gas/arc/nps400-8.s: New file.
597 * testsuite/gas/arc/nps400-8.d: New file.
598 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
599 * testsuite/gas/arc/nps400-8.d: Add expected PMU
602 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
604 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
605 (RELAX_MICROMIPS_INSN32): New macro.
606 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
607 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
608 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
609 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
610 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
612 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
614 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
616 (md_convert_frag): Likewise.
617 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
619 * testsuite/gas/mips/micromips-branch-relax.l: Update line
621 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
622 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
623 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
625 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
627 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
629 * testsuite/gas/mips/mips.exp: Run the new tests.
631 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
633 * configure: Regenerated.
635 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
637 * testsuite/gas/arc/dsp.d: New file.
638 * testsuite/gas/arc/dsp.s: Likewise.
639 * testsuite/gas/arc/fpu.d: Likewise.
640 * testsuite/gas/arc/fpu.s: Likewise.
641 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
642 * testsuite/gas/arc/ext3op.d: Likewise.
643 * testsuite/gas/arc/tdpfp.d: Likewise.
644 * testsuite/gas/arc/tfpuda.d: Likewise.
646 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
648 * config/tc-mips.c (mips_force_relocation): Remove
649 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
651 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
653 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
654 Adjust comments for BAL to JALX linker conversion.
655 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
656 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
658 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
659 * testsuite/gas/mips/branch-local-4.d: New test.
660 * testsuite/gas/mips/branch-local-n32-4.d: New test.
661 * testsuite/gas/mips/branch-local-n64-4.d: New test.
662 * testsuite/gas/mips/branch-addend.d: New test.
663 * testsuite/gas/mips/branch-addend-n32.d: New test.
664 * testsuite/gas/mips/branch-addend-n64.d: New test.
665 * testsuite/gas/mips/branch-local-4.s: New test source.
666 * testsuite/gas/mips/branch-addend.s: New test source.
667 * testsuite/gas/mips/mips.exp: Run the new tests.
669 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
671 * config/tc-mips.c (mips_force_relocation): Also retain branch
672 relocations against MIPS16 and microMIPS symbols.
673 (fix_bad_cross_mode_jump_p): New function.
674 (fix_bad_same_mode_jalx_p): Likewise.
675 (fix_bad_misaligned_jump_p): Likewise.
676 (fix_bad_cross_mode_branch_p): Likewise.
677 (fix_bad_misaligned_branch_p): Likewise.
678 (fix_validate_branch): Likewise.
679 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
680 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
681 etc. Verify the ISA mode and alignment of the jump target.
682 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
683 with a call to `fix_validate_branch'.
684 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
685 <BFD_RELOC_16_PCREL_S2>: Likewise.
686 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
687 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
688 Verify the ISA mode and alignment of the branch target.
689 (md_convert_frag): Verify the ISA mode and alignment of resolved
690 MIPS16 branch targets.
691 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
692 branch targets with `.insn'.
693 * testsuite/gas/mips/branch-misc-5.s: Likewise.
694 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
696 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
697 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
698 non-instruction branch target with `.insn'.
699 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
700 with external symbols.
701 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
702 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
703 * testsuite/gas/mips/micromips-trap.d: Likewise.
704 * testsuite/gas/mips/micromips.d: Likewise.
705 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
706 targets with `.insn'.
707 * testsuite/gas/mips/mips16.d: Update accordingly.
708 * testsuite/gas/mips/mips16-64.d: Likewise.
709 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
710 branch target with `.insn'.
711 * testsuite/gas/mips/relax-swap3.s: Likewise.
712 * testsuite/gas/mips/branch-local-2.l: New list test.
713 * testsuite/gas/mips/branch-local-3.l: New list test.
714 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
715 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
716 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
717 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
718 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
719 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
720 * testsuite/gas/mips/unaligned-jump-3.d: New test.
721 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
722 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
723 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
724 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
726 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
728 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
729 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
730 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
731 * testsuite/gas/mips/unaligned-branch-3.d: New test.
732 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
733 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
734 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
735 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
736 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
737 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
738 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
739 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
740 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
741 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
743 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
745 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
746 * testsuite/gas/mips/branch-local-2.s: New test source.
747 * testsuite/gas/mips/branch-local-3.s: New test source.
748 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
749 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
750 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
751 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
752 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
753 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
754 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
755 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
756 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
758 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
760 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
761 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
762 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
763 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
764 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
765 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
766 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
768 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
770 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
772 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
774 * testsuite/gas/mips/mips.exp: Run the new tests.
776 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
778 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
780 (do_pseudo_b): Adjust.
781 (do_pseudo_bal): Likewise.
782 (do_pseudo_bge): Likewise.
783 (do_pseudo_bges): Likewise.
784 (do_pseudo_bgt): Likewise.
785 (do_pseudo_bgts): Likewise.
786 (do_pseudo_ble): Likewise.
787 (do_pseudo_bles): Likewise.
788 (do_pseudo_blt): Likewise.
789 (do_pseudo_blts): Likewise.
790 (do_pseudo_br): Likewise.
791 (do_pseudo_bral): Likewise.
792 (do_pseudo_la): Likewise.
793 (do_pseudo_li): Likewise.
794 (do_pseudo_ls_bhw): Likewise.
795 (do_pseudo_ls_bhwp): Likewise.
796 (do_pseudo_ls_bhwpc): Likewise.
797 (do_pseudo_ls_bhwi): Likewise.
798 (do_pseudo_move): Likewise.
799 (do_pseudo_neg): Likewise.
800 (do_pseudo_not): Likewise.
801 (do_pseudo_pushpopm): Likewise.
802 (do_pseudo_pushpop): Likewise.
803 (do_pseudo_v3push): Likewise.
804 (do_pseudo_v3pop): Likewise.
805 (do_pseudo_pushpop_stack): Likewise.
806 (do_pseudo_push_bhwd): Likewise.
807 (do_pseudo_pop_bhwd): Likewise.
808 (do_pseudo_pusha): Likewise.
809 (do_pseudo_pushi): Likewise.
811 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
813 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
814 bfd_reloc_code_real_type.
816 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
818 * config/tc-sparc.c (pop_table): Remove sentinel.
819 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
822 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
824 * config/tc-z8k.c (newfix): Make type of type argument
825 bfd_reloc_code_real_type.
826 (apply_fix): Likewise.
828 2016-07-16 Alan Modra <amodra@gmail.com>
830 * config/tc-epiphany.c: Don't include libbfd.h.
831 * config/tc-frv.c: Likewise.
832 * config/tc-ip2k.c: Likewise.
833 * config/tc-iq2000.c: Likewise.
834 * config/tc-m32c.c: Likewise.
835 * config/tc-mep.c: Likewise.
836 * config/tc-mt.c: Likewise.
837 * config/tc-nios2.c: Likewise.
839 2016-07-16 Alan Modra <amodra@gmail.com>
841 * config/bfin-parse.y: Don't include libbfd.h.
842 * config/tc-bfin.c: Likewise.
843 * config/tc-rl78.c: Likewise.
844 * config/tc-rx.c: Likewise.
845 * config/tc-metag.c: Likewise.
846 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
847 * Makefile.am: Update dependencies.
848 * Makefile.in: Regenerate.
850 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
852 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
853 (mips_force_relocation_abs): New prototype.
854 * config/tc-mips.c (mips_force_relocation_abs): New function.
855 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
856 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
857 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
858 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
859 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
861 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
863 * testsuite/gas/mips/branch-absolute-addend.d: New test.
864 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
865 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
867 * testsuite/gas/mips/mips.exp: Run the new tests.
869 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
871 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
872 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
873 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
875 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
876 in `bar', export `foo'.
877 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
879 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
880 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
881 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
883 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
886 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
888 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
889 * testsuite/gas/mips/branch-absolute.d: New test.
890 * testsuite/gas/mips/branch-absolute-n32.d: New test.
891 * testsuite/gas/mips/branch-absolute-n64.d: New test.
892 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
893 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
894 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
895 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
896 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
898 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
900 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
901 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
902 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
903 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
905 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
907 * testsuite/gas/mips/branch-absolute.s: New test source.
908 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
909 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
911 * testsuite/gas/mips/micromips-branch-absolute.s: New test
913 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
915 * testsuite/gas/mips/mips.exp: Run the new tests.
917 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
919 * testsuite/gas/mips/nal-1.d: New test.
920 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
921 * testsuite/gas/mips/nal-2.d: New test.
922 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
923 * testsuite/gas/mips/nal.s: New test source.
924 * testsuite/gas/mips/mips.exp: Run the new tests.
926 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
928 * testsuite/gas/sparc/ldtxa.s: New file.
929 * testsuite/gas/sparc/ldtxa.d: Likewise.
930 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
932 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
934 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
935 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
936 as it is no longer needed.
938 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
940 * config/tc-mips.c (append_insn): Remove extraneous
943 2016-07-04 Jan Beulich <jbeulich@suse.com>
945 * config/tc-i386.c (check_qword_reg): Correct register kind
947 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
948 16-bit register cases.
949 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
952 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
954 * testsuite/gas/mips/ecoff@ld.d: Remove test.
955 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
956 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
957 * testsuite/gas/mips/ecoff@sd.d: Remove test.
958 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
959 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
961 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
962 * testsuite/gas/mips/bge.d: Likewise.
963 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
964 * testsuite/gas/mips/bgeu.d: Likewise.
965 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
966 * testsuite/gas/mips/blt.d: Likewise.
967 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
968 * testsuite/gas/mips/bltu.d: Likewise.
969 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
970 * testsuite/gas/mips/branch-likely.d: Likewise.
971 * testsuite/gas/mips/la.d: Likewise.
972 * testsuite/gas/mips/lb.d: Likewise.
973 * testsuite/gas/mips/lifloat.d: Likewise.
974 * testsuite/gas/mips/sb.d: Likewise.
975 * testsuite/gas/mips/uld.d: Likewise.
976 * testsuite/gas/mips/ulh.d: Likewise.
977 * testsuite/gas/mips/ulw.d: Likewise.
978 * testsuite/gas/mips/usd.d: Likewise.
979 * testsuite/gas/mips/ush.d: Likewise.
980 * testsuite/gas/mips/usw.d: Likewise.
982 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
984 * testsuite/gas/mips/branch-misc-2.s: Move non
985 locally-defined-global symbol tests...
986 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
987 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
988 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
989 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
990 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
991 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
992 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
993 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
994 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
995 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
996 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
997 * testsuite/gas/mips/branch-misc-5.d: New test.
998 * testsuite/gas/mips/branch-misc-5pic.d: New test.
999 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1000 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1001 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1002 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1003 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1004 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1005 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1006 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1007 * testsuite/gas/mips/mips.exp: Run the new tests.
1009 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1011 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1013 * testsuite/gas/mips/beq.d: Update accordingly.
1014 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1015 * testsuite/gas/mips/micromips@beq.d: Likewise.
1017 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1019 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1020 tests to NewABI targets.
1022 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1024 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1027 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1029 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1031 (aarch64_features): Initialize require fields.
1032 (aarch64_parse_features): Handle dependencies.
1033 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1034 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1035 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1036 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1037 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1039 2016-07-01 Nick Clifton <nickc@redhat.com>
1041 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1042 extremely large integer.
1044 2016-07-01 Jan Beulich <jbeulich@suse.com>
1046 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1048 2016-07-01 Tristan Gingold <gingold@adacore.com>
1050 * NEWS: Add marker for 2.27.
1052 2016-07-01 Jan Beulich <jbeulich@suse.com>
1054 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1056 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1057 as well as scaling by other than 1 tests.
1058 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1060 2016-07-01 Jan Beulich <jbeulich@suse.com>
1062 * tc-i386.c (md_assemble): Alter address size checking for MPX
1064 * testsuite/gas/i386/mpx-inval-2.s: New.
1065 * testsuite/gas/i386/mpx-inval-2.l: New.
1066 * testsuite/gas/i386/i386.exp: Run new test.
1068 2016-07-01 Jan Beulich <jbeulich@suse.com>
1071 * config/tc-i386.c (match_template): Add char parameter,
1072 consumed in Intel mode for an extra suffix check.
1073 (md_assemble): New local variable mnem_suffix.
1074 * testsuite/gas/i386/suffix-bad.s: New.
1075 * testsuite/gas/i386/suffix-bad.l: New.
1076 * testsuite/gas/i386/i386.exp: Run new test (twice).
1078 2016-07-01 Jan Beulich <jbeulich@suse.com>
1080 * testsuite/gas/i386/movz.s: New.
1081 * testsuite/gas/i386/movz32.d: New.
1082 * testsuite/gas/i386/movz64.d: New.
1083 * testsuite/gas/i386/i386.exp: Run new tests.
1085 2016-07-01 Jan Beulich <jbeulich@suse.com>
1087 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1088 (md_assemble): Free first memory operand string.
1089 (i386_index_check): Use repprefixok to distingush xlat from
1090 other (real) string ops.
1091 (maybe_adjust_templates): New.
1092 (i386_att_operand). Call it. Store first memory operand string.
1093 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1094 * testsuite/gas/i386/intel-movs.s: New.
1095 * testsuite/gas/i386/intel-movs32.d: New.
1096 * testsuite/gas/i386/intel-movs64.d: New.
1097 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1098 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1100 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1102 * config/tc-mips.c (get_append_method): Fix a comment typo.
1104 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1105 Maciej W. Rozycki <macro@imgtec.com>
1107 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1108 case MIPS16 handling.
1109 * testsuite/gas/mips/branch-swap-3.d: New test.
1110 * testsuite/gas/mips/branch-swap-4.d: New test.
1111 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1112 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1113 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1114 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1115 * testsuite/gas/mips/branch-swap-3.s: New test source.
1116 * testsuite/gas/mips/mips.exp: Run the new tests.
1118 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1120 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1123 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1126 * write.c (subsegs_finish_section): Force no section padding to
1127 alignment on failed assembly, always set last frag's alignment
1129 * testsuite/gas/all/pr20312.l: New list test.
1130 * testsuite/gas/all/pr20312.s: New test source.
1131 * testsuite/gas/all/gas.exp: Run the new test
1133 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1135 * config.in (TARGET_WITH_CPU): Undefine.
1136 * configure.ac: Add --with-cpu support, and define in config.h.
1137 * configure: Regenerate.
1138 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1139 * NEWS: Mention new configure option.
1141 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1143 * testsuite/gas/arm/armv8_2+rdma.d: New.
1145 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1147 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1148 default for Linux/x86 targets.
1149 * configure.tgt (ac_default_compressed_debug_sections): Default
1150 to yes for Linux/x86 targets.
1152 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1154 * write.c: Remove "libbfd.h" inclusion.
1156 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1158 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1161 2016-06-28 Alan Modra <amodra@gmail.com>
1164 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1166 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1168 * testsuite/gas/aarch64/diagnostic.s,
1169 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1171 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1173 * config/tc-mips.c (mips16_reloc_p): Handle
1174 BFD_RELOC_MIPS16_16_PCREL_S1.
1175 (b_reloc_p): Likewise.
1176 (limited_pcrel_reloc_p): Likewise.
1177 (md_pcrel_from): Likewise.
1178 (md_apply_fix): Likewise.
1179 (tc_gen_reloc): Likewise.
1180 (md_convert_frag): Likewise.
1181 (mips_fix_adjustable): Update comment.
1182 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1183 output, add dump patterns.
1184 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1185 output, add dump patterns.
1186 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1187 output, add dump patterns.
1188 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1189 output, add dump patterns.
1190 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1191 output, add dump patterns.
1192 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1193 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1194 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1195 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1196 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1197 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1198 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1199 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1200 * testsuite/gas/mips/branch-weak-6.d: New test.
1201 * testsuite/gas/mips/branch-weak-7.d: New test.
1202 * testsuite/gas/mips/mips.exp: Run the new tests.
1204 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1206 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1207 cfi_add_CFA_def_cfa to generate default CFA with offset
1208 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1210 2016-06-27 Nick Clifton <nickc@redhat.com>
1213 * as.h (do_not_pad_sections_to_alignment): New global variable.
1214 * as.c (show_usage): Add --no-pad-sections.
1215 (parse_args): Likewise.
1216 * write.c (size_seg): Skip padding the end of the section if
1217 requested from the command line.
1218 (SUB_SEGMENT_ALIGN): Likewise.
1219 * doc/as.texinfo: Document the new option.
1220 * NEWS: Mention the new feature.
1221 * testsuite/gas/elf/section11.s: New test.
1222 * testsuite/gas/elf/section11.d: New test driver.
1223 * testsuite/gas/elf/elf.exp: Run the new test.
1225 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1227 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1228 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1230 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1232 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1234 (map_suffix_reloc_to_operator): Likewise.
1235 (map_operator_to_reloc): Likewise.
1237 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1239 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1240 element in relax_table.
1242 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1244 * config/tc-aarch64.c: Make the type of reg_entry::type
1247 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1249 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1250 (md_parse_option): Adjust.
1251 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1252 with iteration from 0 to ARRAY_SIZE.
1253 * config/tc-mcore.c (md_begin): Likewise.
1254 * config/tc-visium.c (visium_parse_arch): Likewise.
1256 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1258 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1259 and simplify accordingly.
1260 (tic54x_include): Adjust.
1261 (tic54x_mlib): Likewise.
1263 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1265 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1267 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1269 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1270 unchanged with relaxed MIPS16 instructions.
1271 (mips16_extended_frag): Adjust accordingly. Return 1 right
1272 away if a relocation will be required for the symbol requested.
1273 Remove dead first relaxation pass code.
1274 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1275 (md_convert_frag): Adjust symbol value calculation. Raise an
1276 error if a relocation is required for the symbol requested.
1277 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1279 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1280 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1281 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1282 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1283 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1284 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1285 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1286 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1287 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1288 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1289 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1290 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1291 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1292 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1293 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1294 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1295 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1296 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1297 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1298 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1299 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1300 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1301 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1302 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1303 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1304 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1305 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1306 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1307 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1308 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1309 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1310 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1311 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1312 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1313 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1314 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1315 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1316 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1317 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1318 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1319 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1320 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1321 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1322 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1323 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1324 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1325 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1326 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1327 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1328 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1329 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1330 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1331 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1332 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1333 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1334 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1335 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1336 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1337 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1338 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1339 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1340 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1341 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1342 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1343 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1344 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1345 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1346 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1347 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1348 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1349 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1350 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1351 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1352 * testsuite/gas/mips/mips.exp: Run the new tests.
1354 2016-06-24 Alan Modra <amodra@gmail.com>
1356 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1358 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1360 * config/tc-mips.c (b_reloc_p): New function.
1361 (mips_fix_adjustable): Also keep the original microMIPS symbol
1362 referred from branch relocations.
1363 * testsuite/gas/mips/branch-local-1.d: New test.
1364 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1365 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1366 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1368 * testsuite/gas/mips/branch-local-1.s: New test source.
1369 * testsuite/gas/mips/mips.exp: Run the new cases.
1371 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1373 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1374 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1375 options. Correct erroneous enabling of SPFP instructions when
1378 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1380 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1381 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1382 setbool, xor3>: New tests.
1383 * testsuite/gas/ppc/power9.s: Likewise.
1385 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1387 * config/tc-xtensa.c: Include elf/xtensa.h.
1389 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1391 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1392 <BFD_RELOC_LO16_PCREL>: New switch cases.
1393 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1394 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1395 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1396 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1398 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1399 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1400 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1401 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1402 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1403 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1404 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1405 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1406 * testsuite/gas/mips/mips.exp: Run the new tests.
1408 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1410 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1411 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1412 via `fixP->fx_addsy'.
1414 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1416 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1417 Calculate relocation from the containing aligned doubleword.
1418 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1419 addend from the containing aligned doubleword.
1421 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1423 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1424 rather than `mips_opts' for the R6 ISA check.
1425 (mips_fix_adjustable): Likewise.
1426 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1427 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1428 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1429 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1430 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1431 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1432 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1433 * testsuite/gas/mips/mips.exp: Run the new tests.
1435 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1437 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1438 Add nps400 option and feature. Add check for nps400
1439 feature. Refactor existing checks to check subclass before
1441 (md_show_usage): Document flags for NPS-400 and add some other
1443 (cpu_type): Remove nps400 CPU type entry
1444 (check_zol): Remove bfd_mach_arc_nps400 case.
1445 (md_show_usage): Add help on -mcpu=nps400.
1446 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1448 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1449 -fpuda flags. Document -mcpu=nps400.
1450 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1451 expected flags to match ARC700 instead of NPS400.
1452 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1453 * testsuite/gas/arc/nps-400-2.d: Likewise.
1454 * testsuite/gas/arc/nps-400-3.d: Likewise.
1455 * testsuite/gas/arc/nps-400-4.d: Likewise.
1456 * testsuite/gas/arc/nps-400-5.d: Likewise.
1457 * testsuite/gas/arc/nps-400-6.d: Likewise.
1458 * testsuite/gas/arc/nps-400-7.d: Likewise.
1459 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1460 avoid clash with cbba instruction.
1461 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1462 * testsuite/gas/arc/textinsn3op.d: Likewise.
1463 * testsuite/gas/arc/textinsn3op.s: Likewise.
1464 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1465 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1467 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1469 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1470 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1472 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1474 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1477 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1479 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1481 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1483 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1484 %hmcddfr and %hva_mask_nz.
1485 (sparc_ip): New handling of asr/privileged/hyperprivileged
1486 registers, adapted to the new form of the sparc opcodes table.
1487 * testsuite/gas/sparc/rdasr.s: New file.
1488 * testsuite/gas/sparc/rdasr.d: Likewise.
1489 * testsuite/gas/sparc/wrasr.s: Likewise.
1490 * testsuite/gas/sparc/wrasr.d: Likewise.
1491 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1493 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1494 registers require it.
1495 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1496 registers and write instruction modalities.
1497 * testsuite/gas/sparc/wrpr.d: Likewise.
1498 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1500 * testsuite/gas/sparc/rdhpr.d: Likewise.
1501 * testsuite/gas/sparc/wrhpr.s: Likewise.
1502 * testsuite/gas/sparc/wrhpr.d: Likewise.
1504 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1506 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1507 architectures to use the right opcode architecture.
1508 (sparc_md_end): Handle v9{c,d,e,v,m}.
1509 (sparc_ip): Fix some comments.
1510 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1511 instruction, which is v9d.
1512 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1513 instruction from the test, as %mwait is not readable.
1514 * testsuite/gas/sparc/mwait.d: Likewise.
1515 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1516 mismatch architecture errors.
1517 * testsuite/gas/sparc/mism-2.s: New file.
1519 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1521 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1522 empty string to mark the end of the array.
1523 (hpriv_reg_table): Likewise.
1524 (v9a_asr_table): Likewise.
1525 (cmp_reg_entry): Handle entries with NULL names.
1527 (F_POP_PCREL): Likewise.
1528 (F_POP_TLS_CALL): Likewise.
1529 (F_POP_POSTFIX): Likewise.
1530 (struct pop_entry): New type.
1531 (pop_table): New variable.
1532 (enum pop_entry_type): New type.
1533 (struct perc_entry): Likewise.
1534 (NUM_PERC_ENTRIES): Define.
1535 (perc_table): New variable.
1536 (cmp_perc_entry): New function.
1537 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1539 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1540 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1543 2016-06-15 Nick Clifton <nickc@redhat.com>
1545 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1547 * config/tc-mcore.c (md_assemble): Likewise.
1548 * config/tc-mn10200.c (md_assemble): Likewise.
1549 * config/tc-moxie.c (md_assemble): Likewise.
1550 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1551 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1552 exception targets. Add alpha, hppa, microblaze and rl78 to list
1554 (forward): Add microblaze to list of exceptions.
1555 (fwdexp): Add alpha to list of exceptions.
1556 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1557 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1558 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1559 mn10200 to list of exceptions.
1560 (align2): Expect to fail for nds32.
1561 (cond): Add alpha and rl78 to list of exceptions.
1562 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1563 * testsuite/gas/all/string.d: Skip for tic4x.
1564 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1565 target does not support ELF.
1566 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1567 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1568 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1569 tests for sh-pe and sh-rtemscoff targets.
1570 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1572 (type): Run the noifunc version for alpha-freebsd and visium.
1573 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1574 mn10200 or moxie targets.
1575 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1576 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1578 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1579 mcore and rx targets.
1580 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1582 (purge): Expect to fail on the ns32k and vax.
1583 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1584 * testsuite/gas/nds32/ls.d: Likewise.
1585 * testsuite/gas/nds32/sys-reg.d: Likewise.
1586 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1587 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1588 * testsuite/gas/pe/section-align-3.d: Likewise.
1589 * testsuite/gas/pe/section-exclude.d: Likewise.
1590 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1592 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1593 for variations in whitespace.
1594 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1596 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1597 Installs a 32-bit value without generating warnings on 64-bit
1599 Use the new macro to replace the .word directives.
1601 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1603 * testsuite/gas/arc/add_s.d: New file.
1604 * testsuite/gas/arc/add_s.s: New file.
1606 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1608 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1609 * testsuite/gas/arc/nps400-6.d: Likewise.
1611 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1613 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1615 * testsuite/gas/arc/nps400-6.d: Likewise.
1617 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1619 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1620 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1621 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1622 * testsuite/gas/arc/nps400-6.d: Likewise.
1624 2016-06-14 Nick Clifton <nickc@redhat.com>
1626 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1629 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1631 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1632 JALR relocations on R6.
1633 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1634 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1635 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1636 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1637 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1638 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1640 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1641 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1643 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1644 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1646 * testsuite/gas/mips/mips.exp: Run the new tests.
1648 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1650 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1651 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1654 2016-06-13 Nick Clifton <nickc@redhat.com>
1656 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1657 that are not supported.
1659 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1661 * config/tc-cr16.c (check_range): Likewise.
1662 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1664 2016-06-08 Renlin Li <renlin.li@arm.com>
1666 * config/tc-aarch64.c (print_operands): Substitute size.
1667 (output_operand_error_record): Likewise.
1669 2016-06-07 Alan Modra <amodra@gmail.com>
1671 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1672 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1673 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1674 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1675 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1676 add vle_opcodes twice.
1677 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1679 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1681 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1682 (arm_ext_ras): Renamed from arm_ext_v8_2.
1683 (insns): Update for arm_ext_v8_2 renaming.
1684 (arm_extensions): Add "ras".
1685 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1686 * testsuite/gas/arm/armv8-a+ras.d: New.
1687 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1690 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1692 * itbl-parse.y (yyerror): Use modern argument declaration style.
1694 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1696 * config/tc-sh.c (parse_reg): Change type of mode argument to
1698 (get_operand): Adjust.
1699 (insert): Change type of how to bfd_reloc_code_real_type.
1700 (insert4): Likewise.
1701 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1702 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1704 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1706 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1709 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1712 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1713 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1714 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1715 * gas/testsuite/gas/ppc/power8.s: Likewise.
1716 * gas/testsuite/gas/ppc/power8.d: Likewise.
1717 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1719 * gas/testsuite/gas/ppc/power4.d: Likewise.
1721 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1724 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1725 * testsuite/gas/i386/x86-64-branch.d: Updated.
1726 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1727 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1728 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1730 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1732 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1733 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1735 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1737 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1738 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1740 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1742 * configure.tgt: Replace -uclibc with *.
1744 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1746 * config/tc-arc.c (parse_opcode_flags): New function.
1747 (find_opcode_match): Move flag parsing code out to new function.
1748 Ignore operands marked IGNORE.
1749 (build_fake_opcode_hash_entry): New function.
1750 (find_special_case_long_opcode): New function.
1751 (find_special_case): Lookup long opcodes.
1752 * testsuite/gas/arc/nps400-7.d: New file.
1753 * testsuite/gas/arc/nps400-7.s: New file.
1755 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1757 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1759 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1761 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1762 sentinal with iteration to array size.
1764 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1766 * config/xtensa-relax.h: Move typedefs of enums to the enums
1769 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1771 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1774 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1776 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1777 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1778 * testsuite/gas/arc/nps-400-1.d: Likewise.
1780 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1783 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1784 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1785 noavx512ifma and noavx512vbmi.
1786 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1787 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1789 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1790 * testsuite/gas/i386/noavx512-1.l: New file.
1791 * testsuite/gas/i386/noavx512-1.s: Likewise.
1792 * testsuite/gas/i386/noavx512-2.l: Likewise.
1793 * testsuite/gas/i386/noavx512-2.s: Likewise.
1795 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1798 * config/tc-i386.c (cpu_arch): Add 687.
1799 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1800 nosse4.1, nosse4.2, nosse4 and noavx2.
1801 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1802 register. Check cpuregxmm instead of cpusse for XMM register.
1803 Check cpuregymm instead of cpuavx for YMM register. Check
1804 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1805 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1806 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1807 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1808 * testsuite/gas/i386/arch-10.d (as): Likewise.
1809 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1810 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1811 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1813 * testsuite/gas/i386/no87-3.l: New file.
1814 * testsuite/gas/i386/no87-3.s: Likewise.
1815 * testsuite/gas/i386/noavx-3.l: Likewise.
1816 * testsuite/gas/i386/noavx-3.s: Likewise.
1817 * testsuite/gas/i386/noavx-4.d: Likewise.
1818 * testsuite/gas/i386/noavx-4.s: Likewise.
1819 * testsuite/gas/i386/nosse-4.l: Likewise.
1820 * testsuite/gas/i386/nosse-4.s: Likewise.
1821 * testsuite/gas/i386/nosse-5.d: Likewise.
1822 * testsuite/gas/i386/nosse-5.s: Likewise.
1824 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1827 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1829 (match_template): Check Intel64/AMD64 ISA.
1831 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1834 * config/tc-i386.c (intel64): New.
1835 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1836 (md_parse_option): Set intel64 instead of cpuamd64 and
1839 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1841 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1844 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1846 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1847 * testsuite/gas/ppc/altivec3.s: Likewise.
1848 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1849 * testsuite/gas/ppc/power9.s: Likewise.
1851 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1853 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1854 * testsuite/gas/i386/noavx-1.l: Likewise.
1855 * testsuite/gas/i386/nommx-1.l: Likewise.
1856 * testsuite/gas/i386/nosse-1.l: Likewise.
1857 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1858 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1859 * testsuite/gas/i386/noavx-1.s: Likewise.
1860 * testsuite/gas/i386/nommx-1.s: Likewise.
1861 * testsuite/gas/i386/nosse-1.s: Likewise.
1862 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1864 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1866 * config/tc-metag.c (metag_handle_align): Make the type of noop
1869 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1871 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1872 bfd_reloc_code_real_type.
1874 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1877 * config/tc-i386.c (cpu_flags_match): Require another match
1879 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1880 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1881 * testsuite/gas/i386/avx512vl-1.l: New file.
1882 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1883 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1884 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1885 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1886 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1887 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1888 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1890 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1893 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1894 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1895 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1897 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1899 * config/tc-i386.c (arch_entry): Remove negated.
1900 (noarch_entry): New struct.
1901 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1903 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1904 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1906 (output_message): New function.
1907 (show_arch): Use it. Handle cpu_noarch.
1908 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1909 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1910 * testsuite/gas/i386/noavx-1.l: New file.
1911 * testsuite/gas/i386/noavx-1.s: Likewise.
1912 * testsuite/gas/i386/noavx-2.s: Likewise.
1913 * testsuite/gas/i386/noavx-2.l: Likewise.
1914 * testsuite/gas/i386/nommx-1.s: Likewise.
1915 * testsuite/gas/i386/nommx-1.l: Likewise.
1916 * testsuite/gas/i386/nommx-2.s: Likewise.
1917 * testsuite/gas/i386/nommx-2.l: Likewise.
1918 * testsuite/gas/i386/nommx-3.s: Likewise.
1919 * testsuite/gas/i386/nommx-3.l: Likewise.
1920 * testsuite/gas/i386/nosse-1.s: Likewise.
1921 * testsuite/gas/i386/nosse-1.l: Likewise.
1922 * testsuite/gas/i386/nosse-2.s: Likewise.
1923 * testsuite/gas/i386/nosse-2.l: Likewise.
1924 * testsuite/gas/i386/nosse-3.s: Likewise.
1925 * testsuite/gas/i386/nosse-3.l: Likewise.
1927 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1930 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1931 instruction if supported by the currently selected fpu variant.
1932 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1933 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1935 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1937 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1938 jump relocations against MIPS16 or microMIPS symbols on RELA
1940 * testsuite/gas/mips/jalx-local.d: New test.
1941 * testsuite/gas/mips/jalx-local-n32.d: New test.
1942 * testsuite/gas/mips/jalx-local-n64.d: New test.
1943 * testsuite/gas/mips/jalx-local.s: New test source.
1944 * testsuite/gas/mips/mips.exp: Run the new tests.
1946 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1948 * config/tc-mips.c (md_apply_fix)
1949 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1952 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1954 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1955 operator to operatorT.
1956 (map_suffix_reloc_to_operator): Change return type to operatorT.
1958 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1960 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1962 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1964 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1965 handler_charp to const char *.
1967 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1969 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1970 (ft32_target_format): Likewise.
1971 (TARGET_FORMAT): Adjust.
1973 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1975 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1976 (ia64_frob_label): Likewise.
1978 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1980 * config/tc-cr16.c (check_range): Make type of retval op_err.
1981 * config/tc-crx.c: Likewise.
1983 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1985 * config/tc-arc.c (md_begin): Add XY registers.
1986 (cpu_types): Code density is default off for ARC EM.
1988 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1990 * config/tc-arc.c (attributes_t): Renamed attribute class to
1992 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1994 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1996 * configuse.tgt: Add entry for arm-phoenix.
1998 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2000 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2002 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2004 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2006 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2008 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2009 (md_begin): Likewise.
2010 (encode_condition): Likewise.
2011 (encode_cc3): Likewise.
2012 (encode_cc2): Likewise.
2013 (encode_operand): Likewise.
2014 (tic54x_undefined_symbol): Likewise.
2016 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2018 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2020 * doc/c-mips.texi: Document p6600 -march option.
2022 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2025 * config/tc-i386.c (md_apply_fix): Preserve addend for
2026 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2027 * testsuite/gas/i386/addend.d: New file.
2028 * testsuite/gas/i386/addend.s: Likewise.
2029 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2030 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2031 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2032 * testsuite/gas/i386/reloc32.d: Updated.
2034 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2036 * config/tc-mips.c (append_insn): Correct the encoding of a
2037 constant argument for microMIPS JALX.
2038 (tc_gen_reloc): Correct the encoding of an in-place addend for
2040 * testsuite/gas/mips/jalx-addend.d: New test.
2041 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2042 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2043 * testsuite/gas/mips/jalx-imm.d: New test.
2044 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2045 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2046 * testsuite/gas/mips/jalx-addend.s: New test source.
2047 * testsuite/gas/mips/jalx-imm.s: New test source.
2048 * testsuite/gas/mips/mips.exp: Run the new tests.
2050 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2052 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2055 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2057 * config/tc-arc.c (find_opcode_match): Remove casting away of
2059 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2061 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2063 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2065 (md_convert_frag): Likewise.
2067 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2069 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2070 cached opcode to NULL when we reach a non-matching opcode.
2071 * testsuite/gas/arc/asm-errors-2.d: New file.
2072 * testsuite/gas/arc/asm-errors-2.err: New file.
2073 * testsuite/gas/arc/asm-errors-2.s: New file.
2075 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2077 * config/tc-arc.c (tokenize_arguments): Add checks for array
2079 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2080 * testsuite/gas/arc/asm-errors.err: Update expected results.
2082 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2084 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2085 int to enum rx_cpu_types.
2087 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2089 * config/tc-dlx.c (struct machine_it): change the type of a field from
2090 int to bfd_reloc_code_real_type.
2091 * config/tc-tic4x.c: Likewise.
2093 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2095 * config/tc-v850.c (v850_target_arch): change type to enum
2097 * config/tc-v850.h (v850_target_arch): Likewise.
2099 2016-05-18 Alan Modra <amodra@gmail.com>
2101 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2102 allowed negative range.
2103 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2104 * testsuite/gas/ppc/power9.d: Update.
2106 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2108 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2109 disassembling and stop skipping targets.
2110 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2111 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2112 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2113 instruction for targets that have stronger alignment requirement.
2114 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2115 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2116 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2117 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2118 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2119 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2120 * testsuite/gas/arm/archv8m-main.d: Likewise.
2121 * testsuite/gas/arm/archv8m.s: Add label.
2122 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2123 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2124 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2126 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2128 * config/tc-m32r.c (mach_table): Make static and const.
2130 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2132 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2135 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2137 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2139 * config/tc-msp430.c (md_begin): Likewise.
2141 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2143 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2144 bfd_reloc_code_real_type where appropriate.
2145 (fixup16): Likewise.
2146 (fixup8_xg): Likewise.
2148 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2150 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2152 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2154 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2155 * testsuite/gas/ppc/power9.s: Likewise.
2157 2016-05-13 Alan Modra <amodra@gmail.com>
2159 * config/obj-coff.c (weak_uniquify): Delete unused var.
2161 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2163 * app.c (app_push): Use XNEW and related macros.
2164 * as.c (parse_args): Likewise.
2165 * cgen.c (make_right_shifted_expr): Likewise.
2166 (gas_cgen_tc_gen_reloc): Likewise.
2167 * config/bfin-defs.h: Likewise.
2168 * config/bfin-parse.y: Likewise.
2169 * config/obj-coff.c (stack_init): Likewise.
2170 (stack_push): Likewise.
2171 (coff_obj_symbol_new_hook): Likewise.
2172 (coff_obj_symbol_clone_hook): Likewise.
2173 (add_lineno): Likewise.
2174 (coff_frob_symbol): Likewise.
2175 * config/obj-elf.c (obj_elf_section_name): Likewise.
2176 (build_group_lists): Likewise.
2177 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2178 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2179 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2180 (find_or_make_literal_pool): Likewise.
2181 (add_to_lit_pool): Likewise.
2182 (fill_instruction_hash_table): Likewise.
2183 * config/tc-alpha.c (load_expression): Likewise.
2184 (emit_jsrjmp): Likewise.
2185 (s_alpha_ent): Likewise.
2186 (s_alpha_end): Likewise.
2187 (s_alpha_linkage): Likewise.
2188 (md_begin): Likewise.
2189 (tc_gen_reloc): Likewise.
2190 * config/tc-arc.c (arc_insert_opcode): Likewise.
2191 (arc_extcorereg): Likewise.
2192 * config/tc-bfin.c: Likewise.
2193 * config/tc-cr16.c: Likewise.
2194 * config/tc-cris.c: Likewise.
2195 * config/tc-crx.c (preprocess_reglist): Likewise.
2196 * config/tc-d10v.c: Likewise.
2197 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2198 (frv_tomcat_shuffle): Likewise.
2199 * config/tc-h8300.c: Likewise.
2200 * config/tc-i370.c (i370_macro): Likewise.
2201 * config/tc-i386.c (lex_got): Likewise.
2202 (md_parse_option): Likewise.
2203 * config/tc-ia64.c (alloc_record): Likewise.
2204 (set_imask): Likewise.
2205 (save_prologue_count): Likewise.
2206 (dot_proc): Likewise.
2207 (dot_endp): Likewise.
2208 (ia64_frob_label): Likewise.
2209 (add_qp_imply): Likewise.
2210 (add_qp_mutex): Likewise.
2211 (mark_resource): Likewise.
2212 (dot_alias): Likewise.
2213 * config/tc-m68hc11.c: Likewise.
2214 * config/tc-m68k.c (m68k_frob_label): Likewise.
2216 (mri_control_label): Likewise.
2217 (push_mri_control): Likewise.
2218 (build_mri_control_operand): Likewise.
2219 (s_mri_else): Likewise.
2220 (s_mri_break): Likewise.
2221 (s_mri_next): Likewise.
2222 (s_mri_for): Likewise.
2223 (s_mri_endw): Likewise.
2224 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2225 * config/tc-microblaze.c: Likewise.
2226 * config/tc-mmix.c (s_loc): Likewise.
2227 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2228 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2229 * config/tc-rl78.c: Likewise.
2230 * config/tc-rx.c (rx_include): Likewise.
2231 * config/tc-sh.c: Likewise.
2232 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2233 * config/tc-sparc.c: Likewise.
2234 * config/tc-spu.c: Likewise.
2235 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2236 (tic6x_start_unwind_section): Likewise.
2237 * config/tc-tilegx.c: Likewise.
2238 * config/tc-tilepro.c: Likewise.
2239 * config/tc-v850.c: Likewise.
2240 * config/tc-visium.c: Likewise.
2241 * config/tc-xgate.c: Likewise.
2242 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2243 (new_resource_table): Likewise.
2244 (resize_resource_table): Likewise.
2245 (xtensa_create_trampoline_frag): Likewise.
2246 (xtensa_maybe_create_literal_pool_frag): Likewise.
2247 (cache_literal_section): Likewise.
2248 * config/xtensa-relax.c (append_transition): Likewise.
2249 (append_condition): Likewise.
2250 (append_value_condition): Likewise.
2251 (append_constant_value_condition): Likewise.
2252 (append_literal_op): Likewise.
2253 (append_label_op): Likewise.
2254 (append_constant_op): Likewise.
2255 (append_field_op): Likewise.
2256 (append_user_fn_field_op): Likewise.
2257 (enter_opname_n): Likewise.
2258 (enter_opname): Likewise.
2259 (split_string): Likewise.
2260 (parse_insn_templ): Likewise.
2261 (clone_req_or_option_list): Likewise.
2262 (clone_req_option_list): Likewise.
2263 (parse_option_cond): Likewise.
2264 (parse_insn_pattern): Likewise.
2265 (parse_insn_repl): Likewise.
2266 (build_transition): Likewise.
2267 (build_transition_table): Likewise.
2268 * dw2gencfi.c (alloc_fde_entry): Likewise.
2269 (alloc_cfi_insn_data): Likewise.
2270 (cfi_add_CFA_remember_state): Likewise.
2271 (dot_cfi_escape): Likewise.
2272 (dot_cfi_fde_data): Likewise.
2273 (select_cie_for_fde): Likewise.
2274 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2275 * ecoff.c (ecoff_add_bytes): Likewise.
2276 (ecoff_build_debug): Likewise.
2277 * input-scrub.c (input_scrub_push): Likewise.
2278 (input_scrub_begin): Likewise.
2279 (input_scrub_next_buffer): Likewise.
2280 * itbl-ops.c (append_insns_as_macros): Likewise.
2281 (alloc_entry): Likewise.
2282 (alloc_field): Likewise.
2283 * listing.c (listing_newline): Likewise.
2284 (listing_listing): Likewise.
2285 * macro.c (get_any_string): Likewise.
2286 (delete_macro): Likewise.
2287 * stabs.c (generate_asm_file): Likewise.
2288 (stabs_generate_asm_lineno): Likewise.
2289 * subsegs.c (subseg_change): Likewise.
2290 (subseg_get): Likewise.
2291 * symbols.c (define_dollar_label): Likewise.
2292 (symbol_relc_make_sym): Likewise.
2293 * write.c (write_relocs): Likewise.
2295 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2297 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2298 (weak_name2altname): Likewise.
2299 (weak_uniquify): Likewise.
2300 (obj_coff_section): Likewise.
2301 (obj_coff_init_stab_section): Likewise.
2302 * config/obj-elf.c (obj_elf_section_name): Likewise.
2303 (obj_elf_init_stab_section): Likewise.
2304 * config/obj-evax.c (evax_shorten_name): Likewise.
2305 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2306 * config/tc-aarch64.c (create_register_alias): Likewise.
2307 * config/tc-alpha.c (load_expression): Likewise.
2308 (s_alpha_file): Likewise.
2309 (s_alpha_section_name): Likewise.
2310 (tc_gen_reloc): Likewise.
2311 * config/tc-arc.c (md_assemble): Likewise.
2312 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2313 (start_unwind_section): Likewise.
2314 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2315 (hppa_elf_mark_end_of_function): Likewise.
2316 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2317 (nios2_negate_arg): Likewise.
2318 * config/tc-rx.c (rx_section): Likewise.
2319 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2320 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2321 * config/tc-tic54x.c (tic54x_include): Likewise.
2322 (tic54x_macro_info): Likewise.
2323 (subsym_get_arg): Likewise.
2324 (subsym_substitute): Likewise.
2325 (tic54x_start_line_hook): Likewise.
2326 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2327 (xg_reverse_shift_count): Likewise.
2328 * config/xtensa-relax.c (enter_opname_n): Likewise.
2329 (split_string): Likewise.
2330 * dwarf2dbg.c (get_filenum): Likewise.
2331 (process_entries): Likewise.
2332 * expr.c (operand): Likewise.
2333 * itbl-ops.c (alloc_entry): Likewise.
2334 * listing.c (listing_message): Likewise.
2335 (listing_title): Likewise.
2336 * macro.c (check_macro): Likewise.
2337 * stabs.c (s_xstab): Likewise.
2338 * symbols.c (symbol_relc_make_expr): Likewise.
2339 * write.c (compress_debug): Likewise.
2341 2016-05-12 Nick Clifton <nickc@redhat.com>
2344 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2346 2016-05-11 Nick Clifton <nickc@redhat.com>
2349 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2350 big endian ARM configurations.
2352 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2353 Matthew Fortune <matthew.fortune@imgtec.com>
2355 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2357 (md_longopts): Likewise.
2358 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2359 (mips_ases): Define availability for DSPr3.
2360 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2361 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2362 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2364 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2365 .set nodspr3. Fix -mdspr2 formatting.
2366 * testsuite/gas/mips/mips32-dspr3.d: New file.
2367 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2368 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2370 2016-05-11 Nick Clifton <nickc@redhat.com>
2373 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2374 to the pool uses O_constant.
2375 * testsuite/gas/arm/pr20068.s: New test.
2376 * testsuite/gas/arm/pr20068.d: Test driver.
2378 2016-05-11 Nick Clifton <nickc@redhat.com>
2380 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2381 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2382 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2383 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2384 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2385 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2386 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2387 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2388 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2390 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2392 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2393 * testsuite/gas/i386/prefix.d: Adjust.
2394 * testsuite/gas/i386/rdpid.s: New test.
2395 * testsuite/gas/i386/rdpid.d: Ditto.
2396 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2397 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2398 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2399 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2401 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2403 * config/tc-i386.c (cpu_arch): Add RDPID.
2404 * doc/c-i386.texi: Document RDPID.
2406 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2408 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2409 set branch type of a symbol.
2411 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2413 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2414 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2416 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2417 (aeabi_set_public_attributes): Memorize the feature bits of the
2418 architecture selected for Tag_CPU_arch. Use it to set
2419 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2420 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2421 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2422 * testsuite/gas/arm/arch7em-bad-1.d: This.
2423 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2424 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2425 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2426 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2427 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2428 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2429 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2430 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2432 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2434 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2435 allowed_archs an array with 2 entries.
2436 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2437 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2438 (arm_extensions): Use separate entries in allowed_archs when several
2439 archs are allowed to use an extension and change ARCH_ANY in
2440 ARM_ARCH_NONE in allowed_archs.
2441 (arm_parse_extension): Check that, for each allowed_archs entry, all
2442 bits are set in the current architecture, ignoring ARM_ANY entries.
2443 (s_arm_arch_extension): Likewise.
2445 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2447 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2448 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2449 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2450 shared with a non M profile architecture.
2451 (do_rn): New function.
2452 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2454 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2455 (insns): Add ARMv8-M Security Extensions instructions.
2456 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2457 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2458 * testsuite/gas/arm/archv8m-cmse.s: New file.
2459 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2460 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2461 * testsuite/gas/arm/any-cmse.d: Likewise.
2462 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2463 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2464 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2465 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2466 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2467 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2469 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2471 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2472 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2474 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2476 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2477 (fpu_arch_vfp_v3): Likewise.
2478 (fpu_arch_neon_v1): Likewise.
2479 (arm_arch_full): Likewise.
2480 (parse_neon_el_struct_list): Initialize fields of firsttype.
2482 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2484 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2485 (arc_extinsn): Handle new introduced syntax.
2486 * testsuite/gas/arc/textinsn1op.d: New file.
2487 * testsuite/gas/arc/textinsn1op.s: Likewise.
2488 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2490 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2492 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2493 DW_LNS_fixed_advance_pc.
2495 2016-04-27 Alan Modra <amodra@gmail.com>
2497 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2498 (xmemdup0): New inline function.
2500 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2502 * config/tc-mips.c (code_option_type): New enum.
2503 (parse_code_option): Return status indicating option type.
2504 (s_mipsset): Update `parse_code_option' call site accordingly.
2505 Always set register sizes from the ISA with ISA overrides.
2506 (s_module): Update `parse_code_option' call site.
2507 * testsuite/gas/mips/isa-override-1.d: New test.
2508 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2509 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2510 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2511 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2512 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2513 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2514 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2515 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2516 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2517 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2518 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2519 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2520 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2521 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2522 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2523 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2524 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2525 * testsuite/gas/mips/isa-override-2.l: New list test.
2526 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2527 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2528 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2529 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2530 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2531 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2532 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2533 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2534 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2535 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2536 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2538 * testsuite/gas/mips/isa-override-1.s: New test source.
2539 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2540 * testsuite/gas/mips/isa-override-2.s: New test source.
2541 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2542 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2543 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2544 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2545 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2546 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2547 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2548 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2549 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2550 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2551 * testsuite/gas/mips/mips.exp: Run the new tests.
2553 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2556 * config/tc-bfin.c: Likewise.
2557 * config/tc-ia64.c: Likewise.
2558 * config/tc-mep.c: Likewise.
2559 * config/tc-metag.c: Likewise.
2560 * config/tc-nios2.c: Likewise.
2561 * config/tc-rl78.c: Likewise.
2563 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2565 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2566 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2567 (ARC Directives): Add NPS400 to .cpu directive list.
2569 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2571 * config/tc-aarch64.c (aarch64_features): Add "ras".
2572 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2573 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2574 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2575 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2576 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2578 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2580 * testsuite/gas/arc/nps400-6.d: New file.
2581 * testsuite/gas/arc/nps400-6.s: New file.
2583 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2585 * testsuite/gas/arc/nps400-4.d: New file.
2586 * testsuite/gas/arc/nps400-4.s: New file.
2587 * testsuite/gas/arc/nps400-5.d: New file.
2588 * testsuite/gas/arc/nps400-5.s: New file.
2590 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2592 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2595 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2597 Revert prevous change.
2598 * config/tc-arc.c (arc_option): Make .cpu directive
2599 case-sensitive again.
2601 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2603 * config/tc-arc.c (arc_option): Make .cpu directive
2606 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2608 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2610 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2612 * config/tc-mips.c (md_begin): Remove useless assignment.
2614 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2616 * Makefile.in: Regenerated with automake 1.11.6.
2617 * aclocal.m4: Likewise.
2618 * doc/Makefile.in: Likewise.
2620 2016-04-15 Alan Modra <amodra@gmail.com>
2622 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2624 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2626 * config/tc-nios2.c (nios2_as_options): Make file static.
2627 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2628 * config/tc-sparc.c (native_op_table): Likewise.
2630 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2632 * config/tc-m32c.c (M32C_Macros): Remove.
2633 * config/tc-msp430.c (option_numbers): Likewise.
2635 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2637 * testsuite/gas/arc/nps400-3.d: New file.
2638 * testsuite/gas/arc/nps400-3.s: New file.
2640 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2642 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2643 * testsuite/gas/arc/warn.s: Likewise.
2644 * testsuite/gas/elf/elf.exp: Run test for arc.
2646 2016-04-14 Nick Clifton <nickc@redhat.com>
2649 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2650 sections possibly having the SHF_STRINGS flag bit set.
2651 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2653 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2655 * config/tc-arc.c (mach_type_specified_p): Change type to
2657 (arc_option): Set private flags when parsing cpu pseudo-op.
2658 (md_parse_option): Set mach_type_specified_p to TRUE.
2660 2016-04-13 Nick Clifton <nickc@redhat.com>
2663 * testsuite/gas/v850/pr19937.s: New test.
2664 * testsuite/gas/v850/pr19937.d: New test control file.
2665 * testsuite/gas/v850/basic.exp: Run the new test.
2667 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2668 Andrew Bennett <andrew.bennett@imgtec.com>
2670 * config/tc-mips.c (relaxed_branch_length): Use the long
2671 sequence where the target is a weak symbol.
2672 (relaxed_micromips_32bit_branch_length): Likewise.
2673 (relaxed_micromips_16bit_branch_length): Likewise.
2674 * testsuite/gas/mips/branch-weak-1.d: New test.
2675 * testsuite/gas/mips/branch-weak-2.d: New test.
2676 * testsuite/gas/mips/branch-weak-3.d: New test.
2677 * testsuite/gas/mips/branch-weak-4.d: New test.
2678 * testsuite/gas/mips/branch-weak-5.d: New test.
2679 * testsuite/gas/mips/branch-weak.l: New stderr output.
2680 * testsuite/gas/mips/branch-weak.s: New test source.
2681 * testsuite/gas/mips/mips.exp: Run the new tests.
2683 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2685 * config/tc-mips.c (relaxed_branch_length): Use the long
2686 sequence where the distance cannot be determined.
2687 (relaxed_micromips_32bit_branch_length): Likewise.
2688 * testsuite/gas/mips/branch-extern-1.d: New test.
2689 * testsuite/gas/mips/branch-extern-2.d: New test.
2690 * testsuite/gas/mips/branch-extern-3.d: New test.
2691 * testsuite/gas/mips/branch-extern-4.d: New test.
2692 * testsuite/gas/mips/branch-extern.l: New stderr output.
2693 * testsuite/gas/mips/branch-extern.s: New test source.
2694 * testsuite/gas/mips/branch-section-1.d: New test.
2695 * testsuite/gas/mips/branch-section-2.d: New test.
2696 * testsuite/gas/mips/branch-section-3.d: New test.
2697 * testsuite/gas/mips/branch-section-4.d: New test.
2698 * testsuite/gas/mips/branch-section.l: New stderr output.
2699 * testsuite/gas/mips/branch-section.s: New test source.
2700 * testsuite/gas/mips/mips.exp: Run the new tests.
2702 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2704 * testsuite/gas/arc/textauxregister.d: New file.
2705 * testsuite/gas/arc/textauxregister.s: Likewise.
2706 * testsuite/gas/arc/textcondcode.d: Likewise.
2707 * testsuite/gas/arc/textcondcode.s: Likewise.
2708 * testsuite/gas/arc/textcoreregister.d: Likewise.
2709 * testsuite/gas/arc/textcoreregister.s: Likewise.
2710 * testsuite/gas/arc/textpseudoop.d: Likewise.
2711 * testsuite/gas/arc/textpseudoop.s: Likewise.
2712 * testsuite/gas/arc/ld2.d: Update test.
2713 * testsuite/gas/arc/st.d: Likewise.
2714 * testsuite/gas/arc/taux.d: Likewise.
2715 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2716 .extCoreRegister and .extAuxRegister documentation.
2717 * config/tc-arc.c (arc_extcorereg): New function.
2718 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2719 .extAuxRegister pseudo-ops.
2720 (extRegister_t): New type.
2721 (ext_condcode, arc_aux_hash): New global variable.
2722 (find_opcode_match): Check for extensions.
2723 (preprocess_operands): Likewise.
2724 (md_begin): Add aux registers in a hash.
2725 (assemble_insn): Update use arc_flags member.
2726 (tokenize_extregister): New function.
2727 (create_extcore_section): Likewise.
2728 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2730 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2732 * testsuite/gas/arc/noargs_a7.d: New file.
2733 * testsuite/gas/arc/noargs_a7.s: Likewise.
2734 * testsuite/gas/arc/noargs_hs.d: Likewise.
2735 * testsuite/gas/arc/noargs_hs.s: Likewise.
2737 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2739 * testsuite/gas/arc/textinsn-errors.d: New File.
2740 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2741 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2742 * testsuite/gas/arc/textinsn2op.d: Likewise.
2743 * testsuite/gas/arc/textinsn2op.s: Likewise.
2744 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2745 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2746 * testsuite/gas/arc/textinsn3op.d: Likewise.
2747 * testsuite/gas/arc/textinsn3op.s: Likewise.
2748 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2750 * config/tc-arc.c (arcext_section): New variable.
2751 (arc_extinsn): New function.
2752 (md_pseudo_table): Add .extInstruction pseudo op.
2753 (attributes_t): New type.
2754 (suffixclass, syntaxclass, syntaxclassmod): New constant
2756 (find_opcode_match): Remove arc_num_opcodes.
2757 (md_begin): Likewise.
2758 (tokenize_extinsn): New function.
2759 (arc_set_ext_seg): Likewise.
2760 (create_extinst_section): Likewise.
2762 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2764 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2765 (arc_adjust_symtab): New function.
2766 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2767 (obj_adjust_symtab): Likewise.
2768 * testsuite/gas/arc/taux.d: New file.
2769 * testsuite/gas/arc/taux.s: Likewise.
2771 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2773 * config/tc-mips.c (s_option): Sanitize `.option picX'
2775 * testsuite/gas/mips/option-pic-1.d: New test.
2776 * testsuite/gas/mips/option-pic-2.l: New list test.
2777 * testsuite/gas/mips/option-pic-1.s: New test source.
2778 * testsuite/gas/mips/option-pic-2.s: New test source.
2779 * testsuite/gas/mips/mips.exp: Run the new tests.
2781 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2783 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2785 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2786 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2787 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2788 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2789 * testsuite/gas/mips/mips.exp: Run the new tests.
2791 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2793 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2795 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2797 * messages.c (as_bad): Fix a typo in description.
2799 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2801 * config/tc-mips.c (mips_check_options): Unify messages.
2803 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2805 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2808 2016-04-08 Nick Clifton <nickc@redhat.com>
2811 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2812 COFF and AOUT sparc targets.
2814 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2816 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2817 * testsuite/gas/arc/nps400-2.d: New file.
2818 * testsuite/gas/arc/nps400-2.s: New file.
2820 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2822 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2824 (arc_opcode_hash_entry_iterator_init): New function.
2825 (arc_opcode_hash_entry_iterator_next): New function.
2826 (find_opcode_match): Iterate over all arc_opcode entries
2827 referenced by the arc_opcode_hash_entry passed in as a parameter.
2829 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2831 * config/tc-arc.c (arc_find_opcode): Now returns
2832 arc_opcode_hash_entry pointer.
2833 (find_opcode_match): Update argument type, extract arc_opcode from
2834 incoming arc_opcode_hash_entry.
2835 (find_special_case_pseudo): Update return type.
2836 (find_special_case_flag): Update return type.
2837 (find_special_case): Update return type.
2838 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2839 instruction mnemonic, then use find_opcode_match to identify
2840 specific arc_opcode.
2842 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2844 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2845 (arc_find_opcode): New function.
2846 (find_special_case_pseudo): Use arc_find_opcode.
2847 (find_special_case_flag): Likewise.
2848 (assemble_tokens): Likewise.
2849 (md_begin): Build hash using struct arc_opcode_hash_entry.
2851 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2853 * config/tc-arc.c (arc_option): Prepare string for automatic
2855 (declare_register): Likewise.
2857 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2859 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2860 Correct entry for RDMA. Alpha sort entries.
2862 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2864 * config/tc-arc.c (tokenize_flags): Allow greater range of
2865 characters into flag names.
2867 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2869 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2871 (preprocess_operands): Delete.
2872 (assemble_tokens): Remove call to preprocess_operands.
2874 2016-04-07 Nick Clifton <nickc@redhat.com>
2877 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2878 inside a %-macro could not be fully parsed.
2879 * expr.c (integer_constant): Accept and ignore U suffixes to
2881 (operand): When a missing closing parenthesis is encountered,
2882 report the character that was found instead.
2883 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2884 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2885 * testsuite/gas/sparc/pr19910-1.s: New test.
2886 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2887 * testsuite/gas/sparc/pr19910-2.s: New test.
2888 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2890 2016-04-06 Nick Clifton <nickc@redhat.com>
2892 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2893 an EINT instruction. Warn/fix as necessary.
2894 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2895 * testsuite/gas/msp430/bad.l: Update expected messages.
2897 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2899 * testsuite/gas/arc/nps400-1.d: Update expected results.
2900 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2902 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2904 * config/tc-arc.c (is_code_density_p): Compare directly the
2906 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2907 (check_cpu_feature): New function.
2908 (find_opcode_match): Use check_cpu_feature function.
2909 (preprocess_operands): Likewise.
2910 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2911 * testsuite/gas/arc/tdpfp.d: New file.
2912 * testsuite/gas/arc/tfpuda.d: Likewise.
2913 * testsuite/gas/arc/tfpx.s: Likewise.
2915 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2917 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2918 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2919 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2920 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2921 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2922 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2923 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2924 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2926 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2928 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2930 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2931 JUMP instructions type.
2932 * testsuite/gas/arc/relocs-errors.d: New file.
2933 * testsuite/gas/arc/relocs-errors.err: Likewise.
2934 * testsuite/gas/arc/relocs-errors.s: Likewise.
2936 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2939 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2940 only if i.disp_encoding != disp_encoding_32bit.
2941 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2942 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2943 * gas/testsuite/gas/i386/disp32.d: Updated.
2944 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2946 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2949 * testsuite/gas/i386/i386.exp: Run pr19498.
2950 * testsuite/gas/i386/pr19498.d: New file.
2951 * testsuite/gas/i386/pr19498.s: Likewise.
2953 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2955 * config/tc-arc.h: Include 'opcode/arc.h'.
2956 (MAX_INSN_ARGS): Delete.
2957 (MAX_INSN_FLGS): Delete.
2959 2016-04-04 Alan Modra <amodra@gmail.com>
2962 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2963 from function on all paths that set sy_resolving.
2965 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2967 * app.c (app_push): use XNEW macro.
2969 * config/obj-elf.c (obj_elf_change_section): Likewise.
2970 (elf_copy_symbol_attributes): Likewise.
2971 (obj_elf_size): Likewise.
2972 (build_group_lists): Likewise.
2973 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2974 (md_assemble): Likewise.
2975 (tc_gen_reloc): Likewise.
2976 (get_upper_str): Likewise.
2977 (aarch64_parse_features): Likewise.
2978 * config/tc-arm.c (insert_reg_alias): Likewise.
2979 (insert_neon_reg_alias): Likewise.
2980 (find_or_make_literal_pool): Likewise.
2981 (s_arm_elf_cons): Likewise.
2982 (add_unwind_opcode): Likewise.
2983 (arm_parse_extension): Likewise.
2984 * config/tc-avr.c (create_record_for_frag): Likewise.
2985 * config/tc-crx.c: Likewise.
2986 * config/tc-d30v.c: Likewise.
2987 * config/tc-dlx.c (s_proc): Likewise.
2988 * config/tc-ft32.c: Likewise.
2989 * config/tc-h8300.c: Likewise.
2990 * config/tc-hppa.c (pa_proc): Likewise.
2991 (create_new_space): Likewise.
2992 (create_new_subspace): Likewise.
2993 * config/tc-i860.c: Likewise.
2994 * config/tc-i960.c: Likewise.
2995 * config/tc-ia64.c: Likewise.
2996 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2997 (iq2000_record_hi16): Likewise.
2998 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2999 * config/tc-m32r.c (debug_sym): Likewise.
3000 (m32r_record_hi16): Likewise.
3001 * config/tc-m68k.c (m68k_ip): Likewise.
3002 (md_begin): Likewise.
3003 * config/tc-mcore.c: Likewise.
3004 * config/tc-microblaze.c (check_got): Likewise.
3005 * config/tc-mips.c (append_insn): Likewise.
3006 (s_mipsset): Likewise.
3007 (mips_record_label): Likewise.
3008 (s_mips_end): Likewise.
3009 * config/tc-mmix.c (mmix_frob_file): Likewise.
3010 * config/tc-mn10200.c: Likewise.
3011 * config/tc-mn10300.c: Likewise.
3012 * config/tc-moxie.c: Likewise.
3013 * config/tc-msp430.c: Likewise.
3014 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3015 * config/tc-ns32k.c: Likewise.
3016 * config/tc-or1k.c: Likewise.
3017 * config/tc-pdp11.c: Likewise.
3018 * config/tc-pj.c (fake_opcode): Likewise.
3019 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3020 (ppc_macro): Likewise.
3021 (ppc_dwsect): Likewise.
3022 (ppc_machine): Likewise.
3023 * config/tc-rl78.c (rl78_frag_init): Likewise.
3024 * config/tc-rx.c (rx_frag_init): Likewise.
3025 * config/tc-s390.c (s390_lit_suffix): Likewise.
3026 (s390_machine): Likewise.
3027 (s390_machinemode): Likewise.
3028 * config/tc-score.c (s3_insert_reg): Likewise.
3029 (s3_gen_reloc): Likewise.
3030 * config/tc-score7.c (s7_insert_reg): Likewise.
3031 (s7_gen_reloc): Likewise.
3032 * config/tc-tic30.c (tic30_operand): Likewise.
3033 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3034 * config/tc-tic54x.c (stag_add_field): Likewise.
3035 (tic54x_struct): Likewise.
3036 (tic54x_space): Likewise.
3037 (tic54x_field): Likewise.
3038 (tic54x_mlib): Likewise.
3039 (subsym_substitute): Likewise.
3040 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3041 * config/tc-vax.c: Likewise.
3042 * config/tc-xc16x.c: Likewise.
3043 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3044 (directive_push): Likewise.
3045 (xtensa_begin_directive): Likewise.
3046 (tokenize_arguments): Likewise.
3047 (xtensa_add_literal_sym): Likewise.
3048 (new_resource_table): Likewise.
3049 (resize_resource_table): Likewise.
3050 (emit_single_op): Likewise.
3051 (xtensa_create_trampoline_frag): Likewise.
3052 (xtensa_maybe_create_literal_pool_frag): Likewise.
3053 (xtensa_add_config_info): Likewise.
3054 (xtensa_realloc_fixup_cache): Likewise.
3055 (add_subseg_info): Likewise.
3056 (cache_literal_section): Likewise.
3057 (add_xt_block_frags): Likewise.
3058 (add_xt_prop_frags): Likewise.
3059 (init_op_placement_info_table): Likewise.
3060 (build_section_rename): Likewise.
3061 * config/tc-z80.c: Likewise.
3062 * config/tc-z8k.c: Likewise.
3063 * depend.c (register_dependency): Likewise.
3064 * dwarf2dbg.c (get_line_subseg): Likewise.
3065 (dwarf2_gen_line_info_1): Likewise.
3066 (get_filenum): Likewise.
3067 * ecoff.c (allocate_scope): Likewise.
3068 (allocate_vlinks): Likewise.
3069 (allocate_shash): Likewise.
3070 (allocate_thash): Likewise.
3071 (allocate_tag): Likewise.
3072 (allocate_forward): Likewise.
3073 (allocate_thead): Likewise.
3074 (allocate_lineno_list): Likewise.
3075 * expr.c (make_expr_symbol): Likewise.
3076 * hash.c (hash_new_sized): Likewise.
3077 * input-file.c (input_file_push): Likewise.
3078 * listing.c (file_info): Likewise.
3079 (listing_newline): Likewise.
3080 * macro.c (new_formal): Likewise.
3081 (define_macro): Likewise.
3082 * remap.c (add_debug_prefix_map): Likewise.
3083 * symbols.c (symbol_find_noref): Likewise.
3084 (define_dollar_label): Likewise.
3085 (fb_label_instance_inc): Likewise.
3086 (symbol_relc_make_value): Likewise.
3088 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3090 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3091 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3092 (ppc_znop): Likewise.
3093 (ppc_pe_section): Likewise.
3094 (ppc_frob_symbol): Likewise.
3095 * config/tc-tic30.c (tic30_operand): Likewise.
3096 * config/tc-tic4x.c (tic4x_sect): Likewise.
3097 (tic4x_usect): Likewise.
3099 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3101 * config/tc-alpha.c: Const qualify FLT_CHARS.
3102 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3103 * config/tc-cris.h: Likewise.
3105 * config/tc-mmix.c (md_atof): Adjust comment.
3106 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3107 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3109 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3111 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3112 * config/tc-score7.c (s7_gen_reloc): Likewise.
3114 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3116 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3117 bfd_reloc_code_real_type.
3119 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3121 * config/bfin-parse.y (current_inputline): Remove definition.
3122 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3124 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3126 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3129 2016-04-02 Alan Modra <amodra@gmail.com>
3132 * read.c (assign_symbol): Consume rest of line after an error
3133 rather than continuing to process the line.
3135 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3137 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3138 (MAX_FLAG_NAME_LENGTH): ...this.
3139 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3140 * config/tc-arc.c (tokenize_flags): Likewise.
3142 2016-04-01 Alan Modra <amodra@gmail.com>
3144 * cgen.c (weak_operand_overflow_check): Return const char*.
3145 * messages.c (as_internal_value_out_of_range): Formatting.
3146 (as_warn_value_out_of_range): Consify prefix param.
3147 (as_bad_value_out_of_range): Likewise.
3148 * read.c (s_errwarn): Constify msg..
3149 (s_float_space, float_cons): ..and err.
3150 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3151 ieee_md_atof, vax_md_atof): Update prototypes.
3152 * tc.h (md_atof): Update prototype.
3153 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3154 * config/atof-vax.c (vax_md_atof): Likewise.
3155 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3156 * config/tc-aarch64.c (md_atof): Return const char*.
3157 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3158 (s_alpha_comm): Constify sec_name.
3159 (section_name): Constify.
3160 (s_alpha_section): Consify name..
3161 (alpha_elf_section_letter): ..and ptr_msg param..
3162 (md_atof): ..and return.
3163 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3164 * config/tc-arc.c (md_atof): Return const char*.
3165 * config/tc-arm.c (md_atof): Likewise.
3166 * config/tc-avr.c (md_atof): Likewise.
3167 * config/tc-bfin.c (md_atof): Likewise.
3168 * config/tc-cr16.c (md_atof): Likewise.
3169 * config/tc-cris.c (md_atof): Likewise.
3170 * config/tc-crx.c (md_atof): Likewise.
3171 * config/tc-d10v.c (md_atof): Likewise.
3172 * config/tc-d30v.c (md_atof): Likewise.
3173 * config/tc-dlx.c (md_atof): Likewise.
3174 * config/tc-epiphany.c (md_atof): Likewise.
3175 * config/tc-fr30.c (md_atof): Likewise.
3176 * config/tc-frv.c (md_atof): Likewise.
3177 * config/tc-ft32.c (md_atof): Likewise.
3178 * config/tc-h8300.c (md_atof): Likewise.
3179 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3180 (struct default_space_dict): Likewise.
3181 (create_new_space): Constify name param.
3182 (create_new_subspace): Likewise.
3183 (is_defined_space, is_defined_subspace): Likewise.
3184 (pa_parse_space_stmt): Constify space_name param.
3185 (md_atof): Return const char*.
3186 (pa_spaces_begin): Constify name.
3187 * config/tc-i370.c (md_atof): Return const char*.
3188 * config/tc-i386.c (md_atof): Likewise.
3189 (x86_64_section_letter): Constify ptr_msg param.
3190 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3191 * config/tc-i860.c (struct i860_it): Constify error.
3192 (md_atof): Return const char*.
3193 * config/tc-i960.c (md_atof): Likewise.
3194 * config/tc-ia64.c (md_atof): Likewise.
3195 (ia64_elf_section_letter): Constify ptr_msg param.
3196 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3197 * config/tc-ip2k.c (md_atof): Return const char*.
3198 * config/tc-iq2000.c (md_atof): Likewise.
3199 * config/tc-lm32.c (md_atof): Likewise.
3200 * config/tc-m32c.c (md_atof): Likewise.
3201 * config/tc-m32r.c (md_atof): Likewise.
3202 * config/tc-m68hc11.c (md_atof): Likewise.
3203 * config/tc-m68k.c (md_atof): Likewise.
3204 * config/tc-mcore.c (md_atof): Likewise.
3205 * config/tc-mep.c (md_atof): Likewise.
3206 (mep_elf_section_letter): Constify ptr_msg param.
3207 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3208 * config/tc-metag.c (md_atof): Return const char*.
3209 * config/tc-microblaze.c (md_atof): Likewise.
3210 * config/tc-microblaze.h (md_atof): Delete prototype.
3211 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3212 (md_atof): Return const char*.
3213 * config/tc-mmix.c (md_atof): Likewise.
3214 * config/tc-mn10200.c (md_atof): Likewise.
3215 * config/tc-mn10300.c (md_atof): Likewise.
3216 * config/tc-moxie.c (md_atof): Likewise.
3217 * config/tc-msp430.c (md_atof): Likewise.
3218 * config/tc-mt.c (md_atof): Likewise.
3219 * config/tc-nds32.c (md_atof): Likewise.
3220 * config/tc-nios2.c (md_atof): Likewise.
3221 (nios2_elf_section_letter): Constify ptr_msg param.
3222 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3223 * config/tc-ns32k.c (md_atof): Return const char*.
3224 * config/tc-or1k.c (md_atof): Likewise.
3225 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3226 (md_atof): Return const char*.
3227 * config/tc-pj.c (md_atof): Likewise.
3228 * config/tc-ppc.c (md_atof): Likewise.
3229 * config/tc-rl78.c (md_atof): Likewise.
3230 * config/tc-rx.c (md_atof): Likewise.
3231 * config/tc-s390.c (md_atof): Likewise.
3232 * config/tc-score.c (s3_atof, md_atof): Likewise.
3233 * config/tc-sh.c (md_atof): Likewise.
3234 * config/tc-sparc.c (struct sparc_it): Constify error.
3235 (md_atof): Return const char*.
3236 * config/tc-spu.c (md_atof): Likewise.
3237 * config/tc-tic30.c (md_atof): Likewise.
3238 * config/tc-tic4x.c (md_atof): Likewise.
3239 * config/tc-tic54x.c (md_atof): Likewise.
3240 * config/tc-tic6x.c (md_atof): Likewise.
3241 * config/tc-tilegx.c (md_atof): Likewise.
3242 * config/tc-tilepro.c (md_atof): Likewise.
3243 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3244 * config/tc-vax.c (md_atof): Likewise.
3245 * config/tc-visium.c (md_atof): Likewise.
3246 * config/tc-xc16x.c (md_atof): Likewise.
3247 * config/tc-xgate.c (md_atof): Likewise.
3248 * config/tc-xstormy16.c (md_atof): Likewise.
3249 * config/tc-xtensa.c (md_atof): Likewise.
3250 * config/tc-z80.c (md_atof): Likewise.
3251 * config/tc-z8k.c (md_atof): Likewise.
3253 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3255 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3257 (xtensa_section_rename): Make argument type const char *.
3258 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3260 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3262 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3265 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3267 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3269 (m32c_indirect_operand): Likewise.
3270 * config/tc-nds32.c (do_pseudo_b): Likewise.
3271 (do_pseudo_bal): Likewise.
3272 (do_pseudo_ls_bhw): Likewise.
3274 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3276 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3278 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3280 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3282 * config/tc-sparc.c (s_register): Cast a literal to char * in
3285 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3287 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3289 * config/tc-m32r.c (expand_debug_syms): Likewise.
3290 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3291 * config/tc-z80.c (md_begin): Likewise.
3292 * stabs.c (stabs_generate_asm_func): Likewise.
3294 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3296 * cgen.c: Modernize the way functions declare arguments.
3297 * config/tc-bfin.c: Likewise.
3298 * config/tc-pdp11.c: Likewise.
3299 * literal.c: Likewise.
3301 * stabs.c: Likewise.
3303 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3305 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3306 variables unsigned char[].
3307 * config/tc-alpha.c (alpha_handle_align): Likewise.
3308 * config/tc-arm.c (arm_handle_align): Likewise.
3309 * config/tc-z80.c: Likewise.
3311 2016-03-30 Nick Clifton <nickc@redhat.com>
3314 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3317 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3319 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3320 * testsuite/gas/elf/elf.exp: Likewise.
3321 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3323 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3325 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3327 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3329 * testsuite/gas/arc/ext2op.d: New file.
3330 * testsuite/gas/arc/ext2op.s: Likewise.
3331 * testsuite/gas/arc/ext3op.d: Likewise.
3332 * testsuite/gas/arc/ext3op.s: Likewise.
3334 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3336 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3338 * config/tc-alpha.c (md_parse_option): Likewise.
3339 * config/tc-arc.c (md_parse_option): Likewise.
3340 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3341 (md_parse_option): Likewise.
3342 * config/tc-avr.c (md_parse_option): Likewise.
3343 * config/tc-bfin.c (md_parse_option): Likewise.
3344 * config/tc-cr16.c (md_parse_option): Likewise.
3345 * config/tc-cris.c (s_cris_arch): Likewise.
3346 (md_parse_option): Likewise.
3347 * config/tc-crx.c (md_parse_option): Likewise.
3348 * config/tc-d10v.c (md_parse_option): Likewise.
3349 * config/tc-d30v.c (md_parse_option): Likewise.
3350 * config/tc-dlx.c (md_parse_option): Likewise.
3351 * config/tc-epiphany.c (md_parse_option): Likewise.
3352 * config/tc-fr30.c (md_parse_option): Likewise.
3353 * config/tc-frv.c (md_parse_option): Likewise.
3354 * config/tc-ft32.c (md_parse_option): Likewise.
3355 * config/tc-h8300.c (md_parse_option): Likewise.
3356 * config/tc-hppa.c (md_parse_option): Likewise.
3357 * config/tc-i370.c (md_parse_option): Likewise.
3358 * config/tc-i386.c (md_parse_option): Likewise.
3359 * config/tc-i860.c (md_parse_option): Likewise.
3360 * config/tc-i960.c (md_parse_option): Likewise.
3361 * config/tc-ia64.c (md_parse_option): Likewise.
3362 * config/tc-ip2k.c (md_parse_option): Likewise.
3363 * config/tc-iq2000.c (md_parse_option): Likewise.
3364 * config/tc-lm32.c (md_parse_option): Likewise.
3365 * config/tc-m32c.c (md_parse_option): Likewise.
3366 * config/tc-m32r.c (md_parse_option): Likewise.
3367 * config/tc-m68hc11.c (md_parse_option): Likewise.
3368 * config/tc-m68k.c (md_parse_option): Likewise.
3369 * config/tc-mcore.c (md_parse_option): Likewise.
3370 * config/tc-mep.c (md_parse_option): Likewise.
3371 * config/tc-metag.c (struct metag_long_option): Likewise.
3372 (md_parse_option): Likewise.
3373 * config/tc-microblaze.c (md_parse_option): Likewise.
3374 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3375 * config/tc-mips.c (md_parse_option): Adjust.
3376 * config/tc-mmix.c (md_parse_option): Likewise.
3377 * config/tc-mn10200.c (md_parse_option): Likewise.
3378 * config/tc-mn10300.c (md_parse_option): Likewise.
3379 * config/tc-moxie.c (md_parse_option): Likewise.
3380 * config/tc-msp430.c (md_parse_option): Likewise.
3381 * config/tc-mt.c (md_parse_option): Likewise.
3382 * config/tc-nds32.c (md_parse_option): Likewise.
3383 * config/tc-nds32.h (nds32_parse_option): Likewise.
3384 * config/tc-nios2.c (md_parse_option): Likewise.
3385 * config/tc-ns32k.c (md_parse_option): Likewise.
3386 * config/tc-or1k.c (md_parse_option): Likewise.
3387 * config/tc-pdp11.c (md_parse_option): Likewise.
3388 * config/tc-pj.c (md_parse_option): Likewise.
3389 * config/tc-ppc.c (md_parse_option): Likewise.
3390 * config/tc-rl78.c (md_parse_option): Likewise.
3391 * config/tc-rx.c (md_parse_option): Likewise.
3392 * config/tc-s390.c (s390_parse_cpu): Likewise.
3393 * config/tc-score.c (md_parse_option): Likewise.
3394 * config/tc-sh.c (md_parse_option): Likewise.
3395 * config/tc-sparc.c (md_parse_option): Likewise.
3396 * config/tc-spu.c (md_parse_option): Likewise.
3397 * config/tc-tic30.c (md_parse_option): Likewise.
3398 * config/tc-tic4x.c (md_parse_option): Likewise.
3399 * config/tc-tic54x.c (md_parse_option): Likewise.
3400 * config/tc-tic6x.c (md_parse_option): Likewise.
3401 * config/tc-tilegx.c (md_parse_option): Likewise.
3402 * config/tc-tilepro.c (md_parse_option): Likewise.
3403 * config/tc-v850.c (md_parse_option): Likewise.
3404 * config/tc-vax.c (md_parse_option): Likewise.
3405 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3406 * config/tc-xc16x.c (md_parse_option): Likewise.
3407 * config/tc-xgate.c (md_parse_option): Likewise.
3408 * config/tc-xstormy16.c (md_parse_option): Likewise.
3409 * config/tc-xtensa.c (md_parse_option): Likewise.
3410 * config/tc-z80.c (md_parse_option): Likewise.
3411 * config/tc-z8k.c (md_parse_option): Likewise.
3412 * tc.h (md_parse_option): Likewise.
3414 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3416 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3417 * config/tc-hppa.c (fix_new_hppa): Likewise.
3418 (pa_vtable_entry): Likewise.
3419 (pa_vtable_inherit): Likewise.
3420 * config/tc-m68k.c (md_begin): Likewise.
3422 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3424 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3425 * config/obj-elf.h (obj_elf_section_name): Adjust.
3426 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3427 (aarch64_parse_cpu): Likewise.
3428 (aarch64_parse_arch): Likewise.
3429 * config/tc-arm.c (arm_parse_extension): Likewise.
3430 (arm_parse_cpu): Likewise.
3431 (arm_parse_arch): Likewise.
3432 * config/tc-nds32.c: Likewise.
3433 * config/xtensa-relax.c (parse_special_fn): Likewise.
3434 * stabs.c (generate_asm_file): Likewise.
3436 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3438 * config/tc-cr16.c (cr16_assemble): New function.
3439 (md_assemble): Call cr16_assemble.
3441 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3443 * as.c (parse_args): Adjust.
3444 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3445 * config/obj-elf.c (elf_frob_symbol): Adjust.
3447 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3449 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3450 registers to be in the 16..31 range.
3452 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3454 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3457 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3459 * config/tc-visium.c (md_atof): Localize the string returned on
3462 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3464 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3465 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3466 * config/tc-m68hc11.c (md_begin): Likewise.
3467 (print_opcode_list): Likewise.
3468 * config/tc-msp430.c (msp430_section): Likewise.
3469 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3470 (s3_build_dependency_insn_hsh): Likewise.
3471 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3472 (s7_build_dependency_insn_hsh): Likewise.
3473 * config/tc-tic4x.c: Likewise.
3474 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3475 (subsym_get_arg): Likewise.
3476 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3477 (get_directive): Likewise.
3478 (cache_literal_section): Likewise.
3479 * config/xtensa-relax.c: Likewise.
3480 * symbols.c (symbol_create): Likewise.
3481 (local_symbol_make): Likewise.
3482 (symbol_relc_make_expr): Likewise.
3484 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3486 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3489 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3491 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3494 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3496 * config/tc-ia64.c (ia64_do_align): Remove.
3497 (ia64_cons_align): Call do_align () directly.
3498 (dot_proc): Likewise.
3499 (stmt_float_cons): Likewise.
3501 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3503 * listing.c (listing_message): Use XNEW style allocation macros.
3504 * read.c (read_a_source_file): Likewise.
3505 (read_symbol_name): Likewise.
3506 (s_mri_common): Likewise.
3507 (assign_symbol): Likewise.
3508 (s_reloc): Likewise.
3509 (emit_expr_with_reloc): Likewise.
3510 (s_incbin): Likewise.
3511 (s_include): Likewise.
3512 * sb.c (sb_build): Likewise.
3513 (sb_check): Likewise.
3515 2016-03-22 Alan Modra <amodra@gmail.com>
3517 * write.c (record_alignment): Revert 2016-02-18 change.
3519 2016-03-22 Alan Modra <amodra@gmail.com>
3521 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3522 (emit_jsrjmp, tc_gen_reloc): Likewise.
3523 * config/tc-i370.c (i370_macro): Likewise.
3525 2016-03-22 Nick Clifton <nickc@redhat.com>
3527 * configure: Regenerate.
3529 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3531 * testsuite/gas/arc/nps400-0.d: New file.
3532 * testsuite/gas/arc/nps400-0.s: New file.
3533 * testsuite/gas/arc/nps400-1.d: New file.
3534 * testsuite/gas/arc/nps400-1.s: New file.
3536 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3538 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3539 declarations to start of block. Reset code on all flags before
3540 attempting to match them. Handle multiple hits on the same flag.
3542 * testsuite/gas/arc/asm-errors.d: New file.
3543 * testsuite/gas/arc/asm-errors.err: New file.
3544 * testsuite/gas/arc/asm-errors.s: New file.
3546 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3548 * config/tc-arc.c (cpu_types): Add nps400 entry.
3549 (check_zol): Handle nps400.
3551 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3553 * config/tc-arc.c (arc_select_cpu): Remove use of
3556 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3558 * config/tc-arc.c (arc_target): Delay initialisation until
3560 (arc_target_name): Likewise.
3561 (arc_features): Likewise.
3562 (arc_mach_type): Likewise.
3563 (cpu_types): Remove "all" entry.
3564 (arc_select_cpu): New function, most of the content is from...
3565 (md_parse_option): ... here. Call new arc_select_cpu.
3566 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3568 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3570 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3571 * testsuite/gas/arc/inline-data-2.d: New file.
3573 2016-03-21 Nick Clifton <nickc@redhat.com>
3575 * atof-generic.c: Replace use of alloca with call to xmalloc.
3577 * dwarf2dbg.c: Likewise.
3578 * macro.c: Likewise.
3579 * remap.c: Likewise.
3580 * stabs.c: Likewise.
3581 * symbols.c: Likewise.
3582 * config/obj-elf.c: Likewise.
3583 * config/tc-aarch64.c: Likewise.
3584 * config/tc-arc.c: Likewise.
3585 * config/tc-arm.c: Likewise.
3586 * config/tc-avr.c: Likewise.
3587 * config/tc-ia64.c: Likewise.
3588 * config/tc-mips.c: Likewise.
3589 * config/tc-msp430.c: Likewise.
3590 * config/tc-nds32.c: Likewise.
3591 * config/tc-ppc.c: Likewise.
3592 * config/tc-sh.c: Likewise.
3593 * config/tc-tic30.c: Likewise.
3594 * config/tc-tic54x.c: Likewise.
3595 * config/tc-xstormy16.c: Likewise.
3596 * config/te-vms.c: Likewise.
3597 * configure: Regenerate.
3599 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3601 * tc-i386.c (f32_1): Change type to unsigned char[].
3621 (jump_31): Likewise.
3622 (f32_patt): Likewise.
3623 (f16_patt): Likewise.
3632 (alt_patt): Likewise.
3634 2016-03-18 Nick Clifton <nickc@redhat.com>
3636 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3637 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3638 .tlsdescldr and .xword directives.
3641 * testsuite/gas/aarch64/pr19721.s: New test source file.
3642 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3644 * doc/as.texinfo: Place the target specific command line options
3645 into their own man page section.
3647 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3649 * config/tc-arm.c (N_S_32): New.
3650 (N_F_16_32): Likewise.
3651 (N_SUF_32): Support N_F16.
3652 (N_IF_32): Likewise.
3653 (neon_dyadic_misc): Likewise.
3654 (do_neon_cmp): Likewise.
3655 (do_neon_cmp_inv): Likewise.
3656 (do_neon_mul): Likewise.
3657 (do_neon_fcmp_absolute): Likewise.
3658 (do_neon_step): Likewise.
3659 (do_neon_abs_neg): Likewise.
3660 (CVT_FLAVOR_VAR): Likewise.
3661 (do_neon_cvt_1): Likewise.
3662 (do_neon_recip_est): Likewise.
3663 (do_vmaxnm): Likewise.
3664 (do_vrint_1): Likewise.
3665 (neon_check_type): Check architecture support for FP16 extension.
3666 (insns): Update comments.
3667 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3668 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3669 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3670 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3672 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3674 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3677 2016-03-16 Nick Clifton <nickc@redhat.com>
3679 * read.c (emit_expr_with_reloc): Add code check a bignum with
3681 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3683 * testsuite/gas/elf/bignum.s: New test source file.
3684 * testsuite/gas/elf/bignum.d: New test driver file.
3685 * testsuite/gas/elf/elf.exp: Run the new test.
3687 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3689 * doc/c-i386.texi (Register Naming): Update to details of the
3690 latest architecture version.
3692 2016-03-10 Mickael Guene <mickael.guene@st.com>
3695 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3697 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3698 (do_t_mov_cmp): Likewise.
3699 (do_t_add_sub): Protect against bad relocations usage.
3700 (do_t_mov_cmp): Likewise.
3701 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3702 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3703 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3704 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3706 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3708 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3710 (do_neon_ld_st_lane): Likewise.
3711 (do_neon_ld_dup): Likewise.
3713 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3715 * testsuite/gas/arc/inline-data-1.d: New file.
3716 * testsuite/gas/arc/inline-data-1.s: New file.
3718 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3720 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3721 * doc/c-arm.texi: Add cortex-r8.
3723 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3725 * config/tc-arc.c: Add const qualifiers.
3726 * config/tc-h8300.c (md_begin): Likewise.
3727 * config/tc-ia64.c (print_prmask): Likewise.
3728 * config/tc-msp430.c (msp430_operands): Likewise.
3729 * config/tc-nds32.c (struct suffix_name): Likewise.
3730 (struct nds32_parse_option_table): Likewise.
3731 (struct nds32_set_option_table): Likewise.
3732 (do_pseudo_pushpopm): Likewise.
3733 (do_pseudo_pushpop_stack): Likewise.
3734 (nds32_relax_relocs): Likewise.
3735 (nds32_flag): Likewise.
3736 (struct nds32_hint_map): Likewise.
3737 (nds32_find_reloc_table): Likewise.
3738 (nds32_match_hint_insn): Likewise.
3739 * config/tc-s390.c: Likewise.
3740 * config/tc-sh.c (get_specific): Likewise.
3741 * config/tc-tic30.c: Likewise.
3742 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3743 (tic4x_indirect_parse): Likewise.
3744 * config/tc-vax.c (vax_cons): Likewise.
3745 * config/tc-z80.c (struct reg_entry): Likewise.
3746 * config/tc-epiphany.c (md_assemble): Adjust.
3747 (epiphany_assemble): New function.
3748 (epiphany_elf_section_rtn): Call do_align directly.
3749 (epiphany_elf_section_text): Likewise.
3750 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3751 (ip2k_elf_section_text): Likewise.
3752 * read.c (do_align): Make it not static.
3753 * read.h (do_align): New prototype.
3755 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3757 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3758 for ARMv8.1 AdvSIMD use.
3759 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3760 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3762 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3764 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3766 (record_feature_use): New.
3767 (mark_feature_used): Use record_feature_use.
3768 (do_neon_qrdmlah): New.
3769 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3771 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3772 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3773 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3774 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3775 Make source file explicit.
3776 * testsuite/gas/arm/armv8-a+rdma.l: New.
3777 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3778 directives. Fix white-space.
3779 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3781 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3783 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3785 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3786 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3788 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3789 (tc_arc_fix_adjustable): Changed default return value to 1.
3790 * testsuite/gas/arc/j.d: Updated expected symbol
3791 * testsuite/gas/arc/jl.d: Likewise
3792 * testsuite/gas/arc/relax-avoid1.d: Likewise
3793 * testsuite/gas/arc/st.d: Likewise
3795 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3797 * config/tc-arc.c: Enable code density instructions for ARC EM.
3799 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3802 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3804 * as.c (flag_use_elf_stt_common): New.
3805 (show_usage): Add --elf-stt-common=.
3806 (option_values): Add OPTION_ELF_STT_COMMON.
3807 (std_longopts): Add --elf-stt-common=.
3808 (parse_args): Handle --elf-stt-common=.
3809 * as.h (flag_use_elf_stt_common): New.
3810 * config.in: Regenerated.
3811 * configure: Likewise.
3812 * configure.ac: Add --enable-elf-stt-common and define
3813 DEFAULT_GENERATE_ELF_STT_COMMON.
3814 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3815 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3816 * doc/as.texinfo: Document --elf-stt-common=.
3817 * testsuite/gas/elf/common3.s: New file.
3818 * testsuite/gas/elf/common3a.d: Likewise.
3819 * testsuite/gas/elf/common3b.d: Likewise.
3820 * testsuite/gas/elf/common4.s: Likewise.
3821 * testsuite/gas/elf/common4a.d: Likewise.
3822 * testsuite/gas/elf/common4b.d: Likewise.
3823 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3824 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3825 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3827 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3828 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3829 --elf-stt-common=no to as.
3830 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3831 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3832 --elf-stt-common=no to as.
3833 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3834 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3835 of dw2-compress-3 and dw2-compressed-3.
3837 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3839 * as.c (select_emulation_mode): Add const qualifiers.
3841 * config/bfin-defs.h: Likewise.
3842 * config/bfin-parse.y: Likewise.
3843 * config/rx-parse.y: Likewise.
3844 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3845 (struct aarch64_cpu_option_table): Likewise.
3846 (struct aarch64_arch_option_table): Likewise.
3847 (struct aarch64_option_cpu_value_table): Likewise.
3848 (struct aarch64_long_option_table): Likewise.
3849 (struct aarch64_option_abi_value_table): Likewise.
3850 * config/tc-arm.c (struct reloc_entry): Likewise.
3851 (tc_gen_reloc): Likewise.
3852 (struct arm_option_table): Likewise.
3853 (struct arm_legacy_option_table): Likewise.
3854 (struct arm_cpu_option_table): Likewise.
3855 (struct arm_arch_option_table): Likewise.
3856 (struct arm_option_extension_value_table): Likewise.
3857 (struct arm_option_fpu_value_table): Likewise.
3858 (struct arm_option_value_table): Likewise.
3859 (struct arm_long_option_table): Likewise.
3860 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3861 (struct mcu_type_s): Likewise.
3862 (struct exp_mod_s): Likewise.
3863 (avr_operand): Likewise.
3864 (avr_operands): Likewise.
3865 * config/tc-d10v.c (md_begin): Likewise.
3866 * config/tc-dlx.c: Likewise.
3867 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3868 * config/tc-ft32.c (parse_condition): Likewise.
3869 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3870 * config/tc-hppa.c (pa_ip): Likewise.
3871 (hppa_regname_to_dw2regnum): Likewise.
3872 * config/tc-i370.c (i370_elf_suffix): Likewise.
3873 * config/tc-i960.c (struct tabentry): Likewise.
3874 * config/tc-m32r.c: Likewise.
3875 * config/tc-m68k.c: Likewise.
3876 * config/tc-m68k.h: Likewise.
3877 * config/tc-mcore.c (parse_psrmod): Likewise.
3878 * config/tc-metag.c (struct metag_core_option): Likewise.
3879 (struct metag_long_option): Likewise.
3880 * config/tc-microblaze.c: Likewise.
3881 * config/tc-mips.c (macro): Likewise.
3882 * config/tc-mn10200.c: Likewise.
3883 * config/tc-mn10300.c: Likewise.
3884 * config/tc-msp430.c (struct rcodes_s): Likewise.
3885 (struct hcodes_s): Likewise.
3886 (md_parse_option): Likewise.
3887 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3888 (optlist): Likewise.
3889 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3890 (tc_ppc_regname_to_dw2regnum): Likewise.
3891 * config/tc-ppc.h: Likewise.
3892 * config/tc-rl78.c: Likewise.
3893 * config/tc-rx.c (struct cpu_type): Likewise.
3894 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3895 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3896 (sparc_ip): Likewise.
3897 * config/tc-spu.c (insn_fmt_string): Likewise.
3898 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3899 * config/tc-v850.c: Likewise.
3900 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3901 (struct visium_long_option_table): Likewise.
3902 * config/tc-xgate.c: Likewise.
3903 * config/tc-z8k.c: Likewise.
3904 * read.c (add_include_dir): Likewise.
3907 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3909 * testsuite/gas/all/gas.exp: Change target pattern to cover
3911 * testsuite/gas/all/redef3.d: Likewise.
3912 * testsuite/gas/elf/elf.exp: Likewise.
3914 2016-02-24 Renlin Li <renlin.li@arm.com>
3916 * config/tc-arm.c (BAD_FP16): New error message macro.
3917 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3918 fp16 scalar instructions.
3919 (neon_check_type): Allow different size from key.
3920 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3921 (try_vfp_nsyn): Likewise.
3922 (do_vfp_nsyn_mla_mls): Likewise.
3923 (do_vfp_nsyn_fma_fms): Likewise.
3924 (do_vfp_nsyn_ldm_stm): Likewise
3925 (do_vfp_nsyn_sqrt): Likewise
3926 (do_vfp_nsyn_div): Likewise
3927 (do_vfp_nsyn_nmul): Likewise.
3928 (do_vfp_nsyn_cmp): Likewise.
3929 (do_neon_shll): Likewise.
3930 (do_vfp_nsyn_cvt_fpv8): Likewise.
3931 (do_neon_cvttb_2): Likewise.
3932 (do_neon_mov): Likewise.
3933 (do_neon_rshift_round_imm): Likewise.
3934 (do_neon_ldr_str): Likewise.
3935 (do_vfp_nsyn_fpv8): Likewise.
3936 (do_vmaxnm): Likewise.
3937 (do_vrint_1): Likewise.
3938 (insns): New entry for vins, vmovx.
3939 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3940 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3941 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3942 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3943 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3944 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3945 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3947 2016-02-24 Renlin Li <renlin.li@arm.com>
3949 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3950 (neon_shape_class): New SC_HALF.
3951 (neon_shape_el): New SE_H.
3952 (neon_shape_el_size): New size for SE_H.
3953 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3954 (neon_select_shape): Add SE_H support code.
3955 (el_type_of_type_chk): Use N_F_ALL.
3956 (do_vfp_nsyn_cvt): Add SE_H shape support.
3957 (do_neon_cvtz): Likewise.
3958 (do_neon_cvt_1): Likewise.
3959 (do_neon_cvttb_1): Likewise.
3961 2016-02-24 Renlin Li <renlin.li@arm.com>
3963 * testsuite/gas/arm/copro.d: Adjust output.
3964 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3966 2016-02-24 Renlin Li <renlin.li@arm.com>
3968 * testsuite/gas/arm/mask_1.d: New.
3969 * testsuite/gas/arm/mask_1.s: New.
3971 2016-02-24 Renlin Li <renlin.li@arm.com>
3973 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3974 * testsuite/gas/arm/copro.d: Update.
3976 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3978 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3979 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3981 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3983 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3985 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3987 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3990 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3992 * output-file.c (output_file_create): Make file name argument const.
3993 (output_file_close): Likewise.
3994 * output-file.h (output_file_create): Adjust.
3995 (output_file_close): Likewise.
3996 * depend.c (quote_string_for_make): Make src argument const char *.
3997 (register_dependency): Likewise.
3998 (wrap_output): Likewise.
3999 * as.h (register_dependency): Adjust.
4000 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4002 * symbols.c (S_SET_EXTERNAL): Likewise.
4003 * input-scrub.c (as_where): Return the file name.
4004 * as.h (as_where): Adjust prototype.
4005 * app.c (do_scrub_chars): Adjust.
4006 * cond.c (s_elseif): Likewise.
4008 (initialize_cframe): Likewise.
4009 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4010 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4011 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4012 * config/tc-aarch64.c (output_info): Likewise.
4013 * config/tc-ia64.c (md_assemble): Likewise.
4014 (dot_alias): Likewise.
4015 * config/tc-m68k.c (m68k_frob_label): Likewise.
4016 * config/tc-mmix.c (s_bspec): Likewise.
4017 (mmix_handle_mmixal): Likewise.
4018 * config/tc-rx.c (rx_include): Likewise.
4019 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4020 (tic54x_adjust_symtab): Likewise.
4021 * config/tc-xtensa.c (directive_push): Likewise.
4022 (xtensa_sanity_check): Likewise.
4023 (xtensa_relax_frag): Likewise.
4024 (md_convert_frag): Likewise.
4025 (tinsn_to_slotbuf): Likewise.
4026 * dwarf2dbg.c (dwarf2_where): Likewise.
4027 * ecoff.c (add_file): Likewise.
4028 (ecoff_generate_asm_lineno): Likewise.
4029 * expr.c (make_expr_symbol): Likewise.
4030 * frags.c (frag_new): Likewise.
4031 (frag_var_init): Likewise.
4032 * listing.c (listing_newline): Likewise.
4033 * messages.c (identify): Likewise.
4034 (as_show_where): Likewise.
4035 (as_warn_internal): Likewise.
4036 (as_bad_internal): Likewise.
4037 * read.c (s_irp): Likewise.
4038 (s_macro): Likewise.
4039 (s_reloc): Likewise.
4040 * stabs.c (stabs_generate_asm_file): Likewise.
4041 (stabs_generate_asm_lineno): Likewise.
4042 (stabs_generate_asm_func): Likewise.
4043 * write.c (fix_new_internal): Likewise.
4044 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4045 (as_warn_value_out_of_range): Adjust prototype.
4046 (as_bad_value_out_of_range): Adjust prototype.
4047 * messages.c (identify): Make file name argument const char *.
4048 (as_warn_internal): Likewise.
4049 (as_warn_where): Likewise.
4050 (as_bad_internal): Likewise.
4051 (as_bad_where): Likewise.
4052 (as_internal_value_out_of_range): Likewise.
4053 (as_warn_value_out_of_range): Likewise.
4054 (as_bad_value_out_of_range): Likewise.
4055 * as.h (found_comment_file): Change type to const char *.
4056 * cond.c (file_line::file): Likewise.
4057 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4058 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4059 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4060 * config/tc-aarch64.c (output_info): Likewise.
4061 * config/tc-alpha.c (insert_operand): Likewise.
4062 * config/tc-arc.c (insert_operand): Likewise.
4063 * config/tc-d30v.c (check_size): Likewise.
4064 * config/tc-ia64.c (struct alias): Likewise.
4065 * config/tc-m68k.c (struct label_line): Likewise.
4066 * config/tc-mcore.c (md_apply_fix): Likewise.
4067 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4068 * config/tc-mips.c (mips16_immed): Likewise.
4069 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4070 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4071 * config/tc-rx.c (rx_include): Likewise.
4072 * config/tc-s390.c (s390_insert_operand): Likewise.
4073 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4074 (tic54x_adjust_symtab): Likewise.
4075 * config/tc-tilegx.c (insert_operand): Likewise.
4076 (apply_special_operator): Likewise.
4077 * config/tc-tilepro.c (insert_operand): Likewise.
4078 * config/tc-xtensa.c (directive_push): Likewise.
4079 * ecoff.c (add_file): Likewise.
4080 (ecoff_generate_asm_lineno): Likewise.
4081 * listing.c (listing_newline): Likewise.
4082 * read.c (s_irp): Likewise.
4083 * write.c (install_reloc): Likewise.
4084 * write.h (struct fix): Likewise.
4085 * input-file.c (file_name): Change type to const char *.
4086 (saved_file::file_name): Likewise.
4087 (input_file_open): Change type of argument to const char *.
4088 * input-file.h (input_file_open): Adjust.
4089 * input-scrub.c (logical_input_file): change type to const char *.
4090 (physical_input_file): Likewise.
4091 (struct input_save): Adjust.
4092 (input_scrub_push): Adjust.
4093 (input_scrub_begin): Adjust.
4095 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4096 (input_scrub_include_file): Likewise.
4097 (new_logical_line_flags): Likewise.
4098 (new_logical_line): Likewise.
4100 * frags.h (struct frag): Change type of fr_file to const char *.
4101 * expr.c (expr_symbol_where): Change type of file argument to
4103 * expr.h (expr_symbol_where): Likewise.
4104 * config/tc-i370.c (md_apply_fix): adjust.
4105 * config/tc-mmix.c (mmix_md_end): Likewise.
4106 * config/tc-ppc.c (md_apply_fix): Likewise.
4107 * config/tc-s390.c (md_apply_fix): Likewise.
4108 * symbols.c (report_op_error): Likewise.
4109 (resolve_symbol_value): Likewise.
4110 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4111 (rsrc::file): Likewise.
4112 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4114 (xtensa_relax_frag): Likewise.
4115 (md_convert_frag): Likewise.
4116 (tinsn_to_slotbuf): Likewise.
4117 * expr.c (expr_symbol_line): Likewise.
4118 * macro.c (define_macro): Likewise.
4119 * macro.h (macro_struct): Likewise.
4120 * messages.c (as_show_where): Likewise.
4121 * read.c (s_macro): Likewise.
4122 * stabs.c (stabs_generate_asm_file): Likewise.
4123 (generate_asm_file): Likewise.
4124 (stabs_generate_asm_lineno): Likewise.
4125 * write.h (struct reloc_list): Likewise.
4126 * input-scrub.c (as_where): Change return type to const char *.
4127 * as.h (as_wheree): Adjust.
4129 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4131 * write.c (compress_debug): Move BFD compression bits setting
4133 (write_object_file): Here.
4135 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4137 * config/tc-i386.c (register_number): Check RegVRex.
4138 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4139 with %zmm19 and %zmm3.
4140 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4141 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4143 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4144 Jiong Wang <jiong.wang@arm.com>
4146 * config/tc-arm.c (arm_ext_fp16): New.
4147 (arm_extensions): New entry for "fp16".
4149 2016-02-19 Nick Clifton <nickc@redhat.com>
4152 * read.c (read_a_source_file): Check for assemble_one returning
4153 with input_line_pointer set to NULL.
4155 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4157 * listing.c (rebuffer_line): Change return type to void.
4159 * symbols.c (decode_local_label_name): Make type a const char *.
4160 * listing.c (print_source): Make type of p const char *.
4161 (print_line): Make type of string const char *.
4162 (buffer_line): Return const char *.
4163 (title): Make type const char *.
4164 (subtitle): Likewise.
4165 (listing_listing): Make type of p const char *.
4166 * messages.c (as_internal_value_out_of_range): Make type of prefix
4168 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4169 and string const char *.
4170 * read.c (_bfd_rel): Make type of name const char *.
4171 * app.c (out_string): Change type to const char *.
4172 (struct app_save::out_string): Likewise.
4174 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4175 Nick Clifton <nickc@redhat.com>
4177 * read.c (finish_bundle): Avoid recording a negative alignment.
4178 (do_align): Use unsigned values for n, len and max. Only create
4179 a frag if the alignment requirement is greater than the minimum
4180 byte alignment. Avoid recording a negative alignment.
4181 (s_align): Use unsigned values where appropriate.
4182 (bss_alloc): Use an unsigned value for the alignment.
4183 (sizeof_sleb128): Add a comment noting that we encode one octet
4184 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4185 (emit_leb129_expr): Abort if the emitted encoding was longer than
4187 * read.h (output_leb128): Update prototype.
4188 (sizeof_leb128): Update prototype.
4189 (bss_alloc): Update prototype.
4190 * write.c (record_alignment): Use an unsigned value for the
4191 alignment. Do not record alignments less than the minimum
4192 alignment for a byte.
4193 * write.h (record_alignment): Update prototype.
4195 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4197 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4198 .init.literal/.fini.literal section name.
4199 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4200 list of xtensa tests.
4201 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4202 init-fini-literals test result patterns.
4203 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4204 init-fini-literals test.
4206 2016-02-17 Nick Clifton <nickc@redhat.com>
4208 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4209 devices.csv file as of March 2016.
4211 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4213 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4215 (tc_arc_regname_to_dw2regnum): Likewise.
4216 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4217 (tc_cfi_frame_initial_instructions): Likewise.
4218 (tc_regname_to_dw2regnum): Likewise.
4219 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4220 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4221 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4223 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4225 * doc/internals.texi (S_IS_EXTERN): Remove.
4227 2016-02-16 Nick Clifton <nickc@redhat.com>
4229 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4232 2016-02-16 Renlin Li <renlin.li@arm.com>
4235 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4236 * testsuite/gas/aarch64/movw_label.d: New.
4237 * testsuite/gas/aarch64/movw_label.s: New.
4239 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4242 * config/rx-parse.y (MOV): Opcode generation for index
4243 register addressing mode.
4244 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4245 * testsuite/gas/rx/pr19665.s: New file.
4246 * testsuite/gas/rx/pr19665.s: New file.
4247 * testsuite/gas/rx/mov.d: Update expected output.
4249 2016-02-15 Nick Clifton <nickc@redhat.com>
4251 * doc/as.texinfo (.section): Document that numeric values can now
4252 be used for the flags and type fields of the ELF target's .section
4253 directive. Add notes about the restrictions on setting flags and
4255 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4256 to be given processor specific section types. Allow processor and
4257 application specific flags of a section to be set after
4259 (obj_elf_parse_section_letters): Handle parsing numeric values.
4260 (obj_elf_section_type): Handle parsing numeric values.
4261 (obj_elf_section): Allow numeric type values.
4262 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4263 * testsuite/gas/elf/section10.d: New test.
4264 * testsuite/gas/elf/section10.s: Source file for new test.
4265 * testsuite/gas/elf/elf.exp: Run the new test.
4266 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4267 the description of the flags produced by readelf.
4268 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4269 * NEWS: Mention the new feature.
4271 2016-02-11 Nick Clifton <nickc@redhat.com>
4274 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4275 until it is actually used.
4276 (cfi_set_sections): Set cfi_sections_set to true.
4277 (dot_cfi_startproc): Likewise.
4278 (dot_cfi_endproc): Likewise.
4279 (dot_cfi_fde_data): Likewise.
4280 (cfi_finish): Likewise.
4281 (dot_cfi_sections): Do not set cfi_sections_set.
4282 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4283 their own cfi section name. Also note that the directive can be
4284 reissued provided that CFI generation has not started.
4285 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4286 .cfi_endproc directives so that the redefinition of .cfi_sections
4287 will trigger the generation of the error message.
4288 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4289 number of error message.
4291 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4292 Janek van Oirschot <jvanoirs@synopsys.com>
4294 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4295 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4297 (arc_flags, arc_relax_type): New structure.
4298 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4299 (RELAX_TABLE_ENTRY_MAX): New define.
4300 (relaxation_state, md_relax_table, arc_relaxable_insns)
4301 (arc_num_relaxable_ins): New variable.
4302 (rlx_operand_type, arc_rlx_types): New enums.
4303 (arc_relaxable_ins): New structure.
4304 (OPTION_RELAX): New option.
4305 (arc_insn): New relax member.
4306 (arc_flags): Remove.
4307 (relax_insn_p): New function.
4308 (apply_fixups): Likewise.
4309 (relaxable_operand): Likewise.
4310 (may_relax_expr): Likewise.
4311 (relaxable_flag): Likewise.
4312 (arc_pcrel_adjust): Likewise.
4313 (md_estimate_size_before_relax): Implement.
4314 (md_convert_frag): Likewise.
4315 (md_parse_option): Handle new mrelax option.
4316 (md_show_usage): Likewise.
4317 (assemble_insn): Set relax member.
4318 (emit_insn0): New function.
4319 (emit_insn1): Likewise.
4320 (emit_insn): Handle relaxation case.
4321 * NEWS: Mention the new relaxation option.
4322 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4323 * doc/as.texinfo (Target ARC Options): Likewise.
4324 * testsuite/gas/arc/relax-avoid1.d: New file.
4325 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4326 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4327 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4328 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4329 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4330 * testsuite/gas/arc/relax-b.d: Likewise.
4331 * testsuite/gas/arc/relax-b.s: Likewise.
4333 2016-02-08 Nick Clifton <nickc@redhat.com>
4335 * config/tc-ia64.c (dot_prologue): Fix formatting.
4337 2016-02-04 Nick Clifton <nickc@redhat.com>
4339 * config/obj-elf.c (obj_elf_change_section): Remove support for
4340 ARM NOREAD sections.
4341 * config/tc-arm.c (arm_elf_section_letter): Delete.
4342 * config/tc-arm.h (md_elf_section_letter): Delete.
4343 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4344 * testsuite/gas/arm/section-execute-only.d: Delete.
4345 * testsuite/gas/arm/section-execute-only.s: Delete.
4347 2016-02-04 Nick Clifton <nickc@redhat.com>
4350 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4351 to handle encoding of RRUX instruction.
4352 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4354 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4356 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4358 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4359 substitutions for BFD_RELOC_* as unsigned.
4360 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4361 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4362 * testsuite/gas/xtensa/loc.s: New file: loc test.
4364 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4366 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4368 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4371 * NEWS: Mention new command line option -mrelax-relocations and
4372 new configure option --enable-x86-relax-relocations for x86
4374 * config.in: Regenerated.
4375 * configure.ac: Add --enable-x86-relax-relocations.
4376 (ac_default_x86_relax_relocations): New. Default to 1 except
4377 for x86 Solaris targets older than Solaris 12.
4378 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4379 * configure: Likewise.
4380 * config/tc-i386.c (generate_relax_relocations): New.
4381 (OPTION_MRELAX_RELOCATIONS): Likewise.
4382 (output_disp): Don't generate relax relocations if
4383 generate_relax_relocations is 0.
4384 (md_longopts): Add -mrelax-relocations.
4385 (md_show_usage): Likewise.
4386 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4387 * doc/c-i386.texi: Document -mrelax-relocations=.
4388 * testsuite/gas/i386/got-no-relax.d: New file.
4389 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4390 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4391 * testsuite/gas/i386/localpic.d: Likewise.
4392 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4393 * testsuite/gas/i386/reloc32.d: Likewise.
4394 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4395 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4396 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4397 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4398 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4399 x86-64-gotpcrel-no-relax.
4401 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4403 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4406 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4408 * NEWS: Remove duplicated marker for 2.26.
4410 2016-02-02 Renlin Li <renlin.li@arm.com>
4412 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4414 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4416 * testsuite/gas/ip2k/allinsn.d: New file.
4417 * testsuite/gas/ip2k/allinsn.s: New file.
4418 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4420 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4422 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4423 some load instructions.
4424 * testsuite/gas/epiphany/allinsn.d: Likewise.
4425 * testsuite/gas/epiphany/regression.d: Likewise.
4427 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4429 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4430 suffixes from instruction mnemonics in expected output.
4431 * testsuite/gas/epiphany/allinsn.d: Likewise.
4432 * testsuite/gas/epiphany/regression.d: Likewise.
4433 * testsuite/gas/epiphany/sample.d: Likewise.
4435 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4437 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4439 * testsuite/gas/epiphany/allinsn.d: Likewise.
4440 * testsuite/gas/epiphany/sample.d: Likewise.
4442 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4444 * testsuite/gas/epiphany/sample.d: Update expected output.
4446 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4448 * config/tc-arc.c (md_apply_fix): Allow addendum.
4449 (arc_reloc_op): Allow complex expressions for tpoff.
4450 (md_apply_fix): Handle resolved TLS local symbol.
4451 * testsuite/gas/arc/tls-relocs1.d: New file.
4452 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4454 2016-02-01 Loria <Loria@phantasia.org>
4457 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4458 efficiency and avoid an LLVM loop optimization bug.
4460 2016-02-01 Nick Clifton <nickc@redhat.com>
4462 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4463 message extending a negative 32-bit value into a larger signed
4464 value on a 32-bit host.
4466 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4469 * configure.ac (compressed_debug_sections): Replace == with =.
4470 * configure: Regenerated.
4472 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4473 H.J. Lu <hongjiu.lu@intel.com>
4475 * config/tc-i386.c (avoid_fence): New.
4476 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4478 (OPTION_FENCE_AS_LOCK_ADD): New.
4479 (md_longopts): Add -mfence-as-lock-add.
4480 (md_parse_option): Handle -mfence-as-lock-add.
4481 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4482 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4483 * testsuite/gas/i386/i386.exp: Run new tests.
4484 * testsuite/gas/i386/fence-as-lock-add.s: New.
4485 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4486 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4487 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4488 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4490 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4492 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4493 * configure: Regenerated.
4495 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4497 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4498 (OPTION_MOMIT_LOCK_PREFIX): This.
4499 (md_longopts): Updated.
4500 (md_parse_option): Likewise.
4502 2016-01-25 Catherine Moore <clm@codesourcery.com>
4504 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4505 if abicalls are in effect.
4506 * testsuite/gas/mips/sdata-gp.s: New test.
4507 * testsuite/gas/mips/sdata-gp.d: New expected output
4508 * testsuite/gas/mips/mips.exp: Run new test.
4510 2016-01-25 Renlin Li <renlin.li@arm.com>
4512 * testsuite/gas/arm/thumb2_it_search.d: New.
4513 * testsuite/gas/arm/thumb2_it_search.s: New.
4515 2016-01-21 Nick Clifton <nickc@redhat.com>
4518 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4519 with arm-netbsdelf target.
4520 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4522 2016-01-20 Nick Clifton <nickc@redhat.com>
4525 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4526 * testsuite/gas/arm/blx-bl-convert.d
4527 * testsuite/gas/arm/plt-1.d: Likewise.
4528 * testsuite/gas/arm/reloc-bad.d: Likewise.
4529 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4530 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4531 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4532 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4535 * doc/as.texinfo (Errors): Correct documentation describing the
4536 interaction of .file and .line with warning and error messages.
4539 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4540 * testsuite/gas/arm/archv8m-main.d: Likewise.
4541 * testsuite/gas/arm/archv8m-base.d: Likewise.
4543 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4545 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4546 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4547 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4549 2016-01-20 Mickael Guene <mickael.guene@st.com>
4550 Terry Guo <terry.guo@arm.com>
4552 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4553 SHF_ARM_NOREAD section flag.
4554 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4556 (arm_elf_section_letter) : Declare it.
4557 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4558 SHF_ARM_NOREAD section flag.
4559 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4561 * testsuite/gas/arm/section-execute-only.s: New test case.
4562 * testsuite/gas/arm/section-execute-only.d: Expected output.
4564 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4566 * config/tc-mips.c (micromips_insn_length): Remove the mention
4567 of 48-bit microMIPS instructions.
4569 2016-01-18 Alan Modra <amodra@gmail.com>
4571 * configure: Regenerate.
4573 2016-01-17 Alan Modra <amodra@gmail.com>
4575 * configure: Regenerate.
4577 2016-01-17 Alan Modra <amodra@gmail.com>
4579 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4581 2016-01-14 Nick Clifton <nickc@redhat.com>
4583 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4584 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4585 * testsuite/gas/rl78/rl78.exp: Run the new test.
4587 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4589 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4590 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4592 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4594 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4596 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4598 * config/tc-h8300.c (get_operand): Remove spurious condition in
4599 test for closing parenthesis.
4601 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4603 * config/tc-arm.c (arm_ext_v8_2): New.
4605 * testsuite/gas/arm/armv8_2-a.d: New.
4606 * testsuite/gas/arm/armv8_2-a.s: New.
4608 2016-01-12 Alan Modra <amodra@gmail.com>
4610 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4612 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4614 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4615 xvcmpnesp, xvcmpnesp.>: Delete tests.
4616 * testsuite/gas/ppc/power9.s: Likewise.
4617 * testsuite/gas/ppc/vsx3.d: Likewise.
4618 * testsuite/gas/ppc/vsx3.s: Likewise.
4620 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4623 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4624 * testsuite/gas/m68k/p13050-1.s: New file.
4625 * testsuite/gas/m68k/p13050-2.d: New file.
4626 * testsuite/gas/m68k/p13050-2.s: New file.
4628 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4630 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4631 * testsuite/gas/arc/add.d: Likewise.
4632 * testsuite/gas/arc/and.d: Likewise.
4633 * testsuite/gas/arc/asl.d: Likewise.
4634 * testsuite/gas/arc/asr.d: Likewise.
4635 * testsuite/gas/arc/bic.d: Likewise.
4636 * testsuite/gas/arc/extb.d: Likewise.
4637 * testsuite/gas/arc/extw.d: Likewise.
4638 * testsuite/gas/arc/j.d: Likewise.
4639 * testsuite/gas/arc/jl.d: Likewise.
4640 * testsuite/gas/arc/ld2.d: Likewise.
4641 * testsuite/gas/arc/lsr.d: Likewise.
4642 * testsuite/gas/arc/mov.d: Likewise.
4643 * testsuite/gas/arc/or.d: Likewise.
4644 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4645 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4646 * testsuite/gas/arc/pic-relocs.d: Likewise.
4647 * testsuite/gas/arc/plt-relocs.d: Likewise.
4648 * testsuite/gas/arc/rlc.d: Likewise.
4649 * testsuite/gas/arc/ror.d: Likewise.
4650 * testsuite/gas/arc/rrc.d: Likewise.
4651 * testsuite/gas/arc/sbc.d: Likewise.
4652 * testsuite/gas/arc/sda-relocs.d: Likewise.
4653 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4654 * testsuite/gas/arc/sexb.d: Likewise.
4655 * testsuite/gas/arc/sexw.d: Likewise.
4656 * testsuite/gas/arc/st.d: Likewise.
4657 * testsuite/gas/arc/sub.d: Likewise.
4658 * testsuite/gas/arc/tls-relocs.d: Likewise.
4659 * testsuite/gas/arc/xor.d: Likewise.
4661 2016-01-01 Alan Modra <amodra@gmail.com>
4663 Update year range in copyright notice of all files.
4665 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4667 Copyright (C) 2016 Free Software Foundation, Inc.
4669 Copying and distribution of this file, with or without modification,
4670 are permitted in any medium without royalty provided the copyright
4671 notice and this notice are preserved.
4677 version-control: never