1 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
4 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
5 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
6 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
7 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
8 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
9 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
10 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
11 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
13 2016-10-08 Alan Modra <amodra@gmail.com>
15 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
16 config/rx-parse.y. Move config/bfin-parse.y.
17 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
18 ($(srcdir)/config/rl78-defs.h): New rule.
19 * Makefile.in: Regenerate.
21 2016-10-07 Jiong Wang <jiong.wang@arm.com>
24 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
26 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
28 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
30 * testsuite/gas/arc/leave_enter.d: New file.
31 * testsuite/gas/arc/leave_enter.s: Likewise.
32 * testsuite/gas/arc/regnames.d: Likewise.
33 * testsuite/gas/arc/regnames.s: Likewise.
34 * config/tc-arc.c (arc_parse_name): Don't match reg names against
35 confirmed symbol names.
37 2016-10-06 Alan Modra <amodra@gmail.com>
39 * app.c (do_scrub_chars): Move fall through comment.
40 * expr.c (operand): Likewise.
42 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
45 * dw2gencfi.c (dot_cfi_sections): Refine the check for
46 inconsistent .cfi_sections to only consider compact vs non
48 * testsuite/gas/cfi/cfi-common-9.d: New file.
49 * testsuite/gas/cfi/cfi-common-9.s: New file.
50 * testsuite/gas/cfi/cfi.exp: Run new test.
52 2016-10-06 Alan Modra <amodra@gmail.com>
54 * app.c: Add missing fall through comments.
55 * dw2gencfi.c: Likewise.
57 * config/tc-alpha.c: Likewise.
58 * config/tc-arc.c: Likewise.
59 * config/tc-arm.c: Likewise.
60 * config/tc-cr16.c: Likewise.
61 * config/tc-crx.c: Likewise.
62 * config/tc-dlx.c: Likewise.
63 * config/tc-h8300.c: Likewise.
64 * config/tc-hppa.c: Likewise.
65 * config/tc-i370.c: Likewise.
66 * config/tc-i386.c: Likewise.
67 * config/tc-i960.c: Likewise.
68 * config/tc-ia64.c: Likewise.
69 * config/tc-m68hc11.c: Likewise.
70 * config/tc-m68k.c: Likewise.
71 * config/tc-mep.c: Likewise.
72 * config/tc-metag.c: Likewise.
73 * config/tc-microblaze.c: Likewise.
74 * config/tc-mips.c: Likewise.
75 * config/tc-ns32k.c: Likewise.
76 * config/tc-rx.c: Likewise.
77 * config/tc-score.c: Likewise.
78 * config/tc-score7.c: Likewise.
79 * config/tc-sh.c: Likewise.
80 * config/tc-tic4x.c: Likewise.
81 * config/tc-vax.c: Likewise.
82 * config/tc-xstormy16.c: Likewise.
83 * config/tc-z80.c: Likewise.
84 * config/tc-z8k.c: Likewise.
85 * config/obj-elf.c: Likewise.
86 * config/tc-i386.c: Likewise.
87 * depend.c: Spell fall through comments consistently.
88 * config/tc-arm.c: Likewise.
89 * config/tc-d10v.c: Likewise.
90 * config/tc-i960.c: Likewise.
91 * config/tc-ia64.c: Likewise.
92 * config/tc-m68k.c: Likewise.
93 * config/tc-mcore.c: Likewise.
94 * config/tc-mep.c: Likewise.
95 * config/tc-ns32k.c: Likewise.
96 * config/tc-visium.c: Likewise.
97 * config/tc-xstormy16.c: Likewise.
98 * config/tc-z8k.c: Likewise.
100 2016-10-06 Alan Modra <amodra@gmail.com>
102 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
104 2016-10-06 Alan Modra <amodra@gmail.com>
106 * config/tc-arc.c (find_opcode_match): Add missing break.
107 * config/tc-i960.c (get_cdisp): Likewise.
108 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
109 * config/tc-mt.c (md_parse_option): Likewise.
110 * config/tc-nds32.c (nds32_apply_fix): Likewise.
111 * config/tc-hppa.c (pa_ip): Assert rather than testing last
112 condition of multiple if statements.
113 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
114 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
115 out of case rather than falling into next case. Formatting.
117 2016-10-06 Alan Modra <amodra@gmail.com>
119 * config/rl78-parse.y: Don't use deprecated %name-prefix.
120 * config/rx-parse.y: Likewise.
122 2016-09-29 Jiong Wang <jiong.wang@arm.com>
125 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
126 testcases for H and S variants. New low index testcases for D variant.
127 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
129 2016-09-29 Alan Modra <amodra@gmail.com>
131 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
132 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
133 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
135 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
137 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
140 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
142 * Makefile.in: Regenerate.
143 * configure: Likewise.
144 * doc/Makefile.in: Likewise.
146 2016-09-26 Alan Modra <amodra@gmail.com>
148 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
149 (md_pseudo_table <ELF>): Handle "gnu_attribute".
151 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
153 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
154 register and redundant basepri_max.
156 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
158 * config/tc-aarch64.c (print_operands): Print spaces between
160 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
162 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
163 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
164 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
165 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
166 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
167 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
168 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
169 * testsuite/gas/aarch64/sve.d: Likewise.
170 * testsuite/gas/aarch64/symbol.d: Likewise.
171 * testsuite/gas/aarch64/system.d: Likewise.
172 * testsuite/gas/aarch64/tls-desc.d: Likewise.
173 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
174 in suggested alternatives.
175 * testsuite/gas/aarch64/verbose-error.l: Likewise.
177 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
179 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
180 rather than "should be" or "expected to be" in error messages.
181 (parse_operands): Likewise.
182 * testsuite/gas/aarch64/diagnostic.l: Likewise.
183 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
184 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
185 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
187 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
189 * config/tc-aarch64.c (opcode_lookup): Search for the end of
190 a condition name, rather than assuming that it will have exactly
192 (parse_operands): Likewise.
193 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
194 to the expected output.
195 * testsuite/gas/aarch64/beq_1.d: Likewise.
196 * testsuite/gas/aarch64/float-fp16.d: Likewise.
197 * testsuite/gas/aarch64/int-insns.d: Likewise.
198 * testsuite/gas/aarch64/no-aliases.d: Likewise.
199 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
200 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
201 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
204 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
206 * testsuite/gas/aarch64/diagnostic.s,
207 testsuite/gas/aarch64/diagnostic.l: Add tests for
208 invalid uses of MUL VL and MUL in base AArch64 instructions.
209 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
210 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
211 testsuite/gas/aarch64/sve-invalid.s,
212 testsuite/gas/aarch64/sve-invalid.d,
213 testsuite/gas/aarch64/sve-invalid.l,
214 testsuite/gas/aarch64/sve-reg-diagnostic.s,
215 testsuite/gas/aarch64/sve-reg-diagnostic.d,
216 testsuite/gas/aarch64/sve-reg-diagnostic.l,
217 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
219 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
221 * doc/c-aarch64.texi: Document the "sve" feature.
222 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
223 (get_reg_expected_msg): Handle it.
224 (parse_operands): When parsing operands of an SVE instruction,
225 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
226 (aarch64_features): Add an entry for SVE.
228 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
230 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
231 and FP register operands.
233 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
235 * config/tc-aarch64.c (double_precision_operand_p): New function.
236 (parse_operands): Use it to calculate the dp_p input to
237 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
239 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
241 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
244 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
246 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
248 (parse_shift): Handle SHIFTED_MUL_VL.
249 (parse_address_main): Add an imm_shift_mode parameter.
250 (parse_address, parse_sve_address): Update accordingly.
251 (parse_operands): Handle MUL VL addressing modes.
253 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
255 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
257 (get_reg_expected_msg): Handle them.
258 (aarch64_addr_reg_parse): New function, split out from
259 aarch64_reg_parse_32_64. Handle Z registers too.
260 (aarch64_reg_parse_32_64): Call it.
261 (parse_address_main): Add base_qualifier, offset_qualifier,
262 base_type and offset_type parameters. Handle SVE base and offset
264 (parse_address): Update call to parse_address_main.
265 (parse_sve_address): New function.
266 (parse_operands): Parse the new SVE address operands.
268 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
270 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
271 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
272 shift modes. Skip range tests for AARCH64_MOD_MUL.
273 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
274 (parse_operands): Likewise.
276 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
278 * config/tc-aarch64.c (parse_enum_string): New function.
279 (po_enum_or_fail): New macro.
280 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
281 AARCH64_OPND_SVE_PRFOP.
283 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
285 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
286 (parse_vector_type_for_operand): Assert that the skipped character
288 (parse_predication_for_operand): New function.
289 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
290 (vectype_to_qualifier): Handle NT_zero and NT_merge.
292 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
294 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
295 (AARCH64_REG_TYPES): Add ZN and PN.
296 (get_reg_expected_msg): Handle them.
297 (parse_vector_type_for_operand): Add a reg_type parameter.
298 Skip the width for Zn and Pn registers.
299 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
300 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
301 expecting the width to be 0.
302 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
304 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
305 (parse_operands): Handle the new Zn and Pn operands.
306 (REGSET16): New macro, split out from...
308 (reg_names): Add Zn and Pn entries.
310 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
312 * config/tc-aarch64.c (output_operand_error_record): Handle
313 AARCH64_OPDE_UNTIED_OPERAND.
315 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
317 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
318 instruction with all-NIL qualifiers to fail to match.
320 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
322 * config/tc-aarch64.c (parse_address_main): Remove reloc and
323 accept_reg_post_index parameters. Parse relocations and register
324 post indexes unconditionally.
325 (parse_address): Remove accept_reg_post_index parameter.
326 Update call to parse_address_main.
327 (parse_address_reloc): Delete.
328 (parse_operands): Call parse_address instead of parse_address_main.
329 Update existing callers of parse_address and make them check
330 inst.reloc.type where appropriate.
331 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
332 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
333 Also test for invalid uses of post-index register addressing.
334 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
336 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
338 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
340 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
341 (aarch64_check_reg_type): Simplify.
342 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
343 register number. Return the type as a qualifier rather than an
344 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
346 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
347 Use get_reg_expected_msg.
348 (parse_address_main): Likewise. Use aarch64_check_reg_type.
349 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
350 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
351 Use aarch64_check_reg_type to test the result.
352 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
353 addresses normally before enforcing the syntax restrictions.
354 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
355 zero register and for a stack pointer index.
356 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
357 Also update existing diagnostic messages after the above changes.
358 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
359 for 32-bit register bases.
361 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
363 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
364 (parse_operands): Check the range of 8-bit FP immediates here instead.
366 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
368 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
369 low-severity error for registers.
370 (parse_operands): Report an invalid floating point constant for
371 if parsing an FPIMM8 fails, and if no better error has been
373 * testsuite/gas/aarch64/diagnostic.s,
374 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
377 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
379 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
381 (can_convert_double_to_float): ...this. Accept any double-precision
382 value that converts to single precision without loss of precision.
383 (parse_aarch64_imm_float): Update accordingly.
385 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
387 * config/tc-aarch64.c (parse_immediate_expression): Add a
389 (parse_constant_immediate): Likewise, and update calls.
390 (parse_aarch64_imm_float): Likewise.
391 (parse_big_immediate): Likewise.
392 (po_imm_nc_or_fail): Update accordingly, passing down a new
393 imm_reg_type variable.
394 (po_imm_of_fail): Likewise.
395 (parse_operands): Likewise.
397 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
399 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
400 (parse_vector_reg_list): ...this and take a register type
402 (parse_operands): Update accordingly.
404 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
406 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
407 (parse_vector_type_for_operand): ...this.
408 (parse_typed_reg): Update accordingly.
410 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
412 * config/tc-aarch64.c (neon_type_el): Rename to...
413 (vector_type_el): ...this.
414 (parse_neon_type_for_operand): Update accordingly.
415 (parse_typed_reg): Likewise.
416 (aarch64_reg_parse): Likewise.
417 (vectype_to_qualifier): Likewise.
418 (parse_operands): Likewise.
419 (eq_neon_type_el): Likewise. Rename to...
420 (eq_vector_type_el): ...this.
421 (parse_neon_reg_list): Update accordingly.
423 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
425 * config/tc-aarch64.c (neon_el_type: Rename to...
426 (vector_el_type): ...this.
427 (neon_type_el): Update accordingly.
428 (parse_neon_type_for_operand): Likewise.
429 (vectype_to_qualifier): Likewise.
431 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
433 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
434 (parse_typed_reg): Call parse_neon_type_for_operand directly.
436 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
438 * testsuite/gas/arc/textinsnxop.d: New file.
439 * testsuite/gas/arc/textinsnxop.s: Likewise.
441 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
443 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
444 dcti-couples-v9 only in ELF targets to avoid spurious failures in
445 sparc-aout and sparc-coff targets.
447 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
449 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
450 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
451 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
452 <copy, paste.>: Update tests.
453 * testsuite/gas/ppc/power9.s: Likewise.
455 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
457 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
458 in "architecture mismatch" error messages.
460 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
462 * config/tc-sparc.c (md_assemble): Detect and warning on
463 unpredictable DCTI couples in certain arches.
464 (dcti_couples_detect): New global.
465 (md_longopts): Add command line option -dcti-couples-detect.
466 (md_show_usage): Document -dcti-couples-detect.
467 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
468 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
469 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
470 * testsuite/gas/sparc/dcti-couples.s: New file.
471 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
472 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
473 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
474 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
475 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
476 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
477 * doc/c-sparc.texi (Sparc-Opts): Likewise.
479 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
481 * testsuite/gas/arc/tls-relocs2.d: New file.
482 * testsuite/gas/arc/tls-relocs2.s: Likewise.
483 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
486 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
488 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
490 * doc/as.texinfo: Document new arch strings.
491 * doc/c-s390.texi: Likewise.
493 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
495 * config/tc-s390.c: Set all facitily bits by default
497 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
499 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
501 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
503 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
506 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
508 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
509 (set_cpu_arch): Updated.
510 (md_parse_option): Likewise.
511 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
512 iamcu-inval-2 and iamcu-inval-3.
513 * testsuite/gas/i386/iamcu-4.d: New file.
514 * testsuite/gas/i386/iamcu-4.s: Likewise.
515 * testsuite/gas/i386/iamcu-5.d: Likewise.
516 * testsuite/gas/i386/iamcu-5.s: Likewise.
517 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
518 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
519 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
520 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
522 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
524 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
525 ARMv8-A CPUs except xgene1.
527 2016-08-31 Alan Modra <amodra@gmail.com>
529 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
530 ppc_cpu rather than calling ppc_mach to determine VLE mode.
531 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
533 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
535 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
537 * testsuite/gas/sparc/crypto.s: Likewise.
539 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
541 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
542 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
543 their lowecase counterpart special registers. Write register
545 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
546 operation, special register and then case. Use different register for
547 each operation. Add tests for new special registers.
548 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
550 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
551 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
553 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
555 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
557 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
559 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
560 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
561 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
563 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
565 * config/tc-i386.c (cpu_arch): Add .ptwrite.
566 * doc/c-i386.texi: Document ptwrite and .ptwrite.
567 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
568 x86-64-ptwrite and x86-64-ptwrite-intel.
569 * testsuite/gas/i386/ptwrite-intel.d: New file.
570 * testsuite/gas/i386/ptwrite.d: Likewise.
571 * testsuite/gas/i386/ptwrite.s: Likewise.
572 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
573 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
574 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
576 2016-08-19 Tamar Christina <tamar.christina@arm.com>
578 * config/tc-arm.c (do_co_reg2c): Added constraint.
579 * testsuite/gas/arm/dest-unpredictable.s: New.
580 * testsuite/gas/arm/dest-unpredictable.l: New.
581 * testsuite/gas/arm/dest-unpredictable.d: New.
583 2016-08-19 Nick Clifton <nickc@redhat.com>
585 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
586 ordering of sections.
587 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
588 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
589 * testsuite/gas/ia64/alias.d: Likewise.
590 * testsuite/gas/ia64/group-1.d: Likewise.
591 * testsuite/gas/ia64/group-2.d: Likewise.
592 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
593 * testsuite/gas/ia64/secname.d: Likewise.
594 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
595 * testsuite/gas/ia64/unwind.d: Likewise.
596 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
597 * testsuite/gas/ia64/xdata.d: Likewise.
598 * testsuite/gas/mmix/bspec-1.d: Likewise.
599 * testsuite/gas/mmix/bspec-2.d: Likewise.
600 * testsuite/gas/mmix/byte-1.d: Likewise.
601 * testsuite/gas/mmix/loc-1.d: Likewise.
602 * testsuite/gas/mmix/loc-2.d: Likewise.
603 * testsuite/gas/mmix/loc-3.d: Likewise.
604 * testsuite/gas/mmix/loc-4.d: Likewise.
605 * testsuite/gas/mmix/loc-5.d: Likewise.
606 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
608 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
610 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
611 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
612 Add tests for -0.0. Add an end-of-file comment.
614 2016-08-05 Nick Clifton <nickc@redhat.com>
617 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
618 registers are pushed.
619 (do_vfp_nsyn_pop): Check that no more than 16 registers are
621 * testsuite/gas/arm/pr20429.s: New test.
622 * testsuite/gas/arm/pr20429.d: New test driver.
623 * testsuite/gas/arm/pr20429.1: Expected error output.
626 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
628 (aarch64_init): Treat rs_align frags in code sections as
629 containing code, not data.
630 * testsuite/gas/aarch64/pr20364.s: New test.
631 * testsuite/gas/aarch64/pr20364.d: New test driver.
633 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
636 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
637 of 64-bit relocation types when assembling for a 32-bit Solaris
640 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
642 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
644 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
645 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
646 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
647 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
649 (sparc_elf_setup): Delete.
650 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
653 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
655 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
656 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
657 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
658 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
659 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
660 (get_append_method): Also return APPEND_ADD_COMPACT for
661 microMIPS instructions.
662 (find_altered_mips16_opcode): Exclude macros from matching.
664 (find_altered_opcode): ... to this new function.
665 (find_altered_micromips_opcode): New function.
666 (frag_branch_delay_slot_size): Likewise.
667 (append_insn): Handle microMIPS branch/jump compaction.
668 (macro_start): Likewise.
669 (relaxed_micromips_32bit_branch_length): Likewise.
670 (md_convert_frag): Likewise.
671 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
672 for delay slot filling.
673 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
675 * testsuite/gas/mips/micromips-size-1.s: Likewise.
676 * testsuite/gas/mips/micromips.l: Adjust line numbers.
677 * testsuite/gas/mips/micromips-warn.l: Likewise.
678 * testsuite/gas/mips/micromips-size-1.l: Likewise.
679 * testsuite/gas/mips/micromips.d: Adjust padding.
680 * testsuite/gas/mips/micromips-trap.d: Likewise.
681 * testsuite/gas/mips/micromips-insn32.d: Likewise.
682 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
683 * testsuite/gas/mips/micromips@beq.d: Update patterns for
684 branch/jump compaction.
685 * testsuite/gas/mips/micromips@bge.d: Likewise.
686 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
687 * testsuite/gas/mips/micromips@blt.d: Likewise.
688 * testsuite/gas/mips/micromips@bltu.d: Likewise.
689 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
690 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
691 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
692 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
693 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
694 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
695 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
696 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
698 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
700 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
701 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
702 * testsuite/gas/mips/micromips@relax.d: Likewise.
703 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
704 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
705 * testsuite/gas/mips/branch-extern-2.d: Likewise.
706 * testsuite/gas/mips/branch-extern-4.d: Likewise.
707 * testsuite/gas/mips/branch-section-2.d: Likewise.
708 * testsuite/gas/mips/branch-section-4.d: Likewise.
709 * testsuite/gas/mips/branch-weak-2.d: Likewise.
710 * testsuite/gas/mips/branch-weak-5.d: Likewise.
711 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
712 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
713 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
714 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
716 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
718 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
720 * testsuite/gas/mips/micromips-compact.d: New test.
721 * testsuite/gas/mips/mips.exp: Run the new test.
723 2016-07-27 Graham Markall <graham.markall@embecosm.com>
725 * config/tc-arc.c: Add new global arc_addrtype_hash.
726 Define O_colon and O_addrtype.
727 (debug_exp): Add O_colon and O_addrtype.
728 (tokenize_arguments): Handle colon and address type
730 (declare_addrtype): New function.
731 (md_begin): Initialise arc_addrtype_hash.
732 (arc_parse_name): Add lookup of address types.
733 (assemble_insn): Handle colons and address types by
735 * testsuite/gas/arc/nps400-8.s: New file.
736 * testsuite/gas/arc/nps400-8.d: New file.
737 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
738 * testsuite/gas/arc/nps400-8.d: Add expected PMU
741 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
743 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
744 (RELAX_MICROMIPS_INSN32): New macro.
745 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
746 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
747 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
748 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
749 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
751 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
753 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
755 (md_convert_frag): Likewise.
756 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
758 * testsuite/gas/mips/micromips-branch-relax.l: Update line
760 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
761 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
762 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
764 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
766 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
768 * testsuite/gas/mips/mips.exp: Run the new tests.
770 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
772 * configure: Regenerated.
774 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
776 * testsuite/gas/arc/dsp.d: New file.
777 * testsuite/gas/arc/dsp.s: Likewise.
778 * testsuite/gas/arc/fpu.d: Likewise.
779 * testsuite/gas/arc/fpu.s: Likewise.
780 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
781 * testsuite/gas/arc/ext3op.d: Likewise.
782 * testsuite/gas/arc/tdpfp.d: Likewise.
783 * testsuite/gas/arc/tfpuda.d: Likewise.
785 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
787 * config/tc-mips.c (mips_force_relocation): Remove
788 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
790 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
792 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
793 Adjust comments for BAL to JALX linker conversion.
794 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
795 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
797 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
798 * testsuite/gas/mips/branch-local-4.d: New test.
799 * testsuite/gas/mips/branch-local-n32-4.d: New test.
800 * testsuite/gas/mips/branch-local-n64-4.d: New test.
801 * testsuite/gas/mips/branch-addend.d: New test.
802 * testsuite/gas/mips/branch-addend-n32.d: New test.
803 * testsuite/gas/mips/branch-addend-n64.d: New test.
804 * testsuite/gas/mips/branch-local-4.s: New test source.
805 * testsuite/gas/mips/branch-addend.s: New test source.
806 * testsuite/gas/mips/mips.exp: Run the new tests.
808 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
810 * config/tc-mips.c (mips_force_relocation): Also retain branch
811 relocations against MIPS16 and microMIPS symbols.
812 (fix_bad_cross_mode_jump_p): New function.
813 (fix_bad_same_mode_jalx_p): Likewise.
814 (fix_bad_misaligned_jump_p): Likewise.
815 (fix_bad_cross_mode_branch_p): Likewise.
816 (fix_bad_misaligned_branch_p): Likewise.
817 (fix_validate_branch): Likewise.
818 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
819 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
820 etc. Verify the ISA mode and alignment of the jump target.
821 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
822 with a call to `fix_validate_branch'.
823 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
824 <BFD_RELOC_16_PCREL_S2>: Likewise.
825 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
826 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
827 Verify the ISA mode and alignment of the branch target.
828 (md_convert_frag): Verify the ISA mode and alignment of resolved
829 MIPS16 branch targets.
830 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
831 branch targets with `.insn'.
832 * testsuite/gas/mips/branch-misc-5.s: Likewise.
833 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
835 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
836 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
837 non-instruction branch target with `.insn'.
838 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
839 with external symbols.
840 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
841 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
842 * testsuite/gas/mips/micromips-trap.d: Likewise.
843 * testsuite/gas/mips/micromips.d: Likewise.
844 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
845 targets with `.insn'.
846 * testsuite/gas/mips/mips16.d: Update accordingly.
847 * testsuite/gas/mips/mips16-64.d: Likewise.
848 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
849 branch target with `.insn'.
850 * testsuite/gas/mips/relax-swap3.s: Likewise.
851 * testsuite/gas/mips/branch-local-2.l: New list test.
852 * testsuite/gas/mips/branch-local-3.l: New list test.
853 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
854 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
855 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
856 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
857 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
858 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
859 * testsuite/gas/mips/unaligned-jump-3.d: New test.
860 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
861 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
862 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
863 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
865 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
867 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
868 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
869 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
870 * testsuite/gas/mips/unaligned-branch-3.d: New test.
871 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
872 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
873 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
874 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
875 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
876 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
877 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
878 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
879 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
880 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
882 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
884 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
885 * testsuite/gas/mips/branch-local-2.s: New test source.
886 * testsuite/gas/mips/branch-local-3.s: New test source.
887 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
888 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
889 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
890 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
891 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
892 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
893 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
894 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
895 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
897 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
899 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
900 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
901 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
902 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
903 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
904 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
905 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
907 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
909 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
911 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
913 * testsuite/gas/mips/mips.exp: Run the new tests.
915 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
917 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
919 (do_pseudo_b): Adjust.
920 (do_pseudo_bal): Likewise.
921 (do_pseudo_bge): Likewise.
922 (do_pseudo_bges): Likewise.
923 (do_pseudo_bgt): Likewise.
924 (do_pseudo_bgts): Likewise.
925 (do_pseudo_ble): Likewise.
926 (do_pseudo_bles): Likewise.
927 (do_pseudo_blt): Likewise.
928 (do_pseudo_blts): Likewise.
929 (do_pseudo_br): Likewise.
930 (do_pseudo_bral): Likewise.
931 (do_pseudo_la): Likewise.
932 (do_pseudo_li): Likewise.
933 (do_pseudo_ls_bhw): Likewise.
934 (do_pseudo_ls_bhwp): Likewise.
935 (do_pseudo_ls_bhwpc): Likewise.
936 (do_pseudo_ls_bhwi): Likewise.
937 (do_pseudo_move): Likewise.
938 (do_pseudo_neg): Likewise.
939 (do_pseudo_not): Likewise.
940 (do_pseudo_pushpopm): Likewise.
941 (do_pseudo_pushpop): Likewise.
942 (do_pseudo_v3push): Likewise.
943 (do_pseudo_v3pop): Likewise.
944 (do_pseudo_pushpop_stack): Likewise.
945 (do_pseudo_push_bhwd): Likewise.
946 (do_pseudo_pop_bhwd): Likewise.
947 (do_pseudo_pusha): Likewise.
948 (do_pseudo_pushi): Likewise.
950 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
952 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
953 bfd_reloc_code_real_type.
955 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
957 * config/tc-sparc.c (pop_table): Remove sentinel.
958 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
961 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
963 * config/tc-z8k.c (newfix): Make type of type argument
964 bfd_reloc_code_real_type.
965 (apply_fix): Likewise.
967 2016-07-16 Alan Modra <amodra@gmail.com>
969 * config/tc-epiphany.c: Don't include libbfd.h.
970 * config/tc-frv.c: Likewise.
971 * config/tc-ip2k.c: Likewise.
972 * config/tc-iq2000.c: Likewise.
973 * config/tc-m32c.c: Likewise.
974 * config/tc-mep.c: Likewise.
975 * config/tc-mt.c: Likewise.
976 * config/tc-nios2.c: Likewise.
978 2016-07-16 Alan Modra <amodra@gmail.com>
980 * config/bfin-parse.y: Don't include libbfd.h.
981 * config/tc-bfin.c: Likewise.
982 * config/tc-rl78.c: Likewise.
983 * config/tc-rx.c: Likewise.
984 * config/tc-metag.c: Likewise.
985 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
986 * Makefile.am: Update dependencies.
987 * Makefile.in: Regenerate.
989 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
991 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
992 (mips_force_relocation_abs): New prototype.
993 * config/tc-mips.c (mips_force_relocation_abs): New function.
994 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
995 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
996 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
997 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
998 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1000 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1002 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1003 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1004 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1006 * testsuite/gas/mips/mips.exp: Run the new tests.
1008 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1010 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1011 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1012 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1014 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1015 in `bar', export `foo'.
1016 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1018 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1019 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1020 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1022 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1025 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1027 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1028 * testsuite/gas/mips/branch-absolute.d: New test.
1029 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1030 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1031 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1032 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1033 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1034 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1035 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1037 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1039 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1040 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1041 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1042 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1044 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1046 * testsuite/gas/mips/branch-absolute.s: New test source.
1047 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1048 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1050 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1052 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1054 * testsuite/gas/mips/mips.exp: Run the new tests.
1056 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1058 * testsuite/gas/mips/nal-1.d: New test.
1059 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1060 * testsuite/gas/mips/nal-2.d: New test.
1061 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1062 * testsuite/gas/mips/nal.s: New test source.
1063 * testsuite/gas/mips/mips.exp: Run the new tests.
1065 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1067 * testsuite/gas/sparc/ldtxa.s: New file.
1068 * testsuite/gas/sparc/ldtxa.d: Likewise.
1069 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1071 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1073 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1074 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1075 as it is no longer needed.
1077 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1079 * config/tc-mips.c (append_insn): Remove extraneous
1080 `install_insn' call.
1082 2016-07-04 Jan Beulich <jbeulich@suse.com>
1084 * config/tc-i386.c (check_qword_reg): Correct register kind
1086 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1087 16-bit register cases.
1088 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1091 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1093 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1094 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1095 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1096 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1097 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1098 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1100 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1101 * testsuite/gas/mips/bge.d: Likewise.
1102 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1103 * testsuite/gas/mips/bgeu.d: Likewise.
1104 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1105 * testsuite/gas/mips/blt.d: Likewise.
1106 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1107 * testsuite/gas/mips/bltu.d: Likewise.
1108 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1109 * testsuite/gas/mips/branch-likely.d: Likewise.
1110 * testsuite/gas/mips/la.d: Likewise.
1111 * testsuite/gas/mips/lb.d: Likewise.
1112 * testsuite/gas/mips/lifloat.d: Likewise.
1113 * testsuite/gas/mips/sb.d: Likewise.
1114 * testsuite/gas/mips/uld.d: Likewise.
1115 * testsuite/gas/mips/ulh.d: Likewise.
1116 * testsuite/gas/mips/ulw.d: Likewise.
1117 * testsuite/gas/mips/usd.d: Likewise.
1118 * testsuite/gas/mips/ush.d: Likewise.
1119 * testsuite/gas/mips/usw.d: Likewise.
1121 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1123 * testsuite/gas/mips/branch-misc-2.s: Move non
1124 locally-defined-global symbol tests...
1125 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1126 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1127 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1128 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1129 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1130 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1131 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1132 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1133 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1134 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1135 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1136 * testsuite/gas/mips/branch-misc-5.d: New test.
1137 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1138 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1139 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1140 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1141 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1142 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1143 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1144 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1145 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1146 * testsuite/gas/mips/mips.exp: Run the new tests.
1148 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1150 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1152 * testsuite/gas/mips/beq.d: Update accordingly.
1153 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1154 * testsuite/gas/mips/micromips@beq.d: Likewise.
1156 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1158 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1159 tests to NewABI targets.
1161 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1163 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1166 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1168 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1170 (aarch64_features): Initialize require fields.
1171 (aarch64_parse_features): Handle dependencies.
1172 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1173 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1174 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1175 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1176 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1178 2016-07-01 Nick Clifton <nickc@redhat.com>
1180 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1181 extremely large integer.
1183 2016-07-01 Jan Beulich <jbeulich@suse.com>
1185 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1187 2016-07-01 Tristan Gingold <gingold@adacore.com>
1189 * NEWS: Add marker for 2.27.
1191 2016-07-01 Jan Beulich <jbeulich@suse.com>
1193 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1195 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1196 as well as scaling by other than 1 tests.
1197 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1199 2016-07-01 Jan Beulich <jbeulich@suse.com>
1201 * tc-i386.c (md_assemble): Alter address size checking for MPX
1203 * testsuite/gas/i386/mpx-inval-2.s: New.
1204 * testsuite/gas/i386/mpx-inval-2.l: New.
1205 * testsuite/gas/i386/i386.exp: Run new test.
1207 2016-07-01 Jan Beulich <jbeulich@suse.com>
1210 * config/tc-i386.c (match_template): Add char parameter,
1211 consumed in Intel mode for an extra suffix check.
1212 (md_assemble): New local variable mnem_suffix.
1213 * testsuite/gas/i386/suffix-bad.s: New.
1214 * testsuite/gas/i386/suffix-bad.l: New.
1215 * testsuite/gas/i386/i386.exp: Run new test (twice).
1217 2016-07-01 Jan Beulich <jbeulich@suse.com>
1219 * testsuite/gas/i386/movz.s: New.
1220 * testsuite/gas/i386/movz32.d: New.
1221 * testsuite/gas/i386/movz64.d: New.
1222 * testsuite/gas/i386/i386.exp: Run new tests.
1224 2016-07-01 Jan Beulich <jbeulich@suse.com>
1226 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1227 (md_assemble): Free first memory operand string.
1228 (i386_index_check): Use repprefixok to distingush xlat from
1229 other (real) string ops.
1230 (maybe_adjust_templates): New.
1231 (i386_att_operand). Call it. Store first memory operand string.
1232 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1233 * testsuite/gas/i386/intel-movs.s: New.
1234 * testsuite/gas/i386/intel-movs32.d: New.
1235 * testsuite/gas/i386/intel-movs64.d: New.
1236 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1237 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1239 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1241 * config/tc-mips.c (get_append_method): Fix a comment typo.
1243 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1244 Maciej W. Rozycki <macro@imgtec.com>
1246 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1247 case MIPS16 handling.
1248 * testsuite/gas/mips/branch-swap-3.d: New test.
1249 * testsuite/gas/mips/branch-swap-4.d: New test.
1250 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1251 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1252 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1253 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1254 * testsuite/gas/mips/branch-swap-3.s: New test source.
1255 * testsuite/gas/mips/mips.exp: Run the new tests.
1257 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1259 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1262 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1265 * write.c (subsegs_finish_section): Force no section padding to
1266 alignment on failed assembly, always set last frag's alignment
1268 * testsuite/gas/all/pr20312.l: New list test.
1269 * testsuite/gas/all/pr20312.s: New test source.
1270 * testsuite/gas/all/gas.exp: Run the new test
1272 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1274 * config.in (TARGET_WITH_CPU): Undefine.
1275 * configure.ac: Add --with-cpu support, and define in config.h.
1276 * configure: Regenerate.
1277 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1278 * NEWS: Mention new configure option.
1280 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1282 * testsuite/gas/arm/armv8_2+rdma.d: New.
1284 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1286 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1287 default for Linux/x86 targets.
1288 * configure.tgt (ac_default_compressed_debug_sections): Default
1289 to yes for Linux/x86 targets.
1291 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1293 * write.c: Remove "libbfd.h" inclusion.
1295 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1297 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1300 2016-06-28 Alan Modra <amodra@gmail.com>
1303 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1305 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1307 * testsuite/gas/aarch64/diagnostic.s,
1308 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1310 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1312 * config/tc-mips.c (mips16_reloc_p): Handle
1313 BFD_RELOC_MIPS16_16_PCREL_S1.
1314 (b_reloc_p): Likewise.
1315 (limited_pcrel_reloc_p): Likewise.
1316 (md_pcrel_from): Likewise.
1317 (md_apply_fix): Likewise.
1318 (tc_gen_reloc): Likewise.
1319 (md_convert_frag): Likewise.
1320 (mips_fix_adjustable): Update comment.
1321 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1322 output, add dump patterns.
1323 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1324 output, add dump patterns.
1325 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1326 output, add dump patterns.
1327 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1328 output, add dump patterns.
1329 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1330 output, add dump patterns.
1331 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1332 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1333 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1334 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1335 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1336 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1337 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1338 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1339 * testsuite/gas/mips/branch-weak-6.d: New test.
1340 * testsuite/gas/mips/branch-weak-7.d: New test.
1341 * testsuite/gas/mips/mips.exp: Run the new tests.
1343 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1345 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1346 cfi_add_CFA_def_cfa to generate default CFA with offset
1347 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1349 2016-06-27 Nick Clifton <nickc@redhat.com>
1352 * as.h (do_not_pad_sections_to_alignment): New global variable.
1353 * as.c (show_usage): Add --no-pad-sections.
1354 (parse_args): Likewise.
1355 * write.c (size_seg): Skip padding the end of the section if
1356 requested from the command line.
1357 (SUB_SEGMENT_ALIGN): Likewise.
1358 * doc/as.texinfo: Document the new option.
1359 * NEWS: Mention the new feature.
1360 * testsuite/gas/elf/section11.s: New test.
1361 * testsuite/gas/elf/section11.d: New test driver.
1362 * testsuite/gas/elf/elf.exp: Run the new test.
1364 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1366 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1367 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1369 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1371 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1373 (map_suffix_reloc_to_operator): Likewise.
1374 (map_operator_to_reloc): Likewise.
1376 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1378 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1379 element in relax_table.
1381 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1383 * config/tc-aarch64.c: Make the type of reg_entry::type
1386 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1388 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1389 (md_parse_option): Adjust.
1390 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1391 with iteration from 0 to ARRAY_SIZE.
1392 * config/tc-mcore.c (md_begin): Likewise.
1393 * config/tc-visium.c (visium_parse_arch): Likewise.
1395 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1397 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1398 and simplify accordingly.
1399 (tic54x_include): Adjust.
1400 (tic54x_mlib): Likewise.
1402 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1404 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1406 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1408 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1409 unchanged with relaxed MIPS16 instructions.
1410 (mips16_extended_frag): Adjust accordingly. Return 1 right
1411 away if a relocation will be required for the symbol requested.
1412 Remove dead first relaxation pass code.
1413 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1414 (md_convert_frag): Adjust symbol value calculation. Raise an
1415 error if a relocation is required for the symbol requested.
1416 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1418 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1419 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1420 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1421 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1422 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1423 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1424 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1425 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1426 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1427 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1428 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1429 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1430 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1431 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1432 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1433 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1434 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1435 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1436 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1437 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1438 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1439 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1440 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1441 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1442 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1443 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1444 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1445 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1446 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1447 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1448 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1449 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1450 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1451 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1452 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1453 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1454 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1455 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1456 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1457 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1458 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1459 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1460 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1461 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1462 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1463 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1464 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1465 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1466 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1467 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1468 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1469 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1470 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1471 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1472 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1473 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1474 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1475 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1476 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1477 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1478 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1479 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1480 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1481 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1482 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1483 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1484 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1485 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1486 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1487 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1488 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1489 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1490 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1491 * testsuite/gas/mips/mips.exp: Run the new tests.
1493 2016-06-24 Alan Modra <amodra@gmail.com>
1495 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1497 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1499 * config/tc-mips.c (b_reloc_p): New function.
1500 (mips_fix_adjustable): Also keep the original microMIPS symbol
1501 referred from branch relocations.
1502 * testsuite/gas/mips/branch-local-1.d: New test.
1503 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1504 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1505 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1507 * testsuite/gas/mips/branch-local-1.s: New test source.
1508 * testsuite/gas/mips/mips.exp: Run the new cases.
1510 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1512 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1513 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1514 options. Correct erroneous enabling of SPFP instructions when
1517 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1519 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1520 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1521 setbool, xor3>: New tests.
1522 * testsuite/gas/ppc/power9.s: Likewise.
1524 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1526 * config/tc-xtensa.c: Include elf/xtensa.h.
1528 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1530 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1531 <BFD_RELOC_LO16_PCREL>: New switch cases.
1532 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1533 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1534 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1535 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1537 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1538 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1539 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1540 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1541 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1542 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1543 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1544 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1545 * testsuite/gas/mips/mips.exp: Run the new tests.
1547 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1549 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1550 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1551 via `fixP->fx_addsy'.
1553 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1555 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1556 Calculate relocation from the containing aligned doubleword.
1557 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1558 addend from the containing aligned doubleword.
1560 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1562 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1563 rather than `mips_opts' for the R6 ISA check.
1564 (mips_fix_adjustable): Likewise.
1565 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1566 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1567 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1568 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1569 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1570 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1571 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1572 * testsuite/gas/mips/mips.exp: Run the new tests.
1574 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1576 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1577 Add nps400 option and feature. Add check for nps400
1578 feature. Refactor existing checks to check subclass before
1580 (md_show_usage): Document flags for NPS-400 and add some other
1582 (cpu_type): Remove nps400 CPU type entry
1583 (check_zol): Remove bfd_mach_arc_nps400 case.
1584 (md_show_usage): Add help on -mcpu=nps400.
1585 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1587 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1588 -fpuda flags. Document -mcpu=nps400.
1589 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1590 expected flags to match ARC700 instead of NPS400.
1591 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1592 * testsuite/gas/arc/nps-400-2.d: Likewise.
1593 * testsuite/gas/arc/nps-400-3.d: Likewise.
1594 * testsuite/gas/arc/nps-400-4.d: Likewise.
1595 * testsuite/gas/arc/nps-400-5.d: Likewise.
1596 * testsuite/gas/arc/nps-400-6.d: Likewise.
1597 * testsuite/gas/arc/nps-400-7.d: Likewise.
1598 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1599 avoid clash with cbba instruction.
1600 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1601 * testsuite/gas/arc/textinsn3op.d: Likewise.
1602 * testsuite/gas/arc/textinsn3op.s: Likewise.
1603 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1604 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1606 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1608 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1609 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1611 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1613 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1616 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1618 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1620 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1622 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1623 %hmcddfr and %hva_mask_nz.
1624 (sparc_ip): New handling of asr/privileged/hyperprivileged
1625 registers, adapted to the new form of the sparc opcodes table.
1626 * testsuite/gas/sparc/rdasr.s: New file.
1627 * testsuite/gas/sparc/rdasr.d: Likewise.
1628 * testsuite/gas/sparc/wrasr.s: Likewise.
1629 * testsuite/gas/sparc/wrasr.d: Likewise.
1630 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1632 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1633 registers require it.
1634 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1635 registers and write instruction modalities.
1636 * testsuite/gas/sparc/wrpr.d: Likewise.
1637 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1639 * testsuite/gas/sparc/rdhpr.d: Likewise.
1640 * testsuite/gas/sparc/wrhpr.s: Likewise.
1641 * testsuite/gas/sparc/wrhpr.d: Likewise.
1643 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1645 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1646 architectures to use the right opcode architecture.
1647 (sparc_md_end): Handle v9{c,d,e,v,m}.
1648 (sparc_ip): Fix some comments.
1649 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1650 instruction, which is v9d.
1651 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1652 instruction from the test, as %mwait is not readable.
1653 * testsuite/gas/sparc/mwait.d: Likewise.
1654 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1655 mismatch architecture errors.
1656 * testsuite/gas/sparc/mism-2.s: New file.
1658 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1660 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1661 empty string to mark the end of the array.
1662 (hpriv_reg_table): Likewise.
1663 (v9a_asr_table): Likewise.
1664 (cmp_reg_entry): Handle entries with NULL names.
1666 (F_POP_PCREL): Likewise.
1667 (F_POP_TLS_CALL): Likewise.
1668 (F_POP_POSTFIX): Likewise.
1669 (struct pop_entry): New type.
1670 (pop_table): New variable.
1671 (enum pop_entry_type): New type.
1672 (struct perc_entry): Likewise.
1673 (NUM_PERC_ENTRIES): Define.
1674 (perc_table): New variable.
1675 (cmp_perc_entry): New function.
1676 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1678 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1679 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1682 2016-06-15 Nick Clifton <nickc@redhat.com>
1684 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1686 * config/tc-mcore.c (md_assemble): Likewise.
1687 * config/tc-mn10200.c (md_assemble): Likewise.
1688 * config/tc-moxie.c (md_assemble): Likewise.
1689 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1690 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1691 exception targets. Add alpha, hppa, microblaze and rl78 to list
1693 (forward): Add microblaze to list of exceptions.
1694 (fwdexp): Add alpha to list of exceptions.
1695 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1696 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1697 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1698 mn10200 to list of exceptions.
1699 (align2): Expect to fail for nds32.
1700 (cond): Add alpha and rl78 to list of exceptions.
1701 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1702 * testsuite/gas/all/string.d: Skip for tic4x.
1703 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1704 target does not support ELF.
1705 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1706 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1707 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1708 tests for sh-pe and sh-rtemscoff targets.
1709 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1711 (type): Run the noifunc version for alpha-freebsd and visium.
1712 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1713 mn10200 or moxie targets.
1714 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1715 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1717 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1718 mcore and rx targets.
1719 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1721 (purge): Expect to fail on the ns32k and vax.
1722 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1723 * testsuite/gas/nds32/ls.d: Likewise.
1724 * testsuite/gas/nds32/sys-reg.d: Likewise.
1725 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1726 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1727 * testsuite/gas/pe/section-align-3.d: Likewise.
1728 * testsuite/gas/pe/section-exclude.d: Likewise.
1729 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1731 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1732 for variations in whitespace.
1733 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1735 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1736 Installs a 32-bit value without generating warnings on 64-bit
1738 Use the new macro to replace the .word directives.
1740 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1742 * testsuite/gas/arc/add_s.d: New file.
1743 * testsuite/gas/arc/add_s.s: New file.
1745 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1747 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1748 * testsuite/gas/arc/nps400-6.d: Likewise.
1750 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1752 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1754 * testsuite/gas/arc/nps400-6.d: Likewise.
1756 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1758 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1759 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1760 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1761 * testsuite/gas/arc/nps400-6.d: Likewise.
1763 2016-06-14 Nick Clifton <nickc@redhat.com>
1765 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1768 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1770 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1771 JALR relocations on R6.
1772 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1773 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1774 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1775 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1776 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1777 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1779 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1780 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1782 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1783 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1785 * testsuite/gas/mips/mips.exp: Run the new tests.
1787 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1789 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1790 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1793 2016-06-13 Nick Clifton <nickc@redhat.com>
1795 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1796 that are not supported.
1798 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1800 * config/tc-cr16.c (check_range): Likewise.
1801 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1803 2016-06-08 Renlin Li <renlin.li@arm.com>
1805 * config/tc-aarch64.c (print_operands): Substitute size.
1806 (output_operand_error_record): Likewise.
1808 2016-06-07 Alan Modra <amodra@gmail.com>
1810 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1811 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1812 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1813 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1814 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1815 add vle_opcodes twice.
1816 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1818 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1820 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1821 (arm_ext_ras): Renamed from arm_ext_v8_2.
1822 (insns): Update for arm_ext_v8_2 renaming.
1823 (arm_extensions): Add "ras".
1824 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1825 * testsuite/gas/arm/armv8-a+ras.d: New.
1826 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1829 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1831 * itbl-parse.y (yyerror): Use modern argument declaration style.
1833 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1835 * config/tc-sh.c (parse_reg): Change type of mode argument to
1837 (get_operand): Adjust.
1838 (insert): Change type of how to bfd_reloc_code_real_type.
1839 (insert4): Likewise.
1840 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1841 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1843 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1845 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1848 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1851 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1852 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1853 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1854 * gas/testsuite/gas/ppc/power8.s: Likewise.
1855 * gas/testsuite/gas/ppc/power8.d: Likewise.
1856 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1858 * gas/testsuite/gas/ppc/power4.d: Likewise.
1860 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1863 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1864 * testsuite/gas/i386/x86-64-branch.d: Updated.
1865 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1866 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1867 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1869 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1871 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1872 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1874 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1876 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1877 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1879 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1881 * configure.tgt: Replace -uclibc with *.
1883 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1885 * config/tc-arc.c (parse_opcode_flags): New function.
1886 (find_opcode_match): Move flag parsing code out to new function.
1887 Ignore operands marked IGNORE.
1888 (build_fake_opcode_hash_entry): New function.
1889 (find_special_case_long_opcode): New function.
1890 (find_special_case): Lookup long opcodes.
1891 * testsuite/gas/arc/nps400-7.d: New file.
1892 * testsuite/gas/arc/nps400-7.s: New file.
1894 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1896 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1898 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1900 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1901 sentinal with iteration to array size.
1903 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1905 * config/xtensa-relax.h: Move typedefs of enums to the enums
1908 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1910 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1913 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1915 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1916 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1917 * testsuite/gas/arc/nps-400-1.d: Likewise.
1919 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1922 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1923 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1924 noavx512ifma and noavx512vbmi.
1925 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1926 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1928 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1929 * testsuite/gas/i386/noavx512-1.l: New file.
1930 * testsuite/gas/i386/noavx512-1.s: Likewise.
1931 * testsuite/gas/i386/noavx512-2.l: Likewise.
1932 * testsuite/gas/i386/noavx512-2.s: Likewise.
1934 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1937 * config/tc-i386.c (cpu_arch): Add 687.
1938 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1939 nosse4.1, nosse4.2, nosse4 and noavx2.
1940 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1941 register. Check cpuregxmm instead of cpusse for XMM register.
1942 Check cpuregymm instead of cpuavx for YMM register. Check
1943 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1944 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1945 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1946 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1947 * testsuite/gas/i386/arch-10.d (as): Likewise.
1948 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1949 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1950 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1952 * testsuite/gas/i386/no87-3.l: New file.
1953 * testsuite/gas/i386/no87-3.s: Likewise.
1954 * testsuite/gas/i386/noavx-3.l: Likewise.
1955 * testsuite/gas/i386/noavx-3.s: Likewise.
1956 * testsuite/gas/i386/noavx-4.d: Likewise.
1957 * testsuite/gas/i386/noavx-4.s: Likewise.
1958 * testsuite/gas/i386/nosse-4.l: Likewise.
1959 * testsuite/gas/i386/nosse-4.s: Likewise.
1960 * testsuite/gas/i386/nosse-5.d: Likewise.
1961 * testsuite/gas/i386/nosse-5.s: Likewise.
1963 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1966 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1968 (match_template): Check Intel64/AMD64 ISA.
1970 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1973 * config/tc-i386.c (intel64): New.
1974 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1975 (md_parse_option): Set intel64 instead of cpuamd64 and
1978 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1980 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1983 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1985 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1986 * testsuite/gas/ppc/altivec3.s: Likewise.
1987 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1988 * testsuite/gas/ppc/power9.s: Likewise.
1990 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1992 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1993 * testsuite/gas/i386/noavx-1.l: Likewise.
1994 * testsuite/gas/i386/nommx-1.l: Likewise.
1995 * testsuite/gas/i386/nosse-1.l: Likewise.
1996 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1997 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1998 * testsuite/gas/i386/noavx-1.s: Likewise.
1999 * testsuite/gas/i386/nommx-1.s: Likewise.
2000 * testsuite/gas/i386/nosse-1.s: Likewise.
2001 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2003 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2005 * config/tc-metag.c (metag_handle_align): Make the type of noop
2008 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2010 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2011 bfd_reloc_code_real_type.
2013 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2016 * config/tc-i386.c (cpu_flags_match): Require another match
2018 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2019 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2020 * testsuite/gas/i386/avx512vl-1.l: New file.
2021 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2022 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2023 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2024 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2025 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2026 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2027 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2029 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2032 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2033 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2034 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2036 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2038 * config/tc-i386.c (arch_entry): Remove negated.
2039 (noarch_entry): New struct.
2040 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2042 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2043 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2045 (output_message): New function.
2046 (show_arch): Use it. Handle cpu_noarch.
2047 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2048 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2049 * testsuite/gas/i386/noavx-1.l: New file.
2050 * testsuite/gas/i386/noavx-1.s: Likewise.
2051 * testsuite/gas/i386/noavx-2.s: Likewise.
2052 * testsuite/gas/i386/noavx-2.l: Likewise.
2053 * testsuite/gas/i386/nommx-1.s: Likewise.
2054 * testsuite/gas/i386/nommx-1.l: Likewise.
2055 * testsuite/gas/i386/nommx-2.s: Likewise.
2056 * testsuite/gas/i386/nommx-2.l: Likewise.
2057 * testsuite/gas/i386/nommx-3.s: Likewise.
2058 * testsuite/gas/i386/nommx-3.l: Likewise.
2059 * testsuite/gas/i386/nosse-1.s: Likewise.
2060 * testsuite/gas/i386/nosse-1.l: Likewise.
2061 * testsuite/gas/i386/nosse-2.s: Likewise.
2062 * testsuite/gas/i386/nosse-2.l: Likewise.
2063 * testsuite/gas/i386/nosse-3.s: Likewise.
2064 * testsuite/gas/i386/nosse-3.l: Likewise.
2066 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2069 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2070 instruction if supported by the currently selected fpu variant.
2071 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2072 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2074 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2076 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2077 jump relocations against MIPS16 or microMIPS symbols on RELA
2079 * testsuite/gas/mips/jalx-local.d: New test.
2080 * testsuite/gas/mips/jalx-local-n32.d: New test.
2081 * testsuite/gas/mips/jalx-local-n64.d: New test.
2082 * testsuite/gas/mips/jalx-local.s: New test source.
2083 * testsuite/gas/mips/mips.exp: Run the new tests.
2085 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2087 * config/tc-mips.c (md_apply_fix)
2088 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2091 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2093 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2094 operator to operatorT.
2095 (map_suffix_reloc_to_operator): Change return type to operatorT.
2097 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2099 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2101 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2103 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2104 handler_charp to const char *.
2106 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2108 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2109 (ft32_target_format): Likewise.
2110 (TARGET_FORMAT): Adjust.
2112 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2114 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2115 (ia64_frob_label): Likewise.
2117 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2119 * config/tc-cr16.c (check_range): Make type of retval op_err.
2120 * config/tc-crx.c: Likewise.
2122 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2124 * config/tc-arc.c (md_begin): Add XY registers.
2125 (cpu_types): Code density is default off for ARC EM.
2127 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2129 * config/tc-arc.c (attributes_t): Renamed attribute class to
2131 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2133 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2135 * configuse.tgt: Add entry for arm-phoenix.
2137 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2139 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2141 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2143 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2145 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2147 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2148 (md_begin): Likewise.
2149 (encode_condition): Likewise.
2150 (encode_cc3): Likewise.
2151 (encode_cc2): Likewise.
2152 (encode_operand): Likewise.
2153 (tic54x_undefined_symbol): Likewise.
2155 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2157 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2159 * doc/c-mips.texi: Document p6600 -march option.
2161 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2164 * config/tc-i386.c (md_apply_fix): Preserve addend for
2165 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2166 * testsuite/gas/i386/addend.d: New file.
2167 * testsuite/gas/i386/addend.s: Likewise.
2168 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2169 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2170 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2171 * testsuite/gas/i386/reloc32.d: Updated.
2173 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2175 * config/tc-mips.c (append_insn): Correct the encoding of a
2176 constant argument for microMIPS JALX.
2177 (tc_gen_reloc): Correct the encoding of an in-place addend for
2179 * testsuite/gas/mips/jalx-addend.d: New test.
2180 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2181 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2182 * testsuite/gas/mips/jalx-imm.d: New test.
2183 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2184 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2185 * testsuite/gas/mips/jalx-addend.s: New test source.
2186 * testsuite/gas/mips/jalx-imm.s: New test source.
2187 * testsuite/gas/mips/mips.exp: Run the new tests.
2189 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2191 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2194 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2196 * config/tc-arc.c (find_opcode_match): Remove casting away of
2198 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2200 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2202 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2204 (md_convert_frag): Likewise.
2206 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2208 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2209 cached opcode to NULL when we reach a non-matching opcode.
2210 * testsuite/gas/arc/asm-errors-2.d: New file.
2211 * testsuite/gas/arc/asm-errors-2.err: New file.
2212 * testsuite/gas/arc/asm-errors-2.s: New file.
2214 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2216 * config/tc-arc.c (tokenize_arguments): Add checks for array
2218 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2219 * testsuite/gas/arc/asm-errors.err: Update expected results.
2221 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2223 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2224 int to enum rx_cpu_types.
2226 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2228 * config/tc-dlx.c (struct machine_it): change the type of a field from
2229 int to bfd_reloc_code_real_type.
2230 * config/tc-tic4x.c: Likewise.
2232 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2234 * config/tc-v850.c (v850_target_arch): change type to enum
2236 * config/tc-v850.h (v850_target_arch): Likewise.
2238 2016-05-18 Alan Modra <amodra@gmail.com>
2240 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2241 allowed negative range.
2242 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2243 * testsuite/gas/ppc/power9.d: Update.
2245 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2247 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2248 disassembling and stop skipping targets.
2249 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2250 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2251 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2252 instruction for targets that have stronger alignment requirement.
2253 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2254 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2255 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2256 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2257 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2258 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2259 * testsuite/gas/arm/archv8m-main.d: Likewise.
2260 * testsuite/gas/arm/archv8m.s: Add label.
2261 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2262 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2263 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2265 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2267 * config/tc-m32r.c (mach_table): Make static and const.
2269 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2271 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2274 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2276 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2278 * config/tc-msp430.c (md_begin): Likewise.
2280 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2282 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2283 bfd_reloc_code_real_type where appropriate.
2284 (fixup16): Likewise.
2285 (fixup8_xg): Likewise.
2287 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2289 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2291 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2293 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2294 * testsuite/gas/ppc/power9.s: Likewise.
2296 2016-05-13 Alan Modra <amodra@gmail.com>
2298 * config/obj-coff.c (weak_uniquify): Delete unused var.
2300 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2302 * app.c (app_push): Use XNEW and related macros.
2303 * as.c (parse_args): Likewise.
2304 * cgen.c (make_right_shifted_expr): Likewise.
2305 (gas_cgen_tc_gen_reloc): Likewise.
2306 * config/bfin-defs.h: Likewise.
2307 * config/bfin-parse.y: Likewise.
2308 * config/obj-coff.c (stack_init): Likewise.
2309 (stack_push): Likewise.
2310 (coff_obj_symbol_new_hook): Likewise.
2311 (coff_obj_symbol_clone_hook): Likewise.
2312 (add_lineno): Likewise.
2313 (coff_frob_symbol): Likewise.
2314 * config/obj-elf.c (obj_elf_section_name): Likewise.
2315 (build_group_lists): Likewise.
2316 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2317 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2318 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2319 (find_or_make_literal_pool): Likewise.
2320 (add_to_lit_pool): Likewise.
2321 (fill_instruction_hash_table): Likewise.
2322 * config/tc-alpha.c (load_expression): Likewise.
2323 (emit_jsrjmp): Likewise.
2324 (s_alpha_ent): Likewise.
2325 (s_alpha_end): Likewise.
2326 (s_alpha_linkage): Likewise.
2327 (md_begin): Likewise.
2328 (tc_gen_reloc): Likewise.
2329 * config/tc-arc.c (arc_insert_opcode): Likewise.
2330 (arc_extcorereg): Likewise.
2331 * config/tc-bfin.c: Likewise.
2332 * config/tc-cr16.c: Likewise.
2333 * config/tc-cris.c: Likewise.
2334 * config/tc-crx.c (preprocess_reglist): Likewise.
2335 * config/tc-d10v.c: Likewise.
2336 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2337 (frv_tomcat_shuffle): Likewise.
2338 * config/tc-h8300.c: Likewise.
2339 * config/tc-i370.c (i370_macro): Likewise.
2340 * config/tc-i386.c (lex_got): Likewise.
2341 (md_parse_option): Likewise.
2342 * config/tc-ia64.c (alloc_record): Likewise.
2343 (set_imask): Likewise.
2344 (save_prologue_count): Likewise.
2345 (dot_proc): Likewise.
2346 (dot_endp): Likewise.
2347 (ia64_frob_label): Likewise.
2348 (add_qp_imply): Likewise.
2349 (add_qp_mutex): Likewise.
2350 (mark_resource): Likewise.
2351 (dot_alias): Likewise.
2352 * config/tc-m68hc11.c: Likewise.
2353 * config/tc-m68k.c (m68k_frob_label): Likewise.
2355 (mri_control_label): Likewise.
2356 (push_mri_control): Likewise.
2357 (build_mri_control_operand): Likewise.
2358 (s_mri_else): Likewise.
2359 (s_mri_break): Likewise.
2360 (s_mri_next): Likewise.
2361 (s_mri_for): Likewise.
2362 (s_mri_endw): Likewise.
2363 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2364 * config/tc-microblaze.c: Likewise.
2365 * config/tc-mmix.c (s_loc): Likewise.
2366 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2367 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2368 * config/tc-rl78.c: Likewise.
2369 * config/tc-rx.c (rx_include): Likewise.
2370 * config/tc-sh.c: Likewise.
2371 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2372 * config/tc-sparc.c: Likewise.
2373 * config/tc-spu.c: Likewise.
2374 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2375 (tic6x_start_unwind_section): Likewise.
2376 * config/tc-tilegx.c: Likewise.
2377 * config/tc-tilepro.c: Likewise.
2378 * config/tc-v850.c: Likewise.
2379 * config/tc-visium.c: Likewise.
2380 * config/tc-xgate.c: Likewise.
2381 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2382 (new_resource_table): Likewise.
2383 (resize_resource_table): Likewise.
2384 (xtensa_create_trampoline_frag): Likewise.
2385 (xtensa_maybe_create_literal_pool_frag): Likewise.
2386 (cache_literal_section): Likewise.
2387 * config/xtensa-relax.c (append_transition): Likewise.
2388 (append_condition): Likewise.
2389 (append_value_condition): Likewise.
2390 (append_constant_value_condition): Likewise.
2391 (append_literal_op): Likewise.
2392 (append_label_op): Likewise.
2393 (append_constant_op): Likewise.
2394 (append_field_op): Likewise.
2395 (append_user_fn_field_op): Likewise.
2396 (enter_opname_n): Likewise.
2397 (enter_opname): Likewise.
2398 (split_string): Likewise.
2399 (parse_insn_templ): Likewise.
2400 (clone_req_or_option_list): Likewise.
2401 (clone_req_option_list): Likewise.
2402 (parse_option_cond): Likewise.
2403 (parse_insn_pattern): Likewise.
2404 (parse_insn_repl): Likewise.
2405 (build_transition): Likewise.
2406 (build_transition_table): Likewise.
2407 * dw2gencfi.c (alloc_fde_entry): Likewise.
2408 (alloc_cfi_insn_data): Likewise.
2409 (cfi_add_CFA_remember_state): Likewise.
2410 (dot_cfi_escape): Likewise.
2411 (dot_cfi_fde_data): Likewise.
2412 (select_cie_for_fde): Likewise.
2413 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2414 * ecoff.c (ecoff_add_bytes): Likewise.
2415 (ecoff_build_debug): Likewise.
2416 * input-scrub.c (input_scrub_push): Likewise.
2417 (input_scrub_begin): Likewise.
2418 (input_scrub_next_buffer): Likewise.
2419 * itbl-ops.c (append_insns_as_macros): Likewise.
2420 (alloc_entry): Likewise.
2421 (alloc_field): Likewise.
2422 * listing.c (listing_newline): Likewise.
2423 (listing_listing): Likewise.
2424 * macro.c (get_any_string): Likewise.
2425 (delete_macro): Likewise.
2426 * stabs.c (generate_asm_file): Likewise.
2427 (stabs_generate_asm_lineno): Likewise.
2428 * subsegs.c (subseg_change): Likewise.
2429 (subseg_get): Likewise.
2430 * symbols.c (define_dollar_label): Likewise.
2431 (symbol_relc_make_sym): Likewise.
2432 * write.c (write_relocs): Likewise.
2434 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2436 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2437 (weak_name2altname): Likewise.
2438 (weak_uniquify): Likewise.
2439 (obj_coff_section): Likewise.
2440 (obj_coff_init_stab_section): Likewise.
2441 * config/obj-elf.c (obj_elf_section_name): Likewise.
2442 (obj_elf_init_stab_section): Likewise.
2443 * config/obj-evax.c (evax_shorten_name): Likewise.
2444 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2445 * config/tc-aarch64.c (create_register_alias): Likewise.
2446 * config/tc-alpha.c (load_expression): Likewise.
2447 (s_alpha_file): Likewise.
2448 (s_alpha_section_name): Likewise.
2449 (tc_gen_reloc): Likewise.
2450 * config/tc-arc.c (md_assemble): Likewise.
2451 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2452 (start_unwind_section): Likewise.
2453 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2454 (hppa_elf_mark_end_of_function): Likewise.
2455 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2456 (nios2_negate_arg): Likewise.
2457 * config/tc-rx.c (rx_section): Likewise.
2458 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2459 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2460 * config/tc-tic54x.c (tic54x_include): Likewise.
2461 (tic54x_macro_info): Likewise.
2462 (subsym_get_arg): Likewise.
2463 (subsym_substitute): Likewise.
2464 (tic54x_start_line_hook): Likewise.
2465 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2466 (xg_reverse_shift_count): Likewise.
2467 * config/xtensa-relax.c (enter_opname_n): Likewise.
2468 (split_string): Likewise.
2469 * dwarf2dbg.c (get_filenum): Likewise.
2470 (process_entries): Likewise.
2471 * expr.c (operand): Likewise.
2472 * itbl-ops.c (alloc_entry): Likewise.
2473 * listing.c (listing_message): Likewise.
2474 (listing_title): Likewise.
2475 * macro.c (check_macro): Likewise.
2476 * stabs.c (s_xstab): Likewise.
2477 * symbols.c (symbol_relc_make_expr): Likewise.
2478 * write.c (compress_debug): Likewise.
2480 2016-05-12 Nick Clifton <nickc@redhat.com>
2483 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2485 2016-05-11 Nick Clifton <nickc@redhat.com>
2488 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2489 big endian ARM configurations.
2491 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2492 Matthew Fortune <matthew.fortune@imgtec.com>
2494 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2496 (md_longopts): Likewise.
2497 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2498 (mips_ases): Define availability for DSPr3.
2499 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2500 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2501 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2503 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2504 .set nodspr3. Fix -mdspr2 formatting.
2505 * testsuite/gas/mips/mips32-dspr3.d: New file.
2506 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2507 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2509 2016-05-11 Nick Clifton <nickc@redhat.com>
2512 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2513 to the pool uses O_constant.
2514 * testsuite/gas/arm/pr20068.s: New test.
2515 * testsuite/gas/arm/pr20068.d: Test driver.
2517 2016-05-11 Nick Clifton <nickc@redhat.com>
2519 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2520 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2521 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2522 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2523 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2524 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2525 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2526 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2527 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2529 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2531 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2532 * testsuite/gas/i386/prefix.d: Adjust.
2533 * testsuite/gas/i386/rdpid.s: New test.
2534 * testsuite/gas/i386/rdpid.d: Ditto.
2535 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2536 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2537 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2538 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2540 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2542 * config/tc-i386.c (cpu_arch): Add RDPID.
2543 * doc/c-i386.texi: Document RDPID.
2545 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2547 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2548 set branch type of a symbol.
2550 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2552 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2553 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2555 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2556 (aeabi_set_public_attributes): Memorize the feature bits of the
2557 architecture selected for Tag_CPU_arch. Use it to set
2558 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2559 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2560 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2561 * testsuite/gas/arm/arch7em-bad-1.d: This.
2562 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2563 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2564 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2565 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2566 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2567 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2568 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2569 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2571 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2573 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2574 allowed_archs an array with 2 entries.
2575 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2576 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2577 (arm_extensions): Use separate entries in allowed_archs when several
2578 archs are allowed to use an extension and change ARCH_ANY in
2579 ARM_ARCH_NONE in allowed_archs.
2580 (arm_parse_extension): Check that, for each allowed_archs entry, all
2581 bits are set in the current architecture, ignoring ARM_ANY entries.
2582 (s_arm_arch_extension): Likewise.
2584 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2586 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2587 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2588 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2589 shared with a non M profile architecture.
2590 (do_rn): New function.
2591 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2593 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2594 (insns): Add ARMv8-M Security Extensions instructions.
2595 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2596 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2597 * testsuite/gas/arm/archv8m-cmse.s: New file.
2598 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2599 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2600 * testsuite/gas/arm/any-cmse.d: Likewise.
2601 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2602 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2603 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2604 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2605 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2606 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2608 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2610 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2611 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2613 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2615 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2616 (fpu_arch_vfp_v3): Likewise.
2617 (fpu_arch_neon_v1): Likewise.
2618 (arm_arch_full): Likewise.
2619 (parse_neon_el_struct_list): Initialize fields of firsttype.
2621 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2623 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2624 (arc_extinsn): Handle new introduced syntax.
2625 * testsuite/gas/arc/textinsn1op.d: New file.
2626 * testsuite/gas/arc/textinsn1op.s: Likewise.
2627 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2629 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2631 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2632 DW_LNS_fixed_advance_pc.
2634 2016-04-27 Alan Modra <amodra@gmail.com>
2636 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2637 (xmemdup0): New inline function.
2639 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2641 * config/tc-mips.c (code_option_type): New enum.
2642 (parse_code_option): Return status indicating option type.
2643 (s_mipsset): Update `parse_code_option' call site accordingly.
2644 Always set register sizes from the ISA with ISA overrides.
2645 (s_module): Update `parse_code_option' call site.
2646 * testsuite/gas/mips/isa-override-1.d: New test.
2647 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2648 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2649 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2650 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2651 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2652 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2653 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2654 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2655 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2656 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2657 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2658 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2659 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2660 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2661 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2662 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2663 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2664 * testsuite/gas/mips/isa-override-2.l: New list test.
2665 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2666 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2667 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2668 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2669 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2670 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2671 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2672 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2673 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2674 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2675 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2677 * testsuite/gas/mips/isa-override-1.s: New test source.
2678 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2679 * testsuite/gas/mips/isa-override-2.s: New test source.
2680 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2681 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2682 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2683 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2684 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2685 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2686 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2687 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2688 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2689 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2690 * testsuite/gas/mips/mips.exp: Run the new tests.
2692 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2695 * config/tc-bfin.c: Likewise.
2696 * config/tc-ia64.c: Likewise.
2697 * config/tc-mep.c: Likewise.
2698 * config/tc-metag.c: Likewise.
2699 * config/tc-nios2.c: Likewise.
2700 * config/tc-rl78.c: Likewise.
2702 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2704 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2705 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2706 (ARC Directives): Add NPS400 to .cpu directive list.
2708 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2710 * config/tc-aarch64.c (aarch64_features): Add "ras".
2711 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2712 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2713 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2714 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2715 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2717 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2719 * testsuite/gas/arc/nps400-6.d: New file.
2720 * testsuite/gas/arc/nps400-6.s: New file.
2722 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2724 * testsuite/gas/arc/nps400-4.d: New file.
2725 * testsuite/gas/arc/nps400-4.s: New file.
2726 * testsuite/gas/arc/nps400-5.d: New file.
2727 * testsuite/gas/arc/nps400-5.s: New file.
2729 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2731 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2734 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2736 Revert prevous change.
2737 * config/tc-arc.c (arc_option): Make .cpu directive
2738 case-sensitive again.
2740 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2742 * config/tc-arc.c (arc_option): Make .cpu directive
2745 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2747 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2749 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2751 * config/tc-mips.c (md_begin): Remove useless assignment.
2753 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2755 * Makefile.in: Regenerated with automake 1.11.6.
2756 * aclocal.m4: Likewise.
2757 * doc/Makefile.in: Likewise.
2759 2016-04-15 Alan Modra <amodra@gmail.com>
2761 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2763 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2765 * config/tc-nios2.c (nios2_as_options): Make file static.
2766 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2767 * config/tc-sparc.c (native_op_table): Likewise.
2769 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2771 * config/tc-m32c.c (M32C_Macros): Remove.
2772 * config/tc-msp430.c (option_numbers): Likewise.
2774 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2776 * testsuite/gas/arc/nps400-3.d: New file.
2777 * testsuite/gas/arc/nps400-3.s: New file.
2779 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2781 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2782 * testsuite/gas/arc/warn.s: Likewise.
2783 * testsuite/gas/elf/elf.exp: Run test for arc.
2785 2016-04-14 Nick Clifton <nickc@redhat.com>
2788 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2789 sections possibly having the SHF_STRINGS flag bit set.
2790 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2792 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2794 * config/tc-arc.c (mach_type_specified_p): Change type to
2796 (arc_option): Set private flags when parsing cpu pseudo-op.
2797 (md_parse_option): Set mach_type_specified_p to TRUE.
2799 2016-04-13 Nick Clifton <nickc@redhat.com>
2802 * testsuite/gas/v850/pr19937.s: New test.
2803 * testsuite/gas/v850/pr19937.d: New test control file.
2804 * testsuite/gas/v850/basic.exp: Run the new test.
2806 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2807 Andrew Bennett <andrew.bennett@imgtec.com>
2809 * config/tc-mips.c (relaxed_branch_length): Use the long
2810 sequence where the target is a weak symbol.
2811 (relaxed_micromips_32bit_branch_length): Likewise.
2812 (relaxed_micromips_16bit_branch_length): Likewise.
2813 * testsuite/gas/mips/branch-weak-1.d: New test.
2814 * testsuite/gas/mips/branch-weak-2.d: New test.
2815 * testsuite/gas/mips/branch-weak-3.d: New test.
2816 * testsuite/gas/mips/branch-weak-4.d: New test.
2817 * testsuite/gas/mips/branch-weak-5.d: New test.
2818 * testsuite/gas/mips/branch-weak.l: New stderr output.
2819 * testsuite/gas/mips/branch-weak.s: New test source.
2820 * testsuite/gas/mips/mips.exp: Run the new tests.
2822 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2824 * config/tc-mips.c (relaxed_branch_length): Use the long
2825 sequence where the distance cannot be determined.
2826 (relaxed_micromips_32bit_branch_length): Likewise.
2827 * testsuite/gas/mips/branch-extern-1.d: New test.
2828 * testsuite/gas/mips/branch-extern-2.d: New test.
2829 * testsuite/gas/mips/branch-extern-3.d: New test.
2830 * testsuite/gas/mips/branch-extern-4.d: New test.
2831 * testsuite/gas/mips/branch-extern.l: New stderr output.
2832 * testsuite/gas/mips/branch-extern.s: New test source.
2833 * testsuite/gas/mips/branch-section-1.d: New test.
2834 * testsuite/gas/mips/branch-section-2.d: New test.
2835 * testsuite/gas/mips/branch-section-3.d: New test.
2836 * testsuite/gas/mips/branch-section-4.d: New test.
2837 * testsuite/gas/mips/branch-section.l: New stderr output.
2838 * testsuite/gas/mips/branch-section.s: New test source.
2839 * testsuite/gas/mips/mips.exp: Run the new tests.
2841 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2843 * testsuite/gas/arc/textauxregister.d: New file.
2844 * testsuite/gas/arc/textauxregister.s: Likewise.
2845 * testsuite/gas/arc/textcondcode.d: Likewise.
2846 * testsuite/gas/arc/textcondcode.s: Likewise.
2847 * testsuite/gas/arc/textcoreregister.d: Likewise.
2848 * testsuite/gas/arc/textcoreregister.s: Likewise.
2849 * testsuite/gas/arc/textpseudoop.d: Likewise.
2850 * testsuite/gas/arc/textpseudoop.s: Likewise.
2851 * testsuite/gas/arc/ld2.d: Update test.
2852 * testsuite/gas/arc/st.d: Likewise.
2853 * testsuite/gas/arc/taux.d: Likewise.
2854 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2855 .extCoreRegister and .extAuxRegister documentation.
2856 * config/tc-arc.c (arc_extcorereg): New function.
2857 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2858 .extAuxRegister pseudo-ops.
2859 (extRegister_t): New type.
2860 (ext_condcode, arc_aux_hash): New global variable.
2861 (find_opcode_match): Check for extensions.
2862 (preprocess_operands): Likewise.
2863 (md_begin): Add aux registers in a hash.
2864 (assemble_insn): Update use arc_flags member.
2865 (tokenize_extregister): New function.
2866 (create_extcore_section): Likewise.
2867 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2869 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2871 * testsuite/gas/arc/noargs_a7.d: New file.
2872 * testsuite/gas/arc/noargs_a7.s: Likewise.
2873 * testsuite/gas/arc/noargs_hs.d: Likewise.
2874 * testsuite/gas/arc/noargs_hs.s: Likewise.
2876 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2878 * testsuite/gas/arc/textinsn-errors.d: New File.
2879 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2880 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2881 * testsuite/gas/arc/textinsn2op.d: Likewise.
2882 * testsuite/gas/arc/textinsn2op.s: Likewise.
2883 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2884 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2885 * testsuite/gas/arc/textinsn3op.d: Likewise.
2886 * testsuite/gas/arc/textinsn3op.s: Likewise.
2887 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2889 * config/tc-arc.c (arcext_section): New variable.
2890 (arc_extinsn): New function.
2891 (md_pseudo_table): Add .extInstruction pseudo op.
2892 (attributes_t): New type.
2893 (suffixclass, syntaxclass, syntaxclassmod): New constant
2895 (find_opcode_match): Remove arc_num_opcodes.
2896 (md_begin): Likewise.
2897 (tokenize_extinsn): New function.
2898 (arc_set_ext_seg): Likewise.
2899 (create_extinst_section): Likewise.
2901 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2903 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2904 (arc_adjust_symtab): New function.
2905 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2906 (obj_adjust_symtab): Likewise.
2907 * testsuite/gas/arc/taux.d: New file.
2908 * testsuite/gas/arc/taux.s: Likewise.
2910 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2912 * config/tc-mips.c (s_option): Sanitize `.option picX'
2914 * testsuite/gas/mips/option-pic-1.d: New test.
2915 * testsuite/gas/mips/option-pic-2.l: New list test.
2916 * testsuite/gas/mips/option-pic-1.s: New test source.
2917 * testsuite/gas/mips/option-pic-2.s: New test source.
2918 * testsuite/gas/mips/mips.exp: Run the new tests.
2920 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2922 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2924 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2925 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2926 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2927 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2928 * testsuite/gas/mips/mips.exp: Run the new tests.
2930 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2932 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2934 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2936 * messages.c (as_bad): Fix a typo in description.
2938 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2940 * config/tc-mips.c (mips_check_options): Unify messages.
2942 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2944 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2947 2016-04-08 Nick Clifton <nickc@redhat.com>
2950 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2951 COFF and AOUT sparc targets.
2953 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2955 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2956 * testsuite/gas/arc/nps400-2.d: New file.
2957 * testsuite/gas/arc/nps400-2.s: New file.
2959 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2961 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2963 (arc_opcode_hash_entry_iterator_init): New function.
2964 (arc_opcode_hash_entry_iterator_next): New function.
2965 (find_opcode_match): Iterate over all arc_opcode entries
2966 referenced by the arc_opcode_hash_entry passed in as a parameter.
2968 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2970 * config/tc-arc.c (arc_find_opcode): Now returns
2971 arc_opcode_hash_entry pointer.
2972 (find_opcode_match): Update argument type, extract arc_opcode from
2973 incoming arc_opcode_hash_entry.
2974 (find_special_case_pseudo): Update return type.
2975 (find_special_case_flag): Update return type.
2976 (find_special_case): Update return type.
2977 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2978 instruction mnemonic, then use find_opcode_match to identify
2979 specific arc_opcode.
2981 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2983 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2984 (arc_find_opcode): New function.
2985 (find_special_case_pseudo): Use arc_find_opcode.
2986 (find_special_case_flag): Likewise.
2987 (assemble_tokens): Likewise.
2988 (md_begin): Build hash using struct arc_opcode_hash_entry.
2990 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2992 * config/tc-arc.c (arc_option): Prepare string for automatic
2994 (declare_register): Likewise.
2996 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2998 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2999 Correct entry for RDMA. Alpha sort entries.
3001 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3003 * config/tc-arc.c (tokenize_flags): Allow greater range of
3004 characters into flag names.
3006 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3008 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3010 (preprocess_operands): Delete.
3011 (assemble_tokens): Remove call to preprocess_operands.
3013 2016-04-07 Nick Clifton <nickc@redhat.com>
3016 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3017 inside a %-macro could not be fully parsed.
3018 * expr.c (integer_constant): Accept and ignore U suffixes to
3020 (operand): When a missing closing parenthesis is encountered,
3021 report the character that was found instead.
3022 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3023 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3024 * testsuite/gas/sparc/pr19910-1.s: New test.
3025 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3026 * testsuite/gas/sparc/pr19910-2.s: New test.
3027 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3029 2016-04-06 Nick Clifton <nickc@redhat.com>
3031 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3032 an EINT instruction. Warn/fix as necessary.
3033 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3034 * testsuite/gas/msp430/bad.l: Update expected messages.
3036 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3038 * testsuite/gas/arc/nps400-1.d: Update expected results.
3039 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3041 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3043 * config/tc-arc.c (is_code_density_p): Compare directly the
3045 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3046 (check_cpu_feature): New function.
3047 (find_opcode_match): Use check_cpu_feature function.
3048 (preprocess_operands): Likewise.
3049 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3050 * testsuite/gas/arc/tdpfp.d: New file.
3051 * testsuite/gas/arc/tfpuda.d: Likewise.
3052 * testsuite/gas/arc/tfpx.s: Likewise.
3054 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3056 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3057 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3058 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3059 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3060 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3061 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3062 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3063 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3065 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3067 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3069 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3070 JUMP instructions type.
3071 * testsuite/gas/arc/relocs-errors.d: New file.
3072 * testsuite/gas/arc/relocs-errors.err: Likewise.
3073 * testsuite/gas/arc/relocs-errors.s: Likewise.
3075 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3078 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3079 only if i.disp_encoding != disp_encoding_32bit.
3080 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3081 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3082 * gas/testsuite/gas/i386/disp32.d: Updated.
3083 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3085 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3088 * testsuite/gas/i386/i386.exp: Run pr19498.
3089 * testsuite/gas/i386/pr19498.d: New file.
3090 * testsuite/gas/i386/pr19498.s: Likewise.
3092 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3094 * config/tc-arc.h: Include 'opcode/arc.h'.
3095 (MAX_INSN_ARGS): Delete.
3096 (MAX_INSN_FLGS): Delete.
3098 2016-04-04 Alan Modra <amodra@gmail.com>
3101 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3102 from function on all paths that set sy_resolving.
3104 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3106 * app.c (app_push): use XNEW macro.
3108 * config/obj-elf.c (obj_elf_change_section): Likewise.
3109 (elf_copy_symbol_attributes): Likewise.
3110 (obj_elf_size): Likewise.
3111 (build_group_lists): Likewise.
3112 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3113 (md_assemble): Likewise.
3114 (tc_gen_reloc): Likewise.
3115 (get_upper_str): Likewise.
3116 (aarch64_parse_features): Likewise.
3117 * config/tc-arm.c (insert_reg_alias): Likewise.
3118 (insert_neon_reg_alias): Likewise.
3119 (find_or_make_literal_pool): Likewise.
3120 (s_arm_elf_cons): Likewise.
3121 (add_unwind_opcode): Likewise.
3122 (arm_parse_extension): Likewise.
3123 * config/tc-avr.c (create_record_for_frag): Likewise.
3124 * config/tc-crx.c: Likewise.
3125 * config/tc-d30v.c: Likewise.
3126 * config/tc-dlx.c (s_proc): Likewise.
3127 * config/tc-ft32.c: Likewise.
3128 * config/tc-h8300.c: Likewise.
3129 * config/tc-hppa.c (pa_proc): Likewise.
3130 (create_new_space): Likewise.
3131 (create_new_subspace): Likewise.
3132 * config/tc-i860.c: Likewise.
3133 * config/tc-i960.c: Likewise.
3134 * config/tc-ia64.c: Likewise.
3135 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3136 (iq2000_record_hi16): Likewise.
3137 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3138 * config/tc-m32r.c (debug_sym): Likewise.
3139 (m32r_record_hi16): Likewise.
3140 * config/tc-m68k.c (m68k_ip): Likewise.
3141 (md_begin): Likewise.
3142 * config/tc-mcore.c: Likewise.
3143 * config/tc-microblaze.c (check_got): Likewise.
3144 * config/tc-mips.c (append_insn): Likewise.
3145 (s_mipsset): Likewise.
3146 (mips_record_label): Likewise.
3147 (s_mips_end): Likewise.
3148 * config/tc-mmix.c (mmix_frob_file): Likewise.
3149 * config/tc-mn10200.c: Likewise.
3150 * config/tc-mn10300.c: Likewise.
3151 * config/tc-moxie.c: Likewise.
3152 * config/tc-msp430.c: Likewise.
3153 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3154 * config/tc-ns32k.c: Likewise.
3155 * config/tc-or1k.c: Likewise.
3156 * config/tc-pdp11.c: Likewise.
3157 * config/tc-pj.c (fake_opcode): Likewise.
3158 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3159 (ppc_macro): Likewise.
3160 (ppc_dwsect): Likewise.
3161 (ppc_machine): Likewise.
3162 * config/tc-rl78.c (rl78_frag_init): Likewise.
3163 * config/tc-rx.c (rx_frag_init): Likewise.
3164 * config/tc-s390.c (s390_lit_suffix): Likewise.
3165 (s390_machine): Likewise.
3166 (s390_machinemode): Likewise.
3167 * config/tc-score.c (s3_insert_reg): Likewise.
3168 (s3_gen_reloc): Likewise.
3169 * config/tc-score7.c (s7_insert_reg): Likewise.
3170 (s7_gen_reloc): Likewise.
3171 * config/tc-tic30.c (tic30_operand): Likewise.
3172 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3173 * config/tc-tic54x.c (stag_add_field): Likewise.
3174 (tic54x_struct): Likewise.
3175 (tic54x_space): Likewise.
3176 (tic54x_field): Likewise.
3177 (tic54x_mlib): Likewise.
3178 (subsym_substitute): Likewise.
3179 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3180 * config/tc-vax.c: Likewise.
3181 * config/tc-xc16x.c: Likewise.
3182 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3183 (directive_push): Likewise.
3184 (xtensa_begin_directive): Likewise.
3185 (tokenize_arguments): Likewise.
3186 (xtensa_add_literal_sym): Likewise.
3187 (new_resource_table): Likewise.
3188 (resize_resource_table): Likewise.
3189 (emit_single_op): Likewise.
3190 (xtensa_create_trampoline_frag): Likewise.
3191 (xtensa_maybe_create_literal_pool_frag): Likewise.
3192 (xtensa_add_config_info): Likewise.
3193 (xtensa_realloc_fixup_cache): Likewise.
3194 (add_subseg_info): Likewise.
3195 (cache_literal_section): Likewise.
3196 (add_xt_block_frags): Likewise.
3197 (add_xt_prop_frags): Likewise.
3198 (init_op_placement_info_table): Likewise.
3199 (build_section_rename): Likewise.
3200 * config/tc-z80.c: Likewise.
3201 * config/tc-z8k.c: Likewise.
3202 * depend.c (register_dependency): Likewise.
3203 * dwarf2dbg.c (get_line_subseg): Likewise.
3204 (dwarf2_gen_line_info_1): Likewise.
3205 (get_filenum): Likewise.
3206 * ecoff.c (allocate_scope): Likewise.
3207 (allocate_vlinks): Likewise.
3208 (allocate_shash): Likewise.
3209 (allocate_thash): Likewise.
3210 (allocate_tag): Likewise.
3211 (allocate_forward): Likewise.
3212 (allocate_thead): Likewise.
3213 (allocate_lineno_list): Likewise.
3214 * expr.c (make_expr_symbol): Likewise.
3215 * hash.c (hash_new_sized): Likewise.
3216 * input-file.c (input_file_push): Likewise.
3217 * listing.c (file_info): Likewise.
3218 (listing_newline): Likewise.
3219 * macro.c (new_formal): Likewise.
3220 (define_macro): Likewise.
3221 * remap.c (add_debug_prefix_map): Likewise.
3222 * symbols.c (symbol_find_noref): Likewise.
3223 (define_dollar_label): Likewise.
3224 (fb_label_instance_inc): Likewise.
3225 (symbol_relc_make_value): Likewise.
3227 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3229 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3230 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3231 (ppc_znop): Likewise.
3232 (ppc_pe_section): Likewise.
3233 (ppc_frob_symbol): Likewise.
3234 * config/tc-tic30.c (tic30_operand): Likewise.
3235 * config/tc-tic4x.c (tic4x_sect): Likewise.
3236 (tic4x_usect): Likewise.
3238 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3240 * config/tc-alpha.c: Const qualify FLT_CHARS.
3241 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3242 * config/tc-cris.h: Likewise.
3244 * config/tc-mmix.c (md_atof): Adjust comment.
3245 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3246 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3248 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3250 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3251 * config/tc-score7.c (s7_gen_reloc): Likewise.
3253 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3255 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3256 bfd_reloc_code_real_type.
3258 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3260 * config/bfin-parse.y (current_inputline): Remove definition.
3261 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3263 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3265 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3268 2016-04-02 Alan Modra <amodra@gmail.com>
3271 * read.c (assign_symbol): Consume rest of line after an error
3272 rather than continuing to process the line.
3274 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3276 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3277 (MAX_FLAG_NAME_LENGTH): ...this.
3278 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3279 * config/tc-arc.c (tokenize_flags): Likewise.
3281 2016-04-01 Alan Modra <amodra@gmail.com>
3283 * cgen.c (weak_operand_overflow_check): Return const char*.
3284 * messages.c (as_internal_value_out_of_range): Formatting.
3285 (as_warn_value_out_of_range): Consify prefix param.
3286 (as_bad_value_out_of_range): Likewise.
3287 * read.c (s_errwarn): Constify msg..
3288 (s_float_space, float_cons): ..and err.
3289 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3290 ieee_md_atof, vax_md_atof): Update prototypes.
3291 * tc.h (md_atof): Update prototype.
3292 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3293 * config/atof-vax.c (vax_md_atof): Likewise.
3294 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3295 * config/tc-aarch64.c (md_atof): Return const char*.
3296 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3297 (s_alpha_comm): Constify sec_name.
3298 (section_name): Constify.
3299 (s_alpha_section): Consify name..
3300 (alpha_elf_section_letter): ..and ptr_msg param..
3301 (md_atof): ..and return.
3302 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3303 * config/tc-arc.c (md_atof): Return const char*.
3304 * config/tc-arm.c (md_atof): Likewise.
3305 * config/tc-avr.c (md_atof): Likewise.
3306 * config/tc-bfin.c (md_atof): Likewise.
3307 * config/tc-cr16.c (md_atof): Likewise.
3308 * config/tc-cris.c (md_atof): Likewise.
3309 * config/tc-crx.c (md_atof): Likewise.
3310 * config/tc-d10v.c (md_atof): Likewise.
3311 * config/tc-d30v.c (md_atof): Likewise.
3312 * config/tc-dlx.c (md_atof): Likewise.
3313 * config/tc-epiphany.c (md_atof): Likewise.
3314 * config/tc-fr30.c (md_atof): Likewise.
3315 * config/tc-frv.c (md_atof): Likewise.
3316 * config/tc-ft32.c (md_atof): Likewise.
3317 * config/tc-h8300.c (md_atof): Likewise.
3318 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3319 (struct default_space_dict): Likewise.
3320 (create_new_space): Constify name param.
3321 (create_new_subspace): Likewise.
3322 (is_defined_space, is_defined_subspace): Likewise.
3323 (pa_parse_space_stmt): Constify space_name param.
3324 (md_atof): Return const char*.
3325 (pa_spaces_begin): Constify name.
3326 * config/tc-i370.c (md_atof): Return const char*.
3327 * config/tc-i386.c (md_atof): Likewise.
3328 (x86_64_section_letter): Constify ptr_msg param.
3329 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3330 * config/tc-i860.c (struct i860_it): Constify error.
3331 (md_atof): Return const char*.
3332 * config/tc-i960.c (md_atof): Likewise.
3333 * config/tc-ia64.c (md_atof): Likewise.
3334 (ia64_elf_section_letter): Constify ptr_msg param.
3335 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3336 * config/tc-ip2k.c (md_atof): Return const char*.
3337 * config/tc-iq2000.c (md_atof): Likewise.
3338 * config/tc-lm32.c (md_atof): Likewise.
3339 * config/tc-m32c.c (md_atof): Likewise.
3340 * config/tc-m32r.c (md_atof): Likewise.
3341 * config/tc-m68hc11.c (md_atof): Likewise.
3342 * config/tc-m68k.c (md_atof): Likewise.
3343 * config/tc-mcore.c (md_atof): Likewise.
3344 * config/tc-mep.c (md_atof): Likewise.
3345 (mep_elf_section_letter): Constify ptr_msg param.
3346 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3347 * config/tc-metag.c (md_atof): Return const char*.
3348 * config/tc-microblaze.c (md_atof): Likewise.
3349 * config/tc-microblaze.h (md_atof): Delete prototype.
3350 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3351 (md_atof): Return const char*.
3352 * config/tc-mmix.c (md_atof): Likewise.
3353 * config/tc-mn10200.c (md_atof): Likewise.
3354 * config/tc-mn10300.c (md_atof): Likewise.
3355 * config/tc-moxie.c (md_atof): Likewise.
3356 * config/tc-msp430.c (md_atof): Likewise.
3357 * config/tc-mt.c (md_atof): Likewise.
3358 * config/tc-nds32.c (md_atof): Likewise.
3359 * config/tc-nios2.c (md_atof): Likewise.
3360 (nios2_elf_section_letter): Constify ptr_msg param.
3361 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3362 * config/tc-ns32k.c (md_atof): Return const char*.
3363 * config/tc-or1k.c (md_atof): Likewise.
3364 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3365 (md_atof): Return const char*.
3366 * config/tc-pj.c (md_atof): Likewise.
3367 * config/tc-ppc.c (md_atof): Likewise.
3368 * config/tc-rl78.c (md_atof): Likewise.
3369 * config/tc-rx.c (md_atof): Likewise.
3370 * config/tc-s390.c (md_atof): Likewise.
3371 * config/tc-score.c (s3_atof, md_atof): Likewise.
3372 * config/tc-sh.c (md_atof): Likewise.
3373 * config/tc-sparc.c (struct sparc_it): Constify error.
3374 (md_atof): Return const char*.
3375 * config/tc-spu.c (md_atof): Likewise.
3376 * config/tc-tic30.c (md_atof): Likewise.
3377 * config/tc-tic4x.c (md_atof): Likewise.
3378 * config/tc-tic54x.c (md_atof): Likewise.
3379 * config/tc-tic6x.c (md_atof): Likewise.
3380 * config/tc-tilegx.c (md_atof): Likewise.
3381 * config/tc-tilepro.c (md_atof): Likewise.
3382 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3383 * config/tc-vax.c (md_atof): Likewise.
3384 * config/tc-visium.c (md_atof): Likewise.
3385 * config/tc-xc16x.c (md_atof): Likewise.
3386 * config/tc-xgate.c (md_atof): Likewise.
3387 * config/tc-xstormy16.c (md_atof): Likewise.
3388 * config/tc-xtensa.c (md_atof): Likewise.
3389 * config/tc-z80.c (md_atof): Likewise.
3390 * config/tc-z8k.c (md_atof): Likewise.
3392 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3394 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3396 (xtensa_section_rename): Make argument type const char *.
3397 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3399 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3401 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3404 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3406 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3408 (m32c_indirect_operand): Likewise.
3409 * config/tc-nds32.c (do_pseudo_b): Likewise.
3410 (do_pseudo_bal): Likewise.
3411 (do_pseudo_ls_bhw): Likewise.
3413 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3415 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3417 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3419 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3421 * config/tc-sparc.c (s_register): Cast a literal to char * in
3424 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3426 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3428 * config/tc-m32r.c (expand_debug_syms): Likewise.
3429 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3430 * config/tc-z80.c (md_begin): Likewise.
3431 * stabs.c (stabs_generate_asm_func): Likewise.
3433 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3435 * cgen.c: Modernize the way functions declare arguments.
3436 * config/tc-bfin.c: Likewise.
3437 * config/tc-pdp11.c: Likewise.
3438 * literal.c: Likewise.
3440 * stabs.c: Likewise.
3442 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3444 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3445 variables unsigned char[].
3446 * config/tc-alpha.c (alpha_handle_align): Likewise.
3447 * config/tc-arm.c (arm_handle_align): Likewise.
3448 * config/tc-z80.c: Likewise.
3450 2016-03-30 Nick Clifton <nickc@redhat.com>
3453 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3456 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3458 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3459 * testsuite/gas/elf/elf.exp: Likewise.
3460 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3462 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3464 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3466 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3468 * testsuite/gas/arc/ext2op.d: New file.
3469 * testsuite/gas/arc/ext2op.s: Likewise.
3470 * testsuite/gas/arc/ext3op.d: Likewise.
3471 * testsuite/gas/arc/ext3op.s: Likewise.
3473 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3475 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3477 * config/tc-alpha.c (md_parse_option): Likewise.
3478 * config/tc-arc.c (md_parse_option): Likewise.
3479 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3480 (md_parse_option): Likewise.
3481 * config/tc-avr.c (md_parse_option): Likewise.
3482 * config/tc-bfin.c (md_parse_option): Likewise.
3483 * config/tc-cr16.c (md_parse_option): Likewise.
3484 * config/tc-cris.c (s_cris_arch): Likewise.
3485 (md_parse_option): Likewise.
3486 * config/tc-crx.c (md_parse_option): Likewise.
3487 * config/tc-d10v.c (md_parse_option): Likewise.
3488 * config/tc-d30v.c (md_parse_option): Likewise.
3489 * config/tc-dlx.c (md_parse_option): Likewise.
3490 * config/tc-epiphany.c (md_parse_option): Likewise.
3491 * config/tc-fr30.c (md_parse_option): Likewise.
3492 * config/tc-frv.c (md_parse_option): Likewise.
3493 * config/tc-ft32.c (md_parse_option): Likewise.
3494 * config/tc-h8300.c (md_parse_option): Likewise.
3495 * config/tc-hppa.c (md_parse_option): Likewise.
3496 * config/tc-i370.c (md_parse_option): Likewise.
3497 * config/tc-i386.c (md_parse_option): Likewise.
3498 * config/tc-i860.c (md_parse_option): Likewise.
3499 * config/tc-i960.c (md_parse_option): Likewise.
3500 * config/tc-ia64.c (md_parse_option): Likewise.
3501 * config/tc-ip2k.c (md_parse_option): Likewise.
3502 * config/tc-iq2000.c (md_parse_option): Likewise.
3503 * config/tc-lm32.c (md_parse_option): Likewise.
3504 * config/tc-m32c.c (md_parse_option): Likewise.
3505 * config/tc-m32r.c (md_parse_option): Likewise.
3506 * config/tc-m68hc11.c (md_parse_option): Likewise.
3507 * config/tc-m68k.c (md_parse_option): Likewise.
3508 * config/tc-mcore.c (md_parse_option): Likewise.
3509 * config/tc-mep.c (md_parse_option): Likewise.
3510 * config/tc-metag.c (struct metag_long_option): Likewise.
3511 (md_parse_option): Likewise.
3512 * config/tc-microblaze.c (md_parse_option): Likewise.
3513 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3514 * config/tc-mips.c (md_parse_option): Adjust.
3515 * config/tc-mmix.c (md_parse_option): Likewise.
3516 * config/tc-mn10200.c (md_parse_option): Likewise.
3517 * config/tc-mn10300.c (md_parse_option): Likewise.
3518 * config/tc-moxie.c (md_parse_option): Likewise.
3519 * config/tc-msp430.c (md_parse_option): Likewise.
3520 * config/tc-mt.c (md_parse_option): Likewise.
3521 * config/tc-nds32.c (md_parse_option): Likewise.
3522 * config/tc-nds32.h (nds32_parse_option): Likewise.
3523 * config/tc-nios2.c (md_parse_option): Likewise.
3524 * config/tc-ns32k.c (md_parse_option): Likewise.
3525 * config/tc-or1k.c (md_parse_option): Likewise.
3526 * config/tc-pdp11.c (md_parse_option): Likewise.
3527 * config/tc-pj.c (md_parse_option): Likewise.
3528 * config/tc-ppc.c (md_parse_option): Likewise.
3529 * config/tc-rl78.c (md_parse_option): Likewise.
3530 * config/tc-rx.c (md_parse_option): Likewise.
3531 * config/tc-s390.c (s390_parse_cpu): Likewise.
3532 * config/tc-score.c (md_parse_option): Likewise.
3533 * config/tc-sh.c (md_parse_option): Likewise.
3534 * config/tc-sparc.c (md_parse_option): Likewise.
3535 * config/tc-spu.c (md_parse_option): Likewise.
3536 * config/tc-tic30.c (md_parse_option): Likewise.
3537 * config/tc-tic4x.c (md_parse_option): Likewise.
3538 * config/tc-tic54x.c (md_parse_option): Likewise.
3539 * config/tc-tic6x.c (md_parse_option): Likewise.
3540 * config/tc-tilegx.c (md_parse_option): Likewise.
3541 * config/tc-tilepro.c (md_parse_option): Likewise.
3542 * config/tc-v850.c (md_parse_option): Likewise.
3543 * config/tc-vax.c (md_parse_option): Likewise.
3544 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3545 * config/tc-xc16x.c (md_parse_option): Likewise.
3546 * config/tc-xgate.c (md_parse_option): Likewise.
3547 * config/tc-xstormy16.c (md_parse_option): Likewise.
3548 * config/tc-xtensa.c (md_parse_option): Likewise.
3549 * config/tc-z80.c (md_parse_option): Likewise.
3550 * config/tc-z8k.c (md_parse_option): Likewise.
3551 * tc.h (md_parse_option): Likewise.
3553 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3555 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3556 * config/tc-hppa.c (fix_new_hppa): Likewise.
3557 (pa_vtable_entry): Likewise.
3558 (pa_vtable_inherit): Likewise.
3559 * config/tc-m68k.c (md_begin): Likewise.
3561 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3563 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3564 * config/obj-elf.h (obj_elf_section_name): Adjust.
3565 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3566 (aarch64_parse_cpu): Likewise.
3567 (aarch64_parse_arch): Likewise.
3568 * config/tc-arm.c (arm_parse_extension): Likewise.
3569 (arm_parse_cpu): Likewise.
3570 (arm_parse_arch): Likewise.
3571 * config/tc-nds32.c: Likewise.
3572 * config/xtensa-relax.c (parse_special_fn): Likewise.
3573 * stabs.c (generate_asm_file): Likewise.
3575 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3577 * config/tc-cr16.c (cr16_assemble): New function.
3578 (md_assemble): Call cr16_assemble.
3580 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3582 * as.c (parse_args): Adjust.
3583 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3584 * config/obj-elf.c (elf_frob_symbol): Adjust.
3586 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3588 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3589 registers to be in the 16..31 range.
3591 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3593 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3596 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3598 * config/tc-visium.c (md_atof): Localize the string returned on
3601 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3603 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3604 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3605 * config/tc-m68hc11.c (md_begin): Likewise.
3606 (print_opcode_list): Likewise.
3607 * config/tc-msp430.c (msp430_section): Likewise.
3608 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3609 (s3_build_dependency_insn_hsh): Likewise.
3610 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3611 (s7_build_dependency_insn_hsh): Likewise.
3612 * config/tc-tic4x.c: Likewise.
3613 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3614 (subsym_get_arg): Likewise.
3615 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3616 (get_directive): Likewise.
3617 (cache_literal_section): Likewise.
3618 * config/xtensa-relax.c: Likewise.
3619 * symbols.c (symbol_create): Likewise.
3620 (local_symbol_make): Likewise.
3621 (symbol_relc_make_expr): Likewise.
3623 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3625 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3628 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3630 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3633 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3635 * config/tc-ia64.c (ia64_do_align): Remove.
3636 (ia64_cons_align): Call do_align () directly.
3637 (dot_proc): Likewise.
3638 (stmt_float_cons): Likewise.
3640 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3642 * listing.c (listing_message): Use XNEW style allocation macros.
3643 * read.c (read_a_source_file): Likewise.
3644 (read_symbol_name): Likewise.
3645 (s_mri_common): Likewise.
3646 (assign_symbol): Likewise.
3647 (s_reloc): Likewise.
3648 (emit_expr_with_reloc): Likewise.
3649 (s_incbin): Likewise.
3650 (s_include): Likewise.
3651 * sb.c (sb_build): Likewise.
3652 (sb_check): Likewise.
3654 2016-03-22 Alan Modra <amodra@gmail.com>
3656 * write.c (record_alignment): Revert 2016-02-18 change.
3658 2016-03-22 Alan Modra <amodra@gmail.com>
3660 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3661 (emit_jsrjmp, tc_gen_reloc): Likewise.
3662 * config/tc-i370.c (i370_macro): Likewise.
3664 2016-03-22 Nick Clifton <nickc@redhat.com>
3666 * configure: Regenerate.
3668 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3670 * testsuite/gas/arc/nps400-0.d: New file.
3671 * testsuite/gas/arc/nps400-0.s: New file.
3672 * testsuite/gas/arc/nps400-1.d: New file.
3673 * testsuite/gas/arc/nps400-1.s: New file.
3675 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3677 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3678 declarations to start of block. Reset code on all flags before
3679 attempting to match them. Handle multiple hits on the same flag.
3681 * testsuite/gas/arc/asm-errors.d: New file.
3682 * testsuite/gas/arc/asm-errors.err: New file.
3683 * testsuite/gas/arc/asm-errors.s: New file.
3685 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3687 * config/tc-arc.c (cpu_types): Add nps400 entry.
3688 (check_zol): Handle nps400.
3690 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3692 * config/tc-arc.c (arc_select_cpu): Remove use of
3695 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3697 * config/tc-arc.c (arc_target): Delay initialisation until
3699 (arc_target_name): Likewise.
3700 (arc_features): Likewise.
3701 (arc_mach_type): Likewise.
3702 (cpu_types): Remove "all" entry.
3703 (arc_select_cpu): New function, most of the content is from...
3704 (md_parse_option): ... here. Call new arc_select_cpu.
3705 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3707 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3709 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3710 * testsuite/gas/arc/inline-data-2.d: New file.
3712 2016-03-21 Nick Clifton <nickc@redhat.com>
3714 * atof-generic.c: Replace use of alloca with call to xmalloc.
3716 * dwarf2dbg.c: Likewise.
3717 * macro.c: Likewise.
3718 * remap.c: Likewise.
3719 * stabs.c: Likewise.
3720 * symbols.c: Likewise.
3721 * config/obj-elf.c: Likewise.
3722 * config/tc-aarch64.c: Likewise.
3723 * config/tc-arc.c: Likewise.
3724 * config/tc-arm.c: Likewise.
3725 * config/tc-avr.c: Likewise.
3726 * config/tc-ia64.c: Likewise.
3727 * config/tc-mips.c: Likewise.
3728 * config/tc-msp430.c: Likewise.
3729 * config/tc-nds32.c: Likewise.
3730 * config/tc-ppc.c: Likewise.
3731 * config/tc-sh.c: Likewise.
3732 * config/tc-tic30.c: Likewise.
3733 * config/tc-tic54x.c: Likewise.
3734 * config/tc-xstormy16.c: Likewise.
3735 * config/te-vms.c: Likewise.
3736 * configure: Regenerate.
3738 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3740 * tc-i386.c (f32_1): Change type to unsigned char[].
3760 (jump_31): Likewise.
3761 (f32_patt): Likewise.
3762 (f16_patt): Likewise.
3771 (alt_patt): Likewise.
3773 2016-03-18 Nick Clifton <nickc@redhat.com>
3775 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3776 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3777 .tlsdescldr and .xword directives.
3780 * testsuite/gas/aarch64/pr19721.s: New test source file.
3781 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3783 * doc/as.texinfo: Place the target specific command line options
3784 into their own man page section.
3786 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3788 * config/tc-arm.c (N_S_32): New.
3789 (N_F_16_32): Likewise.
3790 (N_SUF_32): Support N_F16.
3791 (N_IF_32): Likewise.
3792 (neon_dyadic_misc): Likewise.
3793 (do_neon_cmp): Likewise.
3794 (do_neon_cmp_inv): Likewise.
3795 (do_neon_mul): Likewise.
3796 (do_neon_fcmp_absolute): Likewise.
3797 (do_neon_step): Likewise.
3798 (do_neon_abs_neg): Likewise.
3799 (CVT_FLAVOR_VAR): Likewise.
3800 (do_neon_cvt_1): Likewise.
3801 (do_neon_recip_est): Likewise.
3802 (do_vmaxnm): Likewise.
3803 (do_vrint_1): Likewise.
3804 (neon_check_type): Check architecture support for FP16 extension.
3805 (insns): Update comments.
3806 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3807 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3808 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3809 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3811 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3813 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3816 2016-03-16 Nick Clifton <nickc@redhat.com>
3818 * read.c (emit_expr_with_reloc): Add code check a bignum with
3820 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3822 * testsuite/gas/elf/bignum.s: New test source file.
3823 * testsuite/gas/elf/bignum.d: New test driver file.
3824 * testsuite/gas/elf/elf.exp: Run the new test.
3826 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3828 * doc/c-i386.texi (Register Naming): Update to details of the
3829 latest architecture version.
3831 2016-03-10 Mickael Guene <mickael.guene@st.com>
3834 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3836 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3837 (do_t_mov_cmp): Likewise.
3838 (do_t_add_sub): Protect against bad relocations usage.
3839 (do_t_mov_cmp): Likewise.
3840 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3841 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3842 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3843 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3845 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3847 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3849 (do_neon_ld_st_lane): Likewise.
3850 (do_neon_ld_dup): Likewise.
3852 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3854 * testsuite/gas/arc/inline-data-1.d: New file.
3855 * testsuite/gas/arc/inline-data-1.s: New file.
3857 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3859 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3860 * doc/c-arm.texi: Add cortex-r8.
3862 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3864 * config/tc-arc.c: Add const qualifiers.
3865 * config/tc-h8300.c (md_begin): Likewise.
3866 * config/tc-ia64.c (print_prmask): Likewise.
3867 * config/tc-msp430.c (msp430_operands): Likewise.
3868 * config/tc-nds32.c (struct suffix_name): Likewise.
3869 (struct nds32_parse_option_table): Likewise.
3870 (struct nds32_set_option_table): Likewise.
3871 (do_pseudo_pushpopm): Likewise.
3872 (do_pseudo_pushpop_stack): Likewise.
3873 (nds32_relax_relocs): Likewise.
3874 (nds32_flag): Likewise.
3875 (struct nds32_hint_map): Likewise.
3876 (nds32_find_reloc_table): Likewise.
3877 (nds32_match_hint_insn): Likewise.
3878 * config/tc-s390.c: Likewise.
3879 * config/tc-sh.c (get_specific): Likewise.
3880 * config/tc-tic30.c: Likewise.
3881 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3882 (tic4x_indirect_parse): Likewise.
3883 * config/tc-vax.c (vax_cons): Likewise.
3884 * config/tc-z80.c (struct reg_entry): Likewise.
3885 * config/tc-epiphany.c (md_assemble): Adjust.
3886 (epiphany_assemble): New function.
3887 (epiphany_elf_section_rtn): Call do_align directly.
3888 (epiphany_elf_section_text): Likewise.
3889 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3890 (ip2k_elf_section_text): Likewise.
3891 * read.c (do_align): Make it not static.
3892 * read.h (do_align): New prototype.
3894 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3896 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3897 for ARMv8.1 AdvSIMD use.
3898 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3899 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3901 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3903 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3905 (record_feature_use): New.
3906 (mark_feature_used): Use record_feature_use.
3907 (do_neon_qrdmlah): New.
3908 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3910 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3911 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3912 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3913 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3914 Make source file explicit.
3915 * testsuite/gas/arm/armv8-a+rdma.l: New.
3916 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3917 directives. Fix white-space.
3918 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3920 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3922 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3924 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3925 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3927 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3928 (tc_arc_fix_adjustable): Changed default return value to 1.
3929 * testsuite/gas/arc/j.d: Updated expected symbol
3930 * testsuite/gas/arc/jl.d: Likewise
3931 * testsuite/gas/arc/relax-avoid1.d: Likewise
3932 * testsuite/gas/arc/st.d: Likewise
3934 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3936 * config/tc-arc.c: Enable code density instructions for ARC EM.
3938 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3941 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3943 * as.c (flag_use_elf_stt_common): New.
3944 (show_usage): Add --elf-stt-common=.
3945 (option_values): Add OPTION_ELF_STT_COMMON.
3946 (std_longopts): Add --elf-stt-common=.
3947 (parse_args): Handle --elf-stt-common=.
3948 * as.h (flag_use_elf_stt_common): New.
3949 * config.in: Regenerated.
3950 * configure: Likewise.
3951 * configure.ac: Add --enable-elf-stt-common and define
3952 DEFAULT_GENERATE_ELF_STT_COMMON.
3953 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3954 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3955 * doc/as.texinfo: Document --elf-stt-common=.
3956 * testsuite/gas/elf/common3.s: New file.
3957 * testsuite/gas/elf/common3a.d: Likewise.
3958 * testsuite/gas/elf/common3b.d: Likewise.
3959 * testsuite/gas/elf/common4.s: Likewise.
3960 * testsuite/gas/elf/common4a.d: Likewise.
3961 * testsuite/gas/elf/common4b.d: Likewise.
3962 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3963 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3964 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3966 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3967 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3968 --elf-stt-common=no to as.
3969 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3970 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3971 --elf-stt-common=no to as.
3972 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3973 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3974 of dw2-compress-3 and dw2-compressed-3.
3976 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3978 * as.c (select_emulation_mode): Add const qualifiers.
3980 * config/bfin-defs.h: Likewise.
3981 * config/bfin-parse.y: Likewise.
3982 * config/rx-parse.y: Likewise.
3983 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3984 (struct aarch64_cpu_option_table): Likewise.
3985 (struct aarch64_arch_option_table): Likewise.
3986 (struct aarch64_option_cpu_value_table): Likewise.
3987 (struct aarch64_long_option_table): Likewise.
3988 (struct aarch64_option_abi_value_table): Likewise.
3989 * config/tc-arm.c (struct reloc_entry): Likewise.
3990 (tc_gen_reloc): Likewise.
3991 (struct arm_option_table): Likewise.
3992 (struct arm_legacy_option_table): Likewise.
3993 (struct arm_cpu_option_table): Likewise.
3994 (struct arm_arch_option_table): Likewise.
3995 (struct arm_option_extension_value_table): Likewise.
3996 (struct arm_option_fpu_value_table): Likewise.
3997 (struct arm_option_value_table): Likewise.
3998 (struct arm_long_option_table): Likewise.
3999 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4000 (struct mcu_type_s): Likewise.
4001 (struct exp_mod_s): Likewise.
4002 (avr_operand): Likewise.
4003 (avr_operands): Likewise.
4004 * config/tc-d10v.c (md_begin): Likewise.
4005 * config/tc-dlx.c: Likewise.
4006 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4007 * config/tc-ft32.c (parse_condition): Likewise.
4008 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4009 * config/tc-hppa.c (pa_ip): Likewise.
4010 (hppa_regname_to_dw2regnum): Likewise.
4011 * config/tc-i370.c (i370_elf_suffix): Likewise.
4012 * config/tc-i960.c (struct tabentry): Likewise.
4013 * config/tc-m32r.c: Likewise.
4014 * config/tc-m68k.c: Likewise.
4015 * config/tc-m68k.h: Likewise.
4016 * config/tc-mcore.c (parse_psrmod): Likewise.
4017 * config/tc-metag.c (struct metag_core_option): Likewise.
4018 (struct metag_long_option): Likewise.
4019 * config/tc-microblaze.c: Likewise.
4020 * config/tc-mips.c (macro): Likewise.
4021 * config/tc-mn10200.c: Likewise.
4022 * config/tc-mn10300.c: Likewise.
4023 * config/tc-msp430.c (struct rcodes_s): Likewise.
4024 (struct hcodes_s): Likewise.
4025 (md_parse_option): Likewise.
4026 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4027 (optlist): Likewise.
4028 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4029 (tc_ppc_regname_to_dw2regnum): Likewise.
4030 * config/tc-ppc.h: Likewise.
4031 * config/tc-rl78.c: Likewise.
4032 * config/tc-rx.c (struct cpu_type): Likewise.
4033 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4034 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4035 (sparc_ip): Likewise.
4036 * config/tc-spu.c (insn_fmt_string): Likewise.
4037 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4038 * config/tc-v850.c: Likewise.
4039 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4040 (struct visium_long_option_table): Likewise.
4041 * config/tc-xgate.c: Likewise.
4042 * config/tc-z8k.c: Likewise.
4043 * read.c (add_include_dir): Likewise.
4046 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4048 * testsuite/gas/all/gas.exp: Change target pattern to cover
4050 * testsuite/gas/all/redef3.d: Likewise.
4051 * testsuite/gas/elf/elf.exp: Likewise.
4053 2016-02-24 Renlin Li <renlin.li@arm.com>
4055 * config/tc-arm.c (BAD_FP16): New error message macro.
4056 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4057 fp16 scalar instructions.
4058 (neon_check_type): Allow different size from key.
4059 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4060 (try_vfp_nsyn): Likewise.
4061 (do_vfp_nsyn_mla_mls): Likewise.
4062 (do_vfp_nsyn_fma_fms): Likewise.
4063 (do_vfp_nsyn_ldm_stm): Likewise
4064 (do_vfp_nsyn_sqrt): Likewise
4065 (do_vfp_nsyn_div): Likewise
4066 (do_vfp_nsyn_nmul): Likewise.
4067 (do_vfp_nsyn_cmp): Likewise.
4068 (do_neon_shll): Likewise.
4069 (do_vfp_nsyn_cvt_fpv8): Likewise.
4070 (do_neon_cvttb_2): Likewise.
4071 (do_neon_mov): Likewise.
4072 (do_neon_rshift_round_imm): Likewise.
4073 (do_neon_ldr_str): Likewise.
4074 (do_vfp_nsyn_fpv8): Likewise.
4075 (do_vmaxnm): Likewise.
4076 (do_vrint_1): Likewise.
4077 (insns): New entry for vins, vmovx.
4078 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4079 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4080 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4081 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4082 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4083 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4084 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4086 2016-02-24 Renlin Li <renlin.li@arm.com>
4088 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4089 (neon_shape_class): New SC_HALF.
4090 (neon_shape_el): New SE_H.
4091 (neon_shape_el_size): New size for SE_H.
4092 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4093 (neon_select_shape): Add SE_H support code.
4094 (el_type_of_type_chk): Use N_F_ALL.
4095 (do_vfp_nsyn_cvt): Add SE_H shape support.
4096 (do_neon_cvtz): Likewise.
4097 (do_neon_cvt_1): Likewise.
4098 (do_neon_cvttb_1): Likewise.
4100 2016-02-24 Renlin Li <renlin.li@arm.com>
4102 * testsuite/gas/arm/copro.d: Adjust output.
4103 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4105 2016-02-24 Renlin Li <renlin.li@arm.com>
4107 * testsuite/gas/arm/mask_1.d: New.
4108 * testsuite/gas/arm/mask_1.s: New.
4110 2016-02-24 Renlin Li <renlin.li@arm.com>
4112 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4113 * testsuite/gas/arm/copro.d: Update.
4115 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4117 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4118 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4120 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4122 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4124 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4126 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4129 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4131 * output-file.c (output_file_create): Make file name argument const.
4132 (output_file_close): Likewise.
4133 * output-file.h (output_file_create): Adjust.
4134 (output_file_close): Likewise.
4135 * depend.c (quote_string_for_make): Make src argument const char *.
4136 (register_dependency): Likewise.
4137 (wrap_output): Likewise.
4138 * as.h (register_dependency): Adjust.
4139 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4141 * symbols.c (S_SET_EXTERNAL): Likewise.
4142 * input-scrub.c (as_where): Return the file name.
4143 * as.h (as_where): Adjust prototype.
4144 * app.c (do_scrub_chars): Adjust.
4145 * cond.c (s_elseif): Likewise.
4147 (initialize_cframe): Likewise.
4148 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4149 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4150 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4151 * config/tc-aarch64.c (output_info): Likewise.
4152 * config/tc-ia64.c (md_assemble): Likewise.
4153 (dot_alias): Likewise.
4154 * config/tc-m68k.c (m68k_frob_label): Likewise.
4155 * config/tc-mmix.c (s_bspec): Likewise.
4156 (mmix_handle_mmixal): Likewise.
4157 * config/tc-rx.c (rx_include): Likewise.
4158 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4159 (tic54x_adjust_symtab): Likewise.
4160 * config/tc-xtensa.c (directive_push): Likewise.
4161 (xtensa_sanity_check): Likewise.
4162 (xtensa_relax_frag): Likewise.
4163 (md_convert_frag): Likewise.
4164 (tinsn_to_slotbuf): Likewise.
4165 * dwarf2dbg.c (dwarf2_where): Likewise.
4166 * ecoff.c (add_file): Likewise.
4167 (ecoff_generate_asm_lineno): Likewise.
4168 * expr.c (make_expr_symbol): Likewise.
4169 * frags.c (frag_new): Likewise.
4170 (frag_var_init): Likewise.
4171 * listing.c (listing_newline): Likewise.
4172 * messages.c (identify): Likewise.
4173 (as_show_where): Likewise.
4174 (as_warn_internal): Likewise.
4175 (as_bad_internal): Likewise.
4176 * read.c (s_irp): Likewise.
4177 (s_macro): Likewise.
4178 (s_reloc): Likewise.
4179 * stabs.c (stabs_generate_asm_file): Likewise.
4180 (stabs_generate_asm_lineno): Likewise.
4181 (stabs_generate_asm_func): Likewise.
4182 * write.c (fix_new_internal): Likewise.
4183 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4184 (as_warn_value_out_of_range): Adjust prototype.
4185 (as_bad_value_out_of_range): Adjust prototype.
4186 * messages.c (identify): Make file name argument const char *.
4187 (as_warn_internal): Likewise.
4188 (as_warn_where): Likewise.
4189 (as_bad_internal): Likewise.
4190 (as_bad_where): Likewise.
4191 (as_internal_value_out_of_range): Likewise.
4192 (as_warn_value_out_of_range): Likewise.
4193 (as_bad_value_out_of_range): Likewise.
4194 * as.h (found_comment_file): Change type to const char *.
4195 * cond.c (file_line::file): Likewise.
4196 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4197 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4198 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4199 * config/tc-aarch64.c (output_info): Likewise.
4200 * config/tc-alpha.c (insert_operand): Likewise.
4201 * config/tc-arc.c (insert_operand): Likewise.
4202 * config/tc-d30v.c (check_size): Likewise.
4203 * config/tc-ia64.c (struct alias): Likewise.
4204 * config/tc-m68k.c (struct label_line): Likewise.
4205 * config/tc-mcore.c (md_apply_fix): Likewise.
4206 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4207 * config/tc-mips.c (mips16_immed): Likewise.
4208 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4209 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4210 * config/tc-rx.c (rx_include): Likewise.
4211 * config/tc-s390.c (s390_insert_operand): Likewise.
4212 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4213 (tic54x_adjust_symtab): Likewise.
4214 * config/tc-tilegx.c (insert_operand): Likewise.
4215 (apply_special_operator): Likewise.
4216 * config/tc-tilepro.c (insert_operand): Likewise.
4217 * config/tc-xtensa.c (directive_push): Likewise.
4218 * ecoff.c (add_file): Likewise.
4219 (ecoff_generate_asm_lineno): Likewise.
4220 * listing.c (listing_newline): Likewise.
4221 * read.c (s_irp): Likewise.
4222 * write.c (install_reloc): Likewise.
4223 * write.h (struct fix): Likewise.
4224 * input-file.c (file_name): Change type to const char *.
4225 (saved_file::file_name): Likewise.
4226 (input_file_open): Change type of argument to const char *.
4227 * input-file.h (input_file_open): Adjust.
4228 * input-scrub.c (logical_input_file): change type to const char *.
4229 (physical_input_file): Likewise.
4230 (struct input_save): Adjust.
4231 (input_scrub_push): Adjust.
4232 (input_scrub_begin): Adjust.
4234 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4235 (input_scrub_include_file): Likewise.
4236 (new_logical_line_flags): Likewise.
4237 (new_logical_line): Likewise.
4239 * frags.h (struct frag): Change type of fr_file to const char *.
4240 * expr.c (expr_symbol_where): Change type of file argument to
4242 * expr.h (expr_symbol_where): Likewise.
4243 * config/tc-i370.c (md_apply_fix): adjust.
4244 * config/tc-mmix.c (mmix_md_end): Likewise.
4245 * config/tc-ppc.c (md_apply_fix): Likewise.
4246 * config/tc-s390.c (md_apply_fix): Likewise.
4247 * symbols.c (report_op_error): Likewise.
4248 (resolve_symbol_value): Likewise.
4249 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4250 (rsrc::file): Likewise.
4251 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4253 (xtensa_relax_frag): Likewise.
4254 (md_convert_frag): Likewise.
4255 (tinsn_to_slotbuf): Likewise.
4256 * expr.c (expr_symbol_line): Likewise.
4257 * macro.c (define_macro): Likewise.
4258 * macro.h (macro_struct): Likewise.
4259 * messages.c (as_show_where): Likewise.
4260 * read.c (s_macro): Likewise.
4261 * stabs.c (stabs_generate_asm_file): Likewise.
4262 (generate_asm_file): Likewise.
4263 (stabs_generate_asm_lineno): Likewise.
4264 * write.h (struct reloc_list): Likewise.
4265 * input-scrub.c (as_where): Change return type to const char *.
4266 * as.h (as_wheree): Adjust.
4268 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4270 * write.c (compress_debug): Move BFD compression bits setting
4272 (write_object_file): Here.
4274 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4276 * config/tc-i386.c (register_number): Check RegVRex.
4277 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4278 with %zmm19 and %zmm3.
4279 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4280 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4282 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4283 Jiong Wang <jiong.wang@arm.com>
4285 * config/tc-arm.c (arm_ext_fp16): New.
4286 (arm_extensions): New entry for "fp16".
4288 2016-02-19 Nick Clifton <nickc@redhat.com>
4291 * read.c (read_a_source_file): Check for assemble_one returning
4292 with input_line_pointer set to NULL.
4294 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4296 * listing.c (rebuffer_line): Change return type to void.
4298 * symbols.c (decode_local_label_name): Make type a const char *.
4299 * listing.c (print_source): Make type of p const char *.
4300 (print_line): Make type of string const char *.
4301 (buffer_line): Return const char *.
4302 (title): Make type const char *.
4303 (subtitle): Likewise.
4304 (listing_listing): Make type of p const char *.
4305 * messages.c (as_internal_value_out_of_range): Make type of prefix
4307 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4308 and string const char *.
4309 * read.c (_bfd_rel): Make type of name const char *.
4310 * app.c (out_string): Change type to const char *.
4311 (struct app_save::out_string): Likewise.
4313 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4314 Nick Clifton <nickc@redhat.com>
4316 * read.c (finish_bundle): Avoid recording a negative alignment.
4317 (do_align): Use unsigned values for n, len and max. Only create
4318 a frag if the alignment requirement is greater than the minimum
4319 byte alignment. Avoid recording a negative alignment.
4320 (s_align): Use unsigned values where appropriate.
4321 (bss_alloc): Use an unsigned value for the alignment.
4322 (sizeof_sleb128): Add a comment noting that we encode one octet
4323 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4324 (emit_leb129_expr): Abort if the emitted encoding was longer than
4326 * read.h (output_leb128): Update prototype.
4327 (sizeof_leb128): Update prototype.
4328 (bss_alloc): Update prototype.
4329 * write.c (record_alignment): Use an unsigned value for the
4330 alignment. Do not record alignments less than the minimum
4331 alignment for a byte.
4332 * write.h (record_alignment): Update prototype.
4334 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4336 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4337 .init.literal/.fini.literal section name.
4338 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4339 list of xtensa tests.
4340 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4341 init-fini-literals test result patterns.
4342 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4343 init-fini-literals test.
4345 2016-02-17 Nick Clifton <nickc@redhat.com>
4347 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4348 devices.csv file as of March 2016.
4350 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4352 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4354 (tc_arc_regname_to_dw2regnum): Likewise.
4355 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4356 (tc_cfi_frame_initial_instructions): Likewise.
4357 (tc_regname_to_dw2regnum): Likewise.
4358 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4359 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4360 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4362 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4364 * doc/internals.texi (S_IS_EXTERN): Remove.
4366 2016-02-16 Nick Clifton <nickc@redhat.com>
4368 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4371 2016-02-16 Renlin Li <renlin.li@arm.com>
4374 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4375 * testsuite/gas/aarch64/movw_label.d: New.
4376 * testsuite/gas/aarch64/movw_label.s: New.
4378 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4381 * config/rx-parse.y (MOV): Opcode generation for index
4382 register addressing mode.
4383 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4384 * testsuite/gas/rx/pr19665.s: New file.
4385 * testsuite/gas/rx/pr19665.s: New file.
4386 * testsuite/gas/rx/mov.d: Update expected output.
4388 2016-02-15 Nick Clifton <nickc@redhat.com>
4390 * doc/as.texinfo (.section): Document that numeric values can now
4391 be used for the flags and type fields of the ELF target's .section
4392 directive. Add notes about the restrictions on setting flags and
4394 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4395 to be given processor specific section types. Allow processor and
4396 application specific flags of a section to be set after
4398 (obj_elf_parse_section_letters): Handle parsing numeric values.
4399 (obj_elf_section_type): Handle parsing numeric values.
4400 (obj_elf_section): Allow numeric type values.
4401 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4402 * testsuite/gas/elf/section10.d: New test.
4403 * testsuite/gas/elf/section10.s: Source file for new test.
4404 * testsuite/gas/elf/elf.exp: Run the new test.
4405 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4406 the description of the flags produced by readelf.
4407 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4408 * NEWS: Mention the new feature.
4410 2016-02-11 Nick Clifton <nickc@redhat.com>
4413 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4414 until it is actually used.
4415 (cfi_set_sections): Set cfi_sections_set to true.
4416 (dot_cfi_startproc): Likewise.
4417 (dot_cfi_endproc): Likewise.
4418 (dot_cfi_fde_data): Likewise.
4419 (cfi_finish): Likewise.
4420 (dot_cfi_sections): Do not set cfi_sections_set.
4421 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4422 their own cfi section name. Also note that the directive can be
4423 reissued provided that CFI generation has not started.
4424 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4425 .cfi_endproc directives so that the redefinition of .cfi_sections
4426 will trigger the generation of the error message.
4427 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4428 number of error message.
4430 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4431 Janek van Oirschot <jvanoirs@synopsys.com>
4433 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4434 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4436 (arc_flags, arc_relax_type): New structure.
4437 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4438 (RELAX_TABLE_ENTRY_MAX): New define.
4439 (relaxation_state, md_relax_table, arc_relaxable_insns)
4440 (arc_num_relaxable_ins): New variable.
4441 (rlx_operand_type, arc_rlx_types): New enums.
4442 (arc_relaxable_ins): New structure.
4443 (OPTION_RELAX): New option.
4444 (arc_insn): New relax member.
4445 (arc_flags): Remove.
4446 (relax_insn_p): New function.
4447 (apply_fixups): Likewise.
4448 (relaxable_operand): Likewise.
4449 (may_relax_expr): Likewise.
4450 (relaxable_flag): Likewise.
4451 (arc_pcrel_adjust): Likewise.
4452 (md_estimate_size_before_relax): Implement.
4453 (md_convert_frag): Likewise.
4454 (md_parse_option): Handle new mrelax option.
4455 (md_show_usage): Likewise.
4456 (assemble_insn): Set relax member.
4457 (emit_insn0): New function.
4458 (emit_insn1): Likewise.
4459 (emit_insn): Handle relaxation case.
4460 * NEWS: Mention the new relaxation option.
4461 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4462 * doc/as.texinfo (Target ARC Options): Likewise.
4463 * testsuite/gas/arc/relax-avoid1.d: New file.
4464 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4465 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4466 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4467 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4468 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4469 * testsuite/gas/arc/relax-b.d: Likewise.
4470 * testsuite/gas/arc/relax-b.s: Likewise.
4472 2016-02-08 Nick Clifton <nickc@redhat.com>
4474 * config/tc-ia64.c (dot_prologue): Fix formatting.
4476 2016-02-04 Nick Clifton <nickc@redhat.com>
4478 * config/obj-elf.c (obj_elf_change_section): Remove support for
4479 ARM NOREAD sections.
4480 * config/tc-arm.c (arm_elf_section_letter): Delete.
4481 * config/tc-arm.h (md_elf_section_letter): Delete.
4482 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4483 * testsuite/gas/arm/section-execute-only.d: Delete.
4484 * testsuite/gas/arm/section-execute-only.s: Delete.
4486 2016-02-04 Nick Clifton <nickc@redhat.com>
4489 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4490 to handle encoding of RRUX instruction.
4491 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4493 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4495 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4497 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4498 substitutions for BFD_RELOC_* as unsigned.
4499 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4500 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4501 * testsuite/gas/xtensa/loc.s: New file: loc test.
4503 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4505 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4507 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4510 * NEWS: Mention new command line option -mrelax-relocations and
4511 new configure option --enable-x86-relax-relocations for x86
4513 * config.in: Regenerated.
4514 * configure.ac: Add --enable-x86-relax-relocations.
4515 (ac_default_x86_relax_relocations): New. Default to 1 except
4516 for x86 Solaris targets older than Solaris 12.
4517 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4518 * configure: Likewise.
4519 * config/tc-i386.c (generate_relax_relocations): New.
4520 (OPTION_MRELAX_RELOCATIONS): Likewise.
4521 (output_disp): Don't generate relax relocations if
4522 generate_relax_relocations is 0.
4523 (md_longopts): Add -mrelax-relocations.
4524 (md_show_usage): Likewise.
4525 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4526 * doc/c-i386.texi: Document -mrelax-relocations=.
4527 * testsuite/gas/i386/got-no-relax.d: New file.
4528 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4529 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4530 * testsuite/gas/i386/localpic.d: Likewise.
4531 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4532 * testsuite/gas/i386/reloc32.d: Likewise.
4533 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4534 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4535 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4536 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4537 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4538 x86-64-gotpcrel-no-relax.
4540 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4542 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4545 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4547 * NEWS: Remove duplicated marker for 2.26.
4549 2016-02-02 Renlin Li <renlin.li@arm.com>
4551 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4553 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4555 * testsuite/gas/ip2k/allinsn.d: New file.
4556 * testsuite/gas/ip2k/allinsn.s: New file.
4557 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4559 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4561 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4562 some load instructions.
4563 * testsuite/gas/epiphany/allinsn.d: Likewise.
4564 * testsuite/gas/epiphany/regression.d: Likewise.
4566 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4568 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4569 suffixes from instruction mnemonics in expected output.
4570 * testsuite/gas/epiphany/allinsn.d: Likewise.
4571 * testsuite/gas/epiphany/regression.d: Likewise.
4572 * testsuite/gas/epiphany/sample.d: Likewise.
4574 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4576 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4578 * testsuite/gas/epiphany/allinsn.d: Likewise.
4579 * testsuite/gas/epiphany/sample.d: Likewise.
4581 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4583 * testsuite/gas/epiphany/sample.d: Update expected output.
4585 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4587 * config/tc-arc.c (md_apply_fix): Allow addendum.
4588 (arc_reloc_op): Allow complex expressions for tpoff.
4589 (md_apply_fix): Handle resolved TLS local symbol.
4590 * testsuite/gas/arc/tls-relocs1.d: New file.
4591 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4593 2016-02-01 Loria <Loria@phantasia.org>
4596 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4597 efficiency and avoid an LLVM loop optimization bug.
4599 2016-02-01 Nick Clifton <nickc@redhat.com>
4601 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4602 message extending a negative 32-bit value into a larger signed
4603 value on a 32-bit host.
4605 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4608 * configure.ac (compressed_debug_sections): Replace == with =.
4609 * configure: Regenerated.
4611 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4612 H.J. Lu <hongjiu.lu@intel.com>
4614 * config/tc-i386.c (avoid_fence): New.
4615 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4617 (OPTION_FENCE_AS_LOCK_ADD): New.
4618 (md_longopts): Add -mfence-as-lock-add.
4619 (md_parse_option): Handle -mfence-as-lock-add.
4620 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4621 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4622 * testsuite/gas/i386/i386.exp: Run new tests.
4623 * testsuite/gas/i386/fence-as-lock-add.s: New.
4624 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4625 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4626 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4627 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4629 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4631 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4632 * configure: Regenerated.
4634 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4636 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4637 (OPTION_MOMIT_LOCK_PREFIX): This.
4638 (md_longopts): Updated.
4639 (md_parse_option): Likewise.
4641 2016-01-25 Catherine Moore <clm@codesourcery.com>
4643 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4644 if abicalls are in effect.
4645 * testsuite/gas/mips/sdata-gp.s: New test.
4646 * testsuite/gas/mips/sdata-gp.d: New expected output
4647 * testsuite/gas/mips/mips.exp: Run new test.
4649 2016-01-25 Renlin Li <renlin.li@arm.com>
4651 * testsuite/gas/arm/thumb2_it_search.d: New.
4652 * testsuite/gas/arm/thumb2_it_search.s: New.
4654 2016-01-21 Nick Clifton <nickc@redhat.com>
4657 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4658 with arm-netbsdelf target.
4659 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4661 2016-01-20 Nick Clifton <nickc@redhat.com>
4664 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4665 * testsuite/gas/arm/blx-bl-convert.d
4666 * testsuite/gas/arm/plt-1.d: Likewise.
4667 * testsuite/gas/arm/reloc-bad.d: Likewise.
4668 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4669 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4670 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4671 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4674 * doc/as.texinfo (Errors): Correct documentation describing the
4675 interaction of .file and .line with warning and error messages.
4678 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4679 * testsuite/gas/arm/archv8m-main.d: Likewise.
4680 * testsuite/gas/arm/archv8m-base.d: Likewise.
4682 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4684 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4685 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4686 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4688 2016-01-20 Mickael Guene <mickael.guene@st.com>
4689 Terry Guo <terry.guo@arm.com>
4691 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4692 SHF_ARM_NOREAD section flag.
4693 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4695 (arm_elf_section_letter) : Declare it.
4696 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4697 SHF_ARM_NOREAD section flag.
4698 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4700 * testsuite/gas/arm/section-execute-only.s: New test case.
4701 * testsuite/gas/arm/section-execute-only.d: Expected output.
4703 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4705 * config/tc-mips.c (micromips_insn_length): Remove the mention
4706 of 48-bit microMIPS instructions.
4708 2016-01-18 Alan Modra <amodra@gmail.com>
4710 * configure: Regenerate.
4712 2016-01-17 Alan Modra <amodra@gmail.com>
4714 * configure: Regenerate.
4716 2016-01-17 Alan Modra <amodra@gmail.com>
4718 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4720 2016-01-14 Nick Clifton <nickc@redhat.com>
4722 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4723 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4724 * testsuite/gas/rl78/rl78.exp: Run the new test.
4726 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4728 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4729 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4731 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4733 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4735 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4737 * config/tc-h8300.c (get_operand): Remove spurious condition in
4738 test for closing parenthesis.
4740 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4742 * config/tc-arm.c (arm_ext_v8_2): New.
4744 * testsuite/gas/arm/armv8_2-a.d: New.
4745 * testsuite/gas/arm/armv8_2-a.s: New.
4747 2016-01-12 Alan Modra <amodra@gmail.com>
4749 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4751 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4753 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4754 xvcmpnesp, xvcmpnesp.>: Delete tests.
4755 * testsuite/gas/ppc/power9.s: Likewise.
4756 * testsuite/gas/ppc/vsx3.d: Likewise.
4757 * testsuite/gas/ppc/vsx3.s: Likewise.
4759 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4762 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4763 * testsuite/gas/m68k/p13050-1.s: New file.
4764 * testsuite/gas/m68k/p13050-2.d: New file.
4765 * testsuite/gas/m68k/p13050-2.s: New file.
4767 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4769 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4770 * testsuite/gas/arc/add.d: Likewise.
4771 * testsuite/gas/arc/and.d: Likewise.
4772 * testsuite/gas/arc/asl.d: Likewise.
4773 * testsuite/gas/arc/asr.d: Likewise.
4774 * testsuite/gas/arc/bic.d: Likewise.
4775 * testsuite/gas/arc/extb.d: Likewise.
4776 * testsuite/gas/arc/extw.d: Likewise.
4777 * testsuite/gas/arc/j.d: Likewise.
4778 * testsuite/gas/arc/jl.d: Likewise.
4779 * testsuite/gas/arc/ld2.d: Likewise.
4780 * testsuite/gas/arc/lsr.d: Likewise.
4781 * testsuite/gas/arc/mov.d: Likewise.
4782 * testsuite/gas/arc/or.d: Likewise.
4783 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4784 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4785 * testsuite/gas/arc/pic-relocs.d: Likewise.
4786 * testsuite/gas/arc/plt-relocs.d: Likewise.
4787 * testsuite/gas/arc/rlc.d: Likewise.
4788 * testsuite/gas/arc/ror.d: Likewise.
4789 * testsuite/gas/arc/rrc.d: Likewise.
4790 * testsuite/gas/arc/sbc.d: Likewise.
4791 * testsuite/gas/arc/sda-relocs.d: Likewise.
4792 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4793 * testsuite/gas/arc/sexb.d: Likewise.
4794 * testsuite/gas/arc/sexw.d: Likewise.
4795 * testsuite/gas/arc/st.d: Likewise.
4796 * testsuite/gas/arc/sub.d: Likewise.
4797 * testsuite/gas/arc/tls-relocs.d: Likewise.
4798 * testsuite/gas/arc/xor.d: Likewise.
4800 2016-01-01 Alan Modra <amodra@gmail.com>
4802 Update year range in copyright notice of all files.
4804 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4806 Copyright (C) 2016 Free Software Foundation, Inc.
4808 Copying and distribution of this file, with or without modification,
4809 are permitted in any medium without royalty provided the copyright
4810 notice and this notice are preserved.
4816 version-control: never