1 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
3 * testsuite/arc/dis-inv.d: Fixed matching.
5 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
7 * testsuite/arc/dis-inv.s: Test to validate patch.
8 * testsuite/arc/dis-inv.d: Likewise.
10 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
12 * testsuite/gas/arc/shortlimm_a7.d: New file.
13 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
14 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
15 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
17 2016-10-11 Nick Clifton <nickc@redhat.com>
19 * gas/arm/tls.d: Adjust output to match change in objdump.
21 2016-10-11 Jiong Wang <jiong.wang@arm.com>
24 * testsuite/gas/aarch64/alias-2.d: Update expected results.
26 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
28 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
29 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
30 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
31 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
32 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
33 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
34 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
35 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
36 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
38 2016-10-08 Alan Modra <amodra@gmail.com>
40 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
41 config/rx-parse.y. Move config/bfin-parse.y.
42 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
43 ($(srcdir)/config/rl78-defs.h): New rule.
44 * Makefile.in: Regenerate.
46 2016-10-07 Jiong Wang <jiong.wang@arm.com>
49 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
51 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
53 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
55 * testsuite/gas/arc/leave_enter.d: New file.
56 * testsuite/gas/arc/leave_enter.s: Likewise.
57 * testsuite/gas/arc/regnames.d: Likewise.
58 * testsuite/gas/arc/regnames.s: Likewise.
59 * config/tc-arc.c (arc_parse_name): Don't match reg names against
60 confirmed symbol names.
62 2016-10-06 Alan Modra <amodra@gmail.com>
64 * app.c (do_scrub_chars): Move fall through comment.
65 * expr.c (operand): Likewise.
67 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
70 * dw2gencfi.c (dot_cfi_sections): Refine the check for
71 inconsistent .cfi_sections to only consider compact vs non
73 * testsuite/gas/cfi/cfi-common-9.d: New file.
74 * testsuite/gas/cfi/cfi-common-9.s: New file.
75 * testsuite/gas/cfi/cfi.exp: Run new test.
77 2016-10-06 Alan Modra <amodra@gmail.com>
79 * app.c: Add missing fall through comments.
80 * dw2gencfi.c: Likewise.
82 * config/tc-alpha.c: Likewise.
83 * config/tc-arc.c: Likewise.
84 * config/tc-arm.c: Likewise.
85 * config/tc-cr16.c: Likewise.
86 * config/tc-crx.c: Likewise.
87 * config/tc-dlx.c: Likewise.
88 * config/tc-h8300.c: Likewise.
89 * config/tc-hppa.c: Likewise.
90 * config/tc-i370.c: Likewise.
91 * config/tc-i386.c: Likewise.
92 * config/tc-i960.c: Likewise.
93 * config/tc-ia64.c: Likewise.
94 * config/tc-m68hc11.c: Likewise.
95 * config/tc-m68k.c: Likewise.
96 * config/tc-mep.c: Likewise.
97 * config/tc-metag.c: Likewise.
98 * config/tc-microblaze.c: Likewise.
99 * config/tc-mips.c: Likewise.
100 * config/tc-ns32k.c: Likewise.
101 * config/tc-rx.c: Likewise.
102 * config/tc-score.c: Likewise.
103 * config/tc-score7.c: Likewise.
104 * config/tc-sh.c: Likewise.
105 * config/tc-tic4x.c: Likewise.
106 * config/tc-vax.c: Likewise.
107 * config/tc-xstormy16.c: Likewise.
108 * config/tc-z80.c: Likewise.
109 * config/tc-z8k.c: Likewise.
110 * config/obj-elf.c: Likewise.
111 * config/tc-i386.c: Likewise.
112 * depend.c: Spell fall through comments consistently.
113 * config/tc-arm.c: Likewise.
114 * config/tc-d10v.c: Likewise.
115 * config/tc-i960.c: Likewise.
116 * config/tc-ia64.c: Likewise.
117 * config/tc-m68k.c: Likewise.
118 * config/tc-mcore.c: Likewise.
119 * config/tc-mep.c: Likewise.
120 * config/tc-ns32k.c: Likewise.
121 * config/tc-visium.c: Likewise.
122 * config/tc-xstormy16.c: Likewise.
123 * config/tc-z8k.c: Likewise.
125 2016-10-06 Alan Modra <amodra@gmail.com>
127 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
129 2016-10-06 Alan Modra <amodra@gmail.com>
131 * config/tc-arc.c (find_opcode_match): Add missing break.
132 * config/tc-i960.c (get_cdisp): Likewise.
133 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
134 * config/tc-mt.c (md_parse_option): Likewise.
135 * config/tc-nds32.c (nds32_apply_fix): Likewise.
136 * config/tc-hppa.c (pa_ip): Assert rather than testing last
137 condition of multiple if statements.
138 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
139 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
140 out of case rather than falling into next case. Formatting.
142 2016-10-06 Alan Modra <amodra@gmail.com>
144 * config/rl78-parse.y: Don't use deprecated %name-prefix.
145 * config/rx-parse.y: Likewise.
147 2016-09-29 Jiong Wang <jiong.wang@arm.com>
150 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
151 testcases for H and S variants. New low index testcases for D variant.
152 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
154 2016-09-29 Alan Modra <amodra@gmail.com>
156 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
157 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
158 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
160 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
162 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
165 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
167 * Makefile.in: Regenerate.
168 * configure: Likewise.
169 * doc/Makefile.in: Likewise.
171 2016-09-26 Alan Modra <amodra@gmail.com>
173 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
174 (md_pseudo_table <ELF>): Handle "gnu_attribute".
176 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
178 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
179 register and redundant basepri_max.
181 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
183 * config/tc-aarch64.c (print_operands): Print spaces between
185 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
187 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
188 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
189 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
190 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
191 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
192 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
193 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
194 * testsuite/gas/aarch64/sve.d: Likewise.
195 * testsuite/gas/aarch64/symbol.d: Likewise.
196 * testsuite/gas/aarch64/system.d: Likewise.
197 * testsuite/gas/aarch64/tls-desc.d: Likewise.
198 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
199 in suggested alternatives.
200 * testsuite/gas/aarch64/verbose-error.l: Likewise.
202 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
204 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
205 rather than "should be" or "expected to be" in error messages.
206 (parse_operands): Likewise.
207 * testsuite/gas/aarch64/diagnostic.l: Likewise.
208 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
209 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
210 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
212 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
214 * config/tc-aarch64.c (opcode_lookup): Search for the end of
215 a condition name, rather than assuming that it will have exactly
217 (parse_operands): Likewise.
218 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
219 to the expected output.
220 * testsuite/gas/aarch64/beq_1.d: Likewise.
221 * testsuite/gas/aarch64/float-fp16.d: Likewise.
222 * testsuite/gas/aarch64/int-insns.d: Likewise.
223 * testsuite/gas/aarch64/no-aliases.d: Likewise.
224 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
225 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
226 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
229 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
231 * testsuite/gas/aarch64/diagnostic.s,
232 testsuite/gas/aarch64/diagnostic.l: Add tests for
233 invalid uses of MUL VL and MUL in base AArch64 instructions.
234 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
235 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
236 testsuite/gas/aarch64/sve-invalid.s,
237 testsuite/gas/aarch64/sve-invalid.d,
238 testsuite/gas/aarch64/sve-invalid.l,
239 testsuite/gas/aarch64/sve-reg-diagnostic.s,
240 testsuite/gas/aarch64/sve-reg-diagnostic.d,
241 testsuite/gas/aarch64/sve-reg-diagnostic.l,
242 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
244 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
246 * doc/c-aarch64.texi: Document the "sve" feature.
247 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
248 (get_reg_expected_msg): Handle it.
249 (parse_operands): When parsing operands of an SVE instruction,
250 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
251 (aarch64_features): Add an entry for SVE.
253 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
255 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
256 and FP register operands.
258 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
260 * config/tc-aarch64.c (double_precision_operand_p): New function.
261 (parse_operands): Use it to calculate the dp_p input to
262 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
264 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
266 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
269 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
271 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
273 (parse_shift): Handle SHIFTED_MUL_VL.
274 (parse_address_main): Add an imm_shift_mode parameter.
275 (parse_address, parse_sve_address): Update accordingly.
276 (parse_operands): Handle MUL VL addressing modes.
278 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
280 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
282 (get_reg_expected_msg): Handle them.
283 (aarch64_addr_reg_parse): New function, split out from
284 aarch64_reg_parse_32_64. Handle Z registers too.
285 (aarch64_reg_parse_32_64): Call it.
286 (parse_address_main): Add base_qualifier, offset_qualifier,
287 base_type and offset_type parameters. Handle SVE base and offset
289 (parse_address): Update call to parse_address_main.
290 (parse_sve_address): New function.
291 (parse_operands): Parse the new SVE address operands.
293 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
295 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
296 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
297 shift modes. Skip range tests for AARCH64_MOD_MUL.
298 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
299 (parse_operands): Likewise.
301 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
303 * config/tc-aarch64.c (parse_enum_string): New function.
304 (po_enum_or_fail): New macro.
305 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
306 AARCH64_OPND_SVE_PRFOP.
308 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
310 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
311 (parse_vector_type_for_operand): Assert that the skipped character
313 (parse_predication_for_operand): New function.
314 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
315 (vectype_to_qualifier): Handle NT_zero and NT_merge.
317 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
319 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
320 (AARCH64_REG_TYPES): Add ZN and PN.
321 (get_reg_expected_msg): Handle them.
322 (parse_vector_type_for_operand): Add a reg_type parameter.
323 Skip the width for Zn and Pn registers.
324 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
325 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
326 expecting the width to be 0.
327 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
329 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
330 (parse_operands): Handle the new Zn and Pn operands.
331 (REGSET16): New macro, split out from...
333 (reg_names): Add Zn and Pn entries.
335 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
337 * config/tc-aarch64.c (output_operand_error_record): Handle
338 AARCH64_OPDE_UNTIED_OPERAND.
340 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
342 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
343 instruction with all-NIL qualifiers to fail to match.
345 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
347 * config/tc-aarch64.c (parse_address_main): Remove reloc and
348 accept_reg_post_index parameters. Parse relocations and register
349 post indexes unconditionally.
350 (parse_address): Remove accept_reg_post_index parameter.
351 Update call to parse_address_main.
352 (parse_address_reloc): Delete.
353 (parse_operands): Call parse_address instead of parse_address_main.
354 Update existing callers of parse_address and make them check
355 inst.reloc.type where appropriate.
356 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
357 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
358 Also test for invalid uses of post-index register addressing.
359 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
361 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
363 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
365 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
366 (aarch64_check_reg_type): Simplify.
367 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
368 register number. Return the type as a qualifier rather than an
369 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
371 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
372 Use get_reg_expected_msg.
373 (parse_address_main): Likewise. Use aarch64_check_reg_type.
374 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
375 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
376 Use aarch64_check_reg_type to test the result.
377 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
378 addresses normally before enforcing the syntax restrictions.
379 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
380 zero register and for a stack pointer index.
381 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
382 Also update existing diagnostic messages after the above changes.
383 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
384 for 32-bit register bases.
386 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
388 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
389 (parse_operands): Check the range of 8-bit FP immediates here instead.
391 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
393 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
394 low-severity error for registers.
395 (parse_operands): Report an invalid floating point constant for
396 if parsing an FPIMM8 fails, and if no better error has been
398 * testsuite/gas/aarch64/diagnostic.s,
399 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
402 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
404 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
406 (can_convert_double_to_float): ...this. Accept any double-precision
407 value that converts to single precision without loss of precision.
408 (parse_aarch64_imm_float): Update accordingly.
410 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
412 * config/tc-aarch64.c (parse_immediate_expression): Add a
414 (parse_constant_immediate): Likewise, and update calls.
415 (parse_aarch64_imm_float): Likewise.
416 (parse_big_immediate): Likewise.
417 (po_imm_nc_or_fail): Update accordingly, passing down a new
418 imm_reg_type variable.
419 (po_imm_of_fail): Likewise.
420 (parse_operands): Likewise.
422 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
424 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
425 (parse_vector_reg_list): ...this and take a register type
427 (parse_operands): Update accordingly.
429 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
431 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
432 (parse_vector_type_for_operand): ...this.
433 (parse_typed_reg): Update accordingly.
435 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
437 * config/tc-aarch64.c (neon_type_el): Rename to...
438 (vector_type_el): ...this.
439 (parse_neon_type_for_operand): Update accordingly.
440 (parse_typed_reg): Likewise.
441 (aarch64_reg_parse): Likewise.
442 (vectype_to_qualifier): Likewise.
443 (parse_operands): Likewise.
444 (eq_neon_type_el): Likewise. Rename to...
445 (eq_vector_type_el): ...this.
446 (parse_neon_reg_list): Update accordingly.
448 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
450 * config/tc-aarch64.c (neon_el_type: Rename to...
451 (vector_el_type): ...this.
452 (neon_type_el): Update accordingly.
453 (parse_neon_type_for_operand): Likewise.
454 (vectype_to_qualifier): Likewise.
456 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
458 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
459 (parse_typed_reg): Call parse_neon_type_for_operand directly.
461 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
463 * testsuite/gas/arc/textinsnxop.d: New file.
464 * testsuite/gas/arc/textinsnxop.s: Likewise.
466 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
468 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
469 dcti-couples-v9 only in ELF targets to avoid spurious failures in
470 sparc-aout and sparc-coff targets.
472 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
474 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
475 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
476 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
477 <copy, paste.>: Update tests.
478 * testsuite/gas/ppc/power9.s: Likewise.
480 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
482 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
483 in "architecture mismatch" error messages.
485 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
487 * config/tc-sparc.c (md_assemble): Detect and warning on
488 unpredictable DCTI couples in certain arches.
489 (dcti_couples_detect): New global.
490 (md_longopts): Add command line option -dcti-couples-detect.
491 (md_show_usage): Document -dcti-couples-detect.
492 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
493 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
494 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
495 * testsuite/gas/sparc/dcti-couples.s: New file.
496 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
497 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
498 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
499 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
500 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
501 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
502 * doc/c-sparc.texi (Sparc-Opts): Likewise.
504 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
506 * testsuite/gas/arc/tls-relocs2.d: New file.
507 * testsuite/gas/arc/tls-relocs2.s: Likewise.
508 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
511 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
513 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
515 * doc/as.texinfo: Document new arch strings.
516 * doc/c-s390.texi: Likewise.
518 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
520 * config/tc-s390.c: Set all facitily bits by default
522 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
524 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
526 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
528 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
531 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
533 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
534 (set_cpu_arch): Updated.
535 (md_parse_option): Likewise.
536 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
537 iamcu-inval-2 and iamcu-inval-3.
538 * testsuite/gas/i386/iamcu-4.d: New file.
539 * testsuite/gas/i386/iamcu-4.s: Likewise.
540 * testsuite/gas/i386/iamcu-5.d: Likewise.
541 * testsuite/gas/i386/iamcu-5.s: Likewise.
542 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
543 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
544 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
545 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
547 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
549 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
550 ARMv8-A CPUs except xgene1.
552 2016-08-31 Alan Modra <amodra@gmail.com>
554 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
555 ppc_cpu rather than calling ppc_mach to determine VLE mode.
556 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
558 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
560 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
562 * testsuite/gas/sparc/crypto.s: Likewise.
564 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
566 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
567 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
568 their lowecase counterpart special registers. Write register
570 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
571 operation, special register and then case. Use different register for
572 each operation. Add tests for new special registers.
573 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
575 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
576 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
578 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
580 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
582 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
584 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
585 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
586 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
588 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
590 * config/tc-i386.c (cpu_arch): Add .ptwrite.
591 * doc/c-i386.texi: Document ptwrite and .ptwrite.
592 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
593 x86-64-ptwrite and x86-64-ptwrite-intel.
594 * testsuite/gas/i386/ptwrite-intel.d: New file.
595 * testsuite/gas/i386/ptwrite.d: Likewise.
596 * testsuite/gas/i386/ptwrite.s: Likewise.
597 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
598 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
599 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
601 2016-08-19 Tamar Christina <tamar.christina@arm.com>
603 * config/tc-arm.c (do_co_reg2c): Added constraint.
604 * testsuite/gas/arm/dest-unpredictable.s: New.
605 * testsuite/gas/arm/dest-unpredictable.l: New.
606 * testsuite/gas/arm/dest-unpredictable.d: New.
608 2016-08-19 Nick Clifton <nickc@redhat.com>
610 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
611 ordering of sections.
612 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
613 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
614 * testsuite/gas/ia64/alias.d: Likewise.
615 * testsuite/gas/ia64/group-1.d: Likewise.
616 * testsuite/gas/ia64/group-2.d: Likewise.
617 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
618 * testsuite/gas/ia64/secname.d: Likewise.
619 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
620 * testsuite/gas/ia64/unwind.d: Likewise.
621 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
622 * testsuite/gas/ia64/xdata.d: Likewise.
623 * testsuite/gas/mmix/bspec-1.d: Likewise.
624 * testsuite/gas/mmix/bspec-2.d: Likewise.
625 * testsuite/gas/mmix/byte-1.d: Likewise.
626 * testsuite/gas/mmix/loc-1.d: Likewise.
627 * testsuite/gas/mmix/loc-2.d: Likewise.
628 * testsuite/gas/mmix/loc-3.d: Likewise.
629 * testsuite/gas/mmix/loc-4.d: Likewise.
630 * testsuite/gas/mmix/loc-5.d: Likewise.
631 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
633 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
635 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
636 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
637 Add tests for -0.0. Add an end-of-file comment.
639 2016-08-05 Nick Clifton <nickc@redhat.com>
642 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
643 registers are pushed.
644 (do_vfp_nsyn_pop): Check that no more than 16 registers are
646 * testsuite/gas/arm/pr20429.s: New test.
647 * testsuite/gas/arm/pr20429.d: New test driver.
648 * testsuite/gas/arm/pr20429.1: Expected error output.
651 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
653 (aarch64_init): Treat rs_align frags in code sections as
654 containing code, not data.
655 * testsuite/gas/aarch64/pr20364.s: New test.
656 * testsuite/gas/aarch64/pr20364.d: New test driver.
658 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
661 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
662 of 64-bit relocation types when assembling for a 32-bit Solaris
665 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
667 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
669 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
670 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
671 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
672 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
674 (sparc_elf_setup): Delete.
675 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
678 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
680 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
681 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
682 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
683 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
684 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
685 (get_append_method): Also return APPEND_ADD_COMPACT for
686 microMIPS instructions.
687 (find_altered_mips16_opcode): Exclude macros from matching.
689 (find_altered_opcode): ... to this new function.
690 (find_altered_micromips_opcode): New function.
691 (frag_branch_delay_slot_size): Likewise.
692 (append_insn): Handle microMIPS branch/jump compaction.
693 (macro_start): Likewise.
694 (relaxed_micromips_32bit_branch_length): Likewise.
695 (md_convert_frag): Likewise.
696 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
697 for delay slot filling.
698 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
700 * testsuite/gas/mips/micromips-size-1.s: Likewise.
701 * testsuite/gas/mips/micromips.l: Adjust line numbers.
702 * testsuite/gas/mips/micromips-warn.l: Likewise.
703 * testsuite/gas/mips/micromips-size-1.l: Likewise.
704 * testsuite/gas/mips/micromips.d: Adjust padding.
705 * testsuite/gas/mips/micromips-trap.d: Likewise.
706 * testsuite/gas/mips/micromips-insn32.d: Likewise.
707 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
708 * testsuite/gas/mips/micromips@beq.d: Update patterns for
709 branch/jump compaction.
710 * testsuite/gas/mips/micromips@bge.d: Likewise.
711 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
712 * testsuite/gas/mips/micromips@blt.d: Likewise.
713 * testsuite/gas/mips/micromips@bltu.d: Likewise.
714 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
715 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
716 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
717 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
718 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
719 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
720 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
721 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
723 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
725 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
726 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
727 * testsuite/gas/mips/micromips@relax.d: Likewise.
728 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
729 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
730 * testsuite/gas/mips/branch-extern-2.d: Likewise.
731 * testsuite/gas/mips/branch-extern-4.d: Likewise.
732 * testsuite/gas/mips/branch-section-2.d: Likewise.
733 * testsuite/gas/mips/branch-section-4.d: Likewise.
734 * testsuite/gas/mips/branch-weak-2.d: Likewise.
735 * testsuite/gas/mips/branch-weak-5.d: Likewise.
736 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
737 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
738 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
739 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
741 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
743 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
745 * testsuite/gas/mips/micromips-compact.d: New test.
746 * testsuite/gas/mips/mips.exp: Run the new test.
748 2016-07-27 Graham Markall <graham.markall@embecosm.com>
750 * config/tc-arc.c: Add new global arc_addrtype_hash.
751 Define O_colon and O_addrtype.
752 (debug_exp): Add O_colon and O_addrtype.
753 (tokenize_arguments): Handle colon and address type
755 (declare_addrtype): New function.
756 (md_begin): Initialise arc_addrtype_hash.
757 (arc_parse_name): Add lookup of address types.
758 (assemble_insn): Handle colons and address types by
760 * testsuite/gas/arc/nps400-8.s: New file.
761 * testsuite/gas/arc/nps400-8.d: New file.
762 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
763 * testsuite/gas/arc/nps400-8.d: Add expected PMU
766 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
768 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
769 (RELAX_MICROMIPS_INSN32): New macro.
770 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
771 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
772 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
773 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
774 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
776 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
778 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
780 (md_convert_frag): Likewise.
781 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
783 * testsuite/gas/mips/micromips-branch-relax.l: Update line
785 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
786 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
787 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
789 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
791 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
793 * testsuite/gas/mips/mips.exp: Run the new tests.
795 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
797 * configure: Regenerated.
799 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
801 * testsuite/gas/arc/dsp.d: New file.
802 * testsuite/gas/arc/dsp.s: Likewise.
803 * testsuite/gas/arc/fpu.d: Likewise.
804 * testsuite/gas/arc/fpu.s: Likewise.
805 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
806 * testsuite/gas/arc/ext3op.d: Likewise.
807 * testsuite/gas/arc/tdpfp.d: Likewise.
808 * testsuite/gas/arc/tfpuda.d: Likewise.
810 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
812 * config/tc-mips.c (mips_force_relocation): Remove
813 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
815 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
817 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
818 Adjust comments for BAL to JALX linker conversion.
819 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
820 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
822 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
823 * testsuite/gas/mips/branch-local-4.d: New test.
824 * testsuite/gas/mips/branch-local-n32-4.d: New test.
825 * testsuite/gas/mips/branch-local-n64-4.d: New test.
826 * testsuite/gas/mips/branch-addend.d: New test.
827 * testsuite/gas/mips/branch-addend-n32.d: New test.
828 * testsuite/gas/mips/branch-addend-n64.d: New test.
829 * testsuite/gas/mips/branch-local-4.s: New test source.
830 * testsuite/gas/mips/branch-addend.s: New test source.
831 * testsuite/gas/mips/mips.exp: Run the new tests.
833 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
835 * config/tc-mips.c (mips_force_relocation): Also retain branch
836 relocations against MIPS16 and microMIPS symbols.
837 (fix_bad_cross_mode_jump_p): New function.
838 (fix_bad_same_mode_jalx_p): Likewise.
839 (fix_bad_misaligned_jump_p): Likewise.
840 (fix_bad_cross_mode_branch_p): Likewise.
841 (fix_bad_misaligned_branch_p): Likewise.
842 (fix_validate_branch): Likewise.
843 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
844 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
845 etc. Verify the ISA mode and alignment of the jump target.
846 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
847 with a call to `fix_validate_branch'.
848 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
849 <BFD_RELOC_16_PCREL_S2>: Likewise.
850 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
851 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
852 Verify the ISA mode and alignment of the branch target.
853 (md_convert_frag): Verify the ISA mode and alignment of resolved
854 MIPS16 branch targets.
855 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
856 branch targets with `.insn'.
857 * testsuite/gas/mips/branch-misc-5.s: Likewise.
858 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
860 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
861 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
862 non-instruction branch target with `.insn'.
863 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
864 with external symbols.
865 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
866 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
867 * testsuite/gas/mips/micromips-trap.d: Likewise.
868 * testsuite/gas/mips/micromips.d: Likewise.
869 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
870 targets with `.insn'.
871 * testsuite/gas/mips/mips16.d: Update accordingly.
872 * testsuite/gas/mips/mips16-64.d: Likewise.
873 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
874 branch target with `.insn'.
875 * testsuite/gas/mips/relax-swap3.s: Likewise.
876 * testsuite/gas/mips/branch-local-2.l: New list test.
877 * testsuite/gas/mips/branch-local-3.l: New list test.
878 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
879 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
880 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
881 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
882 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
883 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
884 * testsuite/gas/mips/unaligned-jump-3.d: New test.
885 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
886 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
887 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
888 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
890 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
892 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
893 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
894 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
895 * testsuite/gas/mips/unaligned-branch-3.d: New test.
896 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
897 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
898 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
899 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
900 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
901 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
902 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
903 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
904 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
905 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
907 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
909 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
910 * testsuite/gas/mips/branch-local-2.s: New test source.
911 * testsuite/gas/mips/branch-local-3.s: New test source.
912 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
913 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
914 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
915 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
916 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
917 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
918 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
919 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
920 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
922 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
924 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
925 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
926 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
927 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
928 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
929 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
930 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
932 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
934 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
936 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
938 * testsuite/gas/mips/mips.exp: Run the new tests.
940 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
942 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
944 (do_pseudo_b): Adjust.
945 (do_pseudo_bal): Likewise.
946 (do_pseudo_bge): Likewise.
947 (do_pseudo_bges): Likewise.
948 (do_pseudo_bgt): Likewise.
949 (do_pseudo_bgts): Likewise.
950 (do_pseudo_ble): Likewise.
951 (do_pseudo_bles): Likewise.
952 (do_pseudo_blt): Likewise.
953 (do_pseudo_blts): Likewise.
954 (do_pseudo_br): Likewise.
955 (do_pseudo_bral): Likewise.
956 (do_pseudo_la): Likewise.
957 (do_pseudo_li): Likewise.
958 (do_pseudo_ls_bhw): Likewise.
959 (do_pseudo_ls_bhwp): Likewise.
960 (do_pseudo_ls_bhwpc): Likewise.
961 (do_pseudo_ls_bhwi): Likewise.
962 (do_pseudo_move): Likewise.
963 (do_pseudo_neg): Likewise.
964 (do_pseudo_not): Likewise.
965 (do_pseudo_pushpopm): Likewise.
966 (do_pseudo_pushpop): Likewise.
967 (do_pseudo_v3push): Likewise.
968 (do_pseudo_v3pop): Likewise.
969 (do_pseudo_pushpop_stack): Likewise.
970 (do_pseudo_push_bhwd): Likewise.
971 (do_pseudo_pop_bhwd): Likewise.
972 (do_pseudo_pusha): Likewise.
973 (do_pseudo_pushi): Likewise.
975 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
977 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
978 bfd_reloc_code_real_type.
980 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
982 * config/tc-sparc.c (pop_table): Remove sentinel.
983 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
986 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
988 * config/tc-z8k.c (newfix): Make type of type argument
989 bfd_reloc_code_real_type.
990 (apply_fix): Likewise.
992 2016-07-16 Alan Modra <amodra@gmail.com>
994 * config/tc-epiphany.c: Don't include libbfd.h.
995 * config/tc-frv.c: Likewise.
996 * config/tc-ip2k.c: Likewise.
997 * config/tc-iq2000.c: Likewise.
998 * config/tc-m32c.c: Likewise.
999 * config/tc-mep.c: Likewise.
1000 * config/tc-mt.c: Likewise.
1001 * config/tc-nios2.c: Likewise.
1003 2016-07-16 Alan Modra <amodra@gmail.com>
1005 * config/bfin-parse.y: Don't include libbfd.h.
1006 * config/tc-bfin.c: Likewise.
1007 * config/tc-rl78.c: Likewise.
1008 * config/tc-rx.c: Likewise.
1009 * config/tc-metag.c: Likewise.
1010 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1011 * Makefile.am: Update dependencies.
1012 * Makefile.in: Regenerate.
1014 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1016 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1017 (mips_force_relocation_abs): New prototype.
1018 * config/tc-mips.c (mips_force_relocation_abs): New function.
1019 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1020 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1021 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1022 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1023 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1025 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1027 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1028 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1029 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1031 * testsuite/gas/mips/mips.exp: Run the new tests.
1033 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1035 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1036 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1037 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1039 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1040 in `bar', export `foo'.
1041 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1043 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1044 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1045 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1047 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1050 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1052 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1053 * testsuite/gas/mips/branch-absolute.d: New test.
1054 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1055 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1056 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1057 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1058 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1059 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1060 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1062 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1064 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1065 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1066 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1067 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1069 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1071 * testsuite/gas/mips/branch-absolute.s: New test source.
1072 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1073 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1075 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1077 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1079 * testsuite/gas/mips/mips.exp: Run the new tests.
1081 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1083 * testsuite/gas/mips/nal-1.d: New test.
1084 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1085 * testsuite/gas/mips/nal-2.d: New test.
1086 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1087 * testsuite/gas/mips/nal.s: New test source.
1088 * testsuite/gas/mips/mips.exp: Run the new tests.
1090 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1092 * testsuite/gas/sparc/ldtxa.s: New file.
1093 * testsuite/gas/sparc/ldtxa.d: Likewise.
1094 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1096 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1098 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1099 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1100 as it is no longer needed.
1102 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1104 * config/tc-mips.c (append_insn): Remove extraneous
1105 `install_insn' call.
1107 2016-07-04 Jan Beulich <jbeulich@suse.com>
1109 * config/tc-i386.c (check_qword_reg): Correct register kind
1111 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1112 16-bit register cases.
1113 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1116 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1118 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1119 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1120 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1121 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1122 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1123 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1125 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1126 * testsuite/gas/mips/bge.d: Likewise.
1127 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1128 * testsuite/gas/mips/bgeu.d: Likewise.
1129 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1130 * testsuite/gas/mips/blt.d: Likewise.
1131 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1132 * testsuite/gas/mips/bltu.d: Likewise.
1133 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1134 * testsuite/gas/mips/branch-likely.d: Likewise.
1135 * testsuite/gas/mips/la.d: Likewise.
1136 * testsuite/gas/mips/lb.d: Likewise.
1137 * testsuite/gas/mips/lifloat.d: Likewise.
1138 * testsuite/gas/mips/sb.d: Likewise.
1139 * testsuite/gas/mips/uld.d: Likewise.
1140 * testsuite/gas/mips/ulh.d: Likewise.
1141 * testsuite/gas/mips/ulw.d: Likewise.
1142 * testsuite/gas/mips/usd.d: Likewise.
1143 * testsuite/gas/mips/ush.d: Likewise.
1144 * testsuite/gas/mips/usw.d: Likewise.
1146 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1148 * testsuite/gas/mips/branch-misc-2.s: Move non
1149 locally-defined-global symbol tests...
1150 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1151 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1152 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1153 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1154 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1155 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1156 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1157 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1158 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1159 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1160 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1161 * testsuite/gas/mips/branch-misc-5.d: New test.
1162 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1163 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1164 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1165 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1166 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1167 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1168 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1169 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1170 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1171 * testsuite/gas/mips/mips.exp: Run the new tests.
1173 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1175 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1177 * testsuite/gas/mips/beq.d: Update accordingly.
1178 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1179 * testsuite/gas/mips/micromips@beq.d: Likewise.
1181 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1183 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1184 tests to NewABI targets.
1186 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1188 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1191 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1193 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1195 (aarch64_features): Initialize require fields.
1196 (aarch64_parse_features): Handle dependencies.
1197 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1198 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1199 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1200 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1201 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1203 2016-07-01 Nick Clifton <nickc@redhat.com>
1205 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1206 extremely large integer.
1208 2016-07-01 Jan Beulich <jbeulich@suse.com>
1210 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1212 2016-07-01 Tristan Gingold <gingold@adacore.com>
1214 * NEWS: Add marker for 2.27.
1216 2016-07-01 Jan Beulich <jbeulich@suse.com>
1218 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1220 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1221 as well as scaling by other than 1 tests.
1222 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1224 2016-07-01 Jan Beulich <jbeulich@suse.com>
1226 * tc-i386.c (md_assemble): Alter address size checking for MPX
1228 * testsuite/gas/i386/mpx-inval-2.s: New.
1229 * testsuite/gas/i386/mpx-inval-2.l: New.
1230 * testsuite/gas/i386/i386.exp: Run new test.
1232 2016-07-01 Jan Beulich <jbeulich@suse.com>
1235 * config/tc-i386.c (match_template): Add char parameter,
1236 consumed in Intel mode for an extra suffix check.
1237 (md_assemble): New local variable mnem_suffix.
1238 * testsuite/gas/i386/suffix-bad.s: New.
1239 * testsuite/gas/i386/suffix-bad.l: New.
1240 * testsuite/gas/i386/i386.exp: Run new test (twice).
1242 2016-07-01 Jan Beulich <jbeulich@suse.com>
1244 * testsuite/gas/i386/movz.s: New.
1245 * testsuite/gas/i386/movz32.d: New.
1246 * testsuite/gas/i386/movz64.d: New.
1247 * testsuite/gas/i386/i386.exp: Run new tests.
1249 2016-07-01 Jan Beulich <jbeulich@suse.com>
1251 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1252 (md_assemble): Free first memory operand string.
1253 (i386_index_check): Use repprefixok to distingush xlat from
1254 other (real) string ops.
1255 (maybe_adjust_templates): New.
1256 (i386_att_operand). Call it. Store first memory operand string.
1257 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1258 * testsuite/gas/i386/intel-movs.s: New.
1259 * testsuite/gas/i386/intel-movs32.d: New.
1260 * testsuite/gas/i386/intel-movs64.d: New.
1261 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1262 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1264 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1266 * config/tc-mips.c (get_append_method): Fix a comment typo.
1268 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1269 Maciej W. Rozycki <macro@imgtec.com>
1271 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1272 case MIPS16 handling.
1273 * testsuite/gas/mips/branch-swap-3.d: New test.
1274 * testsuite/gas/mips/branch-swap-4.d: New test.
1275 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1276 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1277 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1278 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1279 * testsuite/gas/mips/branch-swap-3.s: New test source.
1280 * testsuite/gas/mips/mips.exp: Run the new tests.
1282 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1284 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1287 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1290 * write.c (subsegs_finish_section): Force no section padding to
1291 alignment on failed assembly, always set last frag's alignment
1293 * testsuite/gas/all/pr20312.l: New list test.
1294 * testsuite/gas/all/pr20312.s: New test source.
1295 * testsuite/gas/all/gas.exp: Run the new test
1297 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1299 * config.in (TARGET_WITH_CPU): Undefine.
1300 * configure.ac: Add --with-cpu support, and define in config.h.
1301 * configure: Regenerate.
1302 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1303 * NEWS: Mention new configure option.
1305 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1307 * testsuite/gas/arm/armv8_2+rdma.d: New.
1309 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1311 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1312 default for Linux/x86 targets.
1313 * configure.tgt (ac_default_compressed_debug_sections): Default
1314 to yes for Linux/x86 targets.
1316 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1318 * write.c: Remove "libbfd.h" inclusion.
1320 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1322 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1325 2016-06-28 Alan Modra <amodra@gmail.com>
1328 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1330 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1332 * testsuite/gas/aarch64/diagnostic.s,
1333 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1335 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1337 * config/tc-mips.c (mips16_reloc_p): Handle
1338 BFD_RELOC_MIPS16_16_PCREL_S1.
1339 (b_reloc_p): Likewise.
1340 (limited_pcrel_reloc_p): Likewise.
1341 (md_pcrel_from): Likewise.
1342 (md_apply_fix): Likewise.
1343 (tc_gen_reloc): Likewise.
1344 (md_convert_frag): Likewise.
1345 (mips_fix_adjustable): Update comment.
1346 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1347 output, add dump patterns.
1348 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1349 output, add dump patterns.
1350 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1351 output, add dump patterns.
1352 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1353 output, add dump patterns.
1354 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1355 output, add dump patterns.
1356 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1357 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1358 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1359 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1360 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1361 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1362 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1363 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1364 * testsuite/gas/mips/branch-weak-6.d: New test.
1365 * testsuite/gas/mips/branch-weak-7.d: New test.
1366 * testsuite/gas/mips/mips.exp: Run the new tests.
1368 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1370 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1371 cfi_add_CFA_def_cfa to generate default CFA with offset
1372 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1374 2016-06-27 Nick Clifton <nickc@redhat.com>
1377 * as.h (do_not_pad_sections_to_alignment): New global variable.
1378 * as.c (show_usage): Add --no-pad-sections.
1379 (parse_args): Likewise.
1380 * write.c (size_seg): Skip padding the end of the section if
1381 requested from the command line.
1382 (SUB_SEGMENT_ALIGN): Likewise.
1383 * doc/as.texinfo: Document the new option.
1384 * NEWS: Mention the new feature.
1385 * testsuite/gas/elf/section11.s: New test.
1386 * testsuite/gas/elf/section11.d: New test driver.
1387 * testsuite/gas/elf/elf.exp: Run the new test.
1389 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1391 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1392 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1394 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1396 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1398 (map_suffix_reloc_to_operator): Likewise.
1399 (map_operator_to_reloc): Likewise.
1401 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1403 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1404 element in relax_table.
1406 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1408 * config/tc-aarch64.c: Make the type of reg_entry::type
1411 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1413 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1414 (md_parse_option): Adjust.
1415 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1416 with iteration from 0 to ARRAY_SIZE.
1417 * config/tc-mcore.c (md_begin): Likewise.
1418 * config/tc-visium.c (visium_parse_arch): Likewise.
1420 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1422 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1423 and simplify accordingly.
1424 (tic54x_include): Adjust.
1425 (tic54x_mlib): Likewise.
1427 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1429 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1431 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1433 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1434 unchanged with relaxed MIPS16 instructions.
1435 (mips16_extended_frag): Adjust accordingly. Return 1 right
1436 away if a relocation will be required for the symbol requested.
1437 Remove dead first relaxation pass code.
1438 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1439 (md_convert_frag): Adjust symbol value calculation. Raise an
1440 error if a relocation is required for the symbol requested.
1441 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1443 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1444 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1445 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1446 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1447 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1448 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1449 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1450 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1451 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1452 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1453 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1454 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1455 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1456 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1457 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1458 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1459 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1460 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1461 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1462 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1463 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1464 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1465 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1466 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1467 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1468 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1469 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1470 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1471 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1472 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1473 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1474 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1475 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1476 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1477 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1478 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1479 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1480 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1481 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1482 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1483 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1484 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1485 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1486 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1487 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1488 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1489 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1490 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1491 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1492 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1493 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1494 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1495 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1496 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1497 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1498 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1499 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1500 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1501 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1502 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1503 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1504 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1505 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1506 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1507 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1508 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1509 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1510 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1511 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1512 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1513 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1514 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1515 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1516 * testsuite/gas/mips/mips.exp: Run the new tests.
1518 2016-06-24 Alan Modra <amodra@gmail.com>
1520 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1522 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1524 * config/tc-mips.c (b_reloc_p): New function.
1525 (mips_fix_adjustable): Also keep the original microMIPS symbol
1526 referred from branch relocations.
1527 * testsuite/gas/mips/branch-local-1.d: New test.
1528 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1529 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1530 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1532 * testsuite/gas/mips/branch-local-1.s: New test source.
1533 * testsuite/gas/mips/mips.exp: Run the new cases.
1535 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1537 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1538 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1539 options. Correct erroneous enabling of SPFP instructions when
1542 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1544 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1545 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1546 setbool, xor3>: New tests.
1547 * testsuite/gas/ppc/power9.s: Likewise.
1549 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1551 * config/tc-xtensa.c: Include elf/xtensa.h.
1553 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1555 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1556 <BFD_RELOC_LO16_PCREL>: New switch cases.
1557 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1558 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1559 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1560 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1562 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1563 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1564 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1565 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1566 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1567 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1568 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1569 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1570 * testsuite/gas/mips/mips.exp: Run the new tests.
1572 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1574 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1575 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1576 via `fixP->fx_addsy'.
1578 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1580 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1581 Calculate relocation from the containing aligned doubleword.
1582 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1583 addend from the containing aligned doubleword.
1585 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1587 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1588 rather than `mips_opts' for the R6 ISA check.
1589 (mips_fix_adjustable): Likewise.
1590 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1591 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1592 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1593 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1594 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1595 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1596 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1597 * testsuite/gas/mips/mips.exp: Run the new tests.
1599 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1601 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1602 Add nps400 option and feature. Add check for nps400
1603 feature. Refactor existing checks to check subclass before
1605 (md_show_usage): Document flags for NPS-400 and add some other
1607 (cpu_type): Remove nps400 CPU type entry
1608 (check_zol): Remove bfd_mach_arc_nps400 case.
1609 (md_show_usage): Add help on -mcpu=nps400.
1610 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1612 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1613 -fpuda flags. Document -mcpu=nps400.
1614 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1615 expected flags to match ARC700 instead of NPS400.
1616 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1617 * testsuite/gas/arc/nps-400-2.d: Likewise.
1618 * testsuite/gas/arc/nps-400-3.d: Likewise.
1619 * testsuite/gas/arc/nps-400-4.d: Likewise.
1620 * testsuite/gas/arc/nps-400-5.d: Likewise.
1621 * testsuite/gas/arc/nps-400-6.d: Likewise.
1622 * testsuite/gas/arc/nps-400-7.d: Likewise.
1623 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1624 avoid clash with cbba instruction.
1625 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1626 * testsuite/gas/arc/textinsn3op.d: Likewise.
1627 * testsuite/gas/arc/textinsn3op.s: Likewise.
1628 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1629 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1631 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1633 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1634 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1636 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1638 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1641 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1643 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1645 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1647 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1648 %hmcddfr and %hva_mask_nz.
1649 (sparc_ip): New handling of asr/privileged/hyperprivileged
1650 registers, adapted to the new form of the sparc opcodes table.
1651 * testsuite/gas/sparc/rdasr.s: New file.
1652 * testsuite/gas/sparc/rdasr.d: Likewise.
1653 * testsuite/gas/sparc/wrasr.s: Likewise.
1654 * testsuite/gas/sparc/wrasr.d: Likewise.
1655 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1657 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1658 registers require it.
1659 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1660 registers and write instruction modalities.
1661 * testsuite/gas/sparc/wrpr.d: Likewise.
1662 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1664 * testsuite/gas/sparc/rdhpr.d: Likewise.
1665 * testsuite/gas/sparc/wrhpr.s: Likewise.
1666 * testsuite/gas/sparc/wrhpr.d: Likewise.
1668 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1670 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1671 architectures to use the right opcode architecture.
1672 (sparc_md_end): Handle v9{c,d,e,v,m}.
1673 (sparc_ip): Fix some comments.
1674 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1675 instruction, which is v9d.
1676 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1677 instruction from the test, as %mwait is not readable.
1678 * testsuite/gas/sparc/mwait.d: Likewise.
1679 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1680 mismatch architecture errors.
1681 * testsuite/gas/sparc/mism-2.s: New file.
1683 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1685 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1686 empty string to mark the end of the array.
1687 (hpriv_reg_table): Likewise.
1688 (v9a_asr_table): Likewise.
1689 (cmp_reg_entry): Handle entries with NULL names.
1691 (F_POP_PCREL): Likewise.
1692 (F_POP_TLS_CALL): Likewise.
1693 (F_POP_POSTFIX): Likewise.
1694 (struct pop_entry): New type.
1695 (pop_table): New variable.
1696 (enum pop_entry_type): New type.
1697 (struct perc_entry): Likewise.
1698 (NUM_PERC_ENTRIES): Define.
1699 (perc_table): New variable.
1700 (cmp_perc_entry): New function.
1701 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1703 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1704 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1707 2016-06-15 Nick Clifton <nickc@redhat.com>
1709 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1711 * config/tc-mcore.c (md_assemble): Likewise.
1712 * config/tc-mn10200.c (md_assemble): Likewise.
1713 * config/tc-moxie.c (md_assemble): Likewise.
1714 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1715 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1716 exception targets. Add alpha, hppa, microblaze and rl78 to list
1718 (forward): Add microblaze to list of exceptions.
1719 (fwdexp): Add alpha to list of exceptions.
1720 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1721 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1722 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1723 mn10200 to list of exceptions.
1724 (align2): Expect to fail for nds32.
1725 (cond): Add alpha and rl78 to list of exceptions.
1726 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1727 * testsuite/gas/all/string.d: Skip for tic4x.
1728 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1729 target does not support ELF.
1730 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1731 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1732 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1733 tests for sh-pe and sh-rtemscoff targets.
1734 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1736 (type): Run the noifunc version for alpha-freebsd and visium.
1737 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1738 mn10200 or moxie targets.
1739 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1740 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1742 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1743 mcore and rx targets.
1744 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1746 (purge): Expect to fail on the ns32k and vax.
1747 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1748 * testsuite/gas/nds32/ls.d: Likewise.
1749 * testsuite/gas/nds32/sys-reg.d: Likewise.
1750 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1751 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1752 * testsuite/gas/pe/section-align-3.d: Likewise.
1753 * testsuite/gas/pe/section-exclude.d: Likewise.
1754 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1756 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1757 for variations in whitespace.
1758 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1760 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1761 Installs a 32-bit value without generating warnings on 64-bit
1763 Use the new macro to replace the .word directives.
1765 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1767 * testsuite/gas/arc/add_s.d: New file.
1768 * testsuite/gas/arc/add_s.s: New file.
1770 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1772 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1773 * testsuite/gas/arc/nps400-6.d: Likewise.
1775 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1777 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1779 * testsuite/gas/arc/nps400-6.d: Likewise.
1781 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1783 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1784 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1785 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1786 * testsuite/gas/arc/nps400-6.d: Likewise.
1788 2016-06-14 Nick Clifton <nickc@redhat.com>
1790 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1793 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1795 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1796 JALR relocations on R6.
1797 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1798 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1799 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1800 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1801 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1802 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1804 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1805 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1807 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1808 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1810 * testsuite/gas/mips/mips.exp: Run the new tests.
1812 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1814 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1815 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1818 2016-06-13 Nick Clifton <nickc@redhat.com>
1820 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1821 that are not supported.
1823 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1825 * config/tc-cr16.c (check_range): Likewise.
1826 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1828 2016-06-08 Renlin Li <renlin.li@arm.com>
1830 * config/tc-aarch64.c (print_operands): Substitute size.
1831 (output_operand_error_record): Likewise.
1833 2016-06-07 Alan Modra <amodra@gmail.com>
1835 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1836 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1837 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1838 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1839 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1840 add vle_opcodes twice.
1841 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1843 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1845 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1846 (arm_ext_ras): Renamed from arm_ext_v8_2.
1847 (insns): Update for arm_ext_v8_2 renaming.
1848 (arm_extensions): Add "ras".
1849 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1850 * testsuite/gas/arm/armv8-a+ras.d: New.
1851 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1854 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1856 * itbl-parse.y (yyerror): Use modern argument declaration style.
1858 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1860 * config/tc-sh.c (parse_reg): Change type of mode argument to
1862 (get_operand): Adjust.
1863 (insert): Change type of how to bfd_reloc_code_real_type.
1864 (insert4): Likewise.
1865 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1866 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1868 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1870 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1873 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1876 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1877 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1878 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1879 * gas/testsuite/gas/ppc/power8.s: Likewise.
1880 * gas/testsuite/gas/ppc/power8.d: Likewise.
1881 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1883 * gas/testsuite/gas/ppc/power4.d: Likewise.
1885 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1888 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1889 * testsuite/gas/i386/x86-64-branch.d: Updated.
1890 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1891 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1892 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1894 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1896 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1897 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1899 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1901 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1902 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1904 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1906 * configure.tgt: Replace -uclibc with *.
1908 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1910 * config/tc-arc.c (parse_opcode_flags): New function.
1911 (find_opcode_match): Move flag parsing code out to new function.
1912 Ignore operands marked IGNORE.
1913 (build_fake_opcode_hash_entry): New function.
1914 (find_special_case_long_opcode): New function.
1915 (find_special_case): Lookup long opcodes.
1916 * testsuite/gas/arc/nps400-7.d: New file.
1917 * testsuite/gas/arc/nps400-7.s: New file.
1919 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1921 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1923 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1925 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1926 sentinal with iteration to array size.
1928 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1930 * config/xtensa-relax.h: Move typedefs of enums to the enums
1933 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1935 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1938 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1940 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1941 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1942 * testsuite/gas/arc/nps-400-1.d: Likewise.
1944 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1947 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1948 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1949 noavx512ifma and noavx512vbmi.
1950 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1951 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1953 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1954 * testsuite/gas/i386/noavx512-1.l: New file.
1955 * testsuite/gas/i386/noavx512-1.s: Likewise.
1956 * testsuite/gas/i386/noavx512-2.l: Likewise.
1957 * testsuite/gas/i386/noavx512-2.s: Likewise.
1959 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1962 * config/tc-i386.c (cpu_arch): Add 687.
1963 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1964 nosse4.1, nosse4.2, nosse4 and noavx2.
1965 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1966 register. Check cpuregxmm instead of cpusse for XMM register.
1967 Check cpuregymm instead of cpuavx for YMM register. Check
1968 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1969 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1970 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1971 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1972 * testsuite/gas/i386/arch-10.d (as): Likewise.
1973 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1974 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1975 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1977 * testsuite/gas/i386/no87-3.l: New file.
1978 * testsuite/gas/i386/no87-3.s: Likewise.
1979 * testsuite/gas/i386/noavx-3.l: Likewise.
1980 * testsuite/gas/i386/noavx-3.s: Likewise.
1981 * testsuite/gas/i386/noavx-4.d: Likewise.
1982 * testsuite/gas/i386/noavx-4.s: Likewise.
1983 * testsuite/gas/i386/nosse-4.l: Likewise.
1984 * testsuite/gas/i386/nosse-4.s: Likewise.
1985 * testsuite/gas/i386/nosse-5.d: Likewise.
1986 * testsuite/gas/i386/nosse-5.s: Likewise.
1988 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1991 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1993 (match_template): Check Intel64/AMD64 ISA.
1995 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1998 * config/tc-i386.c (intel64): New.
1999 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2000 (md_parse_option): Set intel64 instead of cpuamd64 and
2003 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2005 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2008 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2010 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2011 * testsuite/gas/ppc/altivec3.s: Likewise.
2012 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2013 * testsuite/gas/ppc/power9.s: Likewise.
2015 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2017 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2018 * testsuite/gas/i386/noavx-1.l: Likewise.
2019 * testsuite/gas/i386/nommx-1.l: Likewise.
2020 * testsuite/gas/i386/nosse-1.l: Likewise.
2021 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2022 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2023 * testsuite/gas/i386/noavx-1.s: Likewise.
2024 * testsuite/gas/i386/nommx-1.s: Likewise.
2025 * testsuite/gas/i386/nosse-1.s: Likewise.
2026 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2028 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2030 * config/tc-metag.c (metag_handle_align): Make the type of noop
2033 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2035 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2036 bfd_reloc_code_real_type.
2038 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2041 * config/tc-i386.c (cpu_flags_match): Require another match
2043 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2044 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2045 * testsuite/gas/i386/avx512vl-1.l: New file.
2046 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2047 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2048 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2049 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2050 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2051 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2052 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2054 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2057 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2058 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2059 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2061 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2063 * config/tc-i386.c (arch_entry): Remove negated.
2064 (noarch_entry): New struct.
2065 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2067 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2068 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2070 (output_message): New function.
2071 (show_arch): Use it. Handle cpu_noarch.
2072 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2073 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2074 * testsuite/gas/i386/noavx-1.l: New file.
2075 * testsuite/gas/i386/noavx-1.s: Likewise.
2076 * testsuite/gas/i386/noavx-2.s: Likewise.
2077 * testsuite/gas/i386/noavx-2.l: Likewise.
2078 * testsuite/gas/i386/nommx-1.s: Likewise.
2079 * testsuite/gas/i386/nommx-1.l: Likewise.
2080 * testsuite/gas/i386/nommx-2.s: Likewise.
2081 * testsuite/gas/i386/nommx-2.l: Likewise.
2082 * testsuite/gas/i386/nommx-3.s: Likewise.
2083 * testsuite/gas/i386/nommx-3.l: Likewise.
2084 * testsuite/gas/i386/nosse-1.s: Likewise.
2085 * testsuite/gas/i386/nosse-1.l: Likewise.
2086 * testsuite/gas/i386/nosse-2.s: Likewise.
2087 * testsuite/gas/i386/nosse-2.l: Likewise.
2088 * testsuite/gas/i386/nosse-3.s: Likewise.
2089 * testsuite/gas/i386/nosse-3.l: Likewise.
2091 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2094 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2095 instruction if supported by the currently selected fpu variant.
2096 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2097 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2099 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2101 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2102 jump relocations against MIPS16 or microMIPS symbols on RELA
2104 * testsuite/gas/mips/jalx-local.d: New test.
2105 * testsuite/gas/mips/jalx-local-n32.d: New test.
2106 * testsuite/gas/mips/jalx-local-n64.d: New test.
2107 * testsuite/gas/mips/jalx-local.s: New test source.
2108 * testsuite/gas/mips/mips.exp: Run the new tests.
2110 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2112 * config/tc-mips.c (md_apply_fix)
2113 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2116 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2118 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2119 operator to operatorT.
2120 (map_suffix_reloc_to_operator): Change return type to operatorT.
2122 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2124 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2126 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2128 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2129 handler_charp to const char *.
2131 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2133 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2134 (ft32_target_format): Likewise.
2135 (TARGET_FORMAT): Adjust.
2137 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2139 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2140 (ia64_frob_label): Likewise.
2142 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2144 * config/tc-cr16.c (check_range): Make type of retval op_err.
2145 * config/tc-crx.c: Likewise.
2147 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2149 * config/tc-arc.c (md_begin): Add XY registers.
2150 (cpu_types): Code density is default off for ARC EM.
2152 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2154 * config/tc-arc.c (attributes_t): Renamed attribute class to
2156 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2158 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2160 * configuse.tgt: Add entry for arm-phoenix.
2162 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2164 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2166 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2168 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2170 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2172 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2173 (md_begin): Likewise.
2174 (encode_condition): Likewise.
2175 (encode_cc3): Likewise.
2176 (encode_cc2): Likewise.
2177 (encode_operand): Likewise.
2178 (tic54x_undefined_symbol): Likewise.
2180 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2182 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2184 * doc/c-mips.texi: Document p6600 -march option.
2186 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2189 * config/tc-i386.c (md_apply_fix): Preserve addend for
2190 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2191 * testsuite/gas/i386/addend.d: New file.
2192 * testsuite/gas/i386/addend.s: Likewise.
2193 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2194 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2195 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2196 * testsuite/gas/i386/reloc32.d: Updated.
2198 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2200 * config/tc-mips.c (append_insn): Correct the encoding of a
2201 constant argument for microMIPS JALX.
2202 (tc_gen_reloc): Correct the encoding of an in-place addend for
2204 * testsuite/gas/mips/jalx-addend.d: New test.
2205 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2206 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2207 * testsuite/gas/mips/jalx-imm.d: New test.
2208 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2209 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2210 * testsuite/gas/mips/jalx-addend.s: New test source.
2211 * testsuite/gas/mips/jalx-imm.s: New test source.
2212 * testsuite/gas/mips/mips.exp: Run the new tests.
2214 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2216 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2219 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2221 * config/tc-arc.c (find_opcode_match): Remove casting away of
2223 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2225 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2227 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2229 (md_convert_frag): Likewise.
2231 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2233 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2234 cached opcode to NULL when we reach a non-matching opcode.
2235 * testsuite/gas/arc/asm-errors-2.d: New file.
2236 * testsuite/gas/arc/asm-errors-2.err: New file.
2237 * testsuite/gas/arc/asm-errors-2.s: New file.
2239 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2241 * config/tc-arc.c (tokenize_arguments): Add checks for array
2243 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2244 * testsuite/gas/arc/asm-errors.err: Update expected results.
2246 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2248 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2249 int to enum rx_cpu_types.
2251 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2253 * config/tc-dlx.c (struct machine_it): change the type of a field from
2254 int to bfd_reloc_code_real_type.
2255 * config/tc-tic4x.c: Likewise.
2257 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2259 * config/tc-v850.c (v850_target_arch): change type to enum
2261 * config/tc-v850.h (v850_target_arch): Likewise.
2263 2016-05-18 Alan Modra <amodra@gmail.com>
2265 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2266 allowed negative range.
2267 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2268 * testsuite/gas/ppc/power9.d: Update.
2270 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2272 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2273 disassembling and stop skipping targets.
2274 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2275 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2276 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2277 instruction for targets that have stronger alignment requirement.
2278 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2279 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2280 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2281 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2282 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2283 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2284 * testsuite/gas/arm/archv8m-main.d: Likewise.
2285 * testsuite/gas/arm/archv8m.s: Add label.
2286 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2287 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2288 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2290 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2292 * config/tc-m32r.c (mach_table): Make static and const.
2294 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2296 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2299 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2301 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2303 * config/tc-msp430.c (md_begin): Likewise.
2305 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2307 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2308 bfd_reloc_code_real_type where appropriate.
2309 (fixup16): Likewise.
2310 (fixup8_xg): Likewise.
2312 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2314 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2316 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2318 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2319 * testsuite/gas/ppc/power9.s: Likewise.
2321 2016-05-13 Alan Modra <amodra@gmail.com>
2323 * config/obj-coff.c (weak_uniquify): Delete unused var.
2325 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2327 * app.c (app_push): Use XNEW and related macros.
2328 * as.c (parse_args): Likewise.
2329 * cgen.c (make_right_shifted_expr): Likewise.
2330 (gas_cgen_tc_gen_reloc): Likewise.
2331 * config/bfin-defs.h: Likewise.
2332 * config/bfin-parse.y: Likewise.
2333 * config/obj-coff.c (stack_init): Likewise.
2334 (stack_push): Likewise.
2335 (coff_obj_symbol_new_hook): Likewise.
2336 (coff_obj_symbol_clone_hook): Likewise.
2337 (add_lineno): Likewise.
2338 (coff_frob_symbol): Likewise.
2339 * config/obj-elf.c (obj_elf_section_name): Likewise.
2340 (build_group_lists): Likewise.
2341 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2342 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2343 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2344 (find_or_make_literal_pool): Likewise.
2345 (add_to_lit_pool): Likewise.
2346 (fill_instruction_hash_table): Likewise.
2347 * config/tc-alpha.c (load_expression): Likewise.
2348 (emit_jsrjmp): Likewise.
2349 (s_alpha_ent): Likewise.
2350 (s_alpha_end): Likewise.
2351 (s_alpha_linkage): Likewise.
2352 (md_begin): Likewise.
2353 (tc_gen_reloc): Likewise.
2354 * config/tc-arc.c (arc_insert_opcode): Likewise.
2355 (arc_extcorereg): Likewise.
2356 * config/tc-bfin.c: Likewise.
2357 * config/tc-cr16.c: Likewise.
2358 * config/tc-cris.c: Likewise.
2359 * config/tc-crx.c (preprocess_reglist): Likewise.
2360 * config/tc-d10v.c: Likewise.
2361 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2362 (frv_tomcat_shuffle): Likewise.
2363 * config/tc-h8300.c: Likewise.
2364 * config/tc-i370.c (i370_macro): Likewise.
2365 * config/tc-i386.c (lex_got): Likewise.
2366 (md_parse_option): Likewise.
2367 * config/tc-ia64.c (alloc_record): Likewise.
2368 (set_imask): Likewise.
2369 (save_prologue_count): Likewise.
2370 (dot_proc): Likewise.
2371 (dot_endp): Likewise.
2372 (ia64_frob_label): Likewise.
2373 (add_qp_imply): Likewise.
2374 (add_qp_mutex): Likewise.
2375 (mark_resource): Likewise.
2376 (dot_alias): Likewise.
2377 * config/tc-m68hc11.c: Likewise.
2378 * config/tc-m68k.c (m68k_frob_label): Likewise.
2380 (mri_control_label): Likewise.
2381 (push_mri_control): Likewise.
2382 (build_mri_control_operand): Likewise.
2383 (s_mri_else): Likewise.
2384 (s_mri_break): Likewise.
2385 (s_mri_next): Likewise.
2386 (s_mri_for): Likewise.
2387 (s_mri_endw): Likewise.
2388 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2389 * config/tc-microblaze.c: Likewise.
2390 * config/tc-mmix.c (s_loc): Likewise.
2391 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2392 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2393 * config/tc-rl78.c: Likewise.
2394 * config/tc-rx.c (rx_include): Likewise.
2395 * config/tc-sh.c: Likewise.
2396 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2397 * config/tc-sparc.c: Likewise.
2398 * config/tc-spu.c: Likewise.
2399 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2400 (tic6x_start_unwind_section): Likewise.
2401 * config/tc-tilegx.c: Likewise.
2402 * config/tc-tilepro.c: Likewise.
2403 * config/tc-v850.c: Likewise.
2404 * config/tc-visium.c: Likewise.
2405 * config/tc-xgate.c: Likewise.
2406 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2407 (new_resource_table): Likewise.
2408 (resize_resource_table): Likewise.
2409 (xtensa_create_trampoline_frag): Likewise.
2410 (xtensa_maybe_create_literal_pool_frag): Likewise.
2411 (cache_literal_section): Likewise.
2412 * config/xtensa-relax.c (append_transition): Likewise.
2413 (append_condition): Likewise.
2414 (append_value_condition): Likewise.
2415 (append_constant_value_condition): Likewise.
2416 (append_literal_op): Likewise.
2417 (append_label_op): Likewise.
2418 (append_constant_op): Likewise.
2419 (append_field_op): Likewise.
2420 (append_user_fn_field_op): Likewise.
2421 (enter_opname_n): Likewise.
2422 (enter_opname): Likewise.
2423 (split_string): Likewise.
2424 (parse_insn_templ): Likewise.
2425 (clone_req_or_option_list): Likewise.
2426 (clone_req_option_list): Likewise.
2427 (parse_option_cond): Likewise.
2428 (parse_insn_pattern): Likewise.
2429 (parse_insn_repl): Likewise.
2430 (build_transition): Likewise.
2431 (build_transition_table): Likewise.
2432 * dw2gencfi.c (alloc_fde_entry): Likewise.
2433 (alloc_cfi_insn_data): Likewise.
2434 (cfi_add_CFA_remember_state): Likewise.
2435 (dot_cfi_escape): Likewise.
2436 (dot_cfi_fde_data): Likewise.
2437 (select_cie_for_fde): Likewise.
2438 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2439 * ecoff.c (ecoff_add_bytes): Likewise.
2440 (ecoff_build_debug): Likewise.
2441 * input-scrub.c (input_scrub_push): Likewise.
2442 (input_scrub_begin): Likewise.
2443 (input_scrub_next_buffer): Likewise.
2444 * itbl-ops.c (append_insns_as_macros): Likewise.
2445 (alloc_entry): Likewise.
2446 (alloc_field): Likewise.
2447 * listing.c (listing_newline): Likewise.
2448 (listing_listing): Likewise.
2449 * macro.c (get_any_string): Likewise.
2450 (delete_macro): Likewise.
2451 * stabs.c (generate_asm_file): Likewise.
2452 (stabs_generate_asm_lineno): Likewise.
2453 * subsegs.c (subseg_change): Likewise.
2454 (subseg_get): Likewise.
2455 * symbols.c (define_dollar_label): Likewise.
2456 (symbol_relc_make_sym): Likewise.
2457 * write.c (write_relocs): Likewise.
2459 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2461 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2462 (weak_name2altname): Likewise.
2463 (weak_uniquify): Likewise.
2464 (obj_coff_section): Likewise.
2465 (obj_coff_init_stab_section): Likewise.
2466 * config/obj-elf.c (obj_elf_section_name): Likewise.
2467 (obj_elf_init_stab_section): Likewise.
2468 * config/obj-evax.c (evax_shorten_name): Likewise.
2469 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2470 * config/tc-aarch64.c (create_register_alias): Likewise.
2471 * config/tc-alpha.c (load_expression): Likewise.
2472 (s_alpha_file): Likewise.
2473 (s_alpha_section_name): Likewise.
2474 (tc_gen_reloc): Likewise.
2475 * config/tc-arc.c (md_assemble): Likewise.
2476 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2477 (start_unwind_section): Likewise.
2478 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2479 (hppa_elf_mark_end_of_function): Likewise.
2480 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2481 (nios2_negate_arg): Likewise.
2482 * config/tc-rx.c (rx_section): Likewise.
2483 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2484 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2485 * config/tc-tic54x.c (tic54x_include): Likewise.
2486 (tic54x_macro_info): Likewise.
2487 (subsym_get_arg): Likewise.
2488 (subsym_substitute): Likewise.
2489 (tic54x_start_line_hook): Likewise.
2490 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2491 (xg_reverse_shift_count): Likewise.
2492 * config/xtensa-relax.c (enter_opname_n): Likewise.
2493 (split_string): Likewise.
2494 * dwarf2dbg.c (get_filenum): Likewise.
2495 (process_entries): Likewise.
2496 * expr.c (operand): Likewise.
2497 * itbl-ops.c (alloc_entry): Likewise.
2498 * listing.c (listing_message): Likewise.
2499 (listing_title): Likewise.
2500 * macro.c (check_macro): Likewise.
2501 * stabs.c (s_xstab): Likewise.
2502 * symbols.c (symbol_relc_make_expr): Likewise.
2503 * write.c (compress_debug): Likewise.
2505 2016-05-12 Nick Clifton <nickc@redhat.com>
2508 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2510 2016-05-11 Nick Clifton <nickc@redhat.com>
2513 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2514 big endian ARM configurations.
2516 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2517 Matthew Fortune <matthew.fortune@imgtec.com>
2519 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2521 (md_longopts): Likewise.
2522 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2523 (mips_ases): Define availability for DSPr3.
2524 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2525 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2526 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2528 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2529 .set nodspr3. Fix -mdspr2 formatting.
2530 * testsuite/gas/mips/mips32-dspr3.d: New file.
2531 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2532 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2534 2016-05-11 Nick Clifton <nickc@redhat.com>
2537 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2538 to the pool uses O_constant.
2539 * testsuite/gas/arm/pr20068.s: New test.
2540 * testsuite/gas/arm/pr20068.d: Test driver.
2542 2016-05-11 Nick Clifton <nickc@redhat.com>
2544 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2545 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2546 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2547 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2548 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2549 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2550 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2551 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2552 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2554 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2556 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2557 * testsuite/gas/i386/prefix.d: Adjust.
2558 * testsuite/gas/i386/rdpid.s: New test.
2559 * testsuite/gas/i386/rdpid.d: Ditto.
2560 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2561 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2562 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2563 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2565 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2567 * config/tc-i386.c (cpu_arch): Add RDPID.
2568 * doc/c-i386.texi: Document RDPID.
2570 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2572 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2573 set branch type of a symbol.
2575 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2577 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2578 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2580 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2581 (aeabi_set_public_attributes): Memorize the feature bits of the
2582 architecture selected for Tag_CPU_arch. Use it to set
2583 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2584 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2585 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2586 * testsuite/gas/arm/arch7em-bad-1.d: This.
2587 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2588 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2589 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2590 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2591 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2592 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2593 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2594 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2596 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2598 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2599 allowed_archs an array with 2 entries.
2600 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2601 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2602 (arm_extensions): Use separate entries in allowed_archs when several
2603 archs are allowed to use an extension and change ARCH_ANY in
2604 ARM_ARCH_NONE in allowed_archs.
2605 (arm_parse_extension): Check that, for each allowed_archs entry, all
2606 bits are set in the current architecture, ignoring ARM_ANY entries.
2607 (s_arm_arch_extension): Likewise.
2609 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2611 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2612 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2613 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2614 shared with a non M profile architecture.
2615 (do_rn): New function.
2616 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2618 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2619 (insns): Add ARMv8-M Security Extensions instructions.
2620 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2621 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2622 * testsuite/gas/arm/archv8m-cmse.s: New file.
2623 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2624 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2625 * testsuite/gas/arm/any-cmse.d: Likewise.
2626 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2627 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2628 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2629 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2630 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2631 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2633 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2635 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2636 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2638 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2640 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2641 (fpu_arch_vfp_v3): Likewise.
2642 (fpu_arch_neon_v1): Likewise.
2643 (arm_arch_full): Likewise.
2644 (parse_neon_el_struct_list): Initialize fields of firsttype.
2646 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2648 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2649 (arc_extinsn): Handle new introduced syntax.
2650 * testsuite/gas/arc/textinsn1op.d: New file.
2651 * testsuite/gas/arc/textinsn1op.s: Likewise.
2652 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2654 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2656 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2657 DW_LNS_fixed_advance_pc.
2659 2016-04-27 Alan Modra <amodra@gmail.com>
2661 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2662 (xmemdup0): New inline function.
2664 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2666 * config/tc-mips.c (code_option_type): New enum.
2667 (parse_code_option): Return status indicating option type.
2668 (s_mipsset): Update `parse_code_option' call site accordingly.
2669 Always set register sizes from the ISA with ISA overrides.
2670 (s_module): Update `parse_code_option' call site.
2671 * testsuite/gas/mips/isa-override-1.d: New test.
2672 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2673 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2674 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2675 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2676 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2677 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2678 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2679 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2680 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2681 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2682 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2683 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2684 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2685 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2686 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2687 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2688 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2689 * testsuite/gas/mips/isa-override-2.l: New list test.
2690 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2691 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2692 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2693 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2694 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2695 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2696 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2697 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2698 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2699 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2700 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2702 * testsuite/gas/mips/isa-override-1.s: New test source.
2703 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2704 * testsuite/gas/mips/isa-override-2.s: New test source.
2705 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2706 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2707 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2708 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2709 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2710 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2711 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2712 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2713 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2714 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2715 * testsuite/gas/mips/mips.exp: Run the new tests.
2717 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2720 * config/tc-bfin.c: Likewise.
2721 * config/tc-ia64.c: Likewise.
2722 * config/tc-mep.c: Likewise.
2723 * config/tc-metag.c: Likewise.
2724 * config/tc-nios2.c: Likewise.
2725 * config/tc-rl78.c: Likewise.
2727 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2729 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2730 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2731 (ARC Directives): Add NPS400 to .cpu directive list.
2733 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2735 * config/tc-aarch64.c (aarch64_features): Add "ras".
2736 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2737 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2738 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2739 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2740 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2742 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2744 * testsuite/gas/arc/nps400-6.d: New file.
2745 * testsuite/gas/arc/nps400-6.s: New file.
2747 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2749 * testsuite/gas/arc/nps400-4.d: New file.
2750 * testsuite/gas/arc/nps400-4.s: New file.
2751 * testsuite/gas/arc/nps400-5.d: New file.
2752 * testsuite/gas/arc/nps400-5.s: New file.
2754 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2756 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2759 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2761 Revert prevous change.
2762 * config/tc-arc.c (arc_option): Make .cpu directive
2763 case-sensitive again.
2765 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2767 * config/tc-arc.c (arc_option): Make .cpu directive
2770 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2772 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2774 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2776 * config/tc-mips.c (md_begin): Remove useless assignment.
2778 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2780 * Makefile.in: Regenerated with automake 1.11.6.
2781 * aclocal.m4: Likewise.
2782 * doc/Makefile.in: Likewise.
2784 2016-04-15 Alan Modra <amodra@gmail.com>
2786 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2788 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2790 * config/tc-nios2.c (nios2_as_options): Make file static.
2791 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2792 * config/tc-sparc.c (native_op_table): Likewise.
2794 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2796 * config/tc-m32c.c (M32C_Macros): Remove.
2797 * config/tc-msp430.c (option_numbers): Likewise.
2799 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2801 * testsuite/gas/arc/nps400-3.d: New file.
2802 * testsuite/gas/arc/nps400-3.s: New file.
2804 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2806 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2807 * testsuite/gas/arc/warn.s: Likewise.
2808 * testsuite/gas/elf/elf.exp: Run test for arc.
2810 2016-04-14 Nick Clifton <nickc@redhat.com>
2813 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2814 sections possibly having the SHF_STRINGS flag bit set.
2815 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2817 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2819 * config/tc-arc.c (mach_type_specified_p): Change type to
2821 (arc_option): Set private flags when parsing cpu pseudo-op.
2822 (md_parse_option): Set mach_type_specified_p to TRUE.
2824 2016-04-13 Nick Clifton <nickc@redhat.com>
2827 * testsuite/gas/v850/pr19937.s: New test.
2828 * testsuite/gas/v850/pr19937.d: New test control file.
2829 * testsuite/gas/v850/basic.exp: Run the new test.
2831 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2832 Andrew Bennett <andrew.bennett@imgtec.com>
2834 * config/tc-mips.c (relaxed_branch_length): Use the long
2835 sequence where the target is a weak symbol.
2836 (relaxed_micromips_32bit_branch_length): Likewise.
2837 (relaxed_micromips_16bit_branch_length): Likewise.
2838 * testsuite/gas/mips/branch-weak-1.d: New test.
2839 * testsuite/gas/mips/branch-weak-2.d: New test.
2840 * testsuite/gas/mips/branch-weak-3.d: New test.
2841 * testsuite/gas/mips/branch-weak-4.d: New test.
2842 * testsuite/gas/mips/branch-weak-5.d: New test.
2843 * testsuite/gas/mips/branch-weak.l: New stderr output.
2844 * testsuite/gas/mips/branch-weak.s: New test source.
2845 * testsuite/gas/mips/mips.exp: Run the new tests.
2847 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2849 * config/tc-mips.c (relaxed_branch_length): Use the long
2850 sequence where the distance cannot be determined.
2851 (relaxed_micromips_32bit_branch_length): Likewise.
2852 * testsuite/gas/mips/branch-extern-1.d: New test.
2853 * testsuite/gas/mips/branch-extern-2.d: New test.
2854 * testsuite/gas/mips/branch-extern-3.d: New test.
2855 * testsuite/gas/mips/branch-extern-4.d: New test.
2856 * testsuite/gas/mips/branch-extern.l: New stderr output.
2857 * testsuite/gas/mips/branch-extern.s: New test source.
2858 * testsuite/gas/mips/branch-section-1.d: New test.
2859 * testsuite/gas/mips/branch-section-2.d: New test.
2860 * testsuite/gas/mips/branch-section-3.d: New test.
2861 * testsuite/gas/mips/branch-section-4.d: New test.
2862 * testsuite/gas/mips/branch-section.l: New stderr output.
2863 * testsuite/gas/mips/branch-section.s: New test source.
2864 * testsuite/gas/mips/mips.exp: Run the new tests.
2866 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2868 * testsuite/gas/arc/textauxregister.d: New file.
2869 * testsuite/gas/arc/textauxregister.s: Likewise.
2870 * testsuite/gas/arc/textcondcode.d: Likewise.
2871 * testsuite/gas/arc/textcondcode.s: Likewise.
2872 * testsuite/gas/arc/textcoreregister.d: Likewise.
2873 * testsuite/gas/arc/textcoreregister.s: Likewise.
2874 * testsuite/gas/arc/textpseudoop.d: Likewise.
2875 * testsuite/gas/arc/textpseudoop.s: Likewise.
2876 * testsuite/gas/arc/ld2.d: Update test.
2877 * testsuite/gas/arc/st.d: Likewise.
2878 * testsuite/gas/arc/taux.d: Likewise.
2879 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2880 .extCoreRegister and .extAuxRegister documentation.
2881 * config/tc-arc.c (arc_extcorereg): New function.
2882 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2883 .extAuxRegister pseudo-ops.
2884 (extRegister_t): New type.
2885 (ext_condcode, arc_aux_hash): New global variable.
2886 (find_opcode_match): Check for extensions.
2887 (preprocess_operands): Likewise.
2888 (md_begin): Add aux registers in a hash.
2889 (assemble_insn): Update use arc_flags member.
2890 (tokenize_extregister): New function.
2891 (create_extcore_section): Likewise.
2892 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2894 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2896 * testsuite/gas/arc/noargs_a7.d: New file.
2897 * testsuite/gas/arc/noargs_a7.s: Likewise.
2898 * testsuite/gas/arc/noargs_hs.d: Likewise.
2899 * testsuite/gas/arc/noargs_hs.s: Likewise.
2901 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2903 * testsuite/gas/arc/textinsn-errors.d: New File.
2904 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2905 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2906 * testsuite/gas/arc/textinsn2op.d: Likewise.
2907 * testsuite/gas/arc/textinsn2op.s: Likewise.
2908 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2909 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2910 * testsuite/gas/arc/textinsn3op.d: Likewise.
2911 * testsuite/gas/arc/textinsn3op.s: Likewise.
2912 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2914 * config/tc-arc.c (arcext_section): New variable.
2915 (arc_extinsn): New function.
2916 (md_pseudo_table): Add .extInstruction pseudo op.
2917 (attributes_t): New type.
2918 (suffixclass, syntaxclass, syntaxclassmod): New constant
2920 (find_opcode_match): Remove arc_num_opcodes.
2921 (md_begin): Likewise.
2922 (tokenize_extinsn): New function.
2923 (arc_set_ext_seg): Likewise.
2924 (create_extinst_section): Likewise.
2926 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2928 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2929 (arc_adjust_symtab): New function.
2930 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2931 (obj_adjust_symtab): Likewise.
2932 * testsuite/gas/arc/taux.d: New file.
2933 * testsuite/gas/arc/taux.s: Likewise.
2935 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2937 * config/tc-mips.c (s_option): Sanitize `.option picX'
2939 * testsuite/gas/mips/option-pic-1.d: New test.
2940 * testsuite/gas/mips/option-pic-2.l: New list test.
2941 * testsuite/gas/mips/option-pic-1.s: New test source.
2942 * testsuite/gas/mips/option-pic-2.s: New test source.
2943 * testsuite/gas/mips/mips.exp: Run the new tests.
2945 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2947 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2949 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2950 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2951 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2952 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2953 * testsuite/gas/mips/mips.exp: Run the new tests.
2955 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2957 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2959 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2961 * messages.c (as_bad): Fix a typo in description.
2963 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2965 * config/tc-mips.c (mips_check_options): Unify messages.
2967 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2969 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2972 2016-04-08 Nick Clifton <nickc@redhat.com>
2975 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2976 COFF and AOUT sparc targets.
2978 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2980 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2981 * testsuite/gas/arc/nps400-2.d: New file.
2982 * testsuite/gas/arc/nps400-2.s: New file.
2984 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2986 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2988 (arc_opcode_hash_entry_iterator_init): New function.
2989 (arc_opcode_hash_entry_iterator_next): New function.
2990 (find_opcode_match): Iterate over all arc_opcode entries
2991 referenced by the arc_opcode_hash_entry passed in as a parameter.
2993 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2995 * config/tc-arc.c (arc_find_opcode): Now returns
2996 arc_opcode_hash_entry pointer.
2997 (find_opcode_match): Update argument type, extract arc_opcode from
2998 incoming arc_opcode_hash_entry.
2999 (find_special_case_pseudo): Update return type.
3000 (find_special_case_flag): Update return type.
3001 (find_special_case): Update return type.
3002 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3003 instruction mnemonic, then use find_opcode_match to identify
3004 specific arc_opcode.
3006 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3008 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3009 (arc_find_opcode): New function.
3010 (find_special_case_pseudo): Use arc_find_opcode.
3011 (find_special_case_flag): Likewise.
3012 (assemble_tokens): Likewise.
3013 (md_begin): Build hash using struct arc_opcode_hash_entry.
3015 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3017 * config/tc-arc.c (arc_option): Prepare string for automatic
3019 (declare_register): Likewise.
3021 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3023 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3024 Correct entry for RDMA. Alpha sort entries.
3026 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3028 * config/tc-arc.c (tokenize_flags): Allow greater range of
3029 characters into flag names.
3031 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3033 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3035 (preprocess_operands): Delete.
3036 (assemble_tokens): Remove call to preprocess_operands.
3038 2016-04-07 Nick Clifton <nickc@redhat.com>
3041 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3042 inside a %-macro could not be fully parsed.
3043 * expr.c (integer_constant): Accept and ignore U suffixes to
3045 (operand): When a missing closing parenthesis is encountered,
3046 report the character that was found instead.
3047 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3048 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3049 * testsuite/gas/sparc/pr19910-1.s: New test.
3050 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3051 * testsuite/gas/sparc/pr19910-2.s: New test.
3052 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3054 2016-04-06 Nick Clifton <nickc@redhat.com>
3056 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3057 an EINT instruction. Warn/fix as necessary.
3058 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3059 * testsuite/gas/msp430/bad.l: Update expected messages.
3061 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3063 * testsuite/gas/arc/nps400-1.d: Update expected results.
3064 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3066 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3068 * config/tc-arc.c (is_code_density_p): Compare directly the
3070 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3071 (check_cpu_feature): New function.
3072 (find_opcode_match): Use check_cpu_feature function.
3073 (preprocess_operands): Likewise.
3074 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3075 * testsuite/gas/arc/tdpfp.d: New file.
3076 * testsuite/gas/arc/tfpuda.d: Likewise.
3077 * testsuite/gas/arc/tfpx.s: Likewise.
3079 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3081 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3082 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3083 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3084 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3085 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3086 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3087 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3088 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3090 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3092 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3094 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3095 JUMP instructions type.
3096 * testsuite/gas/arc/relocs-errors.d: New file.
3097 * testsuite/gas/arc/relocs-errors.err: Likewise.
3098 * testsuite/gas/arc/relocs-errors.s: Likewise.
3100 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3103 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3104 only if i.disp_encoding != disp_encoding_32bit.
3105 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3106 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3107 * gas/testsuite/gas/i386/disp32.d: Updated.
3108 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3110 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3113 * testsuite/gas/i386/i386.exp: Run pr19498.
3114 * testsuite/gas/i386/pr19498.d: New file.
3115 * testsuite/gas/i386/pr19498.s: Likewise.
3117 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3119 * config/tc-arc.h: Include 'opcode/arc.h'.
3120 (MAX_INSN_ARGS): Delete.
3121 (MAX_INSN_FLGS): Delete.
3123 2016-04-04 Alan Modra <amodra@gmail.com>
3126 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3127 from function on all paths that set sy_resolving.
3129 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3131 * app.c (app_push): use XNEW macro.
3133 * config/obj-elf.c (obj_elf_change_section): Likewise.
3134 (elf_copy_symbol_attributes): Likewise.
3135 (obj_elf_size): Likewise.
3136 (build_group_lists): Likewise.
3137 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3138 (md_assemble): Likewise.
3139 (tc_gen_reloc): Likewise.
3140 (get_upper_str): Likewise.
3141 (aarch64_parse_features): Likewise.
3142 * config/tc-arm.c (insert_reg_alias): Likewise.
3143 (insert_neon_reg_alias): Likewise.
3144 (find_or_make_literal_pool): Likewise.
3145 (s_arm_elf_cons): Likewise.
3146 (add_unwind_opcode): Likewise.
3147 (arm_parse_extension): Likewise.
3148 * config/tc-avr.c (create_record_for_frag): Likewise.
3149 * config/tc-crx.c: Likewise.
3150 * config/tc-d30v.c: Likewise.
3151 * config/tc-dlx.c (s_proc): Likewise.
3152 * config/tc-ft32.c: Likewise.
3153 * config/tc-h8300.c: Likewise.
3154 * config/tc-hppa.c (pa_proc): Likewise.
3155 (create_new_space): Likewise.
3156 (create_new_subspace): Likewise.
3157 * config/tc-i860.c: Likewise.
3158 * config/tc-i960.c: Likewise.
3159 * config/tc-ia64.c: Likewise.
3160 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3161 (iq2000_record_hi16): Likewise.
3162 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3163 * config/tc-m32r.c (debug_sym): Likewise.
3164 (m32r_record_hi16): Likewise.
3165 * config/tc-m68k.c (m68k_ip): Likewise.
3166 (md_begin): Likewise.
3167 * config/tc-mcore.c: Likewise.
3168 * config/tc-microblaze.c (check_got): Likewise.
3169 * config/tc-mips.c (append_insn): Likewise.
3170 (s_mipsset): Likewise.
3171 (mips_record_label): Likewise.
3172 (s_mips_end): Likewise.
3173 * config/tc-mmix.c (mmix_frob_file): Likewise.
3174 * config/tc-mn10200.c: Likewise.
3175 * config/tc-mn10300.c: Likewise.
3176 * config/tc-moxie.c: Likewise.
3177 * config/tc-msp430.c: Likewise.
3178 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3179 * config/tc-ns32k.c: Likewise.
3180 * config/tc-or1k.c: Likewise.
3181 * config/tc-pdp11.c: Likewise.
3182 * config/tc-pj.c (fake_opcode): Likewise.
3183 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3184 (ppc_macro): Likewise.
3185 (ppc_dwsect): Likewise.
3186 (ppc_machine): Likewise.
3187 * config/tc-rl78.c (rl78_frag_init): Likewise.
3188 * config/tc-rx.c (rx_frag_init): Likewise.
3189 * config/tc-s390.c (s390_lit_suffix): Likewise.
3190 (s390_machine): Likewise.
3191 (s390_machinemode): Likewise.
3192 * config/tc-score.c (s3_insert_reg): Likewise.
3193 (s3_gen_reloc): Likewise.
3194 * config/tc-score7.c (s7_insert_reg): Likewise.
3195 (s7_gen_reloc): Likewise.
3196 * config/tc-tic30.c (tic30_operand): Likewise.
3197 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3198 * config/tc-tic54x.c (stag_add_field): Likewise.
3199 (tic54x_struct): Likewise.
3200 (tic54x_space): Likewise.
3201 (tic54x_field): Likewise.
3202 (tic54x_mlib): Likewise.
3203 (subsym_substitute): Likewise.
3204 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3205 * config/tc-vax.c: Likewise.
3206 * config/tc-xc16x.c: Likewise.
3207 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3208 (directive_push): Likewise.
3209 (xtensa_begin_directive): Likewise.
3210 (tokenize_arguments): Likewise.
3211 (xtensa_add_literal_sym): Likewise.
3212 (new_resource_table): Likewise.
3213 (resize_resource_table): Likewise.
3214 (emit_single_op): Likewise.
3215 (xtensa_create_trampoline_frag): Likewise.
3216 (xtensa_maybe_create_literal_pool_frag): Likewise.
3217 (xtensa_add_config_info): Likewise.
3218 (xtensa_realloc_fixup_cache): Likewise.
3219 (add_subseg_info): Likewise.
3220 (cache_literal_section): Likewise.
3221 (add_xt_block_frags): Likewise.
3222 (add_xt_prop_frags): Likewise.
3223 (init_op_placement_info_table): Likewise.
3224 (build_section_rename): Likewise.
3225 * config/tc-z80.c: Likewise.
3226 * config/tc-z8k.c: Likewise.
3227 * depend.c (register_dependency): Likewise.
3228 * dwarf2dbg.c (get_line_subseg): Likewise.
3229 (dwarf2_gen_line_info_1): Likewise.
3230 (get_filenum): Likewise.
3231 * ecoff.c (allocate_scope): Likewise.
3232 (allocate_vlinks): Likewise.
3233 (allocate_shash): Likewise.
3234 (allocate_thash): Likewise.
3235 (allocate_tag): Likewise.
3236 (allocate_forward): Likewise.
3237 (allocate_thead): Likewise.
3238 (allocate_lineno_list): Likewise.
3239 * expr.c (make_expr_symbol): Likewise.
3240 * hash.c (hash_new_sized): Likewise.
3241 * input-file.c (input_file_push): Likewise.
3242 * listing.c (file_info): Likewise.
3243 (listing_newline): Likewise.
3244 * macro.c (new_formal): Likewise.
3245 (define_macro): Likewise.
3246 * remap.c (add_debug_prefix_map): Likewise.
3247 * symbols.c (symbol_find_noref): Likewise.
3248 (define_dollar_label): Likewise.
3249 (fb_label_instance_inc): Likewise.
3250 (symbol_relc_make_value): Likewise.
3252 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3254 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3255 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3256 (ppc_znop): Likewise.
3257 (ppc_pe_section): Likewise.
3258 (ppc_frob_symbol): Likewise.
3259 * config/tc-tic30.c (tic30_operand): Likewise.
3260 * config/tc-tic4x.c (tic4x_sect): Likewise.
3261 (tic4x_usect): Likewise.
3263 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3265 * config/tc-alpha.c: Const qualify FLT_CHARS.
3266 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3267 * config/tc-cris.h: Likewise.
3269 * config/tc-mmix.c (md_atof): Adjust comment.
3270 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3271 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3273 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3275 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3276 * config/tc-score7.c (s7_gen_reloc): Likewise.
3278 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3280 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3281 bfd_reloc_code_real_type.
3283 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3285 * config/bfin-parse.y (current_inputline): Remove definition.
3286 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3288 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3290 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3293 2016-04-02 Alan Modra <amodra@gmail.com>
3296 * read.c (assign_symbol): Consume rest of line after an error
3297 rather than continuing to process the line.
3299 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3301 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3302 (MAX_FLAG_NAME_LENGTH): ...this.
3303 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3304 * config/tc-arc.c (tokenize_flags): Likewise.
3306 2016-04-01 Alan Modra <amodra@gmail.com>
3308 * cgen.c (weak_operand_overflow_check): Return const char*.
3309 * messages.c (as_internal_value_out_of_range): Formatting.
3310 (as_warn_value_out_of_range): Consify prefix param.
3311 (as_bad_value_out_of_range): Likewise.
3312 * read.c (s_errwarn): Constify msg..
3313 (s_float_space, float_cons): ..and err.
3314 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3315 ieee_md_atof, vax_md_atof): Update prototypes.
3316 * tc.h (md_atof): Update prototype.
3317 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3318 * config/atof-vax.c (vax_md_atof): Likewise.
3319 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3320 * config/tc-aarch64.c (md_atof): Return const char*.
3321 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3322 (s_alpha_comm): Constify sec_name.
3323 (section_name): Constify.
3324 (s_alpha_section): Consify name..
3325 (alpha_elf_section_letter): ..and ptr_msg param..
3326 (md_atof): ..and return.
3327 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3328 * config/tc-arc.c (md_atof): Return const char*.
3329 * config/tc-arm.c (md_atof): Likewise.
3330 * config/tc-avr.c (md_atof): Likewise.
3331 * config/tc-bfin.c (md_atof): Likewise.
3332 * config/tc-cr16.c (md_atof): Likewise.
3333 * config/tc-cris.c (md_atof): Likewise.
3334 * config/tc-crx.c (md_atof): Likewise.
3335 * config/tc-d10v.c (md_atof): Likewise.
3336 * config/tc-d30v.c (md_atof): Likewise.
3337 * config/tc-dlx.c (md_atof): Likewise.
3338 * config/tc-epiphany.c (md_atof): Likewise.
3339 * config/tc-fr30.c (md_atof): Likewise.
3340 * config/tc-frv.c (md_atof): Likewise.
3341 * config/tc-ft32.c (md_atof): Likewise.
3342 * config/tc-h8300.c (md_atof): Likewise.
3343 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3344 (struct default_space_dict): Likewise.
3345 (create_new_space): Constify name param.
3346 (create_new_subspace): Likewise.
3347 (is_defined_space, is_defined_subspace): Likewise.
3348 (pa_parse_space_stmt): Constify space_name param.
3349 (md_atof): Return const char*.
3350 (pa_spaces_begin): Constify name.
3351 * config/tc-i370.c (md_atof): Return const char*.
3352 * config/tc-i386.c (md_atof): Likewise.
3353 (x86_64_section_letter): Constify ptr_msg param.
3354 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3355 * config/tc-i860.c (struct i860_it): Constify error.
3356 (md_atof): Return const char*.
3357 * config/tc-i960.c (md_atof): Likewise.
3358 * config/tc-ia64.c (md_atof): Likewise.
3359 (ia64_elf_section_letter): Constify ptr_msg param.
3360 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3361 * config/tc-ip2k.c (md_atof): Return const char*.
3362 * config/tc-iq2000.c (md_atof): Likewise.
3363 * config/tc-lm32.c (md_atof): Likewise.
3364 * config/tc-m32c.c (md_atof): Likewise.
3365 * config/tc-m32r.c (md_atof): Likewise.
3366 * config/tc-m68hc11.c (md_atof): Likewise.
3367 * config/tc-m68k.c (md_atof): Likewise.
3368 * config/tc-mcore.c (md_atof): Likewise.
3369 * config/tc-mep.c (md_atof): Likewise.
3370 (mep_elf_section_letter): Constify ptr_msg param.
3371 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3372 * config/tc-metag.c (md_atof): Return const char*.
3373 * config/tc-microblaze.c (md_atof): Likewise.
3374 * config/tc-microblaze.h (md_atof): Delete prototype.
3375 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3376 (md_atof): Return const char*.
3377 * config/tc-mmix.c (md_atof): Likewise.
3378 * config/tc-mn10200.c (md_atof): Likewise.
3379 * config/tc-mn10300.c (md_atof): Likewise.
3380 * config/tc-moxie.c (md_atof): Likewise.
3381 * config/tc-msp430.c (md_atof): Likewise.
3382 * config/tc-mt.c (md_atof): Likewise.
3383 * config/tc-nds32.c (md_atof): Likewise.
3384 * config/tc-nios2.c (md_atof): Likewise.
3385 (nios2_elf_section_letter): Constify ptr_msg param.
3386 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3387 * config/tc-ns32k.c (md_atof): Return const char*.
3388 * config/tc-or1k.c (md_atof): Likewise.
3389 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3390 (md_atof): Return const char*.
3391 * config/tc-pj.c (md_atof): Likewise.
3392 * config/tc-ppc.c (md_atof): Likewise.
3393 * config/tc-rl78.c (md_atof): Likewise.
3394 * config/tc-rx.c (md_atof): Likewise.
3395 * config/tc-s390.c (md_atof): Likewise.
3396 * config/tc-score.c (s3_atof, md_atof): Likewise.
3397 * config/tc-sh.c (md_atof): Likewise.
3398 * config/tc-sparc.c (struct sparc_it): Constify error.
3399 (md_atof): Return const char*.
3400 * config/tc-spu.c (md_atof): Likewise.
3401 * config/tc-tic30.c (md_atof): Likewise.
3402 * config/tc-tic4x.c (md_atof): Likewise.
3403 * config/tc-tic54x.c (md_atof): Likewise.
3404 * config/tc-tic6x.c (md_atof): Likewise.
3405 * config/tc-tilegx.c (md_atof): Likewise.
3406 * config/tc-tilepro.c (md_atof): Likewise.
3407 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3408 * config/tc-vax.c (md_atof): Likewise.
3409 * config/tc-visium.c (md_atof): Likewise.
3410 * config/tc-xc16x.c (md_atof): Likewise.
3411 * config/tc-xgate.c (md_atof): Likewise.
3412 * config/tc-xstormy16.c (md_atof): Likewise.
3413 * config/tc-xtensa.c (md_atof): Likewise.
3414 * config/tc-z80.c (md_atof): Likewise.
3415 * config/tc-z8k.c (md_atof): Likewise.
3417 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3419 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3421 (xtensa_section_rename): Make argument type const char *.
3422 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3424 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3426 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3429 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3431 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3433 (m32c_indirect_operand): Likewise.
3434 * config/tc-nds32.c (do_pseudo_b): Likewise.
3435 (do_pseudo_bal): Likewise.
3436 (do_pseudo_ls_bhw): Likewise.
3438 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3440 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3442 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3444 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3446 * config/tc-sparc.c (s_register): Cast a literal to char * in
3449 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3451 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3453 * config/tc-m32r.c (expand_debug_syms): Likewise.
3454 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3455 * config/tc-z80.c (md_begin): Likewise.
3456 * stabs.c (stabs_generate_asm_func): Likewise.
3458 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3460 * cgen.c: Modernize the way functions declare arguments.
3461 * config/tc-bfin.c: Likewise.
3462 * config/tc-pdp11.c: Likewise.
3463 * literal.c: Likewise.
3465 * stabs.c: Likewise.
3467 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3469 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3470 variables unsigned char[].
3471 * config/tc-alpha.c (alpha_handle_align): Likewise.
3472 * config/tc-arm.c (arm_handle_align): Likewise.
3473 * config/tc-z80.c: Likewise.
3475 2016-03-30 Nick Clifton <nickc@redhat.com>
3478 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3481 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3483 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3484 * testsuite/gas/elf/elf.exp: Likewise.
3485 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3487 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3489 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3491 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3493 * testsuite/gas/arc/ext2op.d: New file.
3494 * testsuite/gas/arc/ext2op.s: Likewise.
3495 * testsuite/gas/arc/ext3op.d: Likewise.
3496 * testsuite/gas/arc/ext3op.s: Likewise.
3498 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3500 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3502 * config/tc-alpha.c (md_parse_option): Likewise.
3503 * config/tc-arc.c (md_parse_option): Likewise.
3504 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3505 (md_parse_option): Likewise.
3506 * config/tc-avr.c (md_parse_option): Likewise.
3507 * config/tc-bfin.c (md_parse_option): Likewise.
3508 * config/tc-cr16.c (md_parse_option): Likewise.
3509 * config/tc-cris.c (s_cris_arch): Likewise.
3510 (md_parse_option): Likewise.
3511 * config/tc-crx.c (md_parse_option): Likewise.
3512 * config/tc-d10v.c (md_parse_option): Likewise.
3513 * config/tc-d30v.c (md_parse_option): Likewise.
3514 * config/tc-dlx.c (md_parse_option): Likewise.
3515 * config/tc-epiphany.c (md_parse_option): Likewise.
3516 * config/tc-fr30.c (md_parse_option): Likewise.
3517 * config/tc-frv.c (md_parse_option): Likewise.
3518 * config/tc-ft32.c (md_parse_option): Likewise.
3519 * config/tc-h8300.c (md_parse_option): Likewise.
3520 * config/tc-hppa.c (md_parse_option): Likewise.
3521 * config/tc-i370.c (md_parse_option): Likewise.
3522 * config/tc-i386.c (md_parse_option): Likewise.
3523 * config/tc-i860.c (md_parse_option): Likewise.
3524 * config/tc-i960.c (md_parse_option): Likewise.
3525 * config/tc-ia64.c (md_parse_option): Likewise.
3526 * config/tc-ip2k.c (md_parse_option): Likewise.
3527 * config/tc-iq2000.c (md_parse_option): Likewise.
3528 * config/tc-lm32.c (md_parse_option): Likewise.
3529 * config/tc-m32c.c (md_parse_option): Likewise.
3530 * config/tc-m32r.c (md_parse_option): Likewise.
3531 * config/tc-m68hc11.c (md_parse_option): Likewise.
3532 * config/tc-m68k.c (md_parse_option): Likewise.
3533 * config/tc-mcore.c (md_parse_option): Likewise.
3534 * config/tc-mep.c (md_parse_option): Likewise.
3535 * config/tc-metag.c (struct metag_long_option): Likewise.
3536 (md_parse_option): Likewise.
3537 * config/tc-microblaze.c (md_parse_option): Likewise.
3538 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3539 * config/tc-mips.c (md_parse_option): Adjust.
3540 * config/tc-mmix.c (md_parse_option): Likewise.
3541 * config/tc-mn10200.c (md_parse_option): Likewise.
3542 * config/tc-mn10300.c (md_parse_option): Likewise.
3543 * config/tc-moxie.c (md_parse_option): Likewise.
3544 * config/tc-msp430.c (md_parse_option): Likewise.
3545 * config/tc-mt.c (md_parse_option): Likewise.
3546 * config/tc-nds32.c (md_parse_option): Likewise.
3547 * config/tc-nds32.h (nds32_parse_option): Likewise.
3548 * config/tc-nios2.c (md_parse_option): Likewise.
3549 * config/tc-ns32k.c (md_parse_option): Likewise.
3550 * config/tc-or1k.c (md_parse_option): Likewise.
3551 * config/tc-pdp11.c (md_parse_option): Likewise.
3552 * config/tc-pj.c (md_parse_option): Likewise.
3553 * config/tc-ppc.c (md_parse_option): Likewise.
3554 * config/tc-rl78.c (md_parse_option): Likewise.
3555 * config/tc-rx.c (md_parse_option): Likewise.
3556 * config/tc-s390.c (s390_parse_cpu): Likewise.
3557 * config/tc-score.c (md_parse_option): Likewise.
3558 * config/tc-sh.c (md_parse_option): Likewise.
3559 * config/tc-sparc.c (md_parse_option): Likewise.
3560 * config/tc-spu.c (md_parse_option): Likewise.
3561 * config/tc-tic30.c (md_parse_option): Likewise.
3562 * config/tc-tic4x.c (md_parse_option): Likewise.
3563 * config/tc-tic54x.c (md_parse_option): Likewise.
3564 * config/tc-tic6x.c (md_parse_option): Likewise.
3565 * config/tc-tilegx.c (md_parse_option): Likewise.
3566 * config/tc-tilepro.c (md_parse_option): Likewise.
3567 * config/tc-v850.c (md_parse_option): Likewise.
3568 * config/tc-vax.c (md_parse_option): Likewise.
3569 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3570 * config/tc-xc16x.c (md_parse_option): Likewise.
3571 * config/tc-xgate.c (md_parse_option): Likewise.
3572 * config/tc-xstormy16.c (md_parse_option): Likewise.
3573 * config/tc-xtensa.c (md_parse_option): Likewise.
3574 * config/tc-z80.c (md_parse_option): Likewise.
3575 * config/tc-z8k.c (md_parse_option): Likewise.
3576 * tc.h (md_parse_option): Likewise.
3578 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3580 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3581 * config/tc-hppa.c (fix_new_hppa): Likewise.
3582 (pa_vtable_entry): Likewise.
3583 (pa_vtable_inherit): Likewise.
3584 * config/tc-m68k.c (md_begin): Likewise.
3586 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3588 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3589 * config/obj-elf.h (obj_elf_section_name): Adjust.
3590 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3591 (aarch64_parse_cpu): Likewise.
3592 (aarch64_parse_arch): Likewise.
3593 * config/tc-arm.c (arm_parse_extension): Likewise.
3594 (arm_parse_cpu): Likewise.
3595 (arm_parse_arch): Likewise.
3596 * config/tc-nds32.c: Likewise.
3597 * config/xtensa-relax.c (parse_special_fn): Likewise.
3598 * stabs.c (generate_asm_file): Likewise.
3600 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3602 * config/tc-cr16.c (cr16_assemble): New function.
3603 (md_assemble): Call cr16_assemble.
3605 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3607 * as.c (parse_args): Adjust.
3608 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3609 * config/obj-elf.c (elf_frob_symbol): Adjust.
3611 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3613 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3614 registers to be in the 16..31 range.
3616 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3618 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3621 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3623 * config/tc-visium.c (md_atof): Localize the string returned on
3626 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3628 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3629 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3630 * config/tc-m68hc11.c (md_begin): Likewise.
3631 (print_opcode_list): Likewise.
3632 * config/tc-msp430.c (msp430_section): Likewise.
3633 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3634 (s3_build_dependency_insn_hsh): Likewise.
3635 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3636 (s7_build_dependency_insn_hsh): Likewise.
3637 * config/tc-tic4x.c: Likewise.
3638 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3639 (subsym_get_arg): Likewise.
3640 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3641 (get_directive): Likewise.
3642 (cache_literal_section): Likewise.
3643 * config/xtensa-relax.c: Likewise.
3644 * symbols.c (symbol_create): Likewise.
3645 (local_symbol_make): Likewise.
3646 (symbol_relc_make_expr): Likewise.
3648 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3650 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3653 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3655 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3658 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3660 * config/tc-ia64.c (ia64_do_align): Remove.
3661 (ia64_cons_align): Call do_align () directly.
3662 (dot_proc): Likewise.
3663 (stmt_float_cons): Likewise.
3665 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3667 * listing.c (listing_message): Use XNEW style allocation macros.
3668 * read.c (read_a_source_file): Likewise.
3669 (read_symbol_name): Likewise.
3670 (s_mri_common): Likewise.
3671 (assign_symbol): Likewise.
3672 (s_reloc): Likewise.
3673 (emit_expr_with_reloc): Likewise.
3674 (s_incbin): Likewise.
3675 (s_include): Likewise.
3676 * sb.c (sb_build): Likewise.
3677 (sb_check): Likewise.
3679 2016-03-22 Alan Modra <amodra@gmail.com>
3681 * write.c (record_alignment): Revert 2016-02-18 change.
3683 2016-03-22 Alan Modra <amodra@gmail.com>
3685 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3686 (emit_jsrjmp, tc_gen_reloc): Likewise.
3687 * config/tc-i370.c (i370_macro): Likewise.
3689 2016-03-22 Nick Clifton <nickc@redhat.com>
3691 * configure: Regenerate.
3693 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3695 * testsuite/gas/arc/nps400-0.d: New file.
3696 * testsuite/gas/arc/nps400-0.s: New file.
3697 * testsuite/gas/arc/nps400-1.d: New file.
3698 * testsuite/gas/arc/nps400-1.s: New file.
3700 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3702 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3703 declarations to start of block. Reset code on all flags before
3704 attempting to match them. Handle multiple hits on the same flag.
3706 * testsuite/gas/arc/asm-errors.d: New file.
3707 * testsuite/gas/arc/asm-errors.err: New file.
3708 * testsuite/gas/arc/asm-errors.s: New file.
3710 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3712 * config/tc-arc.c (cpu_types): Add nps400 entry.
3713 (check_zol): Handle nps400.
3715 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3717 * config/tc-arc.c (arc_select_cpu): Remove use of
3720 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3722 * config/tc-arc.c (arc_target): Delay initialisation until
3724 (arc_target_name): Likewise.
3725 (arc_features): Likewise.
3726 (arc_mach_type): Likewise.
3727 (cpu_types): Remove "all" entry.
3728 (arc_select_cpu): New function, most of the content is from...
3729 (md_parse_option): ... here. Call new arc_select_cpu.
3730 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3732 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3734 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3735 * testsuite/gas/arc/inline-data-2.d: New file.
3737 2016-03-21 Nick Clifton <nickc@redhat.com>
3739 * atof-generic.c: Replace use of alloca with call to xmalloc.
3741 * dwarf2dbg.c: Likewise.
3742 * macro.c: Likewise.
3743 * remap.c: Likewise.
3744 * stabs.c: Likewise.
3745 * symbols.c: Likewise.
3746 * config/obj-elf.c: Likewise.
3747 * config/tc-aarch64.c: Likewise.
3748 * config/tc-arc.c: Likewise.
3749 * config/tc-arm.c: Likewise.
3750 * config/tc-avr.c: Likewise.
3751 * config/tc-ia64.c: Likewise.
3752 * config/tc-mips.c: Likewise.
3753 * config/tc-msp430.c: Likewise.
3754 * config/tc-nds32.c: Likewise.
3755 * config/tc-ppc.c: Likewise.
3756 * config/tc-sh.c: Likewise.
3757 * config/tc-tic30.c: Likewise.
3758 * config/tc-tic54x.c: Likewise.
3759 * config/tc-xstormy16.c: Likewise.
3760 * config/te-vms.c: Likewise.
3761 * configure: Regenerate.
3763 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3765 * tc-i386.c (f32_1): Change type to unsigned char[].
3785 (jump_31): Likewise.
3786 (f32_patt): Likewise.
3787 (f16_patt): Likewise.
3796 (alt_patt): Likewise.
3798 2016-03-18 Nick Clifton <nickc@redhat.com>
3800 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3801 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3802 .tlsdescldr and .xword directives.
3805 * testsuite/gas/aarch64/pr19721.s: New test source file.
3806 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3808 * doc/as.texinfo: Place the target specific command line options
3809 into their own man page section.
3811 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3813 * config/tc-arm.c (N_S_32): New.
3814 (N_F_16_32): Likewise.
3815 (N_SUF_32): Support N_F16.
3816 (N_IF_32): Likewise.
3817 (neon_dyadic_misc): Likewise.
3818 (do_neon_cmp): Likewise.
3819 (do_neon_cmp_inv): Likewise.
3820 (do_neon_mul): Likewise.
3821 (do_neon_fcmp_absolute): Likewise.
3822 (do_neon_step): Likewise.
3823 (do_neon_abs_neg): Likewise.
3824 (CVT_FLAVOR_VAR): Likewise.
3825 (do_neon_cvt_1): Likewise.
3826 (do_neon_recip_est): Likewise.
3827 (do_vmaxnm): Likewise.
3828 (do_vrint_1): Likewise.
3829 (neon_check_type): Check architecture support for FP16 extension.
3830 (insns): Update comments.
3831 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3832 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3833 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3834 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3836 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3838 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3841 2016-03-16 Nick Clifton <nickc@redhat.com>
3843 * read.c (emit_expr_with_reloc): Add code check a bignum with
3845 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3847 * testsuite/gas/elf/bignum.s: New test source file.
3848 * testsuite/gas/elf/bignum.d: New test driver file.
3849 * testsuite/gas/elf/elf.exp: Run the new test.
3851 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3853 * doc/c-i386.texi (Register Naming): Update to details of the
3854 latest architecture version.
3856 2016-03-10 Mickael Guene <mickael.guene@st.com>
3859 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3861 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3862 (do_t_mov_cmp): Likewise.
3863 (do_t_add_sub): Protect against bad relocations usage.
3864 (do_t_mov_cmp): Likewise.
3865 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3866 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3867 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3868 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3870 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3872 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3874 (do_neon_ld_st_lane): Likewise.
3875 (do_neon_ld_dup): Likewise.
3877 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3879 * testsuite/gas/arc/inline-data-1.d: New file.
3880 * testsuite/gas/arc/inline-data-1.s: New file.
3882 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3884 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3885 * doc/c-arm.texi: Add cortex-r8.
3887 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3889 * config/tc-arc.c: Add const qualifiers.
3890 * config/tc-h8300.c (md_begin): Likewise.
3891 * config/tc-ia64.c (print_prmask): Likewise.
3892 * config/tc-msp430.c (msp430_operands): Likewise.
3893 * config/tc-nds32.c (struct suffix_name): Likewise.
3894 (struct nds32_parse_option_table): Likewise.
3895 (struct nds32_set_option_table): Likewise.
3896 (do_pseudo_pushpopm): Likewise.
3897 (do_pseudo_pushpop_stack): Likewise.
3898 (nds32_relax_relocs): Likewise.
3899 (nds32_flag): Likewise.
3900 (struct nds32_hint_map): Likewise.
3901 (nds32_find_reloc_table): Likewise.
3902 (nds32_match_hint_insn): Likewise.
3903 * config/tc-s390.c: Likewise.
3904 * config/tc-sh.c (get_specific): Likewise.
3905 * config/tc-tic30.c: Likewise.
3906 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3907 (tic4x_indirect_parse): Likewise.
3908 * config/tc-vax.c (vax_cons): Likewise.
3909 * config/tc-z80.c (struct reg_entry): Likewise.
3910 * config/tc-epiphany.c (md_assemble): Adjust.
3911 (epiphany_assemble): New function.
3912 (epiphany_elf_section_rtn): Call do_align directly.
3913 (epiphany_elf_section_text): Likewise.
3914 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3915 (ip2k_elf_section_text): Likewise.
3916 * read.c (do_align): Make it not static.
3917 * read.h (do_align): New prototype.
3919 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3921 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3922 for ARMv8.1 AdvSIMD use.
3923 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3924 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3926 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3928 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3930 (record_feature_use): New.
3931 (mark_feature_used): Use record_feature_use.
3932 (do_neon_qrdmlah): New.
3933 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3935 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3936 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3937 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3938 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3939 Make source file explicit.
3940 * testsuite/gas/arm/armv8-a+rdma.l: New.
3941 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3942 directives. Fix white-space.
3943 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3945 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3947 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3949 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3950 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3952 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3953 (tc_arc_fix_adjustable): Changed default return value to 1.
3954 * testsuite/gas/arc/j.d: Updated expected symbol
3955 * testsuite/gas/arc/jl.d: Likewise
3956 * testsuite/gas/arc/relax-avoid1.d: Likewise
3957 * testsuite/gas/arc/st.d: Likewise
3959 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3961 * config/tc-arc.c: Enable code density instructions for ARC EM.
3963 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3966 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3968 * as.c (flag_use_elf_stt_common): New.
3969 (show_usage): Add --elf-stt-common=.
3970 (option_values): Add OPTION_ELF_STT_COMMON.
3971 (std_longopts): Add --elf-stt-common=.
3972 (parse_args): Handle --elf-stt-common=.
3973 * as.h (flag_use_elf_stt_common): New.
3974 * config.in: Regenerated.
3975 * configure: Likewise.
3976 * configure.ac: Add --enable-elf-stt-common and define
3977 DEFAULT_GENERATE_ELF_STT_COMMON.
3978 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3979 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3980 * doc/as.texinfo: Document --elf-stt-common=.
3981 * testsuite/gas/elf/common3.s: New file.
3982 * testsuite/gas/elf/common3a.d: Likewise.
3983 * testsuite/gas/elf/common3b.d: Likewise.
3984 * testsuite/gas/elf/common4.s: Likewise.
3985 * testsuite/gas/elf/common4a.d: Likewise.
3986 * testsuite/gas/elf/common4b.d: Likewise.
3987 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3988 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3989 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3991 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3992 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3993 --elf-stt-common=no to as.
3994 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3995 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3996 --elf-stt-common=no to as.
3997 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3998 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3999 of dw2-compress-3 and dw2-compressed-3.
4001 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4003 * as.c (select_emulation_mode): Add const qualifiers.
4005 * config/bfin-defs.h: Likewise.
4006 * config/bfin-parse.y: Likewise.
4007 * config/rx-parse.y: Likewise.
4008 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4009 (struct aarch64_cpu_option_table): Likewise.
4010 (struct aarch64_arch_option_table): Likewise.
4011 (struct aarch64_option_cpu_value_table): Likewise.
4012 (struct aarch64_long_option_table): Likewise.
4013 (struct aarch64_option_abi_value_table): Likewise.
4014 * config/tc-arm.c (struct reloc_entry): Likewise.
4015 (tc_gen_reloc): Likewise.
4016 (struct arm_option_table): Likewise.
4017 (struct arm_legacy_option_table): Likewise.
4018 (struct arm_cpu_option_table): Likewise.
4019 (struct arm_arch_option_table): Likewise.
4020 (struct arm_option_extension_value_table): Likewise.
4021 (struct arm_option_fpu_value_table): Likewise.
4022 (struct arm_option_value_table): Likewise.
4023 (struct arm_long_option_table): Likewise.
4024 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4025 (struct mcu_type_s): Likewise.
4026 (struct exp_mod_s): Likewise.
4027 (avr_operand): Likewise.
4028 (avr_operands): Likewise.
4029 * config/tc-d10v.c (md_begin): Likewise.
4030 * config/tc-dlx.c: Likewise.
4031 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4032 * config/tc-ft32.c (parse_condition): Likewise.
4033 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4034 * config/tc-hppa.c (pa_ip): Likewise.
4035 (hppa_regname_to_dw2regnum): Likewise.
4036 * config/tc-i370.c (i370_elf_suffix): Likewise.
4037 * config/tc-i960.c (struct tabentry): Likewise.
4038 * config/tc-m32r.c: Likewise.
4039 * config/tc-m68k.c: Likewise.
4040 * config/tc-m68k.h: Likewise.
4041 * config/tc-mcore.c (parse_psrmod): Likewise.
4042 * config/tc-metag.c (struct metag_core_option): Likewise.
4043 (struct metag_long_option): Likewise.
4044 * config/tc-microblaze.c: Likewise.
4045 * config/tc-mips.c (macro): Likewise.
4046 * config/tc-mn10200.c: Likewise.
4047 * config/tc-mn10300.c: Likewise.
4048 * config/tc-msp430.c (struct rcodes_s): Likewise.
4049 (struct hcodes_s): Likewise.
4050 (md_parse_option): Likewise.
4051 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4052 (optlist): Likewise.
4053 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4054 (tc_ppc_regname_to_dw2regnum): Likewise.
4055 * config/tc-ppc.h: Likewise.
4056 * config/tc-rl78.c: Likewise.
4057 * config/tc-rx.c (struct cpu_type): Likewise.
4058 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4059 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4060 (sparc_ip): Likewise.
4061 * config/tc-spu.c (insn_fmt_string): Likewise.
4062 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4063 * config/tc-v850.c: Likewise.
4064 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4065 (struct visium_long_option_table): Likewise.
4066 * config/tc-xgate.c: Likewise.
4067 * config/tc-z8k.c: Likewise.
4068 * read.c (add_include_dir): Likewise.
4071 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4073 * testsuite/gas/all/gas.exp: Change target pattern to cover
4075 * testsuite/gas/all/redef3.d: Likewise.
4076 * testsuite/gas/elf/elf.exp: Likewise.
4078 2016-02-24 Renlin Li <renlin.li@arm.com>
4080 * config/tc-arm.c (BAD_FP16): New error message macro.
4081 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4082 fp16 scalar instructions.
4083 (neon_check_type): Allow different size from key.
4084 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4085 (try_vfp_nsyn): Likewise.
4086 (do_vfp_nsyn_mla_mls): Likewise.
4087 (do_vfp_nsyn_fma_fms): Likewise.
4088 (do_vfp_nsyn_ldm_stm): Likewise
4089 (do_vfp_nsyn_sqrt): Likewise
4090 (do_vfp_nsyn_div): Likewise
4091 (do_vfp_nsyn_nmul): Likewise.
4092 (do_vfp_nsyn_cmp): Likewise.
4093 (do_neon_shll): Likewise.
4094 (do_vfp_nsyn_cvt_fpv8): Likewise.
4095 (do_neon_cvttb_2): Likewise.
4096 (do_neon_mov): Likewise.
4097 (do_neon_rshift_round_imm): Likewise.
4098 (do_neon_ldr_str): Likewise.
4099 (do_vfp_nsyn_fpv8): Likewise.
4100 (do_vmaxnm): Likewise.
4101 (do_vrint_1): Likewise.
4102 (insns): New entry for vins, vmovx.
4103 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4104 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4105 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4106 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4107 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4108 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4109 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4111 2016-02-24 Renlin Li <renlin.li@arm.com>
4113 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4114 (neon_shape_class): New SC_HALF.
4115 (neon_shape_el): New SE_H.
4116 (neon_shape_el_size): New size for SE_H.
4117 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4118 (neon_select_shape): Add SE_H support code.
4119 (el_type_of_type_chk): Use N_F_ALL.
4120 (do_vfp_nsyn_cvt): Add SE_H shape support.
4121 (do_neon_cvtz): Likewise.
4122 (do_neon_cvt_1): Likewise.
4123 (do_neon_cvttb_1): Likewise.
4125 2016-02-24 Renlin Li <renlin.li@arm.com>
4127 * testsuite/gas/arm/copro.d: Adjust output.
4128 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4130 2016-02-24 Renlin Li <renlin.li@arm.com>
4132 * testsuite/gas/arm/mask_1.d: New.
4133 * testsuite/gas/arm/mask_1.s: New.
4135 2016-02-24 Renlin Li <renlin.li@arm.com>
4137 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4138 * testsuite/gas/arm/copro.d: Update.
4140 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4142 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4143 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4145 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4147 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4149 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4151 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4154 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4156 * output-file.c (output_file_create): Make file name argument const.
4157 (output_file_close): Likewise.
4158 * output-file.h (output_file_create): Adjust.
4159 (output_file_close): Likewise.
4160 * depend.c (quote_string_for_make): Make src argument const char *.
4161 (register_dependency): Likewise.
4162 (wrap_output): Likewise.
4163 * as.h (register_dependency): Adjust.
4164 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4166 * symbols.c (S_SET_EXTERNAL): Likewise.
4167 * input-scrub.c (as_where): Return the file name.
4168 * as.h (as_where): Adjust prototype.
4169 * app.c (do_scrub_chars): Adjust.
4170 * cond.c (s_elseif): Likewise.
4172 (initialize_cframe): Likewise.
4173 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4174 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4175 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4176 * config/tc-aarch64.c (output_info): Likewise.
4177 * config/tc-ia64.c (md_assemble): Likewise.
4178 (dot_alias): Likewise.
4179 * config/tc-m68k.c (m68k_frob_label): Likewise.
4180 * config/tc-mmix.c (s_bspec): Likewise.
4181 (mmix_handle_mmixal): Likewise.
4182 * config/tc-rx.c (rx_include): Likewise.
4183 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4184 (tic54x_adjust_symtab): Likewise.
4185 * config/tc-xtensa.c (directive_push): Likewise.
4186 (xtensa_sanity_check): Likewise.
4187 (xtensa_relax_frag): Likewise.
4188 (md_convert_frag): Likewise.
4189 (tinsn_to_slotbuf): Likewise.
4190 * dwarf2dbg.c (dwarf2_where): Likewise.
4191 * ecoff.c (add_file): Likewise.
4192 (ecoff_generate_asm_lineno): Likewise.
4193 * expr.c (make_expr_symbol): Likewise.
4194 * frags.c (frag_new): Likewise.
4195 (frag_var_init): Likewise.
4196 * listing.c (listing_newline): Likewise.
4197 * messages.c (identify): Likewise.
4198 (as_show_where): Likewise.
4199 (as_warn_internal): Likewise.
4200 (as_bad_internal): Likewise.
4201 * read.c (s_irp): Likewise.
4202 (s_macro): Likewise.
4203 (s_reloc): Likewise.
4204 * stabs.c (stabs_generate_asm_file): Likewise.
4205 (stabs_generate_asm_lineno): Likewise.
4206 (stabs_generate_asm_func): Likewise.
4207 * write.c (fix_new_internal): Likewise.
4208 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4209 (as_warn_value_out_of_range): Adjust prototype.
4210 (as_bad_value_out_of_range): Adjust prototype.
4211 * messages.c (identify): Make file name argument const char *.
4212 (as_warn_internal): Likewise.
4213 (as_warn_where): Likewise.
4214 (as_bad_internal): Likewise.
4215 (as_bad_where): Likewise.
4216 (as_internal_value_out_of_range): Likewise.
4217 (as_warn_value_out_of_range): Likewise.
4218 (as_bad_value_out_of_range): Likewise.
4219 * as.h (found_comment_file): Change type to const char *.
4220 * cond.c (file_line::file): Likewise.
4221 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4222 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4223 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4224 * config/tc-aarch64.c (output_info): Likewise.
4225 * config/tc-alpha.c (insert_operand): Likewise.
4226 * config/tc-arc.c (insert_operand): Likewise.
4227 * config/tc-d30v.c (check_size): Likewise.
4228 * config/tc-ia64.c (struct alias): Likewise.
4229 * config/tc-m68k.c (struct label_line): Likewise.
4230 * config/tc-mcore.c (md_apply_fix): Likewise.
4231 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4232 * config/tc-mips.c (mips16_immed): Likewise.
4233 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4234 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4235 * config/tc-rx.c (rx_include): Likewise.
4236 * config/tc-s390.c (s390_insert_operand): Likewise.
4237 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4238 (tic54x_adjust_symtab): Likewise.
4239 * config/tc-tilegx.c (insert_operand): Likewise.
4240 (apply_special_operator): Likewise.
4241 * config/tc-tilepro.c (insert_operand): Likewise.
4242 * config/tc-xtensa.c (directive_push): Likewise.
4243 * ecoff.c (add_file): Likewise.
4244 (ecoff_generate_asm_lineno): Likewise.
4245 * listing.c (listing_newline): Likewise.
4246 * read.c (s_irp): Likewise.
4247 * write.c (install_reloc): Likewise.
4248 * write.h (struct fix): Likewise.
4249 * input-file.c (file_name): Change type to const char *.
4250 (saved_file::file_name): Likewise.
4251 (input_file_open): Change type of argument to const char *.
4252 * input-file.h (input_file_open): Adjust.
4253 * input-scrub.c (logical_input_file): change type to const char *.
4254 (physical_input_file): Likewise.
4255 (struct input_save): Adjust.
4256 (input_scrub_push): Adjust.
4257 (input_scrub_begin): Adjust.
4259 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4260 (input_scrub_include_file): Likewise.
4261 (new_logical_line_flags): Likewise.
4262 (new_logical_line): Likewise.
4264 * frags.h (struct frag): Change type of fr_file to const char *.
4265 * expr.c (expr_symbol_where): Change type of file argument to
4267 * expr.h (expr_symbol_where): Likewise.
4268 * config/tc-i370.c (md_apply_fix): adjust.
4269 * config/tc-mmix.c (mmix_md_end): Likewise.
4270 * config/tc-ppc.c (md_apply_fix): Likewise.
4271 * config/tc-s390.c (md_apply_fix): Likewise.
4272 * symbols.c (report_op_error): Likewise.
4273 (resolve_symbol_value): Likewise.
4274 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4275 (rsrc::file): Likewise.
4276 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4278 (xtensa_relax_frag): Likewise.
4279 (md_convert_frag): Likewise.
4280 (tinsn_to_slotbuf): Likewise.
4281 * expr.c (expr_symbol_line): Likewise.
4282 * macro.c (define_macro): Likewise.
4283 * macro.h (macro_struct): Likewise.
4284 * messages.c (as_show_where): Likewise.
4285 * read.c (s_macro): Likewise.
4286 * stabs.c (stabs_generate_asm_file): Likewise.
4287 (generate_asm_file): Likewise.
4288 (stabs_generate_asm_lineno): Likewise.
4289 * write.h (struct reloc_list): Likewise.
4290 * input-scrub.c (as_where): Change return type to const char *.
4291 * as.h (as_wheree): Adjust.
4293 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4295 * write.c (compress_debug): Move BFD compression bits setting
4297 (write_object_file): Here.
4299 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4301 * config/tc-i386.c (register_number): Check RegVRex.
4302 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4303 with %zmm19 and %zmm3.
4304 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4305 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4307 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4308 Jiong Wang <jiong.wang@arm.com>
4310 * config/tc-arm.c (arm_ext_fp16): New.
4311 (arm_extensions): New entry for "fp16".
4313 2016-02-19 Nick Clifton <nickc@redhat.com>
4316 * read.c (read_a_source_file): Check for assemble_one returning
4317 with input_line_pointer set to NULL.
4319 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4321 * listing.c (rebuffer_line): Change return type to void.
4323 * symbols.c (decode_local_label_name): Make type a const char *.
4324 * listing.c (print_source): Make type of p const char *.
4325 (print_line): Make type of string const char *.
4326 (buffer_line): Return const char *.
4327 (title): Make type const char *.
4328 (subtitle): Likewise.
4329 (listing_listing): Make type of p const char *.
4330 * messages.c (as_internal_value_out_of_range): Make type of prefix
4332 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4333 and string const char *.
4334 * read.c (_bfd_rel): Make type of name const char *.
4335 * app.c (out_string): Change type to const char *.
4336 (struct app_save::out_string): Likewise.
4338 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4339 Nick Clifton <nickc@redhat.com>
4341 * read.c (finish_bundle): Avoid recording a negative alignment.
4342 (do_align): Use unsigned values for n, len and max. Only create
4343 a frag if the alignment requirement is greater than the minimum
4344 byte alignment. Avoid recording a negative alignment.
4345 (s_align): Use unsigned values where appropriate.
4346 (bss_alloc): Use an unsigned value for the alignment.
4347 (sizeof_sleb128): Add a comment noting that we encode one octet
4348 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4349 (emit_leb129_expr): Abort if the emitted encoding was longer than
4351 * read.h (output_leb128): Update prototype.
4352 (sizeof_leb128): Update prototype.
4353 (bss_alloc): Update prototype.
4354 * write.c (record_alignment): Use an unsigned value for the
4355 alignment. Do not record alignments less than the minimum
4356 alignment for a byte.
4357 * write.h (record_alignment): Update prototype.
4359 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4361 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4362 .init.literal/.fini.literal section name.
4363 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4364 list of xtensa tests.
4365 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4366 init-fini-literals test result patterns.
4367 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4368 init-fini-literals test.
4370 2016-02-17 Nick Clifton <nickc@redhat.com>
4372 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4373 devices.csv file as of March 2016.
4375 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4377 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4379 (tc_arc_regname_to_dw2regnum): Likewise.
4380 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4381 (tc_cfi_frame_initial_instructions): Likewise.
4382 (tc_regname_to_dw2regnum): Likewise.
4383 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4384 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4385 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4387 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4389 * doc/internals.texi (S_IS_EXTERN): Remove.
4391 2016-02-16 Nick Clifton <nickc@redhat.com>
4393 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4396 2016-02-16 Renlin Li <renlin.li@arm.com>
4399 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4400 * testsuite/gas/aarch64/movw_label.d: New.
4401 * testsuite/gas/aarch64/movw_label.s: New.
4403 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4406 * config/rx-parse.y (MOV): Opcode generation for index
4407 register addressing mode.
4408 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4409 * testsuite/gas/rx/pr19665.s: New file.
4410 * testsuite/gas/rx/pr19665.s: New file.
4411 * testsuite/gas/rx/mov.d: Update expected output.
4413 2016-02-15 Nick Clifton <nickc@redhat.com>
4415 * doc/as.texinfo (.section): Document that numeric values can now
4416 be used for the flags and type fields of the ELF target's .section
4417 directive. Add notes about the restrictions on setting flags and
4419 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4420 to be given processor specific section types. Allow processor and
4421 application specific flags of a section to be set after
4423 (obj_elf_parse_section_letters): Handle parsing numeric values.
4424 (obj_elf_section_type): Handle parsing numeric values.
4425 (obj_elf_section): Allow numeric type values.
4426 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4427 * testsuite/gas/elf/section10.d: New test.
4428 * testsuite/gas/elf/section10.s: Source file for new test.
4429 * testsuite/gas/elf/elf.exp: Run the new test.
4430 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4431 the description of the flags produced by readelf.
4432 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4433 * NEWS: Mention the new feature.
4435 2016-02-11 Nick Clifton <nickc@redhat.com>
4438 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4439 until it is actually used.
4440 (cfi_set_sections): Set cfi_sections_set to true.
4441 (dot_cfi_startproc): Likewise.
4442 (dot_cfi_endproc): Likewise.
4443 (dot_cfi_fde_data): Likewise.
4444 (cfi_finish): Likewise.
4445 (dot_cfi_sections): Do not set cfi_sections_set.
4446 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4447 their own cfi section name. Also note that the directive can be
4448 reissued provided that CFI generation has not started.
4449 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4450 .cfi_endproc directives so that the redefinition of .cfi_sections
4451 will trigger the generation of the error message.
4452 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4453 number of error message.
4455 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4456 Janek van Oirschot <jvanoirs@synopsys.com>
4458 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4459 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4461 (arc_flags, arc_relax_type): New structure.
4462 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4463 (RELAX_TABLE_ENTRY_MAX): New define.
4464 (relaxation_state, md_relax_table, arc_relaxable_insns)
4465 (arc_num_relaxable_ins): New variable.
4466 (rlx_operand_type, arc_rlx_types): New enums.
4467 (arc_relaxable_ins): New structure.
4468 (OPTION_RELAX): New option.
4469 (arc_insn): New relax member.
4470 (arc_flags): Remove.
4471 (relax_insn_p): New function.
4472 (apply_fixups): Likewise.
4473 (relaxable_operand): Likewise.
4474 (may_relax_expr): Likewise.
4475 (relaxable_flag): Likewise.
4476 (arc_pcrel_adjust): Likewise.
4477 (md_estimate_size_before_relax): Implement.
4478 (md_convert_frag): Likewise.
4479 (md_parse_option): Handle new mrelax option.
4480 (md_show_usage): Likewise.
4481 (assemble_insn): Set relax member.
4482 (emit_insn0): New function.
4483 (emit_insn1): Likewise.
4484 (emit_insn): Handle relaxation case.
4485 * NEWS: Mention the new relaxation option.
4486 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4487 * doc/as.texinfo (Target ARC Options): Likewise.
4488 * testsuite/gas/arc/relax-avoid1.d: New file.
4489 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4490 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4491 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4492 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4493 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4494 * testsuite/gas/arc/relax-b.d: Likewise.
4495 * testsuite/gas/arc/relax-b.s: Likewise.
4497 2016-02-08 Nick Clifton <nickc@redhat.com>
4499 * config/tc-ia64.c (dot_prologue): Fix formatting.
4501 2016-02-04 Nick Clifton <nickc@redhat.com>
4503 * config/obj-elf.c (obj_elf_change_section): Remove support for
4504 ARM NOREAD sections.
4505 * config/tc-arm.c (arm_elf_section_letter): Delete.
4506 * config/tc-arm.h (md_elf_section_letter): Delete.
4507 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4508 * testsuite/gas/arm/section-execute-only.d: Delete.
4509 * testsuite/gas/arm/section-execute-only.s: Delete.
4511 2016-02-04 Nick Clifton <nickc@redhat.com>
4514 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4515 to handle encoding of RRUX instruction.
4516 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4518 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4520 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4522 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4523 substitutions for BFD_RELOC_* as unsigned.
4524 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4525 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4526 * testsuite/gas/xtensa/loc.s: New file: loc test.
4528 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4530 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4532 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4535 * NEWS: Mention new command line option -mrelax-relocations and
4536 new configure option --enable-x86-relax-relocations for x86
4538 * config.in: Regenerated.
4539 * configure.ac: Add --enable-x86-relax-relocations.
4540 (ac_default_x86_relax_relocations): New. Default to 1 except
4541 for x86 Solaris targets older than Solaris 12.
4542 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4543 * configure: Likewise.
4544 * config/tc-i386.c (generate_relax_relocations): New.
4545 (OPTION_MRELAX_RELOCATIONS): Likewise.
4546 (output_disp): Don't generate relax relocations if
4547 generate_relax_relocations is 0.
4548 (md_longopts): Add -mrelax-relocations.
4549 (md_show_usage): Likewise.
4550 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4551 * doc/c-i386.texi: Document -mrelax-relocations=.
4552 * testsuite/gas/i386/got-no-relax.d: New file.
4553 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4554 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4555 * testsuite/gas/i386/localpic.d: Likewise.
4556 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4557 * testsuite/gas/i386/reloc32.d: Likewise.
4558 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4559 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4560 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4561 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4562 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4563 x86-64-gotpcrel-no-relax.
4565 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4567 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4570 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4572 * NEWS: Remove duplicated marker for 2.26.
4574 2016-02-02 Renlin Li <renlin.li@arm.com>
4576 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4578 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4580 * testsuite/gas/ip2k/allinsn.d: New file.
4581 * testsuite/gas/ip2k/allinsn.s: New file.
4582 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4584 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4586 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4587 some load instructions.
4588 * testsuite/gas/epiphany/allinsn.d: Likewise.
4589 * testsuite/gas/epiphany/regression.d: Likewise.
4591 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4593 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4594 suffixes from instruction mnemonics in expected output.
4595 * testsuite/gas/epiphany/allinsn.d: Likewise.
4596 * testsuite/gas/epiphany/regression.d: Likewise.
4597 * testsuite/gas/epiphany/sample.d: Likewise.
4599 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4601 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4603 * testsuite/gas/epiphany/allinsn.d: Likewise.
4604 * testsuite/gas/epiphany/sample.d: Likewise.
4606 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4608 * testsuite/gas/epiphany/sample.d: Update expected output.
4610 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4612 * config/tc-arc.c (md_apply_fix): Allow addendum.
4613 (arc_reloc_op): Allow complex expressions for tpoff.
4614 (md_apply_fix): Handle resolved TLS local symbol.
4615 * testsuite/gas/arc/tls-relocs1.d: New file.
4616 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4618 2016-02-01 Loria <Loria@phantasia.org>
4621 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4622 efficiency and avoid an LLVM loop optimization bug.
4624 2016-02-01 Nick Clifton <nickc@redhat.com>
4626 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4627 message extending a negative 32-bit value into a larger signed
4628 value on a 32-bit host.
4630 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4633 * configure.ac (compressed_debug_sections): Replace == with =.
4634 * configure: Regenerated.
4636 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4637 H.J. Lu <hongjiu.lu@intel.com>
4639 * config/tc-i386.c (avoid_fence): New.
4640 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4642 (OPTION_FENCE_AS_LOCK_ADD): New.
4643 (md_longopts): Add -mfence-as-lock-add.
4644 (md_parse_option): Handle -mfence-as-lock-add.
4645 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4646 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4647 * testsuite/gas/i386/i386.exp: Run new tests.
4648 * testsuite/gas/i386/fence-as-lock-add.s: New.
4649 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4650 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4651 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4652 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4654 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4656 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4657 * configure: Regenerated.
4659 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4661 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4662 (OPTION_MOMIT_LOCK_PREFIX): This.
4663 (md_longopts): Updated.
4664 (md_parse_option): Likewise.
4666 2016-01-25 Catherine Moore <clm@codesourcery.com>
4668 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4669 if abicalls are in effect.
4670 * testsuite/gas/mips/sdata-gp.s: New test.
4671 * testsuite/gas/mips/sdata-gp.d: New expected output
4672 * testsuite/gas/mips/mips.exp: Run new test.
4674 2016-01-25 Renlin Li <renlin.li@arm.com>
4676 * testsuite/gas/arm/thumb2_it_search.d: New.
4677 * testsuite/gas/arm/thumb2_it_search.s: New.
4679 2016-01-21 Nick Clifton <nickc@redhat.com>
4682 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4683 with arm-netbsdelf target.
4684 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4686 2016-01-20 Nick Clifton <nickc@redhat.com>
4689 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4690 * testsuite/gas/arm/blx-bl-convert.d
4691 * testsuite/gas/arm/plt-1.d: Likewise.
4692 * testsuite/gas/arm/reloc-bad.d: Likewise.
4693 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4694 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4695 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4696 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4699 * doc/as.texinfo (Errors): Correct documentation describing the
4700 interaction of .file and .line with warning and error messages.
4703 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4704 * testsuite/gas/arm/archv8m-main.d: Likewise.
4705 * testsuite/gas/arm/archv8m-base.d: Likewise.
4707 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4709 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4710 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4711 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4713 2016-01-20 Mickael Guene <mickael.guene@st.com>
4714 Terry Guo <terry.guo@arm.com>
4716 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4717 SHF_ARM_NOREAD section flag.
4718 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4720 (arm_elf_section_letter) : Declare it.
4721 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4722 SHF_ARM_NOREAD section flag.
4723 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4725 * testsuite/gas/arm/section-execute-only.s: New test case.
4726 * testsuite/gas/arm/section-execute-only.d: Expected output.
4728 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4730 * config/tc-mips.c (micromips_insn_length): Remove the mention
4731 of 48-bit microMIPS instructions.
4733 2016-01-18 Alan Modra <amodra@gmail.com>
4735 * configure: Regenerate.
4737 2016-01-17 Alan Modra <amodra@gmail.com>
4739 * configure: Regenerate.
4741 2016-01-17 Alan Modra <amodra@gmail.com>
4743 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4745 2016-01-14 Nick Clifton <nickc@redhat.com>
4747 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4748 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4749 * testsuite/gas/rl78/rl78.exp: Run the new test.
4751 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4753 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4754 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4756 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4758 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4760 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4762 * config/tc-h8300.c (get_operand): Remove spurious condition in
4763 test for closing parenthesis.
4765 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4767 * config/tc-arm.c (arm_ext_v8_2): New.
4769 * testsuite/gas/arm/armv8_2-a.d: New.
4770 * testsuite/gas/arm/armv8_2-a.s: New.
4772 2016-01-12 Alan Modra <amodra@gmail.com>
4774 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4776 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4778 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4779 xvcmpnesp, xvcmpnesp.>: Delete tests.
4780 * testsuite/gas/ppc/power9.s: Likewise.
4781 * testsuite/gas/ppc/vsx3.d: Likewise.
4782 * testsuite/gas/ppc/vsx3.s: Likewise.
4784 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4787 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4788 * testsuite/gas/m68k/p13050-1.s: New file.
4789 * testsuite/gas/m68k/p13050-2.d: New file.
4790 * testsuite/gas/m68k/p13050-2.s: New file.
4792 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4794 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4795 * testsuite/gas/arc/add.d: Likewise.
4796 * testsuite/gas/arc/and.d: Likewise.
4797 * testsuite/gas/arc/asl.d: Likewise.
4798 * testsuite/gas/arc/asr.d: Likewise.
4799 * testsuite/gas/arc/bic.d: Likewise.
4800 * testsuite/gas/arc/extb.d: Likewise.
4801 * testsuite/gas/arc/extw.d: Likewise.
4802 * testsuite/gas/arc/j.d: Likewise.
4803 * testsuite/gas/arc/jl.d: Likewise.
4804 * testsuite/gas/arc/ld2.d: Likewise.
4805 * testsuite/gas/arc/lsr.d: Likewise.
4806 * testsuite/gas/arc/mov.d: Likewise.
4807 * testsuite/gas/arc/or.d: Likewise.
4808 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4809 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4810 * testsuite/gas/arc/pic-relocs.d: Likewise.
4811 * testsuite/gas/arc/plt-relocs.d: Likewise.
4812 * testsuite/gas/arc/rlc.d: Likewise.
4813 * testsuite/gas/arc/ror.d: Likewise.
4814 * testsuite/gas/arc/rrc.d: Likewise.
4815 * testsuite/gas/arc/sbc.d: Likewise.
4816 * testsuite/gas/arc/sda-relocs.d: Likewise.
4817 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4818 * testsuite/gas/arc/sexb.d: Likewise.
4819 * testsuite/gas/arc/sexw.d: Likewise.
4820 * testsuite/gas/arc/st.d: Likewise.
4821 * testsuite/gas/arc/sub.d: Likewise.
4822 * testsuite/gas/arc/tls-relocs.d: Likewise.
4823 * testsuite/gas/arc/xor.d: Likewise.
4825 2016-01-01 Alan Modra <amodra@gmail.com>
4827 Update year range in copyright notice of all files.
4829 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4831 Copyright (C) 2016 Free Software Foundation, Inc.
4833 Copying and distribution of this file, with or without modification,
4834 are permitted in any medium without royalty provided the copyright
4835 notice and this notice are preserved.
4841 version-control: never