1 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
5 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
6 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
8 2016-10-19 Renlin Li <renlin.li@arm.com>
10 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
11 for register-shifted register instructions.
12 * testsuite/gas/arm/shift-bad-pc.d: New.
13 * testsuite/gas/arm/shift-bad-pc.l: New.
14 * testsuite/gas/arm/shift-bad-pc.s: New.
16 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
18 * testsuite/arc/dis-inv.d: Fixed matching.
20 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
22 * testsuite/arc/dis-inv.s: Test to validate patch.
23 * testsuite/arc/dis-inv.d: Likewise.
25 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
27 * testsuite/gas/arc/shortlimm_a7.d: New file.
28 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
29 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
30 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
32 2016-10-11 Nick Clifton <nickc@redhat.com>
34 * gas/arm/tls.d: Adjust output to match change in objdump.
36 2016-10-11 Jiong Wang <jiong.wang@arm.com>
39 * testsuite/gas/aarch64/alias-2.d: Update expected results.
41 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
43 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
44 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
45 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
46 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
47 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
48 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
49 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
50 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
51 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
53 2016-10-08 Alan Modra <amodra@gmail.com>
55 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
56 config/rx-parse.y. Move config/bfin-parse.y.
57 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
58 ($(srcdir)/config/rl78-defs.h): New rule.
59 * Makefile.in: Regenerate.
61 2016-10-07 Jiong Wang <jiong.wang@arm.com>
64 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
66 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
68 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
70 * testsuite/gas/arc/leave_enter.d: New file.
71 * testsuite/gas/arc/leave_enter.s: Likewise.
72 * testsuite/gas/arc/regnames.d: Likewise.
73 * testsuite/gas/arc/regnames.s: Likewise.
74 * config/tc-arc.c (arc_parse_name): Don't match reg names against
75 confirmed symbol names.
77 2016-10-06 Alan Modra <amodra@gmail.com>
79 * app.c (do_scrub_chars): Move fall through comment.
80 * expr.c (operand): Likewise.
82 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
85 * dw2gencfi.c (dot_cfi_sections): Refine the check for
86 inconsistent .cfi_sections to only consider compact vs non
88 * testsuite/gas/cfi/cfi-common-9.d: New file.
89 * testsuite/gas/cfi/cfi-common-9.s: New file.
90 * testsuite/gas/cfi/cfi.exp: Run new test.
92 2016-10-06 Alan Modra <amodra@gmail.com>
94 * app.c: Add missing fall through comments.
95 * dw2gencfi.c: Likewise.
97 * config/tc-alpha.c: Likewise.
98 * config/tc-arc.c: Likewise.
99 * config/tc-arm.c: Likewise.
100 * config/tc-cr16.c: Likewise.
101 * config/tc-crx.c: Likewise.
102 * config/tc-dlx.c: Likewise.
103 * config/tc-h8300.c: Likewise.
104 * config/tc-hppa.c: Likewise.
105 * config/tc-i370.c: Likewise.
106 * config/tc-i386.c: Likewise.
107 * config/tc-i960.c: Likewise.
108 * config/tc-ia64.c: Likewise.
109 * config/tc-m68hc11.c: Likewise.
110 * config/tc-m68k.c: Likewise.
111 * config/tc-mep.c: Likewise.
112 * config/tc-metag.c: Likewise.
113 * config/tc-microblaze.c: Likewise.
114 * config/tc-mips.c: Likewise.
115 * config/tc-ns32k.c: Likewise.
116 * config/tc-rx.c: Likewise.
117 * config/tc-score.c: Likewise.
118 * config/tc-score7.c: Likewise.
119 * config/tc-sh.c: Likewise.
120 * config/tc-tic4x.c: Likewise.
121 * config/tc-vax.c: Likewise.
122 * config/tc-xstormy16.c: Likewise.
123 * config/tc-z80.c: Likewise.
124 * config/tc-z8k.c: Likewise.
125 * config/obj-elf.c: Likewise.
126 * config/tc-i386.c: Likewise.
127 * depend.c: Spell fall through comments consistently.
128 * config/tc-arm.c: Likewise.
129 * config/tc-d10v.c: Likewise.
130 * config/tc-i960.c: Likewise.
131 * config/tc-ia64.c: Likewise.
132 * config/tc-m68k.c: Likewise.
133 * config/tc-mcore.c: Likewise.
134 * config/tc-mep.c: Likewise.
135 * config/tc-ns32k.c: Likewise.
136 * config/tc-visium.c: Likewise.
137 * config/tc-xstormy16.c: Likewise.
138 * config/tc-z8k.c: Likewise.
140 2016-10-06 Alan Modra <amodra@gmail.com>
142 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
144 2016-10-06 Alan Modra <amodra@gmail.com>
146 * config/tc-arc.c (find_opcode_match): Add missing break.
147 * config/tc-i960.c (get_cdisp): Likewise.
148 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
149 * config/tc-mt.c (md_parse_option): Likewise.
150 * config/tc-nds32.c (nds32_apply_fix): Likewise.
151 * config/tc-hppa.c (pa_ip): Assert rather than testing last
152 condition of multiple if statements.
153 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
154 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
155 out of case rather than falling into next case. Formatting.
157 2016-10-06 Alan Modra <amodra@gmail.com>
159 * config/rl78-parse.y: Don't use deprecated %name-prefix.
160 * config/rx-parse.y: Likewise.
162 2016-09-29 Jiong Wang <jiong.wang@arm.com>
165 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
166 testcases for H and S variants. New low index testcases for D variant.
167 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
169 2016-09-29 Alan Modra <amodra@gmail.com>
171 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
172 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
173 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
175 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
177 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
180 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
182 * Makefile.in: Regenerate.
183 * configure: Likewise.
184 * doc/Makefile.in: Likewise.
186 2016-09-26 Alan Modra <amodra@gmail.com>
188 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
189 (md_pseudo_table <ELF>): Handle "gnu_attribute".
191 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
193 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
194 register and redundant basepri_max.
196 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
198 * config/tc-aarch64.c (print_operands): Print spaces between
200 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
202 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
203 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
204 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
205 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
206 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
207 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
208 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
209 * testsuite/gas/aarch64/sve.d: Likewise.
210 * testsuite/gas/aarch64/symbol.d: Likewise.
211 * testsuite/gas/aarch64/system.d: Likewise.
212 * testsuite/gas/aarch64/tls-desc.d: Likewise.
213 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
214 in suggested alternatives.
215 * testsuite/gas/aarch64/verbose-error.l: Likewise.
217 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
219 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
220 rather than "should be" or "expected to be" in error messages.
221 (parse_operands): Likewise.
222 * testsuite/gas/aarch64/diagnostic.l: Likewise.
223 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
224 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
225 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
227 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
229 * config/tc-aarch64.c (opcode_lookup): Search for the end of
230 a condition name, rather than assuming that it will have exactly
232 (parse_operands): Likewise.
233 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
234 to the expected output.
235 * testsuite/gas/aarch64/beq_1.d: Likewise.
236 * testsuite/gas/aarch64/float-fp16.d: Likewise.
237 * testsuite/gas/aarch64/int-insns.d: Likewise.
238 * testsuite/gas/aarch64/no-aliases.d: Likewise.
239 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
240 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
241 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
244 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
246 * testsuite/gas/aarch64/diagnostic.s,
247 testsuite/gas/aarch64/diagnostic.l: Add tests for
248 invalid uses of MUL VL and MUL in base AArch64 instructions.
249 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
250 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
251 testsuite/gas/aarch64/sve-invalid.s,
252 testsuite/gas/aarch64/sve-invalid.d,
253 testsuite/gas/aarch64/sve-invalid.l,
254 testsuite/gas/aarch64/sve-reg-diagnostic.s,
255 testsuite/gas/aarch64/sve-reg-diagnostic.d,
256 testsuite/gas/aarch64/sve-reg-diagnostic.l,
257 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
259 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
261 * doc/c-aarch64.texi: Document the "sve" feature.
262 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
263 (get_reg_expected_msg): Handle it.
264 (parse_operands): When parsing operands of an SVE instruction,
265 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
266 (aarch64_features): Add an entry for SVE.
268 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
270 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
271 and FP register operands.
273 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
275 * config/tc-aarch64.c (double_precision_operand_p): New function.
276 (parse_operands): Use it to calculate the dp_p input to
277 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
279 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
281 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
284 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
286 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
288 (parse_shift): Handle SHIFTED_MUL_VL.
289 (parse_address_main): Add an imm_shift_mode parameter.
290 (parse_address, parse_sve_address): Update accordingly.
291 (parse_operands): Handle MUL VL addressing modes.
293 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
295 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
297 (get_reg_expected_msg): Handle them.
298 (aarch64_addr_reg_parse): New function, split out from
299 aarch64_reg_parse_32_64. Handle Z registers too.
300 (aarch64_reg_parse_32_64): Call it.
301 (parse_address_main): Add base_qualifier, offset_qualifier,
302 base_type and offset_type parameters. Handle SVE base and offset
304 (parse_address): Update call to parse_address_main.
305 (parse_sve_address): New function.
306 (parse_operands): Parse the new SVE address operands.
308 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
310 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
311 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
312 shift modes. Skip range tests for AARCH64_MOD_MUL.
313 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
314 (parse_operands): Likewise.
316 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
318 * config/tc-aarch64.c (parse_enum_string): New function.
319 (po_enum_or_fail): New macro.
320 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
321 AARCH64_OPND_SVE_PRFOP.
323 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
325 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
326 (parse_vector_type_for_operand): Assert that the skipped character
328 (parse_predication_for_operand): New function.
329 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
330 (vectype_to_qualifier): Handle NT_zero and NT_merge.
332 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
334 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
335 (AARCH64_REG_TYPES): Add ZN and PN.
336 (get_reg_expected_msg): Handle them.
337 (parse_vector_type_for_operand): Add a reg_type parameter.
338 Skip the width for Zn and Pn registers.
339 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
340 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
341 expecting the width to be 0.
342 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
344 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
345 (parse_operands): Handle the new Zn and Pn operands.
346 (REGSET16): New macro, split out from...
348 (reg_names): Add Zn and Pn entries.
350 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
352 * config/tc-aarch64.c (output_operand_error_record): Handle
353 AARCH64_OPDE_UNTIED_OPERAND.
355 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
357 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
358 instruction with all-NIL qualifiers to fail to match.
360 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
362 * config/tc-aarch64.c (parse_address_main): Remove reloc and
363 accept_reg_post_index parameters. Parse relocations and register
364 post indexes unconditionally.
365 (parse_address): Remove accept_reg_post_index parameter.
366 Update call to parse_address_main.
367 (parse_address_reloc): Delete.
368 (parse_operands): Call parse_address instead of parse_address_main.
369 Update existing callers of parse_address and make them check
370 inst.reloc.type where appropriate.
371 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
372 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
373 Also test for invalid uses of post-index register addressing.
374 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
376 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
378 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
380 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
381 (aarch64_check_reg_type): Simplify.
382 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
383 register number. Return the type as a qualifier rather than an
384 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
386 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
387 Use get_reg_expected_msg.
388 (parse_address_main): Likewise. Use aarch64_check_reg_type.
389 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
390 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
391 Use aarch64_check_reg_type to test the result.
392 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
393 addresses normally before enforcing the syntax restrictions.
394 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
395 zero register and for a stack pointer index.
396 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
397 Also update existing diagnostic messages after the above changes.
398 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
399 for 32-bit register bases.
401 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
403 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
404 (parse_operands): Check the range of 8-bit FP immediates here instead.
406 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
408 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
409 low-severity error for registers.
410 (parse_operands): Report an invalid floating point constant for
411 if parsing an FPIMM8 fails, and if no better error has been
413 * testsuite/gas/aarch64/diagnostic.s,
414 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
417 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
419 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
421 (can_convert_double_to_float): ...this. Accept any double-precision
422 value that converts to single precision without loss of precision.
423 (parse_aarch64_imm_float): Update accordingly.
425 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
427 * config/tc-aarch64.c (parse_immediate_expression): Add a
429 (parse_constant_immediate): Likewise, and update calls.
430 (parse_aarch64_imm_float): Likewise.
431 (parse_big_immediate): Likewise.
432 (po_imm_nc_or_fail): Update accordingly, passing down a new
433 imm_reg_type variable.
434 (po_imm_of_fail): Likewise.
435 (parse_operands): Likewise.
437 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
439 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
440 (parse_vector_reg_list): ...this and take a register type
442 (parse_operands): Update accordingly.
444 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
446 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
447 (parse_vector_type_for_operand): ...this.
448 (parse_typed_reg): Update accordingly.
450 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
452 * config/tc-aarch64.c (neon_type_el): Rename to...
453 (vector_type_el): ...this.
454 (parse_neon_type_for_operand): Update accordingly.
455 (parse_typed_reg): Likewise.
456 (aarch64_reg_parse): Likewise.
457 (vectype_to_qualifier): Likewise.
458 (parse_operands): Likewise.
459 (eq_neon_type_el): Likewise. Rename to...
460 (eq_vector_type_el): ...this.
461 (parse_neon_reg_list): Update accordingly.
463 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
465 * config/tc-aarch64.c (neon_el_type: Rename to...
466 (vector_el_type): ...this.
467 (neon_type_el): Update accordingly.
468 (parse_neon_type_for_operand): Likewise.
469 (vectype_to_qualifier): Likewise.
471 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
473 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
474 (parse_typed_reg): Call parse_neon_type_for_operand directly.
476 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
478 * testsuite/gas/arc/textinsnxop.d: New file.
479 * testsuite/gas/arc/textinsnxop.s: Likewise.
481 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
483 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
484 dcti-couples-v9 only in ELF targets to avoid spurious failures in
485 sparc-aout and sparc-coff targets.
487 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
489 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
490 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
491 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
492 <copy, paste.>: Update tests.
493 * testsuite/gas/ppc/power9.s: Likewise.
495 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
497 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
498 in "architecture mismatch" error messages.
500 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
502 * config/tc-sparc.c (md_assemble): Detect and warning on
503 unpredictable DCTI couples in certain arches.
504 (dcti_couples_detect): New global.
505 (md_longopts): Add command line option -dcti-couples-detect.
506 (md_show_usage): Document -dcti-couples-detect.
507 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
508 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
509 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
510 * testsuite/gas/sparc/dcti-couples.s: New file.
511 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
512 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
513 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
514 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
515 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
516 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
517 * doc/c-sparc.texi (Sparc-Opts): Likewise.
519 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
521 * testsuite/gas/arc/tls-relocs2.d: New file.
522 * testsuite/gas/arc/tls-relocs2.s: Likewise.
523 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
526 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
528 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
530 * doc/as.texinfo: Document new arch strings.
531 * doc/c-s390.texi: Likewise.
533 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
535 * config/tc-s390.c: Set all facitily bits by default
537 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
539 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
541 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
543 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
546 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
548 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
549 (set_cpu_arch): Updated.
550 (md_parse_option): Likewise.
551 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
552 iamcu-inval-2 and iamcu-inval-3.
553 * testsuite/gas/i386/iamcu-4.d: New file.
554 * testsuite/gas/i386/iamcu-4.s: Likewise.
555 * testsuite/gas/i386/iamcu-5.d: Likewise.
556 * testsuite/gas/i386/iamcu-5.s: Likewise.
557 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
558 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
559 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
560 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
562 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
564 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
565 ARMv8-A CPUs except xgene1.
567 2016-08-31 Alan Modra <amodra@gmail.com>
569 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
570 ppc_cpu rather than calling ppc_mach to determine VLE mode.
571 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
573 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
575 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
577 * testsuite/gas/sparc/crypto.s: Likewise.
579 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
581 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
582 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
583 their lowecase counterpart special registers. Write register
585 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
586 operation, special register and then case. Use different register for
587 each operation. Add tests for new special registers.
588 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
590 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
591 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
593 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
595 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
597 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
599 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
600 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
601 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
603 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
605 * config/tc-i386.c (cpu_arch): Add .ptwrite.
606 * doc/c-i386.texi: Document ptwrite and .ptwrite.
607 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
608 x86-64-ptwrite and x86-64-ptwrite-intel.
609 * testsuite/gas/i386/ptwrite-intel.d: New file.
610 * testsuite/gas/i386/ptwrite.d: Likewise.
611 * testsuite/gas/i386/ptwrite.s: Likewise.
612 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
613 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
614 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
616 2016-08-19 Tamar Christina <tamar.christina@arm.com>
618 * config/tc-arm.c (do_co_reg2c): Added constraint.
619 * testsuite/gas/arm/dest-unpredictable.s: New.
620 * testsuite/gas/arm/dest-unpredictable.l: New.
621 * testsuite/gas/arm/dest-unpredictable.d: New.
623 2016-08-19 Nick Clifton <nickc@redhat.com>
625 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
626 ordering of sections.
627 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
628 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
629 * testsuite/gas/ia64/alias.d: Likewise.
630 * testsuite/gas/ia64/group-1.d: Likewise.
631 * testsuite/gas/ia64/group-2.d: Likewise.
632 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
633 * testsuite/gas/ia64/secname.d: Likewise.
634 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
635 * testsuite/gas/ia64/unwind.d: Likewise.
636 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
637 * testsuite/gas/ia64/xdata.d: Likewise.
638 * testsuite/gas/mmix/bspec-1.d: Likewise.
639 * testsuite/gas/mmix/bspec-2.d: Likewise.
640 * testsuite/gas/mmix/byte-1.d: Likewise.
641 * testsuite/gas/mmix/loc-1.d: Likewise.
642 * testsuite/gas/mmix/loc-2.d: Likewise.
643 * testsuite/gas/mmix/loc-3.d: Likewise.
644 * testsuite/gas/mmix/loc-4.d: Likewise.
645 * testsuite/gas/mmix/loc-5.d: Likewise.
646 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
648 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
650 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
651 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
652 Add tests for -0.0. Add an end-of-file comment.
654 2016-08-05 Nick Clifton <nickc@redhat.com>
657 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
658 registers are pushed.
659 (do_vfp_nsyn_pop): Check that no more than 16 registers are
661 * testsuite/gas/arm/pr20429.s: New test.
662 * testsuite/gas/arm/pr20429.d: New test driver.
663 * testsuite/gas/arm/pr20429.1: Expected error output.
666 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
668 (aarch64_init): Treat rs_align frags in code sections as
669 containing code, not data.
670 * testsuite/gas/aarch64/pr20364.s: New test.
671 * testsuite/gas/aarch64/pr20364.d: New test driver.
673 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
676 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
677 of 64-bit relocation types when assembling for a 32-bit Solaris
680 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
682 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
684 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
685 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
686 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
687 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
689 (sparc_elf_setup): Delete.
690 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
693 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
695 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
696 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
697 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
698 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
699 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
700 (get_append_method): Also return APPEND_ADD_COMPACT for
701 microMIPS instructions.
702 (find_altered_mips16_opcode): Exclude macros from matching.
704 (find_altered_opcode): ... to this new function.
705 (find_altered_micromips_opcode): New function.
706 (frag_branch_delay_slot_size): Likewise.
707 (append_insn): Handle microMIPS branch/jump compaction.
708 (macro_start): Likewise.
709 (relaxed_micromips_32bit_branch_length): Likewise.
710 (md_convert_frag): Likewise.
711 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
712 for delay slot filling.
713 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
715 * testsuite/gas/mips/micromips-size-1.s: Likewise.
716 * testsuite/gas/mips/micromips.l: Adjust line numbers.
717 * testsuite/gas/mips/micromips-warn.l: Likewise.
718 * testsuite/gas/mips/micromips-size-1.l: Likewise.
719 * testsuite/gas/mips/micromips.d: Adjust padding.
720 * testsuite/gas/mips/micromips-trap.d: Likewise.
721 * testsuite/gas/mips/micromips-insn32.d: Likewise.
722 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
723 * testsuite/gas/mips/micromips@beq.d: Update patterns for
724 branch/jump compaction.
725 * testsuite/gas/mips/micromips@bge.d: Likewise.
726 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
727 * testsuite/gas/mips/micromips@blt.d: Likewise.
728 * testsuite/gas/mips/micromips@bltu.d: Likewise.
729 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
730 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
731 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
732 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
733 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
734 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
735 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
736 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
738 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
740 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
741 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
742 * testsuite/gas/mips/micromips@relax.d: Likewise.
743 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
744 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
745 * testsuite/gas/mips/branch-extern-2.d: Likewise.
746 * testsuite/gas/mips/branch-extern-4.d: Likewise.
747 * testsuite/gas/mips/branch-section-2.d: Likewise.
748 * testsuite/gas/mips/branch-section-4.d: Likewise.
749 * testsuite/gas/mips/branch-weak-2.d: Likewise.
750 * testsuite/gas/mips/branch-weak-5.d: Likewise.
751 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
752 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
753 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
754 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
756 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
758 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
760 * testsuite/gas/mips/micromips-compact.d: New test.
761 * testsuite/gas/mips/mips.exp: Run the new test.
763 2016-07-27 Graham Markall <graham.markall@embecosm.com>
765 * config/tc-arc.c: Add new global arc_addrtype_hash.
766 Define O_colon and O_addrtype.
767 (debug_exp): Add O_colon and O_addrtype.
768 (tokenize_arguments): Handle colon and address type
770 (declare_addrtype): New function.
771 (md_begin): Initialise arc_addrtype_hash.
772 (arc_parse_name): Add lookup of address types.
773 (assemble_insn): Handle colons and address types by
775 * testsuite/gas/arc/nps400-8.s: New file.
776 * testsuite/gas/arc/nps400-8.d: New file.
777 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
778 * testsuite/gas/arc/nps400-8.d: Add expected PMU
781 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
783 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
784 (RELAX_MICROMIPS_INSN32): New macro.
785 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
786 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
787 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
788 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
789 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
791 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
793 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
795 (md_convert_frag): Likewise.
796 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
798 * testsuite/gas/mips/micromips-branch-relax.l: Update line
800 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
801 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
802 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
804 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
806 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
808 * testsuite/gas/mips/mips.exp: Run the new tests.
810 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
812 * configure: Regenerated.
814 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
816 * testsuite/gas/arc/dsp.d: New file.
817 * testsuite/gas/arc/dsp.s: Likewise.
818 * testsuite/gas/arc/fpu.d: Likewise.
819 * testsuite/gas/arc/fpu.s: Likewise.
820 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
821 * testsuite/gas/arc/ext3op.d: Likewise.
822 * testsuite/gas/arc/tdpfp.d: Likewise.
823 * testsuite/gas/arc/tfpuda.d: Likewise.
825 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
827 * config/tc-mips.c (mips_force_relocation): Remove
828 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
830 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
832 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
833 Adjust comments for BAL to JALX linker conversion.
834 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
835 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
837 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
838 * testsuite/gas/mips/branch-local-4.d: New test.
839 * testsuite/gas/mips/branch-local-n32-4.d: New test.
840 * testsuite/gas/mips/branch-local-n64-4.d: New test.
841 * testsuite/gas/mips/branch-addend.d: New test.
842 * testsuite/gas/mips/branch-addend-n32.d: New test.
843 * testsuite/gas/mips/branch-addend-n64.d: New test.
844 * testsuite/gas/mips/branch-local-4.s: New test source.
845 * testsuite/gas/mips/branch-addend.s: New test source.
846 * testsuite/gas/mips/mips.exp: Run the new tests.
848 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
850 * config/tc-mips.c (mips_force_relocation): Also retain branch
851 relocations against MIPS16 and microMIPS symbols.
852 (fix_bad_cross_mode_jump_p): New function.
853 (fix_bad_same_mode_jalx_p): Likewise.
854 (fix_bad_misaligned_jump_p): Likewise.
855 (fix_bad_cross_mode_branch_p): Likewise.
856 (fix_bad_misaligned_branch_p): Likewise.
857 (fix_validate_branch): Likewise.
858 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
859 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
860 etc. Verify the ISA mode and alignment of the jump target.
861 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
862 with a call to `fix_validate_branch'.
863 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
864 <BFD_RELOC_16_PCREL_S2>: Likewise.
865 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
866 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
867 Verify the ISA mode and alignment of the branch target.
868 (md_convert_frag): Verify the ISA mode and alignment of resolved
869 MIPS16 branch targets.
870 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
871 branch targets with `.insn'.
872 * testsuite/gas/mips/branch-misc-5.s: Likewise.
873 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
875 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
876 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
877 non-instruction branch target with `.insn'.
878 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
879 with external symbols.
880 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
881 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
882 * testsuite/gas/mips/micromips-trap.d: Likewise.
883 * testsuite/gas/mips/micromips.d: Likewise.
884 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
885 targets with `.insn'.
886 * testsuite/gas/mips/mips16.d: Update accordingly.
887 * testsuite/gas/mips/mips16-64.d: Likewise.
888 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
889 branch target with `.insn'.
890 * testsuite/gas/mips/relax-swap3.s: Likewise.
891 * testsuite/gas/mips/branch-local-2.l: New list test.
892 * testsuite/gas/mips/branch-local-3.l: New list test.
893 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
894 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
895 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
896 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
897 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
898 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
899 * testsuite/gas/mips/unaligned-jump-3.d: New test.
900 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
901 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
902 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
903 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
905 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
907 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
908 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
909 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
910 * testsuite/gas/mips/unaligned-branch-3.d: New test.
911 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
912 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
913 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
914 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
915 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
916 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
917 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
918 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
919 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
920 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
922 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
924 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
925 * testsuite/gas/mips/branch-local-2.s: New test source.
926 * testsuite/gas/mips/branch-local-3.s: New test source.
927 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
928 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
929 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
930 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
931 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
932 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
933 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
934 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
935 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
937 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
939 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
940 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
941 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
942 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
943 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
944 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
945 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
947 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
949 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
951 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
953 * testsuite/gas/mips/mips.exp: Run the new tests.
955 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
957 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
959 (do_pseudo_b): Adjust.
960 (do_pseudo_bal): Likewise.
961 (do_pseudo_bge): Likewise.
962 (do_pseudo_bges): Likewise.
963 (do_pseudo_bgt): Likewise.
964 (do_pseudo_bgts): Likewise.
965 (do_pseudo_ble): Likewise.
966 (do_pseudo_bles): Likewise.
967 (do_pseudo_blt): Likewise.
968 (do_pseudo_blts): Likewise.
969 (do_pseudo_br): Likewise.
970 (do_pseudo_bral): Likewise.
971 (do_pseudo_la): Likewise.
972 (do_pseudo_li): Likewise.
973 (do_pseudo_ls_bhw): Likewise.
974 (do_pseudo_ls_bhwp): Likewise.
975 (do_pseudo_ls_bhwpc): Likewise.
976 (do_pseudo_ls_bhwi): Likewise.
977 (do_pseudo_move): Likewise.
978 (do_pseudo_neg): Likewise.
979 (do_pseudo_not): Likewise.
980 (do_pseudo_pushpopm): Likewise.
981 (do_pseudo_pushpop): Likewise.
982 (do_pseudo_v3push): Likewise.
983 (do_pseudo_v3pop): Likewise.
984 (do_pseudo_pushpop_stack): Likewise.
985 (do_pseudo_push_bhwd): Likewise.
986 (do_pseudo_pop_bhwd): Likewise.
987 (do_pseudo_pusha): Likewise.
988 (do_pseudo_pushi): Likewise.
990 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
992 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
993 bfd_reloc_code_real_type.
995 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
997 * config/tc-sparc.c (pop_table): Remove sentinel.
998 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1001 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1003 * config/tc-z8k.c (newfix): Make type of type argument
1004 bfd_reloc_code_real_type.
1005 (apply_fix): Likewise.
1007 2016-07-16 Alan Modra <amodra@gmail.com>
1009 * config/tc-epiphany.c: Don't include libbfd.h.
1010 * config/tc-frv.c: Likewise.
1011 * config/tc-ip2k.c: Likewise.
1012 * config/tc-iq2000.c: Likewise.
1013 * config/tc-m32c.c: Likewise.
1014 * config/tc-mep.c: Likewise.
1015 * config/tc-mt.c: Likewise.
1016 * config/tc-nios2.c: Likewise.
1018 2016-07-16 Alan Modra <amodra@gmail.com>
1020 * config/bfin-parse.y: Don't include libbfd.h.
1021 * config/tc-bfin.c: Likewise.
1022 * config/tc-rl78.c: Likewise.
1023 * config/tc-rx.c: Likewise.
1024 * config/tc-metag.c: Likewise.
1025 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1026 * Makefile.am: Update dependencies.
1027 * Makefile.in: Regenerate.
1029 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1031 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1032 (mips_force_relocation_abs): New prototype.
1033 * config/tc-mips.c (mips_force_relocation_abs): New function.
1034 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1035 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1036 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1037 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1038 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1040 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1042 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1043 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1044 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1046 * testsuite/gas/mips/mips.exp: Run the new tests.
1048 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1050 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1051 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1052 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1054 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1055 in `bar', export `foo'.
1056 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1058 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1059 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1060 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1062 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1065 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1067 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1068 * testsuite/gas/mips/branch-absolute.d: New test.
1069 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1070 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1071 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1072 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1073 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1074 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1075 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1077 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1079 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1080 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1081 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1082 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1084 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1086 * testsuite/gas/mips/branch-absolute.s: New test source.
1087 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1088 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1090 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1092 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1094 * testsuite/gas/mips/mips.exp: Run the new tests.
1096 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1098 * testsuite/gas/mips/nal-1.d: New test.
1099 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1100 * testsuite/gas/mips/nal-2.d: New test.
1101 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1102 * testsuite/gas/mips/nal.s: New test source.
1103 * testsuite/gas/mips/mips.exp: Run the new tests.
1105 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1107 * testsuite/gas/sparc/ldtxa.s: New file.
1108 * testsuite/gas/sparc/ldtxa.d: Likewise.
1109 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1111 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1113 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1114 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1115 as it is no longer needed.
1117 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1119 * config/tc-mips.c (append_insn): Remove extraneous
1120 `install_insn' call.
1122 2016-07-04 Jan Beulich <jbeulich@suse.com>
1124 * config/tc-i386.c (check_qword_reg): Correct register kind
1126 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1127 16-bit register cases.
1128 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1131 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1133 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1134 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1135 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1136 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1137 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1138 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1140 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1141 * testsuite/gas/mips/bge.d: Likewise.
1142 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1143 * testsuite/gas/mips/bgeu.d: Likewise.
1144 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1145 * testsuite/gas/mips/blt.d: Likewise.
1146 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1147 * testsuite/gas/mips/bltu.d: Likewise.
1148 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1149 * testsuite/gas/mips/branch-likely.d: Likewise.
1150 * testsuite/gas/mips/la.d: Likewise.
1151 * testsuite/gas/mips/lb.d: Likewise.
1152 * testsuite/gas/mips/lifloat.d: Likewise.
1153 * testsuite/gas/mips/sb.d: Likewise.
1154 * testsuite/gas/mips/uld.d: Likewise.
1155 * testsuite/gas/mips/ulh.d: Likewise.
1156 * testsuite/gas/mips/ulw.d: Likewise.
1157 * testsuite/gas/mips/usd.d: Likewise.
1158 * testsuite/gas/mips/ush.d: Likewise.
1159 * testsuite/gas/mips/usw.d: Likewise.
1161 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1163 * testsuite/gas/mips/branch-misc-2.s: Move non
1164 locally-defined-global symbol tests...
1165 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1166 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1167 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1168 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1169 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1170 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1171 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1172 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1173 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1174 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1175 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1176 * testsuite/gas/mips/branch-misc-5.d: New test.
1177 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1178 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1179 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1180 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1181 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1182 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1183 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1184 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1185 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1186 * testsuite/gas/mips/mips.exp: Run the new tests.
1188 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1190 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1192 * testsuite/gas/mips/beq.d: Update accordingly.
1193 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1194 * testsuite/gas/mips/micromips@beq.d: Likewise.
1196 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1198 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1199 tests to NewABI targets.
1201 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1203 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1206 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1208 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1210 (aarch64_features): Initialize require fields.
1211 (aarch64_parse_features): Handle dependencies.
1212 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1213 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1214 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1215 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1216 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1218 2016-07-01 Nick Clifton <nickc@redhat.com>
1220 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1221 extremely large integer.
1223 2016-07-01 Jan Beulich <jbeulich@suse.com>
1225 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1227 2016-07-01 Tristan Gingold <gingold@adacore.com>
1229 * NEWS: Add marker for 2.27.
1231 2016-07-01 Jan Beulich <jbeulich@suse.com>
1233 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1235 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1236 as well as scaling by other than 1 tests.
1237 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1239 2016-07-01 Jan Beulich <jbeulich@suse.com>
1241 * tc-i386.c (md_assemble): Alter address size checking for MPX
1243 * testsuite/gas/i386/mpx-inval-2.s: New.
1244 * testsuite/gas/i386/mpx-inval-2.l: New.
1245 * testsuite/gas/i386/i386.exp: Run new test.
1247 2016-07-01 Jan Beulich <jbeulich@suse.com>
1250 * config/tc-i386.c (match_template): Add char parameter,
1251 consumed in Intel mode for an extra suffix check.
1252 (md_assemble): New local variable mnem_suffix.
1253 * testsuite/gas/i386/suffix-bad.s: New.
1254 * testsuite/gas/i386/suffix-bad.l: New.
1255 * testsuite/gas/i386/i386.exp: Run new test (twice).
1257 2016-07-01 Jan Beulich <jbeulich@suse.com>
1259 * testsuite/gas/i386/movz.s: New.
1260 * testsuite/gas/i386/movz32.d: New.
1261 * testsuite/gas/i386/movz64.d: New.
1262 * testsuite/gas/i386/i386.exp: Run new tests.
1264 2016-07-01 Jan Beulich <jbeulich@suse.com>
1266 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1267 (md_assemble): Free first memory operand string.
1268 (i386_index_check): Use repprefixok to distingush xlat from
1269 other (real) string ops.
1270 (maybe_adjust_templates): New.
1271 (i386_att_operand). Call it. Store first memory operand string.
1272 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1273 * testsuite/gas/i386/intel-movs.s: New.
1274 * testsuite/gas/i386/intel-movs32.d: New.
1275 * testsuite/gas/i386/intel-movs64.d: New.
1276 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1277 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1279 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1281 * config/tc-mips.c (get_append_method): Fix a comment typo.
1283 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1284 Maciej W. Rozycki <macro@imgtec.com>
1286 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1287 case MIPS16 handling.
1288 * testsuite/gas/mips/branch-swap-3.d: New test.
1289 * testsuite/gas/mips/branch-swap-4.d: New test.
1290 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1291 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1292 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1293 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1294 * testsuite/gas/mips/branch-swap-3.s: New test source.
1295 * testsuite/gas/mips/mips.exp: Run the new tests.
1297 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1299 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1302 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1305 * write.c (subsegs_finish_section): Force no section padding to
1306 alignment on failed assembly, always set last frag's alignment
1308 * testsuite/gas/all/pr20312.l: New list test.
1309 * testsuite/gas/all/pr20312.s: New test source.
1310 * testsuite/gas/all/gas.exp: Run the new test
1312 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1314 * config.in (TARGET_WITH_CPU): Undefine.
1315 * configure.ac: Add --with-cpu support, and define in config.h.
1316 * configure: Regenerate.
1317 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1318 * NEWS: Mention new configure option.
1320 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1322 * testsuite/gas/arm/armv8_2+rdma.d: New.
1324 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1326 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1327 default for Linux/x86 targets.
1328 * configure.tgt (ac_default_compressed_debug_sections): Default
1329 to yes for Linux/x86 targets.
1331 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1333 * write.c: Remove "libbfd.h" inclusion.
1335 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1337 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1340 2016-06-28 Alan Modra <amodra@gmail.com>
1343 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1345 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1347 * testsuite/gas/aarch64/diagnostic.s,
1348 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1350 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1352 * config/tc-mips.c (mips16_reloc_p): Handle
1353 BFD_RELOC_MIPS16_16_PCREL_S1.
1354 (b_reloc_p): Likewise.
1355 (limited_pcrel_reloc_p): Likewise.
1356 (md_pcrel_from): Likewise.
1357 (md_apply_fix): Likewise.
1358 (tc_gen_reloc): Likewise.
1359 (md_convert_frag): Likewise.
1360 (mips_fix_adjustable): Update comment.
1361 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1362 output, add dump patterns.
1363 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1364 output, add dump patterns.
1365 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1366 output, add dump patterns.
1367 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1368 output, add dump patterns.
1369 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1370 output, add dump patterns.
1371 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1372 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1373 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1374 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1375 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1376 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1377 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1378 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1379 * testsuite/gas/mips/branch-weak-6.d: New test.
1380 * testsuite/gas/mips/branch-weak-7.d: New test.
1381 * testsuite/gas/mips/mips.exp: Run the new tests.
1383 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1385 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1386 cfi_add_CFA_def_cfa to generate default CFA with offset
1387 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1389 2016-06-27 Nick Clifton <nickc@redhat.com>
1392 * as.h (do_not_pad_sections_to_alignment): New global variable.
1393 * as.c (show_usage): Add --no-pad-sections.
1394 (parse_args): Likewise.
1395 * write.c (size_seg): Skip padding the end of the section if
1396 requested from the command line.
1397 (SUB_SEGMENT_ALIGN): Likewise.
1398 * doc/as.texinfo: Document the new option.
1399 * NEWS: Mention the new feature.
1400 * testsuite/gas/elf/section11.s: New test.
1401 * testsuite/gas/elf/section11.d: New test driver.
1402 * testsuite/gas/elf/elf.exp: Run the new test.
1404 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1406 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1407 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1409 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1411 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1413 (map_suffix_reloc_to_operator): Likewise.
1414 (map_operator_to_reloc): Likewise.
1416 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1418 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1419 element in relax_table.
1421 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1423 * config/tc-aarch64.c: Make the type of reg_entry::type
1426 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1428 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1429 (md_parse_option): Adjust.
1430 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1431 with iteration from 0 to ARRAY_SIZE.
1432 * config/tc-mcore.c (md_begin): Likewise.
1433 * config/tc-visium.c (visium_parse_arch): Likewise.
1435 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1437 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1438 and simplify accordingly.
1439 (tic54x_include): Adjust.
1440 (tic54x_mlib): Likewise.
1442 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1444 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1446 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1448 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1449 unchanged with relaxed MIPS16 instructions.
1450 (mips16_extended_frag): Adjust accordingly. Return 1 right
1451 away if a relocation will be required for the symbol requested.
1452 Remove dead first relaxation pass code.
1453 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1454 (md_convert_frag): Adjust symbol value calculation. Raise an
1455 error if a relocation is required for the symbol requested.
1456 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1458 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1459 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1460 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1461 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1462 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1463 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1464 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1465 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1466 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1467 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1468 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1469 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1470 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1471 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1472 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1473 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1474 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1475 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1476 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1477 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1478 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1479 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1480 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1481 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1482 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1483 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1484 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1485 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1486 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1487 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1488 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1489 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1490 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1491 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1492 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1493 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1494 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1495 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1496 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1497 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1498 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1499 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1500 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1501 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1502 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1503 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1504 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1505 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1506 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1507 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1508 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1509 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1510 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1511 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1512 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1513 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1514 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1515 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1516 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1517 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1518 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1519 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1520 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1521 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1522 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1523 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1524 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1525 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1526 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1527 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1528 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1529 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1530 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1531 * testsuite/gas/mips/mips.exp: Run the new tests.
1533 2016-06-24 Alan Modra <amodra@gmail.com>
1535 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1537 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1539 * config/tc-mips.c (b_reloc_p): New function.
1540 (mips_fix_adjustable): Also keep the original microMIPS symbol
1541 referred from branch relocations.
1542 * testsuite/gas/mips/branch-local-1.d: New test.
1543 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1544 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1545 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1547 * testsuite/gas/mips/branch-local-1.s: New test source.
1548 * testsuite/gas/mips/mips.exp: Run the new cases.
1550 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1552 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1553 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1554 options. Correct erroneous enabling of SPFP instructions when
1557 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1559 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1560 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1561 setbool, xor3>: New tests.
1562 * testsuite/gas/ppc/power9.s: Likewise.
1564 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1566 * config/tc-xtensa.c: Include elf/xtensa.h.
1568 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1570 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1571 <BFD_RELOC_LO16_PCREL>: New switch cases.
1572 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1573 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1574 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1575 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1577 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1578 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1579 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1580 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1581 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1582 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1583 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1584 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1585 * testsuite/gas/mips/mips.exp: Run the new tests.
1587 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1589 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1590 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1591 via `fixP->fx_addsy'.
1593 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1595 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1596 Calculate relocation from the containing aligned doubleword.
1597 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1598 addend from the containing aligned doubleword.
1600 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1602 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1603 rather than `mips_opts' for the R6 ISA check.
1604 (mips_fix_adjustable): Likewise.
1605 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1606 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1607 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1608 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1609 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1610 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1611 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1612 * testsuite/gas/mips/mips.exp: Run the new tests.
1614 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1616 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1617 Add nps400 option and feature. Add check for nps400
1618 feature. Refactor existing checks to check subclass before
1620 (md_show_usage): Document flags for NPS-400 and add some other
1622 (cpu_type): Remove nps400 CPU type entry
1623 (check_zol): Remove bfd_mach_arc_nps400 case.
1624 (md_show_usage): Add help on -mcpu=nps400.
1625 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1627 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1628 -fpuda flags. Document -mcpu=nps400.
1629 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1630 expected flags to match ARC700 instead of NPS400.
1631 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1632 * testsuite/gas/arc/nps-400-2.d: Likewise.
1633 * testsuite/gas/arc/nps-400-3.d: Likewise.
1634 * testsuite/gas/arc/nps-400-4.d: Likewise.
1635 * testsuite/gas/arc/nps-400-5.d: Likewise.
1636 * testsuite/gas/arc/nps-400-6.d: Likewise.
1637 * testsuite/gas/arc/nps-400-7.d: Likewise.
1638 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1639 avoid clash with cbba instruction.
1640 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1641 * testsuite/gas/arc/textinsn3op.d: Likewise.
1642 * testsuite/gas/arc/textinsn3op.s: Likewise.
1643 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1644 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1646 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1648 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1649 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1651 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1653 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1656 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1658 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1660 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1662 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1663 %hmcddfr and %hva_mask_nz.
1664 (sparc_ip): New handling of asr/privileged/hyperprivileged
1665 registers, adapted to the new form of the sparc opcodes table.
1666 * testsuite/gas/sparc/rdasr.s: New file.
1667 * testsuite/gas/sparc/rdasr.d: Likewise.
1668 * testsuite/gas/sparc/wrasr.s: Likewise.
1669 * testsuite/gas/sparc/wrasr.d: Likewise.
1670 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1672 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1673 registers require it.
1674 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1675 registers and write instruction modalities.
1676 * testsuite/gas/sparc/wrpr.d: Likewise.
1677 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1679 * testsuite/gas/sparc/rdhpr.d: Likewise.
1680 * testsuite/gas/sparc/wrhpr.s: Likewise.
1681 * testsuite/gas/sparc/wrhpr.d: Likewise.
1683 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1685 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1686 architectures to use the right opcode architecture.
1687 (sparc_md_end): Handle v9{c,d,e,v,m}.
1688 (sparc_ip): Fix some comments.
1689 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1690 instruction, which is v9d.
1691 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1692 instruction from the test, as %mwait is not readable.
1693 * testsuite/gas/sparc/mwait.d: Likewise.
1694 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1695 mismatch architecture errors.
1696 * testsuite/gas/sparc/mism-2.s: New file.
1698 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1700 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1701 empty string to mark the end of the array.
1702 (hpriv_reg_table): Likewise.
1703 (v9a_asr_table): Likewise.
1704 (cmp_reg_entry): Handle entries with NULL names.
1706 (F_POP_PCREL): Likewise.
1707 (F_POP_TLS_CALL): Likewise.
1708 (F_POP_POSTFIX): Likewise.
1709 (struct pop_entry): New type.
1710 (pop_table): New variable.
1711 (enum pop_entry_type): New type.
1712 (struct perc_entry): Likewise.
1713 (NUM_PERC_ENTRIES): Define.
1714 (perc_table): New variable.
1715 (cmp_perc_entry): New function.
1716 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1718 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1719 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1722 2016-06-15 Nick Clifton <nickc@redhat.com>
1724 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1726 * config/tc-mcore.c (md_assemble): Likewise.
1727 * config/tc-mn10200.c (md_assemble): Likewise.
1728 * config/tc-moxie.c (md_assemble): Likewise.
1729 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1730 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1731 exception targets. Add alpha, hppa, microblaze and rl78 to list
1733 (forward): Add microblaze to list of exceptions.
1734 (fwdexp): Add alpha to list of exceptions.
1735 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1736 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1737 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1738 mn10200 to list of exceptions.
1739 (align2): Expect to fail for nds32.
1740 (cond): Add alpha and rl78 to list of exceptions.
1741 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1742 * testsuite/gas/all/string.d: Skip for tic4x.
1743 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1744 target does not support ELF.
1745 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1746 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1747 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1748 tests for sh-pe and sh-rtemscoff targets.
1749 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1751 (type): Run the noifunc version for alpha-freebsd and visium.
1752 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1753 mn10200 or moxie targets.
1754 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1755 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1757 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1758 mcore and rx targets.
1759 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1761 (purge): Expect to fail on the ns32k and vax.
1762 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1763 * testsuite/gas/nds32/ls.d: Likewise.
1764 * testsuite/gas/nds32/sys-reg.d: Likewise.
1765 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1766 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1767 * testsuite/gas/pe/section-align-3.d: Likewise.
1768 * testsuite/gas/pe/section-exclude.d: Likewise.
1769 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1771 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1772 for variations in whitespace.
1773 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1775 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1776 Installs a 32-bit value without generating warnings on 64-bit
1778 Use the new macro to replace the .word directives.
1780 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1782 * testsuite/gas/arc/add_s.d: New file.
1783 * testsuite/gas/arc/add_s.s: New file.
1785 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1787 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1788 * testsuite/gas/arc/nps400-6.d: Likewise.
1790 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1792 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1794 * testsuite/gas/arc/nps400-6.d: Likewise.
1796 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1798 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1799 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1800 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1801 * testsuite/gas/arc/nps400-6.d: Likewise.
1803 2016-06-14 Nick Clifton <nickc@redhat.com>
1805 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1808 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1810 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1811 JALR relocations on R6.
1812 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1813 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1814 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1815 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1816 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1817 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1819 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1820 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1822 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1823 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1825 * testsuite/gas/mips/mips.exp: Run the new tests.
1827 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1829 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1830 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1833 2016-06-13 Nick Clifton <nickc@redhat.com>
1835 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1836 that are not supported.
1838 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1840 * config/tc-cr16.c (check_range): Likewise.
1841 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1843 2016-06-08 Renlin Li <renlin.li@arm.com>
1845 * config/tc-aarch64.c (print_operands): Substitute size.
1846 (output_operand_error_record): Likewise.
1848 2016-06-07 Alan Modra <amodra@gmail.com>
1850 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1851 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1852 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1853 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1854 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1855 add vle_opcodes twice.
1856 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1858 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1860 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1861 (arm_ext_ras): Renamed from arm_ext_v8_2.
1862 (insns): Update for arm_ext_v8_2 renaming.
1863 (arm_extensions): Add "ras".
1864 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1865 * testsuite/gas/arm/armv8-a+ras.d: New.
1866 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1869 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1871 * itbl-parse.y (yyerror): Use modern argument declaration style.
1873 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1875 * config/tc-sh.c (parse_reg): Change type of mode argument to
1877 (get_operand): Adjust.
1878 (insert): Change type of how to bfd_reloc_code_real_type.
1879 (insert4): Likewise.
1880 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1881 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1883 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1885 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1888 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1891 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1892 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1893 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1894 * gas/testsuite/gas/ppc/power8.s: Likewise.
1895 * gas/testsuite/gas/ppc/power8.d: Likewise.
1896 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1898 * gas/testsuite/gas/ppc/power4.d: Likewise.
1900 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1903 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1904 * testsuite/gas/i386/x86-64-branch.d: Updated.
1905 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1906 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1907 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1909 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1911 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1912 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1914 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1916 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1917 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1919 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1921 * configure.tgt: Replace -uclibc with *.
1923 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1925 * config/tc-arc.c (parse_opcode_flags): New function.
1926 (find_opcode_match): Move flag parsing code out to new function.
1927 Ignore operands marked IGNORE.
1928 (build_fake_opcode_hash_entry): New function.
1929 (find_special_case_long_opcode): New function.
1930 (find_special_case): Lookup long opcodes.
1931 * testsuite/gas/arc/nps400-7.d: New file.
1932 * testsuite/gas/arc/nps400-7.s: New file.
1934 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1936 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1938 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1940 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1941 sentinal with iteration to array size.
1943 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1945 * config/xtensa-relax.h: Move typedefs of enums to the enums
1948 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1950 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1953 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1955 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1956 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1957 * testsuite/gas/arc/nps-400-1.d: Likewise.
1959 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1962 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1963 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1964 noavx512ifma and noavx512vbmi.
1965 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1966 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1968 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1969 * testsuite/gas/i386/noavx512-1.l: New file.
1970 * testsuite/gas/i386/noavx512-1.s: Likewise.
1971 * testsuite/gas/i386/noavx512-2.l: Likewise.
1972 * testsuite/gas/i386/noavx512-2.s: Likewise.
1974 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1977 * config/tc-i386.c (cpu_arch): Add 687.
1978 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1979 nosse4.1, nosse4.2, nosse4 and noavx2.
1980 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1981 register. Check cpuregxmm instead of cpusse for XMM register.
1982 Check cpuregymm instead of cpuavx for YMM register. Check
1983 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1984 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1985 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1986 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1987 * testsuite/gas/i386/arch-10.d (as): Likewise.
1988 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1989 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1990 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1992 * testsuite/gas/i386/no87-3.l: New file.
1993 * testsuite/gas/i386/no87-3.s: Likewise.
1994 * testsuite/gas/i386/noavx-3.l: Likewise.
1995 * testsuite/gas/i386/noavx-3.s: Likewise.
1996 * testsuite/gas/i386/noavx-4.d: Likewise.
1997 * testsuite/gas/i386/noavx-4.s: Likewise.
1998 * testsuite/gas/i386/nosse-4.l: Likewise.
1999 * testsuite/gas/i386/nosse-4.s: Likewise.
2000 * testsuite/gas/i386/nosse-5.d: Likewise.
2001 * testsuite/gas/i386/nosse-5.s: Likewise.
2003 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2006 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2008 (match_template): Check Intel64/AMD64 ISA.
2010 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2013 * config/tc-i386.c (intel64): New.
2014 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2015 (md_parse_option): Set intel64 instead of cpuamd64 and
2018 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2020 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2023 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2025 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2026 * testsuite/gas/ppc/altivec3.s: Likewise.
2027 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2028 * testsuite/gas/ppc/power9.s: Likewise.
2030 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2032 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2033 * testsuite/gas/i386/noavx-1.l: Likewise.
2034 * testsuite/gas/i386/nommx-1.l: Likewise.
2035 * testsuite/gas/i386/nosse-1.l: Likewise.
2036 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2037 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2038 * testsuite/gas/i386/noavx-1.s: Likewise.
2039 * testsuite/gas/i386/nommx-1.s: Likewise.
2040 * testsuite/gas/i386/nosse-1.s: Likewise.
2041 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2043 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2045 * config/tc-metag.c (metag_handle_align): Make the type of noop
2048 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2050 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2051 bfd_reloc_code_real_type.
2053 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2056 * config/tc-i386.c (cpu_flags_match): Require another match
2058 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2059 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2060 * testsuite/gas/i386/avx512vl-1.l: New file.
2061 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2062 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2063 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2064 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2065 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2066 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2067 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2069 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2072 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2073 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2074 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2076 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2078 * config/tc-i386.c (arch_entry): Remove negated.
2079 (noarch_entry): New struct.
2080 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2082 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2083 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2085 (output_message): New function.
2086 (show_arch): Use it. Handle cpu_noarch.
2087 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2088 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2089 * testsuite/gas/i386/noavx-1.l: New file.
2090 * testsuite/gas/i386/noavx-1.s: Likewise.
2091 * testsuite/gas/i386/noavx-2.s: Likewise.
2092 * testsuite/gas/i386/noavx-2.l: Likewise.
2093 * testsuite/gas/i386/nommx-1.s: Likewise.
2094 * testsuite/gas/i386/nommx-1.l: Likewise.
2095 * testsuite/gas/i386/nommx-2.s: Likewise.
2096 * testsuite/gas/i386/nommx-2.l: Likewise.
2097 * testsuite/gas/i386/nommx-3.s: Likewise.
2098 * testsuite/gas/i386/nommx-3.l: Likewise.
2099 * testsuite/gas/i386/nosse-1.s: Likewise.
2100 * testsuite/gas/i386/nosse-1.l: Likewise.
2101 * testsuite/gas/i386/nosse-2.s: Likewise.
2102 * testsuite/gas/i386/nosse-2.l: Likewise.
2103 * testsuite/gas/i386/nosse-3.s: Likewise.
2104 * testsuite/gas/i386/nosse-3.l: Likewise.
2106 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2109 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2110 instruction if supported by the currently selected fpu variant.
2111 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2112 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2114 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2116 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2117 jump relocations against MIPS16 or microMIPS symbols on RELA
2119 * testsuite/gas/mips/jalx-local.d: New test.
2120 * testsuite/gas/mips/jalx-local-n32.d: New test.
2121 * testsuite/gas/mips/jalx-local-n64.d: New test.
2122 * testsuite/gas/mips/jalx-local.s: New test source.
2123 * testsuite/gas/mips/mips.exp: Run the new tests.
2125 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2127 * config/tc-mips.c (md_apply_fix)
2128 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2131 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2133 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2134 operator to operatorT.
2135 (map_suffix_reloc_to_operator): Change return type to operatorT.
2137 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2139 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2141 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2143 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2144 handler_charp to const char *.
2146 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2148 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2149 (ft32_target_format): Likewise.
2150 (TARGET_FORMAT): Adjust.
2152 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2154 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2155 (ia64_frob_label): Likewise.
2157 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2159 * config/tc-cr16.c (check_range): Make type of retval op_err.
2160 * config/tc-crx.c: Likewise.
2162 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2164 * config/tc-arc.c (md_begin): Add XY registers.
2165 (cpu_types): Code density is default off for ARC EM.
2167 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2169 * config/tc-arc.c (attributes_t): Renamed attribute class to
2171 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2173 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2175 * configuse.tgt: Add entry for arm-phoenix.
2177 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2179 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2181 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2183 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2185 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2187 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2188 (md_begin): Likewise.
2189 (encode_condition): Likewise.
2190 (encode_cc3): Likewise.
2191 (encode_cc2): Likewise.
2192 (encode_operand): Likewise.
2193 (tic54x_undefined_symbol): Likewise.
2195 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2197 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2199 * doc/c-mips.texi: Document p6600 -march option.
2201 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2204 * config/tc-i386.c (md_apply_fix): Preserve addend for
2205 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2206 * testsuite/gas/i386/addend.d: New file.
2207 * testsuite/gas/i386/addend.s: Likewise.
2208 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2209 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2210 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2211 * testsuite/gas/i386/reloc32.d: Updated.
2213 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2215 * config/tc-mips.c (append_insn): Correct the encoding of a
2216 constant argument for microMIPS JALX.
2217 (tc_gen_reloc): Correct the encoding of an in-place addend for
2219 * testsuite/gas/mips/jalx-addend.d: New test.
2220 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2221 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2222 * testsuite/gas/mips/jalx-imm.d: New test.
2223 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2224 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2225 * testsuite/gas/mips/jalx-addend.s: New test source.
2226 * testsuite/gas/mips/jalx-imm.s: New test source.
2227 * testsuite/gas/mips/mips.exp: Run the new tests.
2229 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2231 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2234 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2236 * config/tc-arc.c (find_opcode_match): Remove casting away of
2238 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2240 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2242 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2244 (md_convert_frag): Likewise.
2246 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2248 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2249 cached opcode to NULL when we reach a non-matching opcode.
2250 * testsuite/gas/arc/asm-errors-2.d: New file.
2251 * testsuite/gas/arc/asm-errors-2.err: New file.
2252 * testsuite/gas/arc/asm-errors-2.s: New file.
2254 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2256 * config/tc-arc.c (tokenize_arguments): Add checks for array
2258 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2259 * testsuite/gas/arc/asm-errors.err: Update expected results.
2261 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2263 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2264 int to enum rx_cpu_types.
2266 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2268 * config/tc-dlx.c (struct machine_it): change the type of a field from
2269 int to bfd_reloc_code_real_type.
2270 * config/tc-tic4x.c: Likewise.
2272 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2274 * config/tc-v850.c (v850_target_arch): change type to enum
2276 * config/tc-v850.h (v850_target_arch): Likewise.
2278 2016-05-18 Alan Modra <amodra@gmail.com>
2280 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2281 allowed negative range.
2282 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2283 * testsuite/gas/ppc/power9.d: Update.
2285 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2287 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2288 disassembling and stop skipping targets.
2289 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2290 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2291 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2292 instruction for targets that have stronger alignment requirement.
2293 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2294 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2295 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2296 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2297 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2298 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2299 * testsuite/gas/arm/archv8m-main.d: Likewise.
2300 * testsuite/gas/arm/archv8m.s: Add label.
2301 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2302 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2303 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2305 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2307 * config/tc-m32r.c (mach_table): Make static and const.
2309 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2311 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2314 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2316 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2318 * config/tc-msp430.c (md_begin): Likewise.
2320 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2322 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2323 bfd_reloc_code_real_type where appropriate.
2324 (fixup16): Likewise.
2325 (fixup8_xg): Likewise.
2327 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2329 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2331 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2333 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2334 * testsuite/gas/ppc/power9.s: Likewise.
2336 2016-05-13 Alan Modra <amodra@gmail.com>
2338 * config/obj-coff.c (weak_uniquify): Delete unused var.
2340 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2342 * app.c (app_push): Use XNEW and related macros.
2343 * as.c (parse_args): Likewise.
2344 * cgen.c (make_right_shifted_expr): Likewise.
2345 (gas_cgen_tc_gen_reloc): Likewise.
2346 * config/bfin-defs.h: Likewise.
2347 * config/bfin-parse.y: Likewise.
2348 * config/obj-coff.c (stack_init): Likewise.
2349 (stack_push): Likewise.
2350 (coff_obj_symbol_new_hook): Likewise.
2351 (coff_obj_symbol_clone_hook): Likewise.
2352 (add_lineno): Likewise.
2353 (coff_frob_symbol): Likewise.
2354 * config/obj-elf.c (obj_elf_section_name): Likewise.
2355 (build_group_lists): Likewise.
2356 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2357 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2358 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2359 (find_or_make_literal_pool): Likewise.
2360 (add_to_lit_pool): Likewise.
2361 (fill_instruction_hash_table): Likewise.
2362 * config/tc-alpha.c (load_expression): Likewise.
2363 (emit_jsrjmp): Likewise.
2364 (s_alpha_ent): Likewise.
2365 (s_alpha_end): Likewise.
2366 (s_alpha_linkage): Likewise.
2367 (md_begin): Likewise.
2368 (tc_gen_reloc): Likewise.
2369 * config/tc-arc.c (arc_insert_opcode): Likewise.
2370 (arc_extcorereg): Likewise.
2371 * config/tc-bfin.c: Likewise.
2372 * config/tc-cr16.c: Likewise.
2373 * config/tc-cris.c: Likewise.
2374 * config/tc-crx.c (preprocess_reglist): Likewise.
2375 * config/tc-d10v.c: Likewise.
2376 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2377 (frv_tomcat_shuffle): Likewise.
2378 * config/tc-h8300.c: Likewise.
2379 * config/tc-i370.c (i370_macro): Likewise.
2380 * config/tc-i386.c (lex_got): Likewise.
2381 (md_parse_option): Likewise.
2382 * config/tc-ia64.c (alloc_record): Likewise.
2383 (set_imask): Likewise.
2384 (save_prologue_count): Likewise.
2385 (dot_proc): Likewise.
2386 (dot_endp): Likewise.
2387 (ia64_frob_label): Likewise.
2388 (add_qp_imply): Likewise.
2389 (add_qp_mutex): Likewise.
2390 (mark_resource): Likewise.
2391 (dot_alias): Likewise.
2392 * config/tc-m68hc11.c: Likewise.
2393 * config/tc-m68k.c (m68k_frob_label): Likewise.
2395 (mri_control_label): Likewise.
2396 (push_mri_control): Likewise.
2397 (build_mri_control_operand): Likewise.
2398 (s_mri_else): Likewise.
2399 (s_mri_break): Likewise.
2400 (s_mri_next): Likewise.
2401 (s_mri_for): Likewise.
2402 (s_mri_endw): Likewise.
2403 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2404 * config/tc-microblaze.c: Likewise.
2405 * config/tc-mmix.c (s_loc): Likewise.
2406 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2407 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2408 * config/tc-rl78.c: Likewise.
2409 * config/tc-rx.c (rx_include): Likewise.
2410 * config/tc-sh.c: Likewise.
2411 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2412 * config/tc-sparc.c: Likewise.
2413 * config/tc-spu.c: Likewise.
2414 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2415 (tic6x_start_unwind_section): Likewise.
2416 * config/tc-tilegx.c: Likewise.
2417 * config/tc-tilepro.c: Likewise.
2418 * config/tc-v850.c: Likewise.
2419 * config/tc-visium.c: Likewise.
2420 * config/tc-xgate.c: Likewise.
2421 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2422 (new_resource_table): Likewise.
2423 (resize_resource_table): Likewise.
2424 (xtensa_create_trampoline_frag): Likewise.
2425 (xtensa_maybe_create_literal_pool_frag): Likewise.
2426 (cache_literal_section): Likewise.
2427 * config/xtensa-relax.c (append_transition): Likewise.
2428 (append_condition): Likewise.
2429 (append_value_condition): Likewise.
2430 (append_constant_value_condition): Likewise.
2431 (append_literal_op): Likewise.
2432 (append_label_op): Likewise.
2433 (append_constant_op): Likewise.
2434 (append_field_op): Likewise.
2435 (append_user_fn_field_op): Likewise.
2436 (enter_opname_n): Likewise.
2437 (enter_opname): Likewise.
2438 (split_string): Likewise.
2439 (parse_insn_templ): Likewise.
2440 (clone_req_or_option_list): Likewise.
2441 (clone_req_option_list): Likewise.
2442 (parse_option_cond): Likewise.
2443 (parse_insn_pattern): Likewise.
2444 (parse_insn_repl): Likewise.
2445 (build_transition): Likewise.
2446 (build_transition_table): Likewise.
2447 * dw2gencfi.c (alloc_fde_entry): Likewise.
2448 (alloc_cfi_insn_data): Likewise.
2449 (cfi_add_CFA_remember_state): Likewise.
2450 (dot_cfi_escape): Likewise.
2451 (dot_cfi_fde_data): Likewise.
2452 (select_cie_for_fde): Likewise.
2453 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2454 * ecoff.c (ecoff_add_bytes): Likewise.
2455 (ecoff_build_debug): Likewise.
2456 * input-scrub.c (input_scrub_push): Likewise.
2457 (input_scrub_begin): Likewise.
2458 (input_scrub_next_buffer): Likewise.
2459 * itbl-ops.c (append_insns_as_macros): Likewise.
2460 (alloc_entry): Likewise.
2461 (alloc_field): Likewise.
2462 * listing.c (listing_newline): Likewise.
2463 (listing_listing): Likewise.
2464 * macro.c (get_any_string): Likewise.
2465 (delete_macro): Likewise.
2466 * stabs.c (generate_asm_file): Likewise.
2467 (stabs_generate_asm_lineno): Likewise.
2468 * subsegs.c (subseg_change): Likewise.
2469 (subseg_get): Likewise.
2470 * symbols.c (define_dollar_label): Likewise.
2471 (symbol_relc_make_sym): Likewise.
2472 * write.c (write_relocs): Likewise.
2474 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2476 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2477 (weak_name2altname): Likewise.
2478 (weak_uniquify): Likewise.
2479 (obj_coff_section): Likewise.
2480 (obj_coff_init_stab_section): Likewise.
2481 * config/obj-elf.c (obj_elf_section_name): Likewise.
2482 (obj_elf_init_stab_section): Likewise.
2483 * config/obj-evax.c (evax_shorten_name): Likewise.
2484 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2485 * config/tc-aarch64.c (create_register_alias): Likewise.
2486 * config/tc-alpha.c (load_expression): Likewise.
2487 (s_alpha_file): Likewise.
2488 (s_alpha_section_name): Likewise.
2489 (tc_gen_reloc): Likewise.
2490 * config/tc-arc.c (md_assemble): Likewise.
2491 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2492 (start_unwind_section): Likewise.
2493 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2494 (hppa_elf_mark_end_of_function): Likewise.
2495 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2496 (nios2_negate_arg): Likewise.
2497 * config/tc-rx.c (rx_section): Likewise.
2498 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2499 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2500 * config/tc-tic54x.c (tic54x_include): Likewise.
2501 (tic54x_macro_info): Likewise.
2502 (subsym_get_arg): Likewise.
2503 (subsym_substitute): Likewise.
2504 (tic54x_start_line_hook): Likewise.
2505 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2506 (xg_reverse_shift_count): Likewise.
2507 * config/xtensa-relax.c (enter_opname_n): Likewise.
2508 (split_string): Likewise.
2509 * dwarf2dbg.c (get_filenum): Likewise.
2510 (process_entries): Likewise.
2511 * expr.c (operand): Likewise.
2512 * itbl-ops.c (alloc_entry): Likewise.
2513 * listing.c (listing_message): Likewise.
2514 (listing_title): Likewise.
2515 * macro.c (check_macro): Likewise.
2516 * stabs.c (s_xstab): Likewise.
2517 * symbols.c (symbol_relc_make_expr): Likewise.
2518 * write.c (compress_debug): Likewise.
2520 2016-05-12 Nick Clifton <nickc@redhat.com>
2523 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2525 2016-05-11 Nick Clifton <nickc@redhat.com>
2528 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2529 big endian ARM configurations.
2531 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2532 Matthew Fortune <matthew.fortune@imgtec.com>
2534 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2536 (md_longopts): Likewise.
2537 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2538 (mips_ases): Define availability for DSPr3.
2539 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2540 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2541 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2543 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2544 .set nodspr3. Fix -mdspr2 formatting.
2545 * testsuite/gas/mips/mips32-dspr3.d: New file.
2546 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2547 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2549 2016-05-11 Nick Clifton <nickc@redhat.com>
2552 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2553 to the pool uses O_constant.
2554 * testsuite/gas/arm/pr20068.s: New test.
2555 * testsuite/gas/arm/pr20068.d: Test driver.
2557 2016-05-11 Nick Clifton <nickc@redhat.com>
2559 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2560 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2561 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2562 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2563 * testsuite/gas/arm/archv8m-cmse-msr-main.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.
2569 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2571 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2572 * testsuite/gas/i386/prefix.d: Adjust.
2573 * testsuite/gas/i386/rdpid.s: New test.
2574 * testsuite/gas/i386/rdpid.d: Ditto.
2575 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2576 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2577 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2578 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2580 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2582 * config/tc-i386.c (cpu_arch): Add RDPID.
2583 * doc/c-i386.texi: Document RDPID.
2585 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2587 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2588 set branch type of a symbol.
2590 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2592 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2593 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2595 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2596 (aeabi_set_public_attributes): Memorize the feature bits of the
2597 architecture selected for Tag_CPU_arch. Use it to set
2598 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2599 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2600 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2601 * testsuite/gas/arm/arch7em-bad-1.d: This.
2602 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2603 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2604 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2605 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2606 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2607 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2608 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2609 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2611 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2613 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2614 allowed_archs an array with 2 entries.
2615 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2616 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2617 (arm_extensions): Use separate entries in allowed_archs when several
2618 archs are allowed to use an extension and change ARCH_ANY in
2619 ARM_ARCH_NONE in allowed_archs.
2620 (arm_parse_extension): Check that, for each allowed_archs entry, all
2621 bits are set in the current architecture, ignoring ARM_ANY entries.
2622 (s_arm_arch_extension): Likewise.
2624 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2626 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2627 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2628 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2629 shared with a non M profile architecture.
2630 (do_rn): New function.
2631 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2633 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2634 (insns): Add ARMv8-M Security Extensions instructions.
2635 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2636 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2637 * testsuite/gas/arm/archv8m-cmse.s: New file.
2638 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2639 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2640 * testsuite/gas/arm/any-cmse.d: Likewise.
2641 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2642 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2643 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2644 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2645 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2646 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2648 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2650 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2651 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2653 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2655 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2656 (fpu_arch_vfp_v3): Likewise.
2657 (fpu_arch_neon_v1): Likewise.
2658 (arm_arch_full): Likewise.
2659 (parse_neon_el_struct_list): Initialize fields of firsttype.
2661 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2663 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2664 (arc_extinsn): Handle new introduced syntax.
2665 * testsuite/gas/arc/textinsn1op.d: New file.
2666 * testsuite/gas/arc/textinsn1op.s: Likewise.
2667 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2669 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2671 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2672 DW_LNS_fixed_advance_pc.
2674 2016-04-27 Alan Modra <amodra@gmail.com>
2676 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2677 (xmemdup0): New inline function.
2679 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2681 * config/tc-mips.c (code_option_type): New enum.
2682 (parse_code_option): Return status indicating option type.
2683 (s_mipsset): Update `parse_code_option' call site accordingly.
2684 Always set register sizes from the ISA with ISA overrides.
2685 (s_module): Update `parse_code_option' call site.
2686 * testsuite/gas/mips/isa-override-1.d: New test.
2687 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2688 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2689 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2690 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2691 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2692 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2693 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2694 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2695 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2696 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2697 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2698 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2699 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2700 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2701 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2702 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2703 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2704 * testsuite/gas/mips/isa-override-2.l: New list test.
2705 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2706 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2707 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2708 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2709 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2710 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2711 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2712 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2713 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2714 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2715 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2717 * testsuite/gas/mips/isa-override-1.s: New test source.
2718 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2719 * testsuite/gas/mips/isa-override-2.s: New test source.
2720 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2721 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2722 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2723 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2724 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2725 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2726 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2727 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2728 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2729 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2730 * testsuite/gas/mips/mips.exp: Run the new tests.
2732 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2735 * config/tc-bfin.c: Likewise.
2736 * config/tc-ia64.c: Likewise.
2737 * config/tc-mep.c: Likewise.
2738 * config/tc-metag.c: Likewise.
2739 * config/tc-nios2.c: Likewise.
2740 * config/tc-rl78.c: Likewise.
2742 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2744 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2745 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2746 (ARC Directives): Add NPS400 to .cpu directive list.
2748 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2750 * config/tc-aarch64.c (aarch64_features): Add "ras".
2751 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2752 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2753 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2754 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2755 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2757 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2759 * testsuite/gas/arc/nps400-6.d: New file.
2760 * testsuite/gas/arc/nps400-6.s: New file.
2762 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2764 * testsuite/gas/arc/nps400-4.d: New file.
2765 * testsuite/gas/arc/nps400-4.s: New file.
2766 * testsuite/gas/arc/nps400-5.d: New file.
2767 * testsuite/gas/arc/nps400-5.s: New file.
2769 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2771 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2774 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2776 Revert prevous change.
2777 * config/tc-arc.c (arc_option): Make .cpu directive
2778 case-sensitive again.
2780 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2782 * config/tc-arc.c (arc_option): Make .cpu directive
2785 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2787 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2789 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2791 * config/tc-mips.c (md_begin): Remove useless assignment.
2793 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2795 * Makefile.in: Regenerated with automake 1.11.6.
2796 * aclocal.m4: Likewise.
2797 * doc/Makefile.in: Likewise.
2799 2016-04-15 Alan Modra <amodra@gmail.com>
2801 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2803 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2805 * config/tc-nios2.c (nios2_as_options): Make file static.
2806 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2807 * config/tc-sparc.c (native_op_table): Likewise.
2809 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2811 * config/tc-m32c.c (M32C_Macros): Remove.
2812 * config/tc-msp430.c (option_numbers): Likewise.
2814 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2816 * testsuite/gas/arc/nps400-3.d: New file.
2817 * testsuite/gas/arc/nps400-3.s: New file.
2819 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2821 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2822 * testsuite/gas/arc/warn.s: Likewise.
2823 * testsuite/gas/elf/elf.exp: Run test for arc.
2825 2016-04-14 Nick Clifton <nickc@redhat.com>
2828 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2829 sections possibly having the SHF_STRINGS flag bit set.
2830 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2832 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2834 * config/tc-arc.c (mach_type_specified_p): Change type to
2836 (arc_option): Set private flags when parsing cpu pseudo-op.
2837 (md_parse_option): Set mach_type_specified_p to TRUE.
2839 2016-04-13 Nick Clifton <nickc@redhat.com>
2842 * testsuite/gas/v850/pr19937.s: New test.
2843 * testsuite/gas/v850/pr19937.d: New test control file.
2844 * testsuite/gas/v850/basic.exp: Run the new test.
2846 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2847 Andrew Bennett <andrew.bennett@imgtec.com>
2849 * config/tc-mips.c (relaxed_branch_length): Use the long
2850 sequence where the target is a weak symbol.
2851 (relaxed_micromips_32bit_branch_length): Likewise.
2852 (relaxed_micromips_16bit_branch_length): Likewise.
2853 * testsuite/gas/mips/branch-weak-1.d: New test.
2854 * testsuite/gas/mips/branch-weak-2.d: New test.
2855 * testsuite/gas/mips/branch-weak-3.d: New test.
2856 * testsuite/gas/mips/branch-weak-4.d: New test.
2857 * testsuite/gas/mips/branch-weak-5.d: New test.
2858 * testsuite/gas/mips/branch-weak.l: New stderr output.
2859 * testsuite/gas/mips/branch-weak.s: New test source.
2860 * testsuite/gas/mips/mips.exp: Run the new tests.
2862 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2864 * config/tc-mips.c (relaxed_branch_length): Use the long
2865 sequence where the distance cannot be determined.
2866 (relaxed_micromips_32bit_branch_length): Likewise.
2867 * testsuite/gas/mips/branch-extern-1.d: New test.
2868 * testsuite/gas/mips/branch-extern-2.d: New test.
2869 * testsuite/gas/mips/branch-extern-3.d: New test.
2870 * testsuite/gas/mips/branch-extern-4.d: New test.
2871 * testsuite/gas/mips/branch-extern.l: New stderr output.
2872 * testsuite/gas/mips/branch-extern.s: New test source.
2873 * testsuite/gas/mips/branch-section-1.d: New test.
2874 * testsuite/gas/mips/branch-section-2.d: New test.
2875 * testsuite/gas/mips/branch-section-3.d: New test.
2876 * testsuite/gas/mips/branch-section-4.d: New test.
2877 * testsuite/gas/mips/branch-section.l: New stderr output.
2878 * testsuite/gas/mips/branch-section.s: New test source.
2879 * testsuite/gas/mips/mips.exp: Run the new tests.
2881 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2883 * testsuite/gas/arc/textauxregister.d: New file.
2884 * testsuite/gas/arc/textauxregister.s: Likewise.
2885 * testsuite/gas/arc/textcondcode.d: Likewise.
2886 * testsuite/gas/arc/textcondcode.s: Likewise.
2887 * testsuite/gas/arc/textcoreregister.d: Likewise.
2888 * testsuite/gas/arc/textcoreregister.s: Likewise.
2889 * testsuite/gas/arc/textpseudoop.d: Likewise.
2890 * testsuite/gas/arc/textpseudoop.s: Likewise.
2891 * testsuite/gas/arc/ld2.d: Update test.
2892 * testsuite/gas/arc/st.d: Likewise.
2893 * testsuite/gas/arc/taux.d: Likewise.
2894 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2895 .extCoreRegister and .extAuxRegister documentation.
2896 * config/tc-arc.c (arc_extcorereg): New function.
2897 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2898 .extAuxRegister pseudo-ops.
2899 (extRegister_t): New type.
2900 (ext_condcode, arc_aux_hash): New global variable.
2901 (find_opcode_match): Check for extensions.
2902 (preprocess_operands): Likewise.
2903 (md_begin): Add aux registers in a hash.
2904 (assemble_insn): Update use arc_flags member.
2905 (tokenize_extregister): New function.
2906 (create_extcore_section): Likewise.
2907 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2909 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2911 * testsuite/gas/arc/noargs_a7.d: New file.
2912 * testsuite/gas/arc/noargs_a7.s: Likewise.
2913 * testsuite/gas/arc/noargs_hs.d: Likewise.
2914 * testsuite/gas/arc/noargs_hs.s: Likewise.
2916 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2918 * testsuite/gas/arc/textinsn-errors.d: New File.
2919 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2920 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2921 * testsuite/gas/arc/textinsn2op.d: Likewise.
2922 * testsuite/gas/arc/textinsn2op.s: Likewise.
2923 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2924 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2925 * testsuite/gas/arc/textinsn3op.d: Likewise.
2926 * testsuite/gas/arc/textinsn3op.s: Likewise.
2927 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2929 * config/tc-arc.c (arcext_section): New variable.
2930 (arc_extinsn): New function.
2931 (md_pseudo_table): Add .extInstruction pseudo op.
2932 (attributes_t): New type.
2933 (suffixclass, syntaxclass, syntaxclassmod): New constant
2935 (find_opcode_match): Remove arc_num_opcodes.
2936 (md_begin): Likewise.
2937 (tokenize_extinsn): New function.
2938 (arc_set_ext_seg): Likewise.
2939 (create_extinst_section): Likewise.
2941 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2943 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2944 (arc_adjust_symtab): New function.
2945 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2946 (obj_adjust_symtab): Likewise.
2947 * testsuite/gas/arc/taux.d: New file.
2948 * testsuite/gas/arc/taux.s: Likewise.
2950 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2952 * config/tc-mips.c (s_option): Sanitize `.option picX'
2954 * testsuite/gas/mips/option-pic-1.d: New test.
2955 * testsuite/gas/mips/option-pic-2.l: New list test.
2956 * testsuite/gas/mips/option-pic-1.s: New test source.
2957 * testsuite/gas/mips/option-pic-2.s: New test source.
2958 * testsuite/gas/mips/mips.exp: Run the new tests.
2960 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2962 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2964 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2965 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2966 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2967 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2968 * testsuite/gas/mips/mips.exp: Run the new tests.
2970 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2972 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2974 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2976 * messages.c (as_bad): Fix a typo in description.
2978 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2980 * config/tc-mips.c (mips_check_options): Unify messages.
2982 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2984 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2987 2016-04-08 Nick Clifton <nickc@redhat.com>
2990 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2991 COFF and AOUT sparc targets.
2993 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2995 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2996 * testsuite/gas/arc/nps400-2.d: New file.
2997 * testsuite/gas/arc/nps400-2.s: New file.
2999 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3001 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3003 (arc_opcode_hash_entry_iterator_init): New function.
3004 (arc_opcode_hash_entry_iterator_next): New function.
3005 (find_opcode_match): Iterate over all arc_opcode entries
3006 referenced by the arc_opcode_hash_entry passed in as a parameter.
3008 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3010 * config/tc-arc.c (arc_find_opcode): Now returns
3011 arc_opcode_hash_entry pointer.
3012 (find_opcode_match): Update argument type, extract arc_opcode from
3013 incoming arc_opcode_hash_entry.
3014 (find_special_case_pseudo): Update return type.
3015 (find_special_case_flag): Update return type.
3016 (find_special_case): Update return type.
3017 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3018 instruction mnemonic, then use find_opcode_match to identify
3019 specific arc_opcode.
3021 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3023 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3024 (arc_find_opcode): New function.
3025 (find_special_case_pseudo): Use arc_find_opcode.
3026 (find_special_case_flag): Likewise.
3027 (assemble_tokens): Likewise.
3028 (md_begin): Build hash using struct arc_opcode_hash_entry.
3030 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3032 * config/tc-arc.c (arc_option): Prepare string for automatic
3034 (declare_register): Likewise.
3036 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3038 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3039 Correct entry for RDMA. Alpha sort entries.
3041 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3043 * config/tc-arc.c (tokenize_flags): Allow greater range of
3044 characters into flag names.
3046 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3048 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3050 (preprocess_operands): Delete.
3051 (assemble_tokens): Remove call to preprocess_operands.
3053 2016-04-07 Nick Clifton <nickc@redhat.com>
3056 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3057 inside a %-macro could not be fully parsed.
3058 * expr.c (integer_constant): Accept and ignore U suffixes to
3060 (operand): When a missing closing parenthesis is encountered,
3061 report the character that was found instead.
3062 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3063 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3064 * testsuite/gas/sparc/pr19910-1.s: New test.
3065 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3066 * testsuite/gas/sparc/pr19910-2.s: New test.
3067 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3069 2016-04-06 Nick Clifton <nickc@redhat.com>
3071 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3072 an EINT instruction. Warn/fix as necessary.
3073 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3074 * testsuite/gas/msp430/bad.l: Update expected messages.
3076 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3078 * testsuite/gas/arc/nps400-1.d: Update expected results.
3079 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3081 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3083 * config/tc-arc.c (is_code_density_p): Compare directly the
3085 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3086 (check_cpu_feature): New function.
3087 (find_opcode_match): Use check_cpu_feature function.
3088 (preprocess_operands): Likewise.
3089 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3090 * testsuite/gas/arc/tdpfp.d: New file.
3091 * testsuite/gas/arc/tfpuda.d: Likewise.
3092 * testsuite/gas/arc/tfpx.s: Likewise.
3094 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3096 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3097 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3098 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3099 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3100 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3101 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3102 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3103 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3105 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3107 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3109 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3110 JUMP instructions type.
3111 * testsuite/gas/arc/relocs-errors.d: New file.
3112 * testsuite/gas/arc/relocs-errors.err: Likewise.
3113 * testsuite/gas/arc/relocs-errors.s: Likewise.
3115 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3118 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3119 only if i.disp_encoding != disp_encoding_32bit.
3120 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3121 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3122 * gas/testsuite/gas/i386/disp32.d: Updated.
3123 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3125 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3128 * testsuite/gas/i386/i386.exp: Run pr19498.
3129 * testsuite/gas/i386/pr19498.d: New file.
3130 * testsuite/gas/i386/pr19498.s: Likewise.
3132 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3134 * config/tc-arc.h: Include 'opcode/arc.h'.
3135 (MAX_INSN_ARGS): Delete.
3136 (MAX_INSN_FLGS): Delete.
3138 2016-04-04 Alan Modra <amodra@gmail.com>
3141 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3142 from function on all paths that set sy_resolving.
3144 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3146 * app.c (app_push): use XNEW macro.
3148 * config/obj-elf.c (obj_elf_change_section): Likewise.
3149 (elf_copy_symbol_attributes): Likewise.
3150 (obj_elf_size): Likewise.
3151 (build_group_lists): Likewise.
3152 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3153 (md_assemble): Likewise.
3154 (tc_gen_reloc): Likewise.
3155 (get_upper_str): Likewise.
3156 (aarch64_parse_features): Likewise.
3157 * config/tc-arm.c (insert_reg_alias): Likewise.
3158 (insert_neon_reg_alias): Likewise.
3159 (find_or_make_literal_pool): Likewise.
3160 (s_arm_elf_cons): Likewise.
3161 (add_unwind_opcode): Likewise.
3162 (arm_parse_extension): Likewise.
3163 * config/tc-avr.c (create_record_for_frag): Likewise.
3164 * config/tc-crx.c: Likewise.
3165 * config/tc-d30v.c: Likewise.
3166 * config/tc-dlx.c (s_proc): Likewise.
3167 * config/tc-ft32.c: Likewise.
3168 * config/tc-h8300.c: Likewise.
3169 * config/tc-hppa.c (pa_proc): Likewise.
3170 (create_new_space): Likewise.
3171 (create_new_subspace): Likewise.
3172 * config/tc-i860.c: Likewise.
3173 * config/tc-i960.c: Likewise.
3174 * config/tc-ia64.c: Likewise.
3175 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3176 (iq2000_record_hi16): Likewise.
3177 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3178 * config/tc-m32r.c (debug_sym): Likewise.
3179 (m32r_record_hi16): Likewise.
3180 * config/tc-m68k.c (m68k_ip): Likewise.
3181 (md_begin): Likewise.
3182 * config/tc-mcore.c: Likewise.
3183 * config/tc-microblaze.c (check_got): Likewise.
3184 * config/tc-mips.c (append_insn): Likewise.
3185 (s_mipsset): Likewise.
3186 (mips_record_label): Likewise.
3187 (s_mips_end): Likewise.
3188 * config/tc-mmix.c (mmix_frob_file): Likewise.
3189 * config/tc-mn10200.c: Likewise.
3190 * config/tc-mn10300.c: Likewise.
3191 * config/tc-moxie.c: Likewise.
3192 * config/tc-msp430.c: Likewise.
3193 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3194 * config/tc-ns32k.c: Likewise.
3195 * config/tc-or1k.c: Likewise.
3196 * config/tc-pdp11.c: Likewise.
3197 * config/tc-pj.c (fake_opcode): Likewise.
3198 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3199 (ppc_macro): Likewise.
3200 (ppc_dwsect): Likewise.
3201 (ppc_machine): Likewise.
3202 * config/tc-rl78.c (rl78_frag_init): Likewise.
3203 * config/tc-rx.c (rx_frag_init): Likewise.
3204 * config/tc-s390.c (s390_lit_suffix): Likewise.
3205 (s390_machine): Likewise.
3206 (s390_machinemode): Likewise.
3207 * config/tc-score.c (s3_insert_reg): Likewise.
3208 (s3_gen_reloc): Likewise.
3209 * config/tc-score7.c (s7_insert_reg): Likewise.
3210 (s7_gen_reloc): Likewise.
3211 * config/tc-tic30.c (tic30_operand): Likewise.
3212 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3213 * config/tc-tic54x.c (stag_add_field): Likewise.
3214 (tic54x_struct): Likewise.
3215 (tic54x_space): Likewise.
3216 (tic54x_field): Likewise.
3217 (tic54x_mlib): Likewise.
3218 (subsym_substitute): Likewise.
3219 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3220 * config/tc-vax.c: Likewise.
3221 * config/tc-xc16x.c: Likewise.
3222 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3223 (directive_push): Likewise.
3224 (xtensa_begin_directive): Likewise.
3225 (tokenize_arguments): Likewise.
3226 (xtensa_add_literal_sym): Likewise.
3227 (new_resource_table): Likewise.
3228 (resize_resource_table): Likewise.
3229 (emit_single_op): Likewise.
3230 (xtensa_create_trampoline_frag): Likewise.
3231 (xtensa_maybe_create_literal_pool_frag): Likewise.
3232 (xtensa_add_config_info): Likewise.
3233 (xtensa_realloc_fixup_cache): Likewise.
3234 (add_subseg_info): Likewise.
3235 (cache_literal_section): Likewise.
3236 (add_xt_block_frags): Likewise.
3237 (add_xt_prop_frags): Likewise.
3238 (init_op_placement_info_table): Likewise.
3239 (build_section_rename): Likewise.
3240 * config/tc-z80.c: Likewise.
3241 * config/tc-z8k.c: Likewise.
3242 * depend.c (register_dependency): Likewise.
3243 * dwarf2dbg.c (get_line_subseg): Likewise.
3244 (dwarf2_gen_line_info_1): Likewise.
3245 (get_filenum): Likewise.
3246 * ecoff.c (allocate_scope): Likewise.
3247 (allocate_vlinks): Likewise.
3248 (allocate_shash): Likewise.
3249 (allocate_thash): Likewise.
3250 (allocate_tag): Likewise.
3251 (allocate_forward): Likewise.
3252 (allocate_thead): Likewise.
3253 (allocate_lineno_list): Likewise.
3254 * expr.c (make_expr_symbol): Likewise.
3255 * hash.c (hash_new_sized): Likewise.
3256 * input-file.c (input_file_push): Likewise.
3257 * listing.c (file_info): Likewise.
3258 (listing_newline): Likewise.
3259 * macro.c (new_formal): Likewise.
3260 (define_macro): Likewise.
3261 * remap.c (add_debug_prefix_map): Likewise.
3262 * symbols.c (symbol_find_noref): Likewise.
3263 (define_dollar_label): Likewise.
3264 (fb_label_instance_inc): Likewise.
3265 (symbol_relc_make_value): Likewise.
3267 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3269 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3270 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3271 (ppc_znop): Likewise.
3272 (ppc_pe_section): Likewise.
3273 (ppc_frob_symbol): Likewise.
3274 * config/tc-tic30.c (tic30_operand): Likewise.
3275 * config/tc-tic4x.c (tic4x_sect): Likewise.
3276 (tic4x_usect): Likewise.
3278 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3280 * config/tc-alpha.c: Const qualify FLT_CHARS.
3281 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3282 * config/tc-cris.h: Likewise.
3284 * config/tc-mmix.c (md_atof): Adjust comment.
3285 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3286 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3288 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3290 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3291 * config/tc-score7.c (s7_gen_reloc): Likewise.
3293 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3295 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3296 bfd_reloc_code_real_type.
3298 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3300 * config/bfin-parse.y (current_inputline): Remove definition.
3301 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3303 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3305 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3308 2016-04-02 Alan Modra <amodra@gmail.com>
3311 * read.c (assign_symbol): Consume rest of line after an error
3312 rather than continuing to process the line.
3314 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3316 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3317 (MAX_FLAG_NAME_LENGTH): ...this.
3318 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3319 * config/tc-arc.c (tokenize_flags): Likewise.
3321 2016-04-01 Alan Modra <amodra@gmail.com>
3323 * cgen.c (weak_operand_overflow_check): Return const char*.
3324 * messages.c (as_internal_value_out_of_range): Formatting.
3325 (as_warn_value_out_of_range): Consify prefix param.
3326 (as_bad_value_out_of_range): Likewise.
3327 * read.c (s_errwarn): Constify msg..
3328 (s_float_space, float_cons): ..and err.
3329 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3330 ieee_md_atof, vax_md_atof): Update prototypes.
3331 * tc.h (md_atof): Update prototype.
3332 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3333 * config/atof-vax.c (vax_md_atof): Likewise.
3334 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3335 * config/tc-aarch64.c (md_atof): Return const char*.
3336 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3337 (s_alpha_comm): Constify sec_name.
3338 (section_name): Constify.
3339 (s_alpha_section): Consify name..
3340 (alpha_elf_section_letter): ..and ptr_msg param..
3341 (md_atof): ..and return.
3342 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3343 * config/tc-arc.c (md_atof): Return const char*.
3344 * config/tc-arm.c (md_atof): Likewise.
3345 * config/tc-avr.c (md_atof): Likewise.
3346 * config/tc-bfin.c (md_atof): Likewise.
3347 * config/tc-cr16.c (md_atof): Likewise.
3348 * config/tc-cris.c (md_atof): Likewise.
3349 * config/tc-crx.c (md_atof): Likewise.
3350 * config/tc-d10v.c (md_atof): Likewise.
3351 * config/tc-d30v.c (md_atof): Likewise.
3352 * config/tc-dlx.c (md_atof): Likewise.
3353 * config/tc-epiphany.c (md_atof): Likewise.
3354 * config/tc-fr30.c (md_atof): Likewise.
3355 * config/tc-frv.c (md_atof): Likewise.
3356 * config/tc-ft32.c (md_atof): Likewise.
3357 * config/tc-h8300.c (md_atof): Likewise.
3358 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3359 (struct default_space_dict): Likewise.
3360 (create_new_space): Constify name param.
3361 (create_new_subspace): Likewise.
3362 (is_defined_space, is_defined_subspace): Likewise.
3363 (pa_parse_space_stmt): Constify space_name param.
3364 (md_atof): Return const char*.
3365 (pa_spaces_begin): Constify name.
3366 * config/tc-i370.c (md_atof): Return const char*.
3367 * config/tc-i386.c (md_atof): Likewise.
3368 (x86_64_section_letter): Constify ptr_msg param.
3369 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3370 * config/tc-i860.c (struct i860_it): Constify error.
3371 (md_atof): Return const char*.
3372 * config/tc-i960.c (md_atof): Likewise.
3373 * config/tc-ia64.c (md_atof): Likewise.
3374 (ia64_elf_section_letter): Constify ptr_msg param.
3375 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3376 * config/tc-ip2k.c (md_atof): Return const char*.
3377 * config/tc-iq2000.c (md_atof): Likewise.
3378 * config/tc-lm32.c (md_atof): Likewise.
3379 * config/tc-m32c.c (md_atof): Likewise.
3380 * config/tc-m32r.c (md_atof): Likewise.
3381 * config/tc-m68hc11.c (md_atof): Likewise.
3382 * config/tc-m68k.c (md_atof): Likewise.
3383 * config/tc-mcore.c (md_atof): Likewise.
3384 * config/tc-mep.c (md_atof): Likewise.
3385 (mep_elf_section_letter): Constify ptr_msg param.
3386 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3387 * config/tc-metag.c (md_atof): Return const char*.
3388 * config/tc-microblaze.c (md_atof): Likewise.
3389 * config/tc-microblaze.h (md_atof): Delete prototype.
3390 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3391 (md_atof): Return const char*.
3392 * config/tc-mmix.c (md_atof): Likewise.
3393 * config/tc-mn10200.c (md_atof): Likewise.
3394 * config/tc-mn10300.c (md_atof): Likewise.
3395 * config/tc-moxie.c (md_atof): Likewise.
3396 * config/tc-msp430.c (md_atof): Likewise.
3397 * config/tc-mt.c (md_atof): Likewise.
3398 * config/tc-nds32.c (md_atof): Likewise.
3399 * config/tc-nios2.c (md_atof): Likewise.
3400 (nios2_elf_section_letter): Constify ptr_msg param.
3401 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3402 * config/tc-ns32k.c (md_atof): Return const char*.
3403 * config/tc-or1k.c (md_atof): Likewise.
3404 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3405 (md_atof): Return const char*.
3406 * config/tc-pj.c (md_atof): Likewise.
3407 * config/tc-ppc.c (md_atof): Likewise.
3408 * config/tc-rl78.c (md_atof): Likewise.
3409 * config/tc-rx.c (md_atof): Likewise.
3410 * config/tc-s390.c (md_atof): Likewise.
3411 * config/tc-score.c (s3_atof, md_atof): Likewise.
3412 * config/tc-sh.c (md_atof): Likewise.
3413 * config/tc-sparc.c (struct sparc_it): Constify error.
3414 (md_atof): Return const char*.
3415 * config/tc-spu.c (md_atof): Likewise.
3416 * config/tc-tic30.c (md_atof): Likewise.
3417 * config/tc-tic4x.c (md_atof): Likewise.
3418 * config/tc-tic54x.c (md_atof): Likewise.
3419 * config/tc-tic6x.c (md_atof): Likewise.
3420 * config/tc-tilegx.c (md_atof): Likewise.
3421 * config/tc-tilepro.c (md_atof): Likewise.
3422 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3423 * config/tc-vax.c (md_atof): Likewise.
3424 * config/tc-visium.c (md_atof): Likewise.
3425 * config/tc-xc16x.c (md_atof): Likewise.
3426 * config/tc-xgate.c (md_atof): Likewise.
3427 * config/tc-xstormy16.c (md_atof): Likewise.
3428 * config/tc-xtensa.c (md_atof): Likewise.
3429 * config/tc-z80.c (md_atof): Likewise.
3430 * config/tc-z8k.c (md_atof): Likewise.
3432 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3434 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3436 (xtensa_section_rename): Make argument type const char *.
3437 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3439 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3441 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3444 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3446 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3448 (m32c_indirect_operand): Likewise.
3449 * config/tc-nds32.c (do_pseudo_b): Likewise.
3450 (do_pseudo_bal): Likewise.
3451 (do_pseudo_ls_bhw): Likewise.
3453 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3455 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3457 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3459 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3461 * config/tc-sparc.c (s_register): Cast a literal to char * in
3464 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3466 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3468 * config/tc-m32r.c (expand_debug_syms): Likewise.
3469 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3470 * config/tc-z80.c (md_begin): Likewise.
3471 * stabs.c (stabs_generate_asm_func): Likewise.
3473 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3475 * cgen.c: Modernize the way functions declare arguments.
3476 * config/tc-bfin.c: Likewise.
3477 * config/tc-pdp11.c: Likewise.
3478 * literal.c: Likewise.
3480 * stabs.c: Likewise.
3482 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3484 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3485 variables unsigned char[].
3486 * config/tc-alpha.c (alpha_handle_align): Likewise.
3487 * config/tc-arm.c (arm_handle_align): Likewise.
3488 * config/tc-z80.c: Likewise.
3490 2016-03-30 Nick Clifton <nickc@redhat.com>
3493 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3496 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3498 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3499 * testsuite/gas/elf/elf.exp: Likewise.
3500 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3502 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3504 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3506 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3508 * testsuite/gas/arc/ext2op.d: New file.
3509 * testsuite/gas/arc/ext2op.s: Likewise.
3510 * testsuite/gas/arc/ext3op.d: Likewise.
3511 * testsuite/gas/arc/ext3op.s: Likewise.
3513 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3515 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3517 * config/tc-alpha.c (md_parse_option): Likewise.
3518 * config/tc-arc.c (md_parse_option): Likewise.
3519 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3520 (md_parse_option): Likewise.
3521 * config/tc-avr.c (md_parse_option): Likewise.
3522 * config/tc-bfin.c (md_parse_option): Likewise.
3523 * config/tc-cr16.c (md_parse_option): Likewise.
3524 * config/tc-cris.c (s_cris_arch): Likewise.
3525 (md_parse_option): Likewise.
3526 * config/tc-crx.c (md_parse_option): Likewise.
3527 * config/tc-d10v.c (md_parse_option): Likewise.
3528 * config/tc-d30v.c (md_parse_option): Likewise.
3529 * config/tc-dlx.c (md_parse_option): Likewise.
3530 * config/tc-epiphany.c (md_parse_option): Likewise.
3531 * config/tc-fr30.c (md_parse_option): Likewise.
3532 * config/tc-frv.c (md_parse_option): Likewise.
3533 * config/tc-ft32.c (md_parse_option): Likewise.
3534 * config/tc-h8300.c (md_parse_option): Likewise.
3535 * config/tc-hppa.c (md_parse_option): Likewise.
3536 * config/tc-i370.c (md_parse_option): Likewise.
3537 * config/tc-i386.c (md_parse_option): Likewise.
3538 * config/tc-i860.c (md_parse_option): Likewise.
3539 * config/tc-i960.c (md_parse_option): Likewise.
3540 * config/tc-ia64.c (md_parse_option): Likewise.
3541 * config/tc-ip2k.c (md_parse_option): Likewise.
3542 * config/tc-iq2000.c (md_parse_option): Likewise.
3543 * config/tc-lm32.c (md_parse_option): Likewise.
3544 * config/tc-m32c.c (md_parse_option): Likewise.
3545 * config/tc-m32r.c (md_parse_option): Likewise.
3546 * config/tc-m68hc11.c (md_parse_option): Likewise.
3547 * config/tc-m68k.c (md_parse_option): Likewise.
3548 * config/tc-mcore.c (md_parse_option): Likewise.
3549 * config/tc-mep.c (md_parse_option): Likewise.
3550 * config/tc-metag.c (struct metag_long_option): Likewise.
3551 (md_parse_option): Likewise.
3552 * config/tc-microblaze.c (md_parse_option): Likewise.
3553 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3554 * config/tc-mips.c (md_parse_option): Adjust.
3555 * config/tc-mmix.c (md_parse_option): Likewise.
3556 * config/tc-mn10200.c (md_parse_option): Likewise.
3557 * config/tc-mn10300.c (md_parse_option): Likewise.
3558 * config/tc-moxie.c (md_parse_option): Likewise.
3559 * config/tc-msp430.c (md_parse_option): Likewise.
3560 * config/tc-mt.c (md_parse_option): Likewise.
3561 * config/tc-nds32.c (md_parse_option): Likewise.
3562 * config/tc-nds32.h (nds32_parse_option): Likewise.
3563 * config/tc-nios2.c (md_parse_option): Likewise.
3564 * config/tc-ns32k.c (md_parse_option): Likewise.
3565 * config/tc-or1k.c (md_parse_option): Likewise.
3566 * config/tc-pdp11.c (md_parse_option): Likewise.
3567 * config/tc-pj.c (md_parse_option): Likewise.
3568 * config/tc-ppc.c (md_parse_option): Likewise.
3569 * config/tc-rl78.c (md_parse_option): Likewise.
3570 * config/tc-rx.c (md_parse_option): Likewise.
3571 * config/tc-s390.c (s390_parse_cpu): Likewise.
3572 * config/tc-score.c (md_parse_option): Likewise.
3573 * config/tc-sh.c (md_parse_option): Likewise.
3574 * config/tc-sparc.c (md_parse_option): Likewise.
3575 * config/tc-spu.c (md_parse_option): Likewise.
3576 * config/tc-tic30.c (md_parse_option): Likewise.
3577 * config/tc-tic4x.c (md_parse_option): Likewise.
3578 * config/tc-tic54x.c (md_parse_option): Likewise.
3579 * config/tc-tic6x.c (md_parse_option): Likewise.
3580 * config/tc-tilegx.c (md_parse_option): Likewise.
3581 * config/tc-tilepro.c (md_parse_option): Likewise.
3582 * config/tc-v850.c (md_parse_option): Likewise.
3583 * config/tc-vax.c (md_parse_option): Likewise.
3584 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3585 * config/tc-xc16x.c (md_parse_option): Likewise.
3586 * config/tc-xgate.c (md_parse_option): Likewise.
3587 * config/tc-xstormy16.c (md_parse_option): Likewise.
3588 * config/tc-xtensa.c (md_parse_option): Likewise.
3589 * config/tc-z80.c (md_parse_option): Likewise.
3590 * config/tc-z8k.c (md_parse_option): Likewise.
3591 * tc.h (md_parse_option): Likewise.
3593 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3595 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3596 * config/tc-hppa.c (fix_new_hppa): Likewise.
3597 (pa_vtable_entry): Likewise.
3598 (pa_vtable_inherit): Likewise.
3599 * config/tc-m68k.c (md_begin): Likewise.
3601 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3603 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3604 * config/obj-elf.h (obj_elf_section_name): Adjust.
3605 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3606 (aarch64_parse_cpu): Likewise.
3607 (aarch64_parse_arch): Likewise.
3608 * config/tc-arm.c (arm_parse_extension): Likewise.
3609 (arm_parse_cpu): Likewise.
3610 (arm_parse_arch): Likewise.
3611 * config/tc-nds32.c: Likewise.
3612 * config/xtensa-relax.c (parse_special_fn): Likewise.
3613 * stabs.c (generate_asm_file): Likewise.
3615 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3617 * config/tc-cr16.c (cr16_assemble): New function.
3618 (md_assemble): Call cr16_assemble.
3620 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3622 * as.c (parse_args): Adjust.
3623 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3624 * config/obj-elf.c (elf_frob_symbol): Adjust.
3626 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3628 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3629 registers to be in the 16..31 range.
3631 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3633 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3636 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3638 * config/tc-visium.c (md_atof): Localize the string returned on
3641 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3643 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3644 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3645 * config/tc-m68hc11.c (md_begin): Likewise.
3646 (print_opcode_list): Likewise.
3647 * config/tc-msp430.c (msp430_section): Likewise.
3648 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3649 (s3_build_dependency_insn_hsh): Likewise.
3650 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3651 (s7_build_dependency_insn_hsh): Likewise.
3652 * config/tc-tic4x.c: Likewise.
3653 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3654 (subsym_get_arg): Likewise.
3655 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3656 (get_directive): Likewise.
3657 (cache_literal_section): Likewise.
3658 * config/xtensa-relax.c: Likewise.
3659 * symbols.c (symbol_create): Likewise.
3660 (local_symbol_make): Likewise.
3661 (symbol_relc_make_expr): Likewise.
3663 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3665 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3668 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3670 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3673 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3675 * config/tc-ia64.c (ia64_do_align): Remove.
3676 (ia64_cons_align): Call do_align () directly.
3677 (dot_proc): Likewise.
3678 (stmt_float_cons): Likewise.
3680 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3682 * listing.c (listing_message): Use XNEW style allocation macros.
3683 * read.c (read_a_source_file): Likewise.
3684 (read_symbol_name): Likewise.
3685 (s_mri_common): Likewise.
3686 (assign_symbol): Likewise.
3687 (s_reloc): Likewise.
3688 (emit_expr_with_reloc): Likewise.
3689 (s_incbin): Likewise.
3690 (s_include): Likewise.
3691 * sb.c (sb_build): Likewise.
3692 (sb_check): Likewise.
3694 2016-03-22 Alan Modra <amodra@gmail.com>
3696 * write.c (record_alignment): Revert 2016-02-18 change.
3698 2016-03-22 Alan Modra <amodra@gmail.com>
3700 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3701 (emit_jsrjmp, tc_gen_reloc): Likewise.
3702 * config/tc-i370.c (i370_macro): Likewise.
3704 2016-03-22 Nick Clifton <nickc@redhat.com>
3706 * configure: Regenerate.
3708 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3710 * testsuite/gas/arc/nps400-0.d: New file.
3711 * testsuite/gas/arc/nps400-0.s: New file.
3712 * testsuite/gas/arc/nps400-1.d: New file.
3713 * testsuite/gas/arc/nps400-1.s: New file.
3715 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3717 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3718 declarations to start of block. Reset code on all flags before
3719 attempting to match them. Handle multiple hits on the same flag.
3721 * testsuite/gas/arc/asm-errors.d: New file.
3722 * testsuite/gas/arc/asm-errors.err: New file.
3723 * testsuite/gas/arc/asm-errors.s: New file.
3725 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3727 * config/tc-arc.c (cpu_types): Add nps400 entry.
3728 (check_zol): Handle nps400.
3730 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3732 * config/tc-arc.c (arc_select_cpu): Remove use of
3735 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3737 * config/tc-arc.c (arc_target): Delay initialisation until
3739 (arc_target_name): Likewise.
3740 (arc_features): Likewise.
3741 (arc_mach_type): Likewise.
3742 (cpu_types): Remove "all" entry.
3743 (arc_select_cpu): New function, most of the content is from...
3744 (md_parse_option): ... here. Call new arc_select_cpu.
3745 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3747 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3749 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3750 * testsuite/gas/arc/inline-data-2.d: New file.
3752 2016-03-21 Nick Clifton <nickc@redhat.com>
3754 * atof-generic.c: Replace use of alloca with call to xmalloc.
3756 * dwarf2dbg.c: Likewise.
3757 * macro.c: Likewise.
3758 * remap.c: Likewise.
3759 * stabs.c: Likewise.
3760 * symbols.c: Likewise.
3761 * config/obj-elf.c: Likewise.
3762 * config/tc-aarch64.c: Likewise.
3763 * config/tc-arc.c: Likewise.
3764 * config/tc-arm.c: Likewise.
3765 * config/tc-avr.c: Likewise.
3766 * config/tc-ia64.c: Likewise.
3767 * config/tc-mips.c: Likewise.
3768 * config/tc-msp430.c: Likewise.
3769 * config/tc-nds32.c: Likewise.
3770 * config/tc-ppc.c: Likewise.
3771 * config/tc-sh.c: Likewise.
3772 * config/tc-tic30.c: Likewise.
3773 * config/tc-tic54x.c: Likewise.
3774 * config/tc-xstormy16.c: Likewise.
3775 * config/te-vms.c: Likewise.
3776 * configure: Regenerate.
3778 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3780 * tc-i386.c (f32_1): Change type to unsigned char[].
3800 (jump_31): Likewise.
3801 (f32_patt): Likewise.
3802 (f16_patt): Likewise.
3811 (alt_patt): Likewise.
3813 2016-03-18 Nick Clifton <nickc@redhat.com>
3815 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3816 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3817 .tlsdescldr and .xword directives.
3820 * testsuite/gas/aarch64/pr19721.s: New test source file.
3821 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3823 * doc/as.texinfo: Place the target specific command line options
3824 into their own man page section.
3826 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3828 * config/tc-arm.c (N_S_32): New.
3829 (N_F_16_32): Likewise.
3830 (N_SUF_32): Support N_F16.
3831 (N_IF_32): Likewise.
3832 (neon_dyadic_misc): Likewise.
3833 (do_neon_cmp): Likewise.
3834 (do_neon_cmp_inv): Likewise.
3835 (do_neon_mul): Likewise.
3836 (do_neon_fcmp_absolute): Likewise.
3837 (do_neon_step): Likewise.
3838 (do_neon_abs_neg): Likewise.
3839 (CVT_FLAVOR_VAR): Likewise.
3840 (do_neon_cvt_1): Likewise.
3841 (do_neon_recip_est): Likewise.
3842 (do_vmaxnm): Likewise.
3843 (do_vrint_1): Likewise.
3844 (neon_check_type): Check architecture support for FP16 extension.
3845 (insns): Update comments.
3846 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3847 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3848 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3849 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3851 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3853 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3856 2016-03-16 Nick Clifton <nickc@redhat.com>
3858 * read.c (emit_expr_with_reloc): Add code check a bignum with
3860 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3862 * testsuite/gas/elf/bignum.s: New test source file.
3863 * testsuite/gas/elf/bignum.d: New test driver file.
3864 * testsuite/gas/elf/elf.exp: Run the new test.
3866 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3868 * doc/c-i386.texi (Register Naming): Update to details of the
3869 latest architecture version.
3871 2016-03-10 Mickael Guene <mickael.guene@st.com>
3874 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3876 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3877 (do_t_mov_cmp): Likewise.
3878 (do_t_add_sub): Protect against bad relocations usage.
3879 (do_t_mov_cmp): Likewise.
3880 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3881 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3882 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3883 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3885 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3887 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3889 (do_neon_ld_st_lane): Likewise.
3890 (do_neon_ld_dup): Likewise.
3892 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3894 * testsuite/gas/arc/inline-data-1.d: New file.
3895 * testsuite/gas/arc/inline-data-1.s: New file.
3897 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3899 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3900 * doc/c-arm.texi: Add cortex-r8.
3902 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3904 * config/tc-arc.c: Add const qualifiers.
3905 * config/tc-h8300.c (md_begin): Likewise.
3906 * config/tc-ia64.c (print_prmask): Likewise.
3907 * config/tc-msp430.c (msp430_operands): Likewise.
3908 * config/tc-nds32.c (struct suffix_name): Likewise.
3909 (struct nds32_parse_option_table): Likewise.
3910 (struct nds32_set_option_table): Likewise.
3911 (do_pseudo_pushpopm): Likewise.
3912 (do_pseudo_pushpop_stack): Likewise.
3913 (nds32_relax_relocs): Likewise.
3914 (nds32_flag): Likewise.
3915 (struct nds32_hint_map): Likewise.
3916 (nds32_find_reloc_table): Likewise.
3917 (nds32_match_hint_insn): Likewise.
3918 * config/tc-s390.c: Likewise.
3919 * config/tc-sh.c (get_specific): Likewise.
3920 * config/tc-tic30.c: Likewise.
3921 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3922 (tic4x_indirect_parse): Likewise.
3923 * config/tc-vax.c (vax_cons): Likewise.
3924 * config/tc-z80.c (struct reg_entry): Likewise.
3925 * config/tc-epiphany.c (md_assemble): Adjust.
3926 (epiphany_assemble): New function.
3927 (epiphany_elf_section_rtn): Call do_align directly.
3928 (epiphany_elf_section_text): Likewise.
3929 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3930 (ip2k_elf_section_text): Likewise.
3931 * read.c (do_align): Make it not static.
3932 * read.h (do_align): New prototype.
3934 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3936 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3937 for ARMv8.1 AdvSIMD use.
3938 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3939 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3941 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3943 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3945 (record_feature_use): New.
3946 (mark_feature_used): Use record_feature_use.
3947 (do_neon_qrdmlah): New.
3948 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3950 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3951 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3952 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3953 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3954 Make source file explicit.
3955 * testsuite/gas/arm/armv8-a+rdma.l: New.
3956 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3957 directives. Fix white-space.
3958 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3960 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3962 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3964 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3965 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3967 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3968 (tc_arc_fix_adjustable): Changed default return value to 1.
3969 * testsuite/gas/arc/j.d: Updated expected symbol
3970 * testsuite/gas/arc/jl.d: Likewise
3971 * testsuite/gas/arc/relax-avoid1.d: Likewise
3972 * testsuite/gas/arc/st.d: Likewise
3974 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3976 * config/tc-arc.c: Enable code density instructions for ARC EM.
3978 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3981 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3983 * as.c (flag_use_elf_stt_common): New.
3984 (show_usage): Add --elf-stt-common=.
3985 (option_values): Add OPTION_ELF_STT_COMMON.
3986 (std_longopts): Add --elf-stt-common=.
3987 (parse_args): Handle --elf-stt-common=.
3988 * as.h (flag_use_elf_stt_common): New.
3989 * config.in: Regenerated.
3990 * configure: Likewise.
3991 * configure.ac: Add --enable-elf-stt-common and define
3992 DEFAULT_GENERATE_ELF_STT_COMMON.
3993 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3994 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3995 * doc/as.texinfo: Document --elf-stt-common=.
3996 * testsuite/gas/elf/common3.s: New file.
3997 * testsuite/gas/elf/common3a.d: Likewise.
3998 * testsuite/gas/elf/common3b.d: Likewise.
3999 * testsuite/gas/elf/common4.s: Likewise.
4000 * testsuite/gas/elf/common4a.d: Likewise.
4001 * testsuite/gas/elf/common4b.d: Likewise.
4002 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4003 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4004 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4006 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4007 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4008 --elf-stt-common=no to as.
4009 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4010 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4011 --elf-stt-common=no to as.
4012 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4013 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4014 of dw2-compress-3 and dw2-compressed-3.
4016 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4018 * as.c (select_emulation_mode): Add const qualifiers.
4020 * config/bfin-defs.h: Likewise.
4021 * config/bfin-parse.y: Likewise.
4022 * config/rx-parse.y: Likewise.
4023 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4024 (struct aarch64_cpu_option_table): Likewise.
4025 (struct aarch64_arch_option_table): Likewise.
4026 (struct aarch64_option_cpu_value_table): Likewise.
4027 (struct aarch64_long_option_table): Likewise.
4028 (struct aarch64_option_abi_value_table): Likewise.
4029 * config/tc-arm.c (struct reloc_entry): Likewise.
4030 (tc_gen_reloc): Likewise.
4031 (struct arm_option_table): Likewise.
4032 (struct arm_legacy_option_table): Likewise.
4033 (struct arm_cpu_option_table): Likewise.
4034 (struct arm_arch_option_table): Likewise.
4035 (struct arm_option_extension_value_table): Likewise.
4036 (struct arm_option_fpu_value_table): Likewise.
4037 (struct arm_option_value_table): Likewise.
4038 (struct arm_long_option_table): Likewise.
4039 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4040 (struct mcu_type_s): Likewise.
4041 (struct exp_mod_s): Likewise.
4042 (avr_operand): Likewise.
4043 (avr_operands): Likewise.
4044 * config/tc-d10v.c (md_begin): Likewise.
4045 * config/tc-dlx.c: Likewise.
4046 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4047 * config/tc-ft32.c (parse_condition): Likewise.
4048 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4049 * config/tc-hppa.c (pa_ip): Likewise.
4050 (hppa_regname_to_dw2regnum): Likewise.
4051 * config/tc-i370.c (i370_elf_suffix): Likewise.
4052 * config/tc-i960.c (struct tabentry): Likewise.
4053 * config/tc-m32r.c: Likewise.
4054 * config/tc-m68k.c: Likewise.
4055 * config/tc-m68k.h: Likewise.
4056 * config/tc-mcore.c (parse_psrmod): Likewise.
4057 * config/tc-metag.c (struct metag_core_option): Likewise.
4058 (struct metag_long_option): Likewise.
4059 * config/tc-microblaze.c: Likewise.
4060 * config/tc-mips.c (macro): Likewise.
4061 * config/tc-mn10200.c: Likewise.
4062 * config/tc-mn10300.c: Likewise.
4063 * config/tc-msp430.c (struct rcodes_s): Likewise.
4064 (struct hcodes_s): Likewise.
4065 (md_parse_option): Likewise.
4066 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4067 (optlist): Likewise.
4068 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4069 (tc_ppc_regname_to_dw2regnum): Likewise.
4070 * config/tc-ppc.h: Likewise.
4071 * config/tc-rl78.c: Likewise.
4072 * config/tc-rx.c (struct cpu_type): Likewise.
4073 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4074 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4075 (sparc_ip): Likewise.
4076 * config/tc-spu.c (insn_fmt_string): Likewise.
4077 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4078 * config/tc-v850.c: Likewise.
4079 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4080 (struct visium_long_option_table): Likewise.
4081 * config/tc-xgate.c: Likewise.
4082 * config/tc-z8k.c: Likewise.
4083 * read.c (add_include_dir): Likewise.
4086 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4088 * testsuite/gas/all/gas.exp: Change target pattern to cover
4090 * testsuite/gas/all/redef3.d: Likewise.
4091 * testsuite/gas/elf/elf.exp: Likewise.
4093 2016-02-24 Renlin Li <renlin.li@arm.com>
4095 * config/tc-arm.c (BAD_FP16): New error message macro.
4096 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4097 fp16 scalar instructions.
4098 (neon_check_type): Allow different size from key.
4099 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4100 (try_vfp_nsyn): Likewise.
4101 (do_vfp_nsyn_mla_mls): Likewise.
4102 (do_vfp_nsyn_fma_fms): Likewise.
4103 (do_vfp_nsyn_ldm_stm): Likewise
4104 (do_vfp_nsyn_sqrt): Likewise
4105 (do_vfp_nsyn_div): Likewise
4106 (do_vfp_nsyn_nmul): Likewise.
4107 (do_vfp_nsyn_cmp): Likewise.
4108 (do_neon_shll): Likewise.
4109 (do_vfp_nsyn_cvt_fpv8): Likewise.
4110 (do_neon_cvttb_2): Likewise.
4111 (do_neon_mov): Likewise.
4112 (do_neon_rshift_round_imm): Likewise.
4113 (do_neon_ldr_str): Likewise.
4114 (do_vfp_nsyn_fpv8): Likewise.
4115 (do_vmaxnm): Likewise.
4116 (do_vrint_1): Likewise.
4117 (insns): New entry for vins, vmovx.
4118 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4119 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4120 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4121 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4122 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4123 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4124 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4126 2016-02-24 Renlin Li <renlin.li@arm.com>
4128 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4129 (neon_shape_class): New SC_HALF.
4130 (neon_shape_el): New SE_H.
4131 (neon_shape_el_size): New size for SE_H.
4132 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4133 (neon_select_shape): Add SE_H support code.
4134 (el_type_of_type_chk): Use N_F_ALL.
4135 (do_vfp_nsyn_cvt): Add SE_H shape support.
4136 (do_neon_cvtz): Likewise.
4137 (do_neon_cvt_1): Likewise.
4138 (do_neon_cvttb_1): Likewise.
4140 2016-02-24 Renlin Li <renlin.li@arm.com>
4142 * testsuite/gas/arm/copro.d: Adjust output.
4143 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4145 2016-02-24 Renlin Li <renlin.li@arm.com>
4147 * testsuite/gas/arm/mask_1.d: New.
4148 * testsuite/gas/arm/mask_1.s: New.
4150 2016-02-24 Renlin Li <renlin.li@arm.com>
4152 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4153 * testsuite/gas/arm/copro.d: Update.
4155 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4157 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4158 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4160 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4162 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4164 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4166 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4169 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4171 * output-file.c (output_file_create): Make file name argument const.
4172 (output_file_close): Likewise.
4173 * output-file.h (output_file_create): Adjust.
4174 (output_file_close): Likewise.
4175 * depend.c (quote_string_for_make): Make src argument const char *.
4176 (register_dependency): Likewise.
4177 (wrap_output): Likewise.
4178 * as.h (register_dependency): Adjust.
4179 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4181 * symbols.c (S_SET_EXTERNAL): Likewise.
4182 * input-scrub.c (as_where): Return the file name.
4183 * as.h (as_where): Adjust prototype.
4184 * app.c (do_scrub_chars): Adjust.
4185 * cond.c (s_elseif): Likewise.
4187 (initialize_cframe): Likewise.
4188 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4189 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4190 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4191 * config/tc-aarch64.c (output_info): Likewise.
4192 * config/tc-ia64.c (md_assemble): Likewise.
4193 (dot_alias): Likewise.
4194 * config/tc-m68k.c (m68k_frob_label): Likewise.
4195 * config/tc-mmix.c (s_bspec): Likewise.
4196 (mmix_handle_mmixal): Likewise.
4197 * config/tc-rx.c (rx_include): Likewise.
4198 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4199 (tic54x_adjust_symtab): Likewise.
4200 * config/tc-xtensa.c (directive_push): Likewise.
4201 (xtensa_sanity_check): Likewise.
4202 (xtensa_relax_frag): Likewise.
4203 (md_convert_frag): Likewise.
4204 (tinsn_to_slotbuf): Likewise.
4205 * dwarf2dbg.c (dwarf2_where): Likewise.
4206 * ecoff.c (add_file): Likewise.
4207 (ecoff_generate_asm_lineno): Likewise.
4208 * expr.c (make_expr_symbol): Likewise.
4209 * frags.c (frag_new): Likewise.
4210 (frag_var_init): Likewise.
4211 * listing.c (listing_newline): Likewise.
4212 * messages.c (identify): Likewise.
4213 (as_show_where): Likewise.
4214 (as_warn_internal): Likewise.
4215 (as_bad_internal): Likewise.
4216 * read.c (s_irp): Likewise.
4217 (s_macro): Likewise.
4218 (s_reloc): Likewise.
4219 * stabs.c (stabs_generate_asm_file): Likewise.
4220 (stabs_generate_asm_lineno): Likewise.
4221 (stabs_generate_asm_func): Likewise.
4222 * write.c (fix_new_internal): Likewise.
4223 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4224 (as_warn_value_out_of_range): Adjust prototype.
4225 (as_bad_value_out_of_range): Adjust prototype.
4226 * messages.c (identify): Make file name argument const char *.
4227 (as_warn_internal): Likewise.
4228 (as_warn_where): Likewise.
4229 (as_bad_internal): Likewise.
4230 (as_bad_where): Likewise.
4231 (as_internal_value_out_of_range): Likewise.
4232 (as_warn_value_out_of_range): Likewise.
4233 (as_bad_value_out_of_range): Likewise.
4234 * as.h (found_comment_file): Change type to const char *.
4235 * cond.c (file_line::file): Likewise.
4236 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4237 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4238 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4239 * config/tc-aarch64.c (output_info): Likewise.
4240 * config/tc-alpha.c (insert_operand): Likewise.
4241 * config/tc-arc.c (insert_operand): Likewise.
4242 * config/tc-d30v.c (check_size): Likewise.
4243 * config/tc-ia64.c (struct alias): Likewise.
4244 * config/tc-m68k.c (struct label_line): Likewise.
4245 * config/tc-mcore.c (md_apply_fix): Likewise.
4246 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4247 * config/tc-mips.c (mips16_immed): Likewise.
4248 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4249 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4250 * config/tc-rx.c (rx_include): Likewise.
4251 * config/tc-s390.c (s390_insert_operand): Likewise.
4252 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4253 (tic54x_adjust_symtab): Likewise.
4254 * config/tc-tilegx.c (insert_operand): Likewise.
4255 (apply_special_operator): Likewise.
4256 * config/tc-tilepro.c (insert_operand): Likewise.
4257 * config/tc-xtensa.c (directive_push): Likewise.
4258 * ecoff.c (add_file): Likewise.
4259 (ecoff_generate_asm_lineno): Likewise.
4260 * listing.c (listing_newline): Likewise.
4261 * read.c (s_irp): Likewise.
4262 * write.c (install_reloc): Likewise.
4263 * write.h (struct fix): Likewise.
4264 * input-file.c (file_name): Change type to const char *.
4265 (saved_file::file_name): Likewise.
4266 (input_file_open): Change type of argument to const char *.
4267 * input-file.h (input_file_open): Adjust.
4268 * input-scrub.c (logical_input_file): change type to const char *.
4269 (physical_input_file): Likewise.
4270 (struct input_save): Adjust.
4271 (input_scrub_push): Adjust.
4272 (input_scrub_begin): Adjust.
4274 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4275 (input_scrub_include_file): Likewise.
4276 (new_logical_line_flags): Likewise.
4277 (new_logical_line): Likewise.
4279 * frags.h (struct frag): Change type of fr_file to const char *.
4280 * expr.c (expr_symbol_where): Change type of file argument to
4282 * expr.h (expr_symbol_where): Likewise.
4283 * config/tc-i370.c (md_apply_fix): adjust.
4284 * config/tc-mmix.c (mmix_md_end): Likewise.
4285 * config/tc-ppc.c (md_apply_fix): Likewise.
4286 * config/tc-s390.c (md_apply_fix): Likewise.
4287 * symbols.c (report_op_error): Likewise.
4288 (resolve_symbol_value): Likewise.
4289 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4290 (rsrc::file): Likewise.
4291 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4293 (xtensa_relax_frag): Likewise.
4294 (md_convert_frag): Likewise.
4295 (tinsn_to_slotbuf): Likewise.
4296 * expr.c (expr_symbol_line): Likewise.
4297 * macro.c (define_macro): Likewise.
4298 * macro.h (macro_struct): Likewise.
4299 * messages.c (as_show_where): Likewise.
4300 * read.c (s_macro): Likewise.
4301 * stabs.c (stabs_generate_asm_file): Likewise.
4302 (generate_asm_file): Likewise.
4303 (stabs_generate_asm_lineno): Likewise.
4304 * write.h (struct reloc_list): Likewise.
4305 * input-scrub.c (as_where): Change return type to const char *.
4306 * as.h (as_wheree): Adjust.
4308 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4310 * write.c (compress_debug): Move BFD compression bits setting
4312 (write_object_file): Here.
4314 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4316 * config/tc-i386.c (register_number): Check RegVRex.
4317 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4318 with %zmm19 and %zmm3.
4319 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4320 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4322 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4323 Jiong Wang <jiong.wang@arm.com>
4325 * config/tc-arm.c (arm_ext_fp16): New.
4326 (arm_extensions): New entry for "fp16".
4328 2016-02-19 Nick Clifton <nickc@redhat.com>
4331 * read.c (read_a_source_file): Check for assemble_one returning
4332 with input_line_pointer set to NULL.
4334 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4336 * listing.c (rebuffer_line): Change return type to void.
4338 * symbols.c (decode_local_label_name): Make type a const char *.
4339 * listing.c (print_source): Make type of p const char *.
4340 (print_line): Make type of string const char *.
4341 (buffer_line): Return const char *.
4342 (title): Make type const char *.
4343 (subtitle): Likewise.
4344 (listing_listing): Make type of p const char *.
4345 * messages.c (as_internal_value_out_of_range): Make type of prefix
4347 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4348 and string const char *.
4349 * read.c (_bfd_rel): Make type of name const char *.
4350 * app.c (out_string): Change type to const char *.
4351 (struct app_save::out_string): Likewise.
4353 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4354 Nick Clifton <nickc@redhat.com>
4356 * read.c (finish_bundle): Avoid recording a negative alignment.
4357 (do_align): Use unsigned values for n, len and max. Only create
4358 a frag if the alignment requirement is greater than the minimum
4359 byte alignment. Avoid recording a negative alignment.
4360 (s_align): Use unsigned values where appropriate.
4361 (bss_alloc): Use an unsigned value for the alignment.
4362 (sizeof_sleb128): Add a comment noting that we encode one octet
4363 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4364 (emit_leb129_expr): Abort if the emitted encoding was longer than
4366 * read.h (output_leb128): Update prototype.
4367 (sizeof_leb128): Update prototype.
4368 (bss_alloc): Update prototype.
4369 * write.c (record_alignment): Use an unsigned value for the
4370 alignment. Do not record alignments less than the minimum
4371 alignment for a byte.
4372 * write.h (record_alignment): Update prototype.
4374 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4376 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4377 .init.literal/.fini.literal section name.
4378 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4379 list of xtensa tests.
4380 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4381 init-fini-literals test result patterns.
4382 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4383 init-fini-literals test.
4385 2016-02-17 Nick Clifton <nickc@redhat.com>
4387 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4388 devices.csv file as of March 2016.
4390 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4392 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4394 (tc_arc_regname_to_dw2regnum): Likewise.
4395 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4396 (tc_cfi_frame_initial_instructions): Likewise.
4397 (tc_regname_to_dw2regnum): Likewise.
4398 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4399 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4400 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4402 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4404 * doc/internals.texi (S_IS_EXTERN): Remove.
4406 2016-02-16 Nick Clifton <nickc@redhat.com>
4408 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4411 2016-02-16 Renlin Li <renlin.li@arm.com>
4414 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4415 * testsuite/gas/aarch64/movw_label.d: New.
4416 * testsuite/gas/aarch64/movw_label.s: New.
4418 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4421 * config/rx-parse.y (MOV): Opcode generation for index
4422 register addressing mode.
4423 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4424 * testsuite/gas/rx/pr19665.s: New file.
4425 * testsuite/gas/rx/pr19665.s: New file.
4426 * testsuite/gas/rx/mov.d: Update expected output.
4428 2016-02-15 Nick Clifton <nickc@redhat.com>
4430 * doc/as.texinfo (.section): Document that numeric values can now
4431 be used for the flags and type fields of the ELF target's .section
4432 directive. Add notes about the restrictions on setting flags and
4434 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4435 to be given processor specific section types. Allow processor and
4436 application specific flags of a section to be set after
4438 (obj_elf_parse_section_letters): Handle parsing numeric values.
4439 (obj_elf_section_type): Handle parsing numeric values.
4440 (obj_elf_section): Allow numeric type values.
4441 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4442 * testsuite/gas/elf/section10.d: New test.
4443 * testsuite/gas/elf/section10.s: Source file for new test.
4444 * testsuite/gas/elf/elf.exp: Run the new test.
4445 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4446 the description of the flags produced by readelf.
4447 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4448 * NEWS: Mention the new feature.
4450 2016-02-11 Nick Clifton <nickc@redhat.com>
4453 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4454 until it is actually used.
4455 (cfi_set_sections): Set cfi_sections_set to true.
4456 (dot_cfi_startproc): Likewise.
4457 (dot_cfi_endproc): Likewise.
4458 (dot_cfi_fde_data): Likewise.
4459 (cfi_finish): Likewise.
4460 (dot_cfi_sections): Do not set cfi_sections_set.
4461 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4462 their own cfi section name. Also note that the directive can be
4463 reissued provided that CFI generation has not started.
4464 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4465 .cfi_endproc directives so that the redefinition of .cfi_sections
4466 will trigger the generation of the error message.
4467 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4468 number of error message.
4470 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4471 Janek van Oirschot <jvanoirs@synopsys.com>
4473 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4474 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4476 (arc_flags, arc_relax_type): New structure.
4477 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4478 (RELAX_TABLE_ENTRY_MAX): New define.
4479 (relaxation_state, md_relax_table, arc_relaxable_insns)
4480 (arc_num_relaxable_ins): New variable.
4481 (rlx_operand_type, arc_rlx_types): New enums.
4482 (arc_relaxable_ins): New structure.
4483 (OPTION_RELAX): New option.
4484 (arc_insn): New relax member.
4485 (arc_flags): Remove.
4486 (relax_insn_p): New function.
4487 (apply_fixups): Likewise.
4488 (relaxable_operand): Likewise.
4489 (may_relax_expr): Likewise.
4490 (relaxable_flag): Likewise.
4491 (arc_pcrel_adjust): Likewise.
4492 (md_estimate_size_before_relax): Implement.
4493 (md_convert_frag): Likewise.
4494 (md_parse_option): Handle new mrelax option.
4495 (md_show_usage): Likewise.
4496 (assemble_insn): Set relax member.
4497 (emit_insn0): New function.
4498 (emit_insn1): Likewise.
4499 (emit_insn): Handle relaxation case.
4500 * NEWS: Mention the new relaxation option.
4501 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4502 * doc/as.texinfo (Target ARC Options): Likewise.
4503 * testsuite/gas/arc/relax-avoid1.d: New file.
4504 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4505 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4506 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4507 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4508 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4509 * testsuite/gas/arc/relax-b.d: Likewise.
4510 * testsuite/gas/arc/relax-b.s: Likewise.
4512 2016-02-08 Nick Clifton <nickc@redhat.com>
4514 * config/tc-ia64.c (dot_prologue): Fix formatting.
4516 2016-02-04 Nick Clifton <nickc@redhat.com>
4518 * config/obj-elf.c (obj_elf_change_section): Remove support for
4519 ARM NOREAD sections.
4520 * config/tc-arm.c (arm_elf_section_letter): Delete.
4521 * config/tc-arm.h (md_elf_section_letter): Delete.
4522 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4523 * testsuite/gas/arm/section-execute-only.d: Delete.
4524 * testsuite/gas/arm/section-execute-only.s: Delete.
4526 2016-02-04 Nick Clifton <nickc@redhat.com>
4529 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4530 to handle encoding of RRUX instruction.
4531 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4533 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4535 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4537 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4538 substitutions for BFD_RELOC_* as unsigned.
4539 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4540 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4541 * testsuite/gas/xtensa/loc.s: New file: loc test.
4543 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4545 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4547 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4550 * NEWS: Mention new command line option -mrelax-relocations and
4551 new configure option --enable-x86-relax-relocations for x86
4553 * config.in: Regenerated.
4554 * configure.ac: Add --enable-x86-relax-relocations.
4555 (ac_default_x86_relax_relocations): New. Default to 1 except
4556 for x86 Solaris targets older than Solaris 12.
4557 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4558 * configure: Likewise.
4559 * config/tc-i386.c (generate_relax_relocations): New.
4560 (OPTION_MRELAX_RELOCATIONS): Likewise.
4561 (output_disp): Don't generate relax relocations if
4562 generate_relax_relocations is 0.
4563 (md_longopts): Add -mrelax-relocations.
4564 (md_show_usage): Likewise.
4565 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4566 * doc/c-i386.texi: Document -mrelax-relocations=.
4567 * testsuite/gas/i386/got-no-relax.d: New file.
4568 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4569 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4570 * testsuite/gas/i386/localpic.d: Likewise.
4571 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4572 * testsuite/gas/i386/reloc32.d: Likewise.
4573 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4574 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4575 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4576 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4577 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4578 x86-64-gotpcrel-no-relax.
4580 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4582 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4585 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4587 * NEWS: Remove duplicated marker for 2.26.
4589 2016-02-02 Renlin Li <renlin.li@arm.com>
4591 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4593 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4595 * testsuite/gas/ip2k/allinsn.d: New file.
4596 * testsuite/gas/ip2k/allinsn.s: New file.
4597 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4599 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4601 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4602 some load instructions.
4603 * testsuite/gas/epiphany/allinsn.d: Likewise.
4604 * testsuite/gas/epiphany/regression.d: Likewise.
4606 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4608 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4609 suffixes from instruction mnemonics in expected output.
4610 * testsuite/gas/epiphany/allinsn.d: Likewise.
4611 * testsuite/gas/epiphany/regression.d: Likewise.
4612 * testsuite/gas/epiphany/sample.d: Likewise.
4614 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4616 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4618 * testsuite/gas/epiphany/allinsn.d: Likewise.
4619 * testsuite/gas/epiphany/sample.d: Likewise.
4621 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4623 * testsuite/gas/epiphany/sample.d: Update expected output.
4625 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4627 * config/tc-arc.c (md_apply_fix): Allow addendum.
4628 (arc_reloc_op): Allow complex expressions for tpoff.
4629 (md_apply_fix): Handle resolved TLS local symbol.
4630 * testsuite/gas/arc/tls-relocs1.d: New file.
4631 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4633 2016-02-01 Loria <Loria@phantasia.org>
4636 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4637 efficiency and avoid an LLVM loop optimization bug.
4639 2016-02-01 Nick Clifton <nickc@redhat.com>
4641 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4642 message extending a negative 32-bit value into a larger signed
4643 value on a 32-bit host.
4645 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4648 * configure.ac (compressed_debug_sections): Replace == with =.
4649 * configure: Regenerated.
4651 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4652 H.J. Lu <hongjiu.lu@intel.com>
4654 * config/tc-i386.c (avoid_fence): New.
4655 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4657 (OPTION_FENCE_AS_LOCK_ADD): New.
4658 (md_longopts): Add -mfence-as-lock-add.
4659 (md_parse_option): Handle -mfence-as-lock-add.
4660 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4661 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4662 * testsuite/gas/i386/i386.exp: Run new tests.
4663 * testsuite/gas/i386/fence-as-lock-add.s: New.
4664 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4665 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4666 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4667 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4669 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4671 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4672 * configure: Regenerated.
4674 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4676 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4677 (OPTION_MOMIT_LOCK_PREFIX): This.
4678 (md_longopts): Updated.
4679 (md_parse_option): Likewise.
4681 2016-01-25 Catherine Moore <clm@codesourcery.com>
4683 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4684 if abicalls are in effect.
4685 * testsuite/gas/mips/sdata-gp.s: New test.
4686 * testsuite/gas/mips/sdata-gp.d: New expected output
4687 * testsuite/gas/mips/mips.exp: Run new test.
4689 2016-01-25 Renlin Li <renlin.li@arm.com>
4691 * testsuite/gas/arm/thumb2_it_search.d: New.
4692 * testsuite/gas/arm/thumb2_it_search.s: New.
4694 2016-01-21 Nick Clifton <nickc@redhat.com>
4697 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4698 with arm-netbsdelf target.
4699 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4701 2016-01-20 Nick Clifton <nickc@redhat.com>
4704 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4705 * testsuite/gas/arm/blx-bl-convert.d
4706 * testsuite/gas/arm/plt-1.d: Likewise.
4707 * testsuite/gas/arm/reloc-bad.d: Likewise.
4708 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4709 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4710 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4711 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4714 * doc/as.texinfo (Errors): Correct documentation describing the
4715 interaction of .file and .line with warning and error messages.
4718 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4719 * testsuite/gas/arm/archv8m-main.d: Likewise.
4720 * testsuite/gas/arm/archv8m-base.d: Likewise.
4722 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4724 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4725 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4726 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4728 2016-01-20 Mickael Guene <mickael.guene@st.com>
4729 Terry Guo <terry.guo@arm.com>
4731 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4732 SHF_ARM_NOREAD section flag.
4733 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4735 (arm_elf_section_letter) : Declare it.
4736 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4737 SHF_ARM_NOREAD section flag.
4738 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4740 * testsuite/gas/arm/section-execute-only.s: New test case.
4741 * testsuite/gas/arm/section-execute-only.d: Expected output.
4743 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4745 * config/tc-mips.c (micromips_insn_length): Remove the mention
4746 of 48-bit microMIPS instructions.
4748 2016-01-18 Alan Modra <amodra@gmail.com>
4750 * configure: Regenerate.
4752 2016-01-17 Alan Modra <amodra@gmail.com>
4754 * configure: Regenerate.
4756 2016-01-17 Alan Modra <amodra@gmail.com>
4758 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4760 2016-01-14 Nick Clifton <nickc@redhat.com>
4762 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4763 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4764 * testsuite/gas/rl78/rl78.exp: Run the new test.
4766 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4768 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4769 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4771 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4773 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4775 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4777 * config/tc-h8300.c (get_operand): Remove spurious condition in
4778 test for closing parenthesis.
4780 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4782 * config/tc-arm.c (arm_ext_v8_2): New.
4784 * testsuite/gas/arm/armv8_2-a.d: New.
4785 * testsuite/gas/arm/armv8_2-a.s: New.
4787 2016-01-12 Alan Modra <amodra@gmail.com>
4789 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4791 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4793 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4794 xvcmpnesp, xvcmpnesp.>: Delete tests.
4795 * testsuite/gas/ppc/power9.s: Likewise.
4796 * testsuite/gas/ppc/vsx3.d: Likewise.
4797 * testsuite/gas/ppc/vsx3.s: Likewise.
4799 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4802 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4803 * testsuite/gas/m68k/p13050-1.s: New file.
4804 * testsuite/gas/m68k/p13050-2.d: New file.
4805 * testsuite/gas/m68k/p13050-2.s: New file.
4807 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4809 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4810 * testsuite/gas/arc/add.d: Likewise.
4811 * testsuite/gas/arc/and.d: Likewise.
4812 * testsuite/gas/arc/asl.d: Likewise.
4813 * testsuite/gas/arc/asr.d: Likewise.
4814 * testsuite/gas/arc/bic.d: Likewise.
4815 * testsuite/gas/arc/extb.d: Likewise.
4816 * testsuite/gas/arc/extw.d: Likewise.
4817 * testsuite/gas/arc/j.d: Likewise.
4818 * testsuite/gas/arc/jl.d: Likewise.
4819 * testsuite/gas/arc/ld2.d: Likewise.
4820 * testsuite/gas/arc/lsr.d: Likewise.
4821 * testsuite/gas/arc/mov.d: Likewise.
4822 * testsuite/gas/arc/or.d: Likewise.
4823 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4824 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4825 * testsuite/gas/arc/pic-relocs.d: Likewise.
4826 * testsuite/gas/arc/plt-relocs.d: Likewise.
4827 * testsuite/gas/arc/rlc.d: Likewise.
4828 * testsuite/gas/arc/ror.d: Likewise.
4829 * testsuite/gas/arc/rrc.d: Likewise.
4830 * testsuite/gas/arc/sbc.d: Likewise.
4831 * testsuite/gas/arc/sda-relocs.d: Likewise.
4832 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4833 * testsuite/gas/arc/sexb.d: Likewise.
4834 * testsuite/gas/arc/sexw.d: Likewise.
4835 * testsuite/gas/arc/st.d: Likewise.
4836 * testsuite/gas/arc/sub.d: Likewise.
4837 * testsuite/gas/arc/tls-relocs.d: Likewise.
4838 * testsuite/gas/arc/xor.d: Likewise.
4840 2016-01-01 Alan Modra <amodra@gmail.com>
4842 Update year range in copyright notice of all files.
4844 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4846 Copyright (C) 2016 Free Software Foundation, Inc.
4848 Copying and distribution of this file, with or without modification,
4849 are permitted in any medium without royalty provided the copyright
4850 notice and this notice are preserved.
4856 version-control: never