1 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
2 Andrew Waterman <andrew@sifive.com>
4 Add support for RISC-V architecture.
5 * Makefile.am: Add riscv files.
6 * Makefile.in: Regenerate.
7 * NEWS: Mention the support for this architecture.
8 * configure.in: Define a default architecture.
9 * configure: Regenerate.
10 * configure.tgt: Add entries for riscv.
11 * doc/as.texinfo: Likewise.
12 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
13 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
14 * config/tc-riscv.c: New file.
15 * config/tc-riscv.h: New file.
16 * doc/c-riscv.texi: New file.
17 * testsuite/gas/riscv: New directory.
18 * testsuite/gas/riscv/riscv.exp: New file.
19 * testsuite/gas/riscv/t_insns.d: New file.
20 * testsuite/gas/riscv/t_insns.s: New file.
22 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
24 * config/tc-arc.c (arc_target): Delete.
25 (arc_target_name): Delete.
26 (arc_features): Delete.
27 (arc_mach_type): Delete.
28 (mach_type_specified_p): Delete.
29 (enum mach_selection_type): New enum.
30 (mach_selection_mode): New static global.
31 (selected_cpu): New static global.
32 (arc_eflag): Rename to ...
33 (arc_initial_eflag): ...this, and make const.
34 (arc_select_cpu): Update comment, new parameter, check how
35 previous machine type selection was made, and record this
36 selection. Use selected_cpu instead of old globals.
37 (arc_option): Remove use of arc_get_mach, instead use
38 arc_select_cpu to validate machine type selection. Use
39 selected_cpu over old globals.
40 (allocate_tok): Use selected_cpu over old globals.
41 (find_opcode_match): Likewise.
42 (assemble_tokens): Likewise.
43 (arc_cons_fix_new): Likewise.
44 (arc_extinsn): Likewise.
45 (arc_extcorereg): Likewise.
46 (md_begin): Update default machine type selection, use
47 selected_cpu over old globals.
48 (md_parse_option): Update machine type selection option handling,
49 use selected_cpu over old globals.
50 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
52 2016-10-26 Alan Modra <amodra@gmail.com>
54 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
55 * config/rl78-parse.y: Do use old %name-prefix syntax.
56 * config/rx-parse.y: Likewise.
58 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
60 * config/tc-i386.c (cpu_arch): Remove .pcommit.
61 * doc/c-i386.texi: Likewise.
62 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
63 * testsuite/gas/i386/pcommit-intel.d: Removed.
64 * testsuite/gas/i386/pcommit.d: Likewise.
65 * testsuite/gas/i386/pcommit.s: Likewise.
66 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
67 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
68 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
70 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
73 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
74 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
75 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
77 2016-10-19 Renlin Li <renlin.li@arm.com>
79 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
80 for register-shifted register instructions.
81 * testsuite/gas/arm/shift-bad-pc.d: New.
82 * testsuite/gas/arm/shift-bad-pc.l: New.
83 * testsuite/gas/arm/shift-bad-pc.s: New.
85 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
87 * testsuite/arc/dis-inv.d: Fixed matching.
89 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
91 * testsuite/arc/dis-inv.s: Test to validate patch.
92 * testsuite/arc/dis-inv.d: Likewise.
94 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
96 * testsuite/gas/arc/shortlimm_a7.d: New file.
97 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
98 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
99 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
101 2016-10-11 Nick Clifton <nickc@redhat.com>
103 * gas/arm/tls.d: Adjust output to match change in objdump.
105 2016-10-11 Jiong Wang <jiong.wang@arm.com>
108 * testsuite/gas/aarch64/alias-2.d: Update expected results.
110 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
112 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
113 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
114 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
115 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
116 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
117 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
118 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
119 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
120 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
122 2016-10-08 Alan Modra <amodra@gmail.com>
124 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
125 config/rx-parse.y. Move config/bfin-parse.y.
126 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
127 ($(srcdir)/config/rl78-defs.h): New rule.
128 * Makefile.in: Regenerate.
130 2016-10-07 Jiong Wang <jiong.wang@arm.com>
133 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
135 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
137 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
139 * testsuite/gas/arc/leave_enter.d: New file.
140 * testsuite/gas/arc/leave_enter.s: Likewise.
141 * testsuite/gas/arc/regnames.d: Likewise.
142 * testsuite/gas/arc/regnames.s: Likewise.
143 * config/tc-arc.c (arc_parse_name): Don't match reg names against
144 confirmed symbol names.
146 2016-10-06 Alan Modra <amodra@gmail.com>
148 * app.c (do_scrub_chars): Move fall through comment.
149 * expr.c (operand): Likewise.
151 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
154 * dw2gencfi.c (dot_cfi_sections): Refine the check for
155 inconsistent .cfi_sections to only consider compact vs non
157 * testsuite/gas/cfi/cfi-common-9.d: New file.
158 * testsuite/gas/cfi/cfi-common-9.s: New file.
159 * testsuite/gas/cfi/cfi.exp: Run new test.
161 2016-10-06 Alan Modra <amodra@gmail.com>
163 * app.c: Add missing fall through comments.
164 * dw2gencfi.c: Likewise.
166 * config/tc-alpha.c: Likewise.
167 * config/tc-arc.c: Likewise.
168 * config/tc-arm.c: Likewise.
169 * config/tc-cr16.c: Likewise.
170 * config/tc-crx.c: Likewise.
171 * config/tc-dlx.c: Likewise.
172 * config/tc-h8300.c: Likewise.
173 * config/tc-hppa.c: Likewise.
174 * config/tc-i370.c: Likewise.
175 * config/tc-i386.c: Likewise.
176 * config/tc-i960.c: Likewise.
177 * config/tc-ia64.c: Likewise.
178 * config/tc-m68hc11.c: Likewise.
179 * config/tc-m68k.c: Likewise.
180 * config/tc-mep.c: Likewise.
181 * config/tc-metag.c: Likewise.
182 * config/tc-microblaze.c: Likewise.
183 * config/tc-mips.c: Likewise.
184 * config/tc-ns32k.c: Likewise.
185 * config/tc-rx.c: Likewise.
186 * config/tc-score.c: Likewise.
187 * config/tc-score7.c: Likewise.
188 * config/tc-sh.c: Likewise.
189 * config/tc-tic4x.c: Likewise.
190 * config/tc-vax.c: Likewise.
191 * config/tc-xstormy16.c: Likewise.
192 * config/tc-z80.c: Likewise.
193 * config/tc-z8k.c: Likewise.
194 * config/obj-elf.c: Likewise.
195 * config/tc-i386.c: Likewise.
196 * depend.c: Spell fall through comments consistently.
197 * config/tc-arm.c: Likewise.
198 * config/tc-d10v.c: Likewise.
199 * config/tc-i960.c: Likewise.
200 * config/tc-ia64.c: Likewise.
201 * config/tc-m68k.c: Likewise.
202 * config/tc-mcore.c: Likewise.
203 * config/tc-mep.c: Likewise.
204 * config/tc-ns32k.c: Likewise.
205 * config/tc-visium.c: Likewise.
206 * config/tc-xstormy16.c: Likewise.
207 * config/tc-z8k.c: Likewise.
209 2016-10-06 Alan Modra <amodra@gmail.com>
211 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
213 2016-10-06 Alan Modra <amodra@gmail.com>
215 * config/tc-arc.c (find_opcode_match): Add missing break.
216 * config/tc-i960.c (get_cdisp): Likewise.
217 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
218 * config/tc-mt.c (md_parse_option): Likewise.
219 * config/tc-nds32.c (nds32_apply_fix): Likewise.
220 * config/tc-hppa.c (pa_ip): Assert rather than testing last
221 condition of multiple if statements.
222 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
223 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
224 out of case rather than falling into next case. Formatting.
226 2016-10-06 Alan Modra <amodra@gmail.com>
228 * config/rl78-parse.y: Don't use deprecated %name-prefix.
229 * config/rx-parse.y: Likewise.
231 2016-09-29 Jiong Wang <jiong.wang@arm.com>
234 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
235 testcases for H and S variants. New low index testcases for D variant.
236 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
238 2016-09-29 Alan Modra <amodra@gmail.com>
240 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
241 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
242 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
244 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
246 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
249 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
251 * Makefile.in: Regenerate.
252 * configure: Likewise.
253 * doc/Makefile.in: Likewise.
255 2016-09-26 Alan Modra <amodra@gmail.com>
257 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
258 (md_pseudo_table <ELF>): Handle "gnu_attribute".
260 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
262 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
263 register and redundant basepri_max.
265 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
267 * config/tc-aarch64.c (print_operands): Print spaces between
269 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
271 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
272 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
273 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
274 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
275 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
276 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
277 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
278 * testsuite/gas/aarch64/sve.d: Likewise.
279 * testsuite/gas/aarch64/symbol.d: Likewise.
280 * testsuite/gas/aarch64/system.d: Likewise.
281 * testsuite/gas/aarch64/tls-desc.d: Likewise.
282 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
283 in suggested alternatives.
284 * testsuite/gas/aarch64/verbose-error.l: Likewise.
286 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
288 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
289 rather than "should be" or "expected to be" in error messages.
290 (parse_operands): Likewise.
291 * testsuite/gas/aarch64/diagnostic.l: Likewise.
292 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
293 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
294 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
296 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
298 * config/tc-aarch64.c (opcode_lookup): Search for the end of
299 a condition name, rather than assuming that it will have exactly
301 (parse_operands): Likewise.
302 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
303 to the expected output.
304 * testsuite/gas/aarch64/beq_1.d: Likewise.
305 * testsuite/gas/aarch64/float-fp16.d: Likewise.
306 * testsuite/gas/aarch64/int-insns.d: Likewise.
307 * testsuite/gas/aarch64/no-aliases.d: Likewise.
308 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
309 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
310 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
313 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
315 * testsuite/gas/aarch64/diagnostic.s,
316 testsuite/gas/aarch64/diagnostic.l: Add tests for
317 invalid uses of MUL VL and MUL in base AArch64 instructions.
318 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
319 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
320 testsuite/gas/aarch64/sve-invalid.s,
321 testsuite/gas/aarch64/sve-invalid.d,
322 testsuite/gas/aarch64/sve-invalid.l,
323 testsuite/gas/aarch64/sve-reg-diagnostic.s,
324 testsuite/gas/aarch64/sve-reg-diagnostic.d,
325 testsuite/gas/aarch64/sve-reg-diagnostic.l,
326 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
328 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
330 * doc/c-aarch64.texi: Document the "sve" feature.
331 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
332 (get_reg_expected_msg): Handle it.
333 (parse_operands): When parsing operands of an SVE instruction,
334 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
335 (aarch64_features): Add an entry for SVE.
337 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
339 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
340 and FP register operands.
342 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
344 * config/tc-aarch64.c (double_precision_operand_p): New function.
345 (parse_operands): Use it to calculate the dp_p input to
346 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
348 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
350 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
353 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
355 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
357 (parse_shift): Handle SHIFTED_MUL_VL.
358 (parse_address_main): Add an imm_shift_mode parameter.
359 (parse_address, parse_sve_address): Update accordingly.
360 (parse_operands): Handle MUL VL addressing modes.
362 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
364 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
366 (get_reg_expected_msg): Handle them.
367 (aarch64_addr_reg_parse): New function, split out from
368 aarch64_reg_parse_32_64. Handle Z registers too.
369 (aarch64_reg_parse_32_64): Call it.
370 (parse_address_main): Add base_qualifier, offset_qualifier,
371 base_type and offset_type parameters. Handle SVE base and offset
373 (parse_address): Update call to parse_address_main.
374 (parse_sve_address): New function.
375 (parse_operands): Parse the new SVE address operands.
377 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
379 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
380 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
381 shift modes. Skip range tests for AARCH64_MOD_MUL.
382 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
383 (parse_operands): Likewise.
385 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
387 * config/tc-aarch64.c (parse_enum_string): New function.
388 (po_enum_or_fail): New macro.
389 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
390 AARCH64_OPND_SVE_PRFOP.
392 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
394 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
395 (parse_vector_type_for_operand): Assert that the skipped character
397 (parse_predication_for_operand): New function.
398 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
399 (vectype_to_qualifier): Handle NT_zero and NT_merge.
401 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
403 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
404 (AARCH64_REG_TYPES): Add ZN and PN.
405 (get_reg_expected_msg): Handle them.
406 (parse_vector_type_for_operand): Add a reg_type parameter.
407 Skip the width for Zn and Pn registers.
408 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
409 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
410 expecting the width to be 0.
411 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
413 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
414 (parse_operands): Handle the new Zn and Pn operands.
415 (REGSET16): New macro, split out from...
417 (reg_names): Add Zn and Pn entries.
419 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
421 * config/tc-aarch64.c (output_operand_error_record): Handle
422 AARCH64_OPDE_UNTIED_OPERAND.
424 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
426 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
427 instruction with all-NIL qualifiers to fail to match.
429 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
431 * config/tc-aarch64.c (parse_address_main): Remove reloc and
432 accept_reg_post_index parameters. Parse relocations and register
433 post indexes unconditionally.
434 (parse_address): Remove accept_reg_post_index parameter.
435 Update call to parse_address_main.
436 (parse_address_reloc): Delete.
437 (parse_operands): Call parse_address instead of parse_address_main.
438 Update existing callers of parse_address and make them check
439 inst.reloc.type where appropriate.
440 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
441 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
442 Also test for invalid uses of post-index register addressing.
443 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
445 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
447 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
449 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
450 (aarch64_check_reg_type): Simplify.
451 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
452 register number. Return the type as a qualifier rather than an
453 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
455 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
456 Use get_reg_expected_msg.
457 (parse_address_main): Likewise. Use aarch64_check_reg_type.
458 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
459 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
460 Use aarch64_check_reg_type to test the result.
461 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
462 addresses normally before enforcing the syntax restrictions.
463 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
464 zero register and for a stack pointer index.
465 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
466 Also update existing diagnostic messages after the above changes.
467 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
468 for 32-bit register bases.
470 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
472 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
473 (parse_operands): Check the range of 8-bit FP immediates here instead.
475 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
477 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
478 low-severity error for registers.
479 (parse_operands): Report an invalid floating point constant for
480 if parsing an FPIMM8 fails, and if no better error has been
482 * testsuite/gas/aarch64/diagnostic.s,
483 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
486 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
488 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
490 (can_convert_double_to_float): ...this. Accept any double-precision
491 value that converts to single precision without loss of precision.
492 (parse_aarch64_imm_float): Update accordingly.
494 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
496 * config/tc-aarch64.c (parse_immediate_expression): Add a
498 (parse_constant_immediate): Likewise, and update calls.
499 (parse_aarch64_imm_float): Likewise.
500 (parse_big_immediate): Likewise.
501 (po_imm_nc_or_fail): Update accordingly, passing down a new
502 imm_reg_type variable.
503 (po_imm_of_fail): Likewise.
504 (parse_operands): Likewise.
506 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
508 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
509 (parse_vector_reg_list): ...this and take a register type
511 (parse_operands): Update accordingly.
513 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
515 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
516 (parse_vector_type_for_operand): ...this.
517 (parse_typed_reg): Update accordingly.
519 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
521 * config/tc-aarch64.c (neon_type_el): Rename to...
522 (vector_type_el): ...this.
523 (parse_neon_type_for_operand): Update accordingly.
524 (parse_typed_reg): Likewise.
525 (aarch64_reg_parse): Likewise.
526 (vectype_to_qualifier): Likewise.
527 (parse_operands): Likewise.
528 (eq_neon_type_el): Likewise. Rename to...
529 (eq_vector_type_el): ...this.
530 (parse_neon_reg_list): Update accordingly.
532 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
534 * config/tc-aarch64.c (neon_el_type: Rename to...
535 (vector_el_type): ...this.
536 (neon_type_el): Update accordingly.
537 (parse_neon_type_for_operand): Likewise.
538 (vectype_to_qualifier): Likewise.
540 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
542 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
543 (parse_typed_reg): Call parse_neon_type_for_operand directly.
545 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
547 * testsuite/gas/arc/textinsnxop.d: New file.
548 * testsuite/gas/arc/textinsnxop.s: Likewise.
550 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
552 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
553 dcti-couples-v9 only in ELF targets to avoid spurious failures in
554 sparc-aout and sparc-coff targets.
556 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
558 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
559 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
560 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
561 <copy, paste.>: Update tests.
562 * testsuite/gas/ppc/power9.s: Likewise.
564 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
566 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
567 in "architecture mismatch" error messages.
569 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
571 * config/tc-sparc.c (md_assemble): Detect and warning on
572 unpredictable DCTI couples in certain arches.
573 (dcti_couples_detect): New global.
574 (md_longopts): Add command line option -dcti-couples-detect.
575 (md_show_usage): Document -dcti-couples-detect.
576 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
577 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
578 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
579 * testsuite/gas/sparc/dcti-couples.s: New file.
580 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
581 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
582 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
583 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
584 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
585 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
586 * doc/c-sparc.texi (Sparc-Opts): Likewise.
588 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
590 * testsuite/gas/arc/tls-relocs2.d: New file.
591 * testsuite/gas/arc/tls-relocs2.s: Likewise.
592 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
595 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
597 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
599 * doc/as.texinfo: Document new arch strings.
600 * doc/c-s390.texi: Likewise.
602 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
604 * config/tc-s390.c: Set all facitily bits by default
606 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
608 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
610 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
612 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
615 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
617 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
618 (set_cpu_arch): Updated.
619 (md_parse_option): Likewise.
620 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
621 iamcu-inval-2 and iamcu-inval-3.
622 * testsuite/gas/i386/iamcu-4.d: New file.
623 * testsuite/gas/i386/iamcu-4.s: Likewise.
624 * testsuite/gas/i386/iamcu-5.d: Likewise.
625 * testsuite/gas/i386/iamcu-5.s: Likewise.
626 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
627 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
628 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
629 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
631 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
633 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
634 ARMv8-A CPUs except xgene1.
636 2016-08-31 Alan Modra <amodra@gmail.com>
638 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
639 ppc_cpu rather than calling ppc_mach to determine VLE mode.
640 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
642 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
644 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
646 * testsuite/gas/sparc/crypto.s: Likewise.
648 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
650 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
651 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
652 their lowecase counterpart special registers. Write register
654 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
655 operation, special register and then case. Use different register for
656 each operation. Add tests for new special registers.
657 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
659 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
660 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
662 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
664 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
666 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
668 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
669 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
670 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
672 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
674 * config/tc-i386.c (cpu_arch): Add .ptwrite.
675 * doc/c-i386.texi: Document ptwrite and .ptwrite.
676 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
677 x86-64-ptwrite and x86-64-ptwrite-intel.
678 * testsuite/gas/i386/ptwrite-intel.d: New file.
679 * testsuite/gas/i386/ptwrite.d: Likewise.
680 * testsuite/gas/i386/ptwrite.s: Likewise.
681 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
682 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
683 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
685 2016-08-19 Tamar Christina <tamar.christina@arm.com>
687 * config/tc-arm.c (do_co_reg2c): Added constraint.
688 * testsuite/gas/arm/dest-unpredictable.s: New.
689 * testsuite/gas/arm/dest-unpredictable.l: New.
690 * testsuite/gas/arm/dest-unpredictable.d: New.
692 2016-08-19 Nick Clifton <nickc@redhat.com>
694 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
695 ordering of sections.
696 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
697 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
698 * testsuite/gas/ia64/alias.d: Likewise.
699 * testsuite/gas/ia64/group-1.d: Likewise.
700 * testsuite/gas/ia64/group-2.d: Likewise.
701 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
702 * testsuite/gas/ia64/secname.d: Likewise.
703 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
704 * testsuite/gas/ia64/unwind.d: Likewise.
705 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
706 * testsuite/gas/ia64/xdata.d: Likewise.
707 * testsuite/gas/mmix/bspec-1.d: Likewise.
708 * testsuite/gas/mmix/bspec-2.d: Likewise.
709 * testsuite/gas/mmix/byte-1.d: Likewise.
710 * testsuite/gas/mmix/loc-1.d: Likewise.
711 * testsuite/gas/mmix/loc-2.d: Likewise.
712 * testsuite/gas/mmix/loc-3.d: Likewise.
713 * testsuite/gas/mmix/loc-4.d: Likewise.
714 * testsuite/gas/mmix/loc-5.d: Likewise.
715 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
717 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
719 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
720 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
721 Add tests for -0.0. Add an end-of-file comment.
723 2016-08-05 Nick Clifton <nickc@redhat.com>
726 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
727 registers are pushed.
728 (do_vfp_nsyn_pop): Check that no more than 16 registers are
730 * testsuite/gas/arm/pr20429.s: New test.
731 * testsuite/gas/arm/pr20429.d: New test driver.
732 * testsuite/gas/arm/pr20429.1: Expected error output.
735 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
737 (aarch64_init): Treat rs_align frags in code sections as
738 containing code, not data.
739 * testsuite/gas/aarch64/pr20364.s: New test.
740 * testsuite/gas/aarch64/pr20364.d: New test driver.
742 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
745 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
746 of 64-bit relocation types when assembling for a 32-bit Solaris
749 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
751 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
753 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
754 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
755 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
756 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
758 (sparc_elf_setup): Delete.
759 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
762 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
764 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
765 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
766 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
767 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
768 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
769 (get_append_method): Also return APPEND_ADD_COMPACT for
770 microMIPS instructions.
771 (find_altered_mips16_opcode): Exclude macros from matching.
773 (find_altered_opcode): ... to this new function.
774 (find_altered_micromips_opcode): New function.
775 (frag_branch_delay_slot_size): Likewise.
776 (append_insn): Handle microMIPS branch/jump compaction.
777 (macro_start): Likewise.
778 (relaxed_micromips_32bit_branch_length): Likewise.
779 (md_convert_frag): Likewise.
780 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
781 for delay slot filling.
782 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
784 * testsuite/gas/mips/micromips-size-1.s: Likewise.
785 * testsuite/gas/mips/micromips.l: Adjust line numbers.
786 * testsuite/gas/mips/micromips-warn.l: Likewise.
787 * testsuite/gas/mips/micromips-size-1.l: Likewise.
788 * testsuite/gas/mips/micromips.d: Adjust padding.
789 * testsuite/gas/mips/micromips-trap.d: Likewise.
790 * testsuite/gas/mips/micromips-insn32.d: Likewise.
791 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
792 * testsuite/gas/mips/micromips@beq.d: Update patterns for
793 branch/jump compaction.
794 * testsuite/gas/mips/micromips@bge.d: Likewise.
795 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
796 * testsuite/gas/mips/micromips@blt.d: Likewise.
797 * testsuite/gas/mips/micromips@bltu.d: Likewise.
798 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
799 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
800 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
801 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
802 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
803 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
804 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
805 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
807 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
809 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
810 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
811 * testsuite/gas/mips/micromips@relax.d: Likewise.
812 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
813 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
814 * testsuite/gas/mips/branch-extern-2.d: Likewise.
815 * testsuite/gas/mips/branch-extern-4.d: Likewise.
816 * testsuite/gas/mips/branch-section-2.d: Likewise.
817 * testsuite/gas/mips/branch-section-4.d: Likewise.
818 * testsuite/gas/mips/branch-weak-2.d: Likewise.
819 * testsuite/gas/mips/branch-weak-5.d: Likewise.
820 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
821 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
822 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
823 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
825 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
827 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
829 * testsuite/gas/mips/micromips-compact.d: New test.
830 * testsuite/gas/mips/mips.exp: Run the new test.
832 2016-07-27 Graham Markall <graham.markall@embecosm.com>
834 * config/tc-arc.c: Add new global arc_addrtype_hash.
835 Define O_colon and O_addrtype.
836 (debug_exp): Add O_colon and O_addrtype.
837 (tokenize_arguments): Handle colon and address type
839 (declare_addrtype): New function.
840 (md_begin): Initialise arc_addrtype_hash.
841 (arc_parse_name): Add lookup of address types.
842 (assemble_insn): Handle colons and address types by
844 * testsuite/gas/arc/nps400-8.s: New file.
845 * testsuite/gas/arc/nps400-8.d: New file.
846 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
847 * testsuite/gas/arc/nps400-8.d: Add expected PMU
850 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
852 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
853 (RELAX_MICROMIPS_INSN32): New macro.
854 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
855 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
856 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
857 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
858 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
860 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
862 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
864 (md_convert_frag): Likewise.
865 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
867 * testsuite/gas/mips/micromips-branch-relax.l: Update line
869 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
870 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
871 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
873 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
875 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
877 * testsuite/gas/mips/mips.exp: Run the new tests.
879 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
881 * configure: Regenerated.
883 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
885 * testsuite/gas/arc/dsp.d: New file.
886 * testsuite/gas/arc/dsp.s: Likewise.
887 * testsuite/gas/arc/fpu.d: Likewise.
888 * testsuite/gas/arc/fpu.s: Likewise.
889 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
890 * testsuite/gas/arc/ext3op.d: Likewise.
891 * testsuite/gas/arc/tdpfp.d: Likewise.
892 * testsuite/gas/arc/tfpuda.d: Likewise.
894 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
896 * config/tc-mips.c (mips_force_relocation): Remove
897 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
899 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
901 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
902 Adjust comments for BAL to JALX linker conversion.
903 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
904 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
906 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
907 * testsuite/gas/mips/branch-local-4.d: New test.
908 * testsuite/gas/mips/branch-local-n32-4.d: New test.
909 * testsuite/gas/mips/branch-local-n64-4.d: New test.
910 * testsuite/gas/mips/branch-addend.d: New test.
911 * testsuite/gas/mips/branch-addend-n32.d: New test.
912 * testsuite/gas/mips/branch-addend-n64.d: New test.
913 * testsuite/gas/mips/branch-local-4.s: New test source.
914 * testsuite/gas/mips/branch-addend.s: New test source.
915 * testsuite/gas/mips/mips.exp: Run the new tests.
917 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
919 * config/tc-mips.c (mips_force_relocation): Also retain branch
920 relocations against MIPS16 and microMIPS symbols.
921 (fix_bad_cross_mode_jump_p): New function.
922 (fix_bad_same_mode_jalx_p): Likewise.
923 (fix_bad_misaligned_jump_p): Likewise.
924 (fix_bad_cross_mode_branch_p): Likewise.
925 (fix_bad_misaligned_branch_p): Likewise.
926 (fix_validate_branch): Likewise.
927 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
928 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
929 etc. Verify the ISA mode and alignment of the jump target.
930 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
931 with a call to `fix_validate_branch'.
932 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
933 <BFD_RELOC_16_PCREL_S2>: Likewise.
934 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
935 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
936 Verify the ISA mode and alignment of the branch target.
937 (md_convert_frag): Verify the ISA mode and alignment of resolved
938 MIPS16 branch targets.
939 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
940 branch targets with `.insn'.
941 * testsuite/gas/mips/branch-misc-5.s: Likewise.
942 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
944 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
945 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
946 non-instruction branch target with `.insn'.
947 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
948 with external symbols.
949 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
950 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
951 * testsuite/gas/mips/micromips-trap.d: Likewise.
952 * testsuite/gas/mips/micromips.d: Likewise.
953 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
954 targets with `.insn'.
955 * testsuite/gas/mips/mips16.d: Update accordingly.
956 * testsuite/gas/mips/mips16-64.d: Likewise.
957 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
958 branch target with `.insn'.
959 * testsuite/gas/mips/relax-swap3.s: Likewise.
960 * testsuite/gas/mips/branch-local-2.l: New list test.
961 * testsuite/gas/mips/branch-local-3.l: New list test.
962 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
963 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
964 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
965 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
966 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
967 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
968 * testsuite/gas/mips/unaligned-jump-3.d: New test.
969 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
970 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
971 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
972 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
974 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
976 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
977 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
978 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
979 * testsuite/gas/mips/unaligned-branch-3.d: New test.
980 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
981 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
982 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
983 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
984 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
985 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
986 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
987 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
988 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
989 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
991 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
993 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
994 * testsuite/gas/mips/branch-local-2.s: New test source.
995 * testsuite/gas/mips/branch-local-3.s: New test source.
996 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
997 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
998 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
999 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1000 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1001 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1002 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1003 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1004 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1006 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1008 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1009 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1010 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1011 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1012 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1013 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1014 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1016 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1018 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1020 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1022 * testsuite/gas/mips/mips.exp: Run the new tests.
1024 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1026 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1028 (do_pseudo_b): Adjust.
1029 (do_pseudo_bal): Likewise.
1030 (do_pseudo_bge): Likewise.
1031 (do_pseudo_bges): Likewise.
1032 (do_pseudo_bgt): Likewise.
1033 (do_pseudo_bgts): Likewise.
1034 (do_pseudo_ble): Likewise.
1035 (do_pseudo_bles): Likewise.
1036 (do_pseudo_blt): Likewise.
1037 (do_pseudo_blts): Likewise.
1038 (do_pseudo_br): Likewise.
1039 (do_pseudo_bral): Likewise.
1040 (do_pseudo_la): Likewise.
1041 (do_pseudo_li): Likewise.
1042 (do_pseudo_ls_bhw): Likewise.
1043 (do_pseudo_ls_bhwp): Likewise.
1044 (do_pseudo_ls_bhwpc): Likewise.
1045 (do_pseudo_ls_bhwi): Likewise.
1046 (do_pseudo_move): Likewise.
1047 (do_pseudo_neg): Likewise.
1048 (do_pseudo_not): Likewise.
1049 (do_pseudo_pushpopm): Likewise.
1050 (do_pseudo_pushpop): Likewise.
1051 (do_pseudo_v3push): Likewise.
1052 (do_pseudo_v3pop): Likewise.
1053 (do_pseudo_pushpop_stack): Likewise.
1054 (do_pseudo_push_bhwd): Likewise.
1055 (do_pseudo_pop_bhwd): Likewise.
1056 (do_pseudo_pusha): Likewise.
1057 (do_pseudo_pushi): Likewise.
1059 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1061 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1062 bfd_reloc_code_real_type.
1064 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1066 * config/tc-sparc.c (pop_table): Remove sentinel.
1067 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1070 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1072 * config/tc-z8k.c (newfix): Make type of type argument
1073 bfd_reloc_code_real_type.
1074 (apply_fix): Likewise.
1076 2016-07-16 Alan Modra <amodra@gmail.com>
1078 * config/tc-epiphany.c: Don't include libbfd.h.
1079 * config/tc-frv.c: Likewise.
1080 * config/tc-ip2k.c: Likewise.
1081 * config/tc-iq2000.c: Likewise.
1082 * config/tc-m32c.c: Likewise.
1083 * config/tc-mep.c: Likewise.
1084 * config/tc-mt.c: Likewise.
1085 * config/tc-nios2.c: Likewise.
1087 2016-07-16 Alan Modra <amodra@gmail.com>
1089 * config/bfin-parse.y: Don't include libbfd.h.
1090 * config/tc-bfin.c: Likewise.
1091 * config/tc-rl78.c: Likewise.
1092 * config/tc-rx.c: Likewise.
1093 * config/tc-metag.c: Likewise.
1094 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1095 * Makefile.am: Update dependencies.
1096 * Makefile.in: Regenerate.
1098 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1100 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1101 (mips_force_relocation_abs): New prototype.
1102 * config/tc-mips.c (mips_force_relocation_abs): New function.
1103 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1104 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1105 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1106 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1107 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1109 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1111 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1112 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1113 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1115 * testsuite/gas/mips/mips.exp: Run the new tests.
1117 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1119 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1120 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1121 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1123 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1124 in `bar', export `foo'.
1125 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1127 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1128 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1129 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1131 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1134 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1136 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1137 * testsuite/gas/mips/branch-absolute.d: New test.
1138 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1139 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1140 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1141 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1142 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1143 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1144 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1146 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1148 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1149 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1150 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1151 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1153 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1155 * testsuite/gas/mips/branch-absolute.s: New test source.
1156 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1157 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1159 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1161 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1163 * testsuite/gas/mips/mips.exp: Run the new tests.
1165 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1167 * testsuite/gas/mips/nal-1.d: New test.
1168 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1169 * testsuite/gas/mips/nal-2.d: New test.
1170 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1171 * testsuite/gas/mips/nal.s: New test source.
1172 * testsuite/gas/mips/mips.exp: Run the new tests.
1174 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1176 * testsuite/gas/sparc/ldtxa.s: New file.
1177 * testsuite/gas/sparc/ldtxa.d: Likewise.
1178 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1180 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1182 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1183 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1184 as it is no longer needed.
1186 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1188 * config/tc-mips.c (append_insn): Remove extraneous
1189 `install_insn' call.
1191 2016-07-04 Jan Beulich <jbeulich@suse.com>
1193 * config/tc-i386.c (check_qword_reg): Correct register kind
1195 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1196 16-bit register cases.
1197 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1200 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1202 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1203 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1204 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1205 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1206 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1207 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1209 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1210 * testsuite/gas/mips/bge.d: Likewise.
1211 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1212 * testsuite/gas/mips/bgeu.d: Likewise.
1213 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1214 * testsuite/gas/mips/blt.d: Likewise.
1215 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1216 * testsuite/gas/mips/bltu.d: Likewise.
1217 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1218 * testsuite/gas/mips/branch-likely.d: Likewise.
1219 * testsuite/gas/mips/la.d: Likewise.
1220 * testsuite/gas/mips/lb.d: Likewise.
1221 * testsuite/gas/mips/lifloat.d: Likewise.
1222 * testsuite/gas/mips/sb.d: Likewise.
1223 * testsuite/gas/mips/uld.d: Likewise.
1224 * testsuite/gas/mips/ulh.d: Likewise.
1225 * testsuite/gas/mips/ulw.d: Likewise.
1226 * testsuite/gas/mips/usd.d: Likewise.
1227 * testsuite/gas/mips/ush.d: Likewise.
1228 * testsuite/gas/mips/usw.d: Likewise.
1230 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1232 * testsuite/gas/mips/branch-misc-2.s: Move non
1233 locally-defined-global symbol tests...
1234 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1235 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1236 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1237 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1238 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1239 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1240 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1241 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1242 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1243 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1244 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1245 * testsuite/gas/mips/branch-misc-5.d: New test.
1246 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1247 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1248 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1249 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1250 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1251 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1252 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1253 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1254 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1255 * testsuite/gas/mips/mips.exp: Run the new tests.
1257 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1259 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1261 * testsuite/gas/mips/beq.d: Update accordingly.
1262 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1263 * testsuite/gas/mips/micromips@beq.d: Likewise.
1265 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1267 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1268 tests to NewABI targets.
1270 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1272 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1275 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1277 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1279 (aarch64_features): Initialize require fields.
1280 (aarch64_parse_features): Handle dependencies.
1281 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1282 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1283 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1284 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1285 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1287 2016-07-01 Nick Clifton <nickc@redhat.com>
1289 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1290 extremely large integer.
1292 2016-07-01 Jan Beulich <jbeulich@suse.com>
1294 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1296 2016-07-01 Tristan Gingold <gingold@adacore.com>
1298 * NEWS: Add marker for 2.27.
1300 2016-07-01 Jan Beulich <jbeulich@suse.com>
1302 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1304 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1305 as well as scaling by other than 1 tests.
1306 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1308 2016-07-01 Jan Beulich <jbeulich@suse.com>
1310 * tc-i386.c (md_assemble): Alter address size checking for MPX
1312 * testsuite/gas/i386/mpx-inval-2.s: New.
1313 * testsuite/gas/i386/mpx-inval-2.l: New.
1314 * testsuite/gas/i386/i386.exp: Run new test.
1316 2016-07-01 Jan Beulich <jbeulich@suse.com>
1319 * config/tc-i386.c (match_template): Add char parameter,
1320 consumed in Intel mode for an extra suffix check.
1321 (md_assemble): New local variable mnem_suffix.
1322 * testsuite/gas/i386/suffix-bad.s: New.
1323 * testsuite/gas/i386/suffix-bad.l: New.
1324 * testsuite/gas/i386/i386.exp: Run new test (twice).
1326 2016-07-01 Jan Beulich <jbeulich@suse.com>
1328 * testsuite/gas/i386/movz.s: New.
1329 * testsuite/gas/i386/movz32.d: New.
1330 * testsuite/gas/i386/movz64.d: New.
1331 * testsuite/gas/i386/i386.exp: Run new tests.
1333 2016-07-01 Jan Beulich <jbeulich@suse.com>
1335 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1336 (md_assemble): Free first memory operand string.
1337 (i386_index_check): Use repprefixok to distingush xlat from
1338 other (real) string ops.
1339 (maybe_adjust_templates): New.
1340 (i386_att_operand). Call it. Store first memory operand string.
1341 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1342 * testsuite/gas/i386/intel-movs.s: New.
1343 * testsuite/gas/i386/intel-movs32.d: New.
1344 * testsuite/gas/i386/intel-movs64.d: New.
1345 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1346 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1348 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1350 * config/tc-mips.c (get_append_method): Fix a comment typo.
1352 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1353 Maciej W. Rozycki <macro@imgtec.com>
1355 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1356 case MIPS16 handling.
1357 * testsuite/gas/mips/branch-swap-3.d: New test.
1358 * testsuite/gas/mips/branch-swap-4.d: New test.
1359 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1360 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1361 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1362 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1363 * testsuite/gas/mips/branch-swap-3.s: New test source.
1364 * testsuite/gas/mips/mips.exp: Run the new tests.
1366 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1368 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1371 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1374 * write.c (subsegs_finish_section): Force no section padding to
1375 alignment on failed assembly, always set last frag's alignment
1377 * testsuite/gas/all/pr20312.l: New list test.
1378 * testsuite/gas/all/pr20312.s: New test source.
1379 * testsuite/gas/all/gas.exp: Run the new test
1381 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1383 * config.in (TARGET_WITH_CPU): Undefine.
1384 * configure.ac: Add --with-cpu support, and define in config.h.
1385 * configure: Regenerate.
1386 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1387 * NEWS: Mention new configure option.
1389 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1391 * testsuite/gas/arm/armv8_2+rdma.d: New.
1393 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1395 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1396 default for Linux/x86 targets.
1397 * configure.tgt (ac_default_compressed_debug_sections): Default
1398 to yes for Linux/x86 targets.
1400 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1402 * write.c: Remove "libbfd.h" inclusion.
1404 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1406 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1409 2016-06-28 Alan Modra <amodra@gmail.com>
1412 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1414 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1416 * testsuite/gas/aarch64/diagnostic.s,
1417 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1419 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1421 * config/tc-mips.c (mips16_reloc_p): Handle
1422 BFD_RELOC_MIPS16_16_PCREL_S1.
1423 (b_reloc_p): Likewise.
1424 (limited_pcrel_reloc_p): Likewise.
1425 (md_pcrel_from): Likewise.
1426 (md_apply_fix): Likewise.
1427 (tc_gen_reloc): Likewise.
1428 (md_convert_frag): Likewise.
1429 (mips_fix_adjustable): Update comment.
1430 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1431 output, add dump patterns.
1432 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1433 output, add dump patterns.
1434 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1435 output, add dump patterns.
1436 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1437 output, add dump patterns.
1438 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1439 output, add dump patterns.
1440 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1441 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1442 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1443 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1444 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1445 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1446 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1447 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1448 * testsuite/gas/mips/branch-weak-6.d: New test.
1449 * testsuite/gas/mips/branch-weak-7.d: New test.
1450 * testsuite/gas/mips/mips.exp: Run the new tests.
1452 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1454 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1455 cfi_add_CFA_def_cfa to generate default CFA with offset
1456 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1458 2016-06-27 Nick Clifton <nickc@redhat.com>
1461 * as.h (do_not_pad_sections_to_alignment): New global variable.
1462 * as.c (show_usage): Add --no-pad-sections.
1463 (parse_args): Likewise.
1464 * write.c (size_seg): Skip padding the end of the section if
1465 requested from the command line.
1466 (SUB_SEGMENT_ALIGN): Likewise.
1467 * doc/as.texinfo: Document the new option.
1468 * NEWS: Mention the new feature.
1469 * testsuite/gas/elf/section11.s: New test.
1470 * testsuite/gas/elf/section11.d: New test driver.
1471 * testsuite/gas/elf/elf.exp: Run the new test.
1473 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1475 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1476 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1478 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1480 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1482 (map_suffix_reloc_to_operator): Likewise.
1483 (map_operator_to_reloc): Likewise.
1485 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1487 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1488 element in relax_table.
1490 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1492 * config/tc-aarch64.c: Make the type of reg_entry::type
1495 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1497 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1498 (md_parse_option): Adjust.
1499 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1500 with iteration from 0 to ARRAY_SIZE.
1501 * config/tc-mcore.c (md_begin): Likewise.
1502 * config/tc-visium.c (visium_parse_arch): Likewise.
1504 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1506 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1507 and simplify accordingly.
1508 (tic54x_include): Adjust.
1509 (tic54x_mlib): Likewise.
1511 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1513 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1515 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1517 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1518 unchanged with relaxed MIPS16 instructions.
1519 (mips16_extended_frag): Adjust accordingly. Return 1 right
1520 away if a relocation will be required for the symbol requested.
1521 Remove dead first relaxation pass code.
1522 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1523 (md_convert_frag): Adjust symbol value calculation. Raise an
1524 error if a relocation is required for the symbol requested.
1525 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1527 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1528 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1529 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1530 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1531 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1532 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1533 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1534 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1535 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1536 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1537 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1538 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1539 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1540 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1541 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1542 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1543 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1544 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1545 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1546 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1547 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1548 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1549 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1550 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1551 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1552 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1553 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1554 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1555 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1556 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1557 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1558 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1559 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1560 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1561 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1562 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1563 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1564 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1565 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1566 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1567 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1568 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1569 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1570 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1571 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1572 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1573 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1574 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1575 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1576 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1577 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1578 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1579 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1580 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1581 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1582 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1583 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1584 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1585 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1586 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1587 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1588 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1589 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1590 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1591 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1592 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1593 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1594 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1595 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1596 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1597 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1598 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1599 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1600 * testsuite/gas/mips/mips.exp: Run the new tests.
1602 2016-06-24 Alan Modra <amodra@gmail.com>
1604 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1606 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1608 * config/tc-mips.c (b_reloc_p): New function.
1609 (mips_fix_adjustable): Also keep the original microMIPS symbol
1610 referred from branch relocations.
1611 * testsuite/gas/mips/branch-local-1.d: New test.
1612 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1613 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1614 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1616 * testsuite/gas/mips/branch-local-1.s: New test source.
1617 * testsuite/gas/mips/mips.exp: Run the new cases.
1619 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1621 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1622 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1623 options. Correct erroneous enabling of SPFP instructions when
1626 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1628 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1629 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1630 setbool, xor3>: New tests.
1631 * testsuite/gas/ppc/power9.s: Likewise.
1633 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1635 * config/tc-xtensa.c: Include elf/xtensa.h.
1637 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1639 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1640 <BFD_RELOC_LO16_PCREL>: New switch cases.
1641 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1642 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1643 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1644 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1646 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1647 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1648 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1649 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1650 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1651 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1652 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1653 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1654 * testsuite/gas/mips/mips.exp: Run the new tests.
1656 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1658 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1659 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1660 via `fixP->fx_addsy'.
1662 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1664 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1665 Calculate relocation from the containing aligned doubleword.
1666 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1667 addend from the containing aligned doubleword.
1669 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1671 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1672 rather than `mips_opts' for the R6 ISA check.
1673 (mips_fix_adjustable): Likewise.
1674 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1675 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1676 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1677 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1678 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1679 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1680 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1681 * testsuite/gas/mips/mips.exp: Run the new tests.
1683 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1685 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1686 Add nps400 option and feature. Add check for nps400
1687 feature. Refactor existing checks to check subclass before
1689 (md_show_usage): Document flags for NPS-400 and add some other
1691 (cpu_type): Remove nps400 CPU type entry
1692 (check_zol): Remove bfd_mach_arc_nps400 case.
1693 (md_show_usage): Add help on -mcpu=nps400.
1694 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1696 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1697 -fpuda flags. Document -mcpu=nps400.
1698 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1699 expected flags to match ARC700 instead of NPS400.
1700 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1701 * testsuite/gas/arc/nps-400-2.d: Likewise.
1702 * testsuite/gas/arc/nps-400-3.d: Likewise.
1703 * testsuite/gas/arc/nps-400-4.d: Likewise.
1704 * testsuite/gas/arc/nps-400-5.d: Likewise.
1705 * testsuite/gas/arc/nps-400-6.d: Likewise.
1706 * testsuite/gas/arc/nps-400-7.d: Likewise.
1707 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1708 avoid clash with cbba instruction.
1709 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1710 * testsuite/gas/arc/textinsn3op.d: Likewise.
1711 * testsuite/gas/arc/textinsn3op.s: Likewise.
1712 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1713 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1715 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1717 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1718 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1720 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1722 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1725 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1727 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1729 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1731 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1732 %hmcddfr and %hva_mask_nz.
1733 (sparc_ip): New handling of asr/privileged/hyperprivileged
1734 registers, adapted to the new form of the sparc opcodes table.
1735 * testsuite/gas/sparc/rdasr.s: New file.
1736 * testsuite/gas/sparc/rdasr.d: Likewise.
1737 * testsuite/gas/sparc/wrasr.s: Likewise.
1738 * testsuite/gas/sparc/wrasr.d: Likewise.
1739 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1741 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1742 registers require it.
1743 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1744 registers and write instruction modalities.
1745 * testsuite/gas/sparc/wrpr.d: Likewise.
1746 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1748 * testsuite/gas/sparc/rdhpr.d: Likewise.
1749 * testsuite/gas/sparc/wrhpr.s: Likewise.
1750 * testsuite/gas/sparc/wrhpr.d: Likewise.
1752 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1754 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1755 architectures to use the right opcode architecture.
1756 (sparc_md_end): Handle v9{c,d,e,v,m}.
1757 (sparc_ip): Fix some comments.
1758 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1759 instruction, which is v9d.
1760 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1761 instruction from the test, as %mwait is not readable.
1762 * testsuite/gas/sparc/mwait.d: Likewise.
1763 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1764 mismatch architecture errors.
1765 * testsuite/gas/sparc/mism-2.s: New file.
1767 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1769 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1770 empty string to mark the end of the array.
1771 (hpriv_reg_table): Likewise.
1772 (v9a_asr_table): Likewise.
1773 (cmp_reg_entry): Handle entries with NULL names.
1775 (F_POP_PCREL): Likewise.
1776 (F_POP_TLS_CALL): Likewise.
1777 (F_POP_POSTFIX): Likewise.
1778 (struct pop_entry): New type.
1779 (pop_table): New variable.
1780 (enum pop_entry_type): New type.
1781 (struct perc_entry): Likewise.
1782 (NUM_PERC_ENTRIES): Define.
1783 (perc_table): New variable.
1784 (cmp_perc_entry): New function.
1785 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1787 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1788 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1791 2016-06-15 Nick Clifton <nickc@redhat.com>
1793 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1795 * config/tc-mcore.c (md_assemble): Likewise.
1796 * config/tc-mn10200.c (md_assemble): Likewise.
1797 * config/tc-moxie.c (md_assemble): Likewise.
1798 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1799 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1800 exception targets. Add alpha, hppa, microblaze and rl78 to list
1802 (forward): Add microblaze to list of exceptions.
1803 (fwdexp): Add alpha to list of exceptions.
1804 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1805 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1806 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1807 mn10200 to list of exceptions.
1808 (align2): Expect to fail for nds32.
1809 (cond): Add alpha and rl78 to list of exceptions.
1810 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1811 * testsuite/gas/all/string.d: Skip for tic4x.
1812 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1813 target does not support ELF.
1814 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1815 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1816 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1817 tests for sh-pe and sh-rtemscoff targets.
1818 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1820 (type): Run the noifunc version for alpha-freebsd and visium.
1821 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1822 mn10200 or moxie targets.
1823 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1824 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1826 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1827 mcore and rx targets.
1828 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1830 (purge): Expect to fail on the ns32k and vax.
1831 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1832 * testsuite/gas/nds32/ls.d: Likewise.
1833 * testsuite/gas/nds32/sys-reg.d: Likewise.
1834 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1835 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1836 * testsuite/gas/pe/section-align-3.d: Likewise.
1837 * testsuite/gas/pe/section-exclude.d: Likewise.
1838 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1840 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1841 for variations in whitespace.
1842 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1844 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1845 Installs a 32-bit value without generating warnings on 64-bit
1847 Use the new macro to replace the .word directives.
1849 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1851 * testsuite/gas/arc/add_s.d: New file.
1852 * testsuite/gas/arc/add_s.s: New file.
1854 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1856 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1857 * testsuite/gas/arc/nps400-6.d: Likewise.
1859 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1861 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1863 * testsuite/gas/arc/nps400-6.d: Likewise.
1865 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1867 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1868 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1869 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1870 * testsuite/gas/arc/nps400-6.d: Likewise.
1872 2016-06-14 Nick Clifton <nickc@redhat.com>
1874 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1877 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1879 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1880 JALR relocations on R6.
1881 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1882 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1883 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1884 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1885 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1886 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1888 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1889 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1891 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1892 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1894 * testsuite/gas/mips/mips.exp: Run the new tests.
1896 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1898 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1899 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1902 2016-06-13 Nick Clifton <nickc@redhat.com>
1904 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1905 that are not supported.
1907 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1909 * config/tc-cr16.c (check_range): Likewise.
1910 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1912 2016-06-08 Renlin Li <renlin.li@arm.com>
1914 * config/tc-aarch64.c (print_operands): Substitute size.
1915 (output_operand_error_record): Likewise.
1917 2016-06-07 Alan Modra <amodra@gmail.com>
1919 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1920 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1921 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1922 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1923 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1924 add vle_opcodes twice.
1925 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1927 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1929 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1930 (arm_ext_ras): Renamed from arm_ext_v8_2.
1931 (insns): Update for arm_ext_v8_2 renaming.
1932 (arm_extensions): Add "ras".
1933 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1934 * testsuite/gas/arm/armv8-a+ras.d: New.
1935 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1938 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1940 * itbl-parse.y (yyerror): Use modern argument declaration style.
1942 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1944 * config/tc-sh.c (parse_reg): Change type of mode argument to
1946 (get_operand): Adjust.
1947 (insert): Change type of how to bfd_reloc_code_real_type.
1948 (insert4): Likewise.
1949 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1950 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1952 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1954 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1957 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1960 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1961 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1962 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1963 * gas/testsuite/gas/ppc/power8.s: Likewise.
1964 * gas/testsuite/gas/ppc/power8.d: Likewise.
1965 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1967 * gas/testsuite/gas/ppc/power4.d: Likewise.
1969 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1972 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1973 * testsuite/gas/i386/x86-64-branch.d: Updated.
1974 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1975 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1976 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1978 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1980 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1981 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1983 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1985 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1986 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1988 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1990 * configure.tgt: Replace -uclibc with *.
1992 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1994 * config/tc-arc.c (parse_opcode_flags): New function.
1995 (find_opcode_match): Move flag parsing code out to new function.
1996 Ignore operands marked IGNORE.
1997 (build_fake_opcode_hash_entry): New function.
1998 (find_special_case_long_opcode): New function.
1999 (find_special_case): Lookup long opcodes.
2000 * testsuite/gas/arc/nps400-7.d: New file.
2001 * testsuite/gas/arc/nps400-7.s: New file.
2003 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2005 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2007 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2009 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2010 sentinal with iteration to array size.
2012 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2014 * config/xtensa-relax.h: Move typedefs of enums to the enums
2017 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2019 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2022 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2024 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2025 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2026 * testsuite/gas/arc/nps-400-1.d: Likewise.
2028 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2031 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2032 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2033 noavx512ifma and noavx512vbmi.
2034 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2035 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2037 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2038 * testsuite/gas/i386/noavx512-1.l: New file.
2039 * testsuite/gas/i386/noavx512-1.s: Likewise.
2040 * testsuite/gas/i386/noavx512-2.l: Likewise.
2041 * testsuite/gas/i386/noavx512-2.s: Likewise.
2043 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2046 * config/tc-i386.c (cpu_arch): Add 687.
2047 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2048 nosse4.1, nosse4.2, nosse4 and noavx2.
2049 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2050 register. Check cpuregxmm instead of cpusse for XMM register.
2051 Check cpuregymm instead of cpuavx for YMM register. Check
2052 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2053 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2054 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2055 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2056 * testsuite/gas/i386/arch-10.d (as): Likewise.
2057 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2058 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2059 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2061 * testsuite/gas/i386/no87-3.l: New file.
2062 * testsuite/gas/i386/no87-3.s: Likewise.
2063 * testsuite/gas/i386/noavx-3.l: Likewise.
2064 * testsuite/gas/i386/noavx-3.s: Likewise.
2065 * testsuite/gas/i386/noavx-4.d: Likewise.
2066 * testsuite/gas/i386/noavx-4.s: Likewise.
2067 * testsuite/gas/i386/nosse-4.l: Likewise.
2068 * testsuite/gas/i386/nosse-4.s: Likewise.
2069 * testsuite/gas/i386/nosse-5.d: Likewise.
2070 * testsuite/gas/i386/nosse-5.s: Likewise.
2072 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2075 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2077 (match_template): Check Intel64/AMD64 ISA.
2079 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2082 * config/tc-i386.c (intel64): New.
2083 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2084 (md_parse_option): Set intel64 instead of cpuamd64 and
2087 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2089 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2092 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2094 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2095 * testsuite/gas/ppc/altivec3.s: Likewise.
2096 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2097 * testsuite/gas/ppc/power9.s: Likewise.
2099 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2101 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2102 * testsuite/gas/i386/noavx-1.l: Likewise.
2103 * testsuite/gas/i386/nommx-1.l: Likewise.
2104 * testsuite/gas/i386/nosse-1.l: Likewise.
2105 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2106 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2107 * testsuite/gas/i386/noavx-1.s: Likewise.
2108 * testsuite/gas/i386/nommx-1.s: Likewise.
2109 * testsuite/gas/i386/nosse-1.s: Likewise.
2110 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2112 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2114 * config/tc-metag.c (metag_handle_align): Make the type of noop
2117 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2119 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2120 bfd_reloc_code_real_type.
2122 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2125 * config/tc-i386.c (cpu_flags_match): Require another match
2127 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2128 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2129 * testsuite/gas/i386/avx512vl-1.l: New file.
2130 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2131 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2132 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2133 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2134 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2135 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2136 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2138 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2141 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2142 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2143 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2145 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2147 * config/tc-i386.c (arch_entry): Remove negated.
2148 (noarch_entry): New struct.
2149 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2151 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2152 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2154 (output_message): New function.
2155 (show_arch): Use it. Handle cpu_noarch.
2156 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2157 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2158 * testsuite/gas/i386/noavx-1.l: New file.
2159 * testsuite/gas/i386/noavx-1.s: Likewise.
2160 * testsuite/gas/i386/noavx-2.s: Likewise.
2161 * testsuite/gas/i386/noavx-2.l: Likewise.
2162 * testsuite/gas/i386/nommx-1.s: Likewise.
2163 * testsuite/gas/i386/nommx-1.l: Likewise.
2164 * testsuite/gas/i386/nommx-2.s: Likewise.
2165 * testsuite/gas/i386/nommx-2.l: Likewise.
2166 * testsuite/gas/i386/nommx-3.s: Likewise.
2167 * testsuite/gas/i386/nommx-3.l: Likewise.
2168 * testsuite/gas/i386/nosse-1.s: Likewise.
2169 * testsuite/gas/i386/nosse-1.l: Likewise.
2170 * testsuite/gas/i386/nosse-2.s: Likewise.
2171 * testsuite/gas/i386/nosse-2.l: Likewise.
2172 * testsuite/gas/i386/nosse-3.s: Likewise.
2173 * testsuite/gas/i386/nosse-3.l: Likewise.
2175 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2178 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2179 instruction if supported by the currently selected fpu variant.
2180 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2181 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2183 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2185 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2186 jump relocations against MIPS16 or microMIPS symbols on RELA
2188 * testsuite/gas/mips/jalx-local.d: New test.
2189 * testsuite/gas/mips/jalx-local-n32.d: New test.
2190 * testsuite/gas/mips/jalx-local-n64.d: New test.
2191 * testsuite/gas/mips/jalx-local.s: New test source.
2192 * testsuite/gas/mips/mips.exp: Run the new tests.
2194 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2196 * config/tc-mips.c (md_apply_fix)
2197 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2200 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2202 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2203 operator to operatorT.
2204 (map_suffix_reloc_to_operator): Change return type to operatorT.
2206 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2208 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2210 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2212 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2213 handler_charp to const char *.
2215 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2217 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2218 (ft32_target_format): Likewise.
2219 (TARGET_FORMAT): Adjust.
2221 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2223 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2224 (ia64_frob_label): Likewise.
2226 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2228 * config/tc-cr16.c (check_range): Make type of retval op_err.
2229 * config/tc-crx.c: Likewise.
2231 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2233 * config/tc-arc.c (md_begin): Add XY registers.
2234 (cpu_types): Code density is default off for ARC EM.
2236 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2238 * config/tc-arc.c (attributes_t): Renamed attribute class to
2240 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2242 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2244 * configuse.tgt: Add entry for arm-phoenix.
2246 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2248 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2250 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2252 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2254 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2256 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2257 (md_begin): Likewise.
2258 (encode_condition): Likewise.
2259 (encode_cc3): Likewise.
2260 (encode_cc2): Likewise.
2261 (encode_operand): Likewise.
2262 (tic54x_undefined_symbol): Likewise.
2264 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2266 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2268 * doc/c-mips.texi: Document p6600 -march option.
2270 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2273 * config/tc-i386.c (md_apply_fix): Preserve addend for
2274 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2275 * testsuite/gas/i386/addend.d: New file.
2276 * testsuite/gas/i386/addend.s: Likewise.
2277 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2278 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2279 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2280 * testsuite/gas/i386/reloc32.d: Updated.
2282 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2284 * config/tc-mips.c (append_insn): Correct the encoding of a
2285 constant argument for microMIPS JALX.
2286 (tc_gen_reloc): Correct the encoding of an in-place addend for
2288 * testsuite/gas/mips/jalx-addend.d: New test.
2289 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2290 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2291 * testsuite/gas/mips/jalx-imm.d: New test.
2292 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2293 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2294 * testsuite/gas/mips/jalx-addend.s: New test source.
2295 * testsuite/gas/mips/jalx-imm.s: New test source.
2296 * testsuite/gas/mips/mips.exp: Run the new tests.
2298 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2300 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2303 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2305 * config/tc-arc.c (find_opcode_match): Remove casting away of
2307 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2309 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2311 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2313 (md_convert_frag): Likewise.
2315 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2317 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2318 cached opcode to NULL when we reach a non-matching opcode.
2319 * testsuite/gas/arc/asm-errors-2.d: New file.
2320 * testsuite/gas/arc/asm-errors-2.err: New file.
2321 * testsuite/gas/arc/asm-errors-2.s: New file.
2323 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2325 * config/tc-arc.c (tokenize_arguments): Add checks for array
2327 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2328 * testsuite/gas/arc/asm-errors.err: Update expected results.
2330 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2332 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2333 int to enum rx_cpu_types.
2335 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2337 * config/tc-dlx.c (struct machine_it): change the type of a field from
2338 int to bfd_reloc_code_real_type.
2339 * config/tc-tic4x.c: Likewise.
2341 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2343 * config/tc-v850.c (v850_target_arch): change type to enum
2345 * config/tc-v850.h (v850_target_arch): Likewise.
2347 2016-05-18 Alan Modra <amodra@gmail.com>
2349 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2350 allowed negative range.
2351 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2352 * testsuite/gas/ppc/power9.d: Update.
2354 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2356 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2357 disassembling and stop skipping targets.
2358 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2359 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2360 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2361 instruction for targets that have stronger alignment requirement.
2362 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2363 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2364 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2365 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2366 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2367 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2368 * testsuite/gas/arm/archv8m-main.d: Likewise.
2369 * testsuite/gas/arm/archv8m.s: Add label.
2370 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2371 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2372 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2374 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2376 * config/tc-m32r.c (mach_table): Make static and const.
2378 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2380 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2383 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2385 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2387 * config/tc-msp430.c (md_begin): Likewise.
2389 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2391 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2392 bfd_reloc_code_real_type where appropriate.
2393 (fixup16): Likewise.
2394 (fixup8_xg): Likewise.
2396 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2398 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2400 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2402 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2403 * testsuite/gas/ppc/power9.s: Likewise.
2405 2016-05-13 Alan Modra <amodra@gmail.com>
2407 * config/obj-coff.c (weak_uniquify): Delete unused var.
2409 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2411 * app.c (app_push): Use XNEW and related macros.
2412 * as.c (parse_args): Likewise.
2413 * cgen.c (make_right_shifted_expr): Likewise.
2414 (gas_cgen_tc_gen_reloc): Likewise.
2415 * config/bfin-defs.h: Likewise.
2416 * config/bfin-parse.y: Likewise.
2417 * config/obj-coff.c (stack_init): Likewise.
2418 (stack_push): Likewise.
2419 (coff_obj_symbol_new_hook): Likewise.
2420 (coff_obj_symbol_clone_hook): Likewise.
2421 (add_lineno): Likewise.
2422 (coff_frob_symbol): Likewise.
2423 * config/obj-elf.c (obj_elf_section_name): Likewise.
2424 (build_group_lists): Likewise.
2425 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2426 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2427 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2428 (find_or_make_literal_pool): Likewise.
2429 (add_to_lit_pool): Likewise.
2430 (fill_instruction_hash_table): Likewise.
2431 * config/tc-alpha.c (load_expression): Likewise.
2432 (emit_jsrjmp): Likewise.
2433 (s_alpha_ent): Likewise.
2434 (s_alpha_end): Likewise.
2435 (s_alpha_linkage): Likewise.
2436 (md_begin): Likewise.
2437 (tc_gen_reloc): Likewise.
2438 * config/tc-arc.c (arc_insert_opcode): Likewise.
2439 (arc_extcorereg): Likewise.
2440 * config/tc-bfin.c: Likewise.
2441 * config/tc-cr16.c: Likewise.
2442 * config/tc-cris.c: Likewise.
2443 * config/tc-crx.c (preprocess_reglist): Likewise.
2444 * config/tc-d10v.c: Likewise.
2445 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2446 (frv_tomcat_shuffle): Likewise.
2447 * config/tc-h8300.c: Likewise.
2448 * config/tc-i370.c (i370_macro): Likewise.
2449 * config/tc-i386.c (lex_got): Likewise.
2450 (md_parse_option): Likewise.
2451 * config/tc-ia64.c (alloc_record): Likewise.
2452 (set_imask): Likewise.
2453 (save_prologue_count): Likewise.
2454 (dot_proc): Likewise.
2455 (dot_endp): Likewise.
2456 (ia64_frob_label): Likewise.
2457 (add_qp_imply): Likewise.
2458 (add_qp_mutex): Likewise.
2459 (mark_resource): Likewise.
2460 (dot_alias): Likewise.
2461 * config/tc-m68hc11.c: Likewise.
2462 * config/tc-m68k.c (m68k_frob_label): Likewise.
2464 (mri_control_label): Likewise.
2465 (push_mri_control): Likewise.
2466 (build_mri_control_operand): Likewise.
2467 (s_mri_else): Likewise.
2468 (s_mri_break): Likewise.
2469 (s_mri_next): Likewise.
2470 (s_mri_for): Likewise.
2471 (s_mri_endw): Likewise.
2472 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2473 * config/tc-microblaze.c: Likewise.
2474 * config/tc-mmix.c (s_loc): Likewise.
2475 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2476 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2477 * config/tc-rl78.c: Likewise.
2478 * config/tc-rx.c (rx_include): Likewise.
2479 * config/tc-sh.c: Likewise.
2480 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2481 * config/tc-sparc.c: Likewise.
2482 * config/tc-spu.c: Likewise.
2483 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2484 (tic6x_start_unwind_section): Likewise.
2485 * config/tc-tilegx.c: Likewise.
2486 * config/tc-tilepro.c: Likewise.
2487 * config/tc-v850.c: Likewise.
2488 * config/tc-visium.c: Likewise.
2489 * config/tc-xgate.c: Likewise.
2490 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2491 (new_resource_table): Likewise.
2492 (resize_resource_table): Likewise.
2493 (xtensa_create_trampoline_frag): Likewise.
2494 (xtensa_maybe_create_literal_pool_frag): Likewise.
2495 (cache_literal_section): Likewise.
2496 * config/xtensa-relax.c (append_transition): Likewise.
2497 (append_condition): Likewise.
2498 (append_value_condition): Likewise.
2499 (append_constant_value_condition): Likewise.
2500 (append_literal_op): Likewise.
2501 (append_label_op): Likewise.
2502 (append_constant_op): Likewise.
2503 (append_field_op): Likewise.
2504 (append_user_fn_field_op): Likewise.
2505 (enter_opname_n): Likewise.
2506 (enter_opname): Likewise.
2507 (split_string): Likewise.
2508 (parse_insn_templ): Likewise.
2509 (clone_req_or_option_list): Likewise.
2510 (clone_req_option_list): Likewise.
2511 (parse_option_cond): Likewise.
2512 (parse_insn_pattern): Likewise.
2513 (parse_insn_repl): Likewise.
2514 (build_transition): Likewise.
2515 (build_transition_table): Likewise.
2516 * dw2gencfi.c (alloc_fde_entry): Likewise.
2517 (alloc_cfi_insn_data): Likewise.
2518 (cfi_add_CFA_remember_state): Likewise.
2519 (dot_cfi_escape): Likewise.
2520 (dot_cfi_fde_data): Likewise.
2521 (select_cie_for_fde): Likewise.
2522 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2523 * ecoff.c (ecoff_add_bytes): Likewise.
2524 (ecoff_build_debug): Likewise.
2525 * input-scrub.c (input_scrub_push): Likewise.
2526 (input_scrub_begin): Likewise.
2527 (input_scrub_next_buffer): Likewise.
2528 * itbl-ops.c (append_insns_as_macros): Likewise.
2529 (alloc_entry): Likewise.
2530 (alloc_field): Likewise.
2531 * listing.c (listing_newline): Likewise.
2532 (listing_listing): Likewise.
2533 * macro.c (get_any_string): Likewise.
2534 (delete_macro): Likewise.
2535 * stabs.c (generate_asm_file): Likewise.
2536 (stabs_generate_asm_lineno): Likewise.
2537 * subsegs.c (subseg_change): Likewise.
2538 (subseg_get): Likewise.
2539 * symbols.c (define_dollar_label): Likewise.
2540 (symbol_relc_make_sym): Likewise.
2541 * write.c (write_relocs): Likewise.
2543 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2545 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2546 (weak_name2altname): Likewise.
2547 (weak_uniquify): Likewise.
2548 (obj_coff_section): Likewise.
2549 (obj_coff_init_stab_section): Likewise.
2550 * config/obj-elf.c (obj_elf_section_name): Likewise.
2551 (obj_elf_init_stab_section): Likewise.
2552 * config/obj-evax.c (evax_shorten_name): Likewise.
2553 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2554 * config/tc-aarch64.c (create_register_alias): Likewise.
2555 * config/tc-alpha.c (load_expression): Likewise.
2556 (s_alpha_file): Likewise.
2557 (s_alpha_section_name): Likewise.
2558 (tc_gen_reloc): Likewise.
2559 * config/tc-arc.c (md_assemble): Likewise.
2560 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2561 (start_unwind_section): Likewise.
2562 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2563 (hppa_elf_mark_end_of_function): Likewise.
2564 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2565 (nios2_negate_arg): Likewise.
2566 * config/tc-rx.c (rx_section): Likewise.
2567 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2568 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2569 * config/tc-tic54x.c (tic54x_include): Likewise.
2570 (tic54x_macro_info): Likewise.
2571 (subsym_get_arg): Likewise.
2572 (subsym_substitute): Likewise.
2573 (tic54x_start_line_hook): Likewise.
2574 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2575 (xg_reverse_shift_count): Likewise.
2576 * config/xtensa-relax.c (enter_opname_n): Likewise.
2577 (split_string): Likewise.
2578 * dwarf2dbg.c (get_filenum): Likewise.
2579 (process_entries): Likewise.
2580 * expr.c (operand): Likewise.
2581 * itbl-ops.c (alloc_entry): Likewise.
2582 * listing.c (listing_message): Likewise.
2583 (listing_title): Likewise.
2584 * macro.c (check_macro): Likewise.
2585 * stabs.c (s_xstab): Likewise.
2586 * symbols.c (symbol_relc_make_expr): Likewise.
2587 * write.c (compress_debug): Likewise.
2589 2016-05-12 Nick Clifton <nickc@redhat.com>
2592 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2594 2016-05-11 Nick Clifton <nickc@redhat.com>
2597 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2598 big endian ARM configurations.
2600 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2601 Matthew Fortune <matthew.fortune@imgtec.com>
2603 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2605 (md_longopts): Likewise.
2606 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2607 (mips_ases): Define availability for DSPr3.
2608 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2609 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2610 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2612 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2613 .set nodspr3. Fix -mdspr2 formatting.
2614 * testsuite/gas/mips/mips32-dspr3.d: New file.
2615 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2616 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2618 2016-05-11 Nick Clifton <nickc@redhat.com>
2621 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2622 to the pool uses O_constant.
2623 * testsuite/gas/arm/pr20068.s: New test.
2624 * testsuite/gas/arm/pr20068.d: Test driver.
2626 2016-05-11 Nick Clifton <nickc@redhat.com>
2628 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
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-base.d: Likewise.
2632 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2633 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2634 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2635 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2636 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2638 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2640 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2641 * testsuite/gas/i386/prefix.d: Adjust.
2642 * testsuite/gas/i386/rdpid.s: New test.
2643 * testsuite/gas/i386/rdpid.d: Ditto.
2644 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2645 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2646 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2647 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2649 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2651 * config/tc-i386.c (cpu_arch): Add RDPID.
2652 * doc/c-i386.texi: Document RDPID.
2654 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2656 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2657 set branch type of a symbol.
2659 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2661 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2662 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2664 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2665 (aeabi_set_public_attributes): Memorize the feature bits of the
2666 architecture selected for Tag_CPU_arch. Use it to set
2667 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2668 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2669 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2670 * testsuite/gas/arm/arch7em-bad-1.d: This.
2671 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2672 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2673 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2674 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2675 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2676 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2677 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2678 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2680 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2682 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2683 allowed_archs an array with 2 entries.
2684 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2685 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2686 (arm_extensions): Use separate entries in allowed_archs when several
2687 archs are allowed to use an extension and change ARCH_ANY in
2688 ARM_ARCH_NONE in allowed_archs.
2689 (arm_parse_extension): Check that, for each allowed_archs entry, all
2690 bits are set in the current architecture, ignoring ARM_ANY entries.
2691 (s_arm_arch_extension): Likewise.
2693 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2695 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2696 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2697 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2698 shared with a non M profile architecture.
2699 (do_rn): New function.
2700 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2702 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2703 (insns): Add ARMv8-M Security Extensions instructions.
2704 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2705 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2706 * testsuite/gas/arm/archv8m-cmse.s: New file.
2707 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2708 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2709 * testsuite/gas/arm/any-cmse.d: Likewise.
2710 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2711 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2712 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2713 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2714 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2715 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2717 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2719 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2720 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2722 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2724 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2725 (fpu_arch_vfp_v3): Likewise.
2726 (fpu_arch_neon_v1): Likewise.
2727 (arm_arch_full): Likewise.
2728 (parse_neon_el_struct_list): Initialize fields of firsttype.
2730 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2732 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2733 (arc_extinsn): Handle new introduced syntax.
2734 * testsuite/gas/arc/textinsn1op.d: New file.
2735 * testsuite/gas/arc/textinsn1op.s: Likewise.
2736 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2738 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2740 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2741 DW_LNS_fixed_advance_pc.
2743 2016-04-27 Alan Modra <amodra@gmail.com>
2745 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2746 (xmemdup0): New inline function.
2748 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2750 * config/tc-mips.c (code_option_type): New enum.
2751 (parse_code_option): Return status indicating option type.
2752 (s_mipsset): Update `parse_code_option' call site accordingly.
2753 Always set register sizes from the ISA with ISA overrides.
2754 (s_module): Update `parse_code_option' call site.
2755 * testsuite/gas/mips/isa-override-1.d: New test.
2756 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2757 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2758 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2759 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2760 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2761 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2762 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2763 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2764 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2765 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2766 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2767 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2768 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2769 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2770 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2771 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2772 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2773 * testsuite/gas/mips/isa-override-2.l: New list test.
2774 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2775 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2776 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2777 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2778 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2779 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2780 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2781 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2782 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2783 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2784 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2786 * testsuite/gas/mips/isa-override-1.s: New test source.
2787 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2788 * testsuite/gas/mips/isa-override-2.s: New test source.
2789 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2790 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2791 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2792 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2793 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2794 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2795 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2796 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2797 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2798 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2799 * testsuite/gas/mips/mips.exp: Run the new tests.
2801 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2804 * config/tc-bfin.c: Likewise.
2805 * config/tc-ia64.c: Likewise.
2806 * config/tc-mep.c: Likewise.
2807 * config/tc-metag.c: Likewise.
2808 * config/tc-nios2.c: Likewise.
2809 * config/tc-rl78.c: Likewise.
2811 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2813 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2814 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2815 (ARC Directives): Add NPS400 to .cpu directive list.
2817 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2819 * config/tc-aarch64.c (aarch64_features): Add "ras".
2820 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2821 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2822 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2823 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2824 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2826 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2828 * testsuite/gas/arc/nps400-6.d: New file.
2829 * testsuite/gas/arc/nps400-6.s: New file.
2831 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2833 * testsuite/gas/arc/nps400-4.d: New file.
2834 * testsuite/gas/arc/nps400-4.s: New file.
2835 * testsuite/gas/arc/nps400-5.d: New file.
2836 * testsuite/gas/arc/nps400-5.s: New file.
2838 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2840 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2843 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2845 Revert prevous change.
2846 * config/tc-arc.c (arc_option): Make .cpu directive
2847 case-sensitive again.
2849 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2851 * config/tc-arc.c (arc_option): Make .cpu directive
2854 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2856 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2858 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2860 * config/tc-mips.c (md_begin): Remove useless assignment.
2862 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2864 * Makefile.in: Regenerated with automake 1.11.6.
2865 * aclocal.m4: Likewise.
2866 * doc/Makefile.in: Likewise.
2868 2016-04-15 Alan Modra <amodra@gmail.com>
2870 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2872 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2874 * config/tc-nios2.c (nios2_as_options): Make file static.
2875 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2876 * config/tc-sparc.c (native_op_table): Likewise.
2878 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2880 * config/tc-m32c.c (M32C_Macros): Remove.
2881 * config/tc-msp430.c (option_numbers): Likewise.
2883 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2885 * testsuite/gas/arc/nps400-3.d: New file.
2886 * testsuite/gas/arc/nps400-3.s: New file.
2888 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2890 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2891 * testsuite/gas/arc/warn.s: Likewise.
2892 * testsuite/gas/elf/elf.exp: Run test for arc.
2894 2016-04-14 Nick Clifton <nickc@redhat.com>
2897 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2898 sections possibly having the SHF_STRINGS flag bit set.
2899 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2901 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2903 * config/tc-arc.c (mach_type_specified_p): Change type to
2905 (arc_option): Set private flags when parsing cpu pseudo-op.
2906 (md_parse_option): Set mach_type_specified_p to TRUE.
2908 2016-04-13 Nick Clifton <nickc@redhat.com>
2911 * testsuite/gas/v850/pr19937.s: New test.
2912 * testsuite/gas/v850/pr19937.d: New test control file.
2913 * testsuite/gas/v850/basic.exp: Run the new test.
2915 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2916 Andrew Bennett <andrew.bennett@imgtec.com>
2918 * config/tc-mips.c (relaxed_branch_length): Use the long
2919 sequence where the target is a weak symbol.
2920 (relaxed_micromips_32bit_branch_length): Likewise.
2921 (relaxed_micromips_16bit_branch_length): Likewise.
2922 * testsuite/gas/mips/branch-weak-1.d: New test.
2923 * testsuite/gas/mips/branch-weak-2.d: New test.
2924 * testsuite/gas/mips/branch-weak-3.d: New test.
2925 * testsuite/gas/mips/branch-weak-4.d: New test.
2926 * testsuite/gas/mips/branch-weak-5.d: New test.
2927 * testsuite/gas/mips/branch-weak.l: New stderr output.
2928 * testsuite/gas/mips/branch-weak.s: New test source.
2929 * testsuite/gas/mips/mips.exp: Run the new tests.
2931 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2933 * config/tc-mips.c (relaxed_branch_length): Use the long
2934 sequence where the distance cannot be determined.
2935 (relaxed_micromips_32bit_branch_length): Likewise.
2936 * testsuite/gas/mips/branch-extern-1.d: New test.
2937 * testsuite/gas/mips/branch-extern-2.d: New test.
2938 * testsuite/gas/mips/branch-extern-3.d: New test.
2939 * testsuite/gas/mips/branch-extern-4.d: New test.
2940 * testsuite/gas/mips/branch-extern.l: New stderr output.
2941 * testsuite/gas/mips/branch-extern.s: New test source.
2942 * testsuite/gas/mips/branch-section-1.d: New test.
2943 * testsuite/gas/mips/branch-section-2.d: New test.
2944 * testsuite/gas/mips/branch-section-3.d: New test.
2945 * testsuite/gas/mips/branch-section-4.d: New test.
2946 * testsuite/gas/mips/branch-section.l: New stderr output.
2947 * testsuite/gas/mips/branch-section.s: New test source.
2948 * testsuite/gas/mips/mips.exp: Run the new tests.
2950 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2952 * testsuite/gas/arc/textauxregister.d: New file.
2953 * testsuite/gas/arc/textauxregister.s: Likewise.
2954 * testsuite/gas/arc/textcondcode.d: Likewise.
2955 * testsuite/gas/arc/textcondcode.s: Likewise.
2956 * testsuite/gas/arc/textcoreregister.d: Likewise.
2957 * testsuite/gas/arc/textcoreregister.s: Likewise.
2958 * testsuite/gas/arc/textpseudoop.d: Likewise.
2959 * testsuite/gas/arc/textpseudoop.s: Likewise.
2960 * testsuite/gas/arc/ld2.d: Update test.
2961 * testsuite/gas/arc/st.d: Likewise.
2962 * testsuite/gas/arc/taux.d: Likewise.
2963 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2964 .extCoreRegister and .extAuxRegister documentation.
2965 * config/tc-arc.c (arc_extcorereg): New function.
2966 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2967 .extAuxRegister pseudo-ops.
2968 (extRegister_t): New type.
2969 (ext_condcode, arc_aux_hash): New global variable.
2970 (find_opcode_match): Check for extensions.
2971 (preprocess_operands): Likewise.
2972 (md_begin): Add aux registers in a hash.
2973 (assemble_insn): Update use arc_flags member.
2974 (tokenize_extregister): New function.
2975 (create_extcore_section): Likewise.
2976 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2978 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2980 * testsuite/gas/arc/noargs_a7.d: New file.
2981 * testsuite/gas/arc/noargs_a7.s: Likewise.
2982 * testsuite/gas/arc/noargs_hs.d: Likewise.
2983 * testsuite/gas/arc/noargs_hs.s: Likewise.
2985 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2987 * testsuite/gas/arc/textinsn-errors.d: New File.
2988 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2989 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2990 * testsuite/gas/arc/textinsn2op.d: Likewise.
2991 * testsuite/gas/arc/textinsn2op.s: Likewise.
2992 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2993 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2994 * testsuite/gas/arc/textinsn3op.d: Likewise.
2995 * testsuite/gas/arc/textinsn3op.s: Likewise.
2996 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2998 * config/tc-arc.c (arcext_section): New variable.
2999 (arc_extinsn): New function.
3000 (md_pseudo_table): Add .extInstruction pseudo op.
3001 (attributes_t): New type.
3002 (suffixclass, syntaxclass, syntaxclassmod): New constant
3004 (find_opcode_match): Remove arc_num_opcodes.
3005 (md_begin): Likewise.
3006 (tokenize_extinsn): New function.
3007 (arc_set_ext_seg): Likewise.
3008 (create_extinst_section): Likewise.
3010 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3012 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3013 (arc_adjust_symtab): New function.
3014 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3015 (obj_adjust_symtab): Likewise.
3016 * testsuite/gas/arc/taux.d: New file.
3017 * testsuite/gas/arc/taux.s: Likewise.
3019 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3021 * config/tc-mips.c (s_option): Sanitize `.option picX'
3023 * testsuite/gas/mips/option-pic-1.d: New test.
3024 * testsuite/gas/mips/option-pic-2.l: New list test.
3025 * testsuite/gas/mips/option-pic-1.s: New test source.
3026 * testsuite/gas/mips/option-pic-2.s: New test source.
3027 * testsuite/gas/mips/mips.exp: Run the new tests.
3029 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3031 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3033 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3034 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3035 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3036 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3037 * testsuite/gas/mips/mips.exp: Run the new tests.
3039 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3041 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3043 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3045 * messages.c (as_bad): Fix a typo in description.
3047 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3049 * config/tc-mips.c (mips_check_options): Unify messages.
3051 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3053 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3056 2016-04-08 Nick Clifton <nickc@redhat.com>
3059 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3060 COFF and AOUT sparc targets.
3062 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3064 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3065 * testsuite/gas/arc/nps400-2.d: New file.
3066 * testsuite/gas/arc/nps400-2.s: New file.
3068 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3070 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3072 (arc_opcode_hash_entry_iterator_init): New function.
3073 (arc_opcode_hash_entry_iterator_next): New function.
3074 (find_opcode_match): Iterate over all arc_opcode entries
3075 referenced by the arc_opcode_hash_entry passed in as a parameter.
3077 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3079 * config/tc-arc.c (arc_find_opcode): Now returns
3080 arc_opcode_hash_entry pointer.
3081 (find_opcode_match): Update argument type, extract arc_opcode from
3082 incoming arc_opcode_hash_entry.
3083 (find_special_case_pseudo): Update return type.
3084 (find_special_case_flag): Update return type.
3085 (find_special_case): Update return type.
3086 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3087 instruction mnemonic, then use find_opcode_match to identify
3088 specific arc_opcode.
3090 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3092 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3093 (arc_find_opcode): New function.
3094 (find_special_case_pseudo): Use arc_find_opcode.
3095 (find_special_case_flag): Likewise.
3096 (assemble_tokens): Likewise.
3097 (md_begin): Build hash using struct arc_opcode_hash_entry.
3099 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3101 * config/tc-arc.c (arc_option): Prepare string for automatic
3103 (declare_register): Likewise.
3105 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3107 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3108 Correct entry for RDMA. Alpha sort entries.
3110 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3112 * config/tc-arc.c (tokenize_flags): Allow greater range of
3113 characters into flag names.
3115 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3117 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3119 (preprocess_operands): Delete.
3120 (assemble_tokens): Remove call to preprocess_operands.
3122 2016-04-07 Nick Clifton <nickc@redhat.com>
3125 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3126 inside a %-macro could not be fully parsed.
3127 * expr.c (integer_constant): Accept and ignore U suffixes to
3129 (operand): When a missing closing parenthesis is encountered,
3130 report the character that was found instead.
3131 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3132 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3133 * testsuite/gas/sparc/pr19910-1.s: New test.
3134 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3135 * testsuite/gas/sparc/pr19910-2.s: New test.
3136 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3138 2016-04-06 Nick Clifton <nickc@redhat.com>
3140 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3141 an EINT instruction. Warn/fix as necessary.
3142 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3143 * testsuite/gas/msp430/bad.l: Update expected messages.
3145 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3147 * testsuite/gas/arc/nps400-1.d: Update expected results.
3148 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3150 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3152 * config/tc-arc.c (is_code_density_p): Compare directly the
3154 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3155 (check_cpu_feature): New function.
3156 (find_opcode_match): Use check_cpu_feature function.
3157 (preprocess_operands): Likewise.
3158 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3159 * testsuite/gas/arc/tdpfp.d: New file.
3160 * testsuite/gas/arc/tfpuda.d: Likewise.
3161 * testsuite/gas/arc/tfpx.s: Likewise.
3163 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3165 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3166 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3167 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3168 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3169 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3170 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3171 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3172 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3174 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3176 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3178 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3179 JUMP instructions type.
3180 * testsuite/gas/arc/relocs-errors.d: New file.
3181 * testsuite/gas/arc/relocs-errors.err: Likewise.
3182 * testsuite/gas/arc/relocs-errors.s: Likewise.
3184 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3187 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3188 only if i.disp_encoding != disp_encoding_32bit.
3189 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3190 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3191 * gas/testsuite/gas/i386/disp32.d: Updated.
3192 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3194 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3197 * testsuite/gas/i386/i386.exp: Run pr19498.
3198 * testsuite/gas/i386/pr19498.d: New file.
3199 * testsuite/gas/i386/pr19498.s: Likewise.
3201 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3203 * config/tc-arc.h: Include 'opcode/arc.h'.
3204 (MAX_INSN_ARGS): Delete.
3205 (MAX_INSN_FLGS): Delete.
3207 2016-04-04 Alan Modra <amodra@gmail.com>
3210 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3211 from function on all paths that set sy_resolving.
3213 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3215 * app.c (app_push): use XNEW macro.
3217 * config/obj-elf.c (obj_elf_change_section): Likewise.
3218 (elf_copy_symbol_attributes): Likewise.
3219 (obj_elf_size): Likewise.
3220 (build_group_lists): Likewise.
3221 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3222 (md_assemble): Likewise.
3223 (tc_gen_reloc): Likewise.
3224 (get_upper_str): Likewise.
3225 (aarch64_parse_features): Likewise.
3226 * config/tc-arm.c (insert_reg_alias): Likewise.
3227 (insert_neon_reg_alias): Likewise.
3228 (find_or_make_literal_pool): Likewise.
3229 (s_arm_elf_cons): Likewise.
3230 (add_unwind_opcode): Likewise.
3231 (arm_parse_extension): Likewise.
3232 * config/tc-avr.c (create_record_for_frag): Likewise.
3233 * config/tc-crx.c: Likewise.
3234 * config/tc-d30v.c: Likewise.
3235 * config/tc-dlx.c (s_proc): Likewise.
3236 * config/tc-ft32.c: Likewise.
3237 * config/tc-h8300.c: Likewise.
3238 * config/tc-hppa.c (pa_proc): Likewise.
3239 (create_new_space): Likewise.
3240 (create_new_subspace): Likewise.
3241 * config/tc-i860.c: Likewise.
3242 * config/tc-i960.c: Likewise.
3243 * config/tc-ia64.c: Likewise.
3244 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3245 (iq2000_record_hi16): Likewise.
3246 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3247 * config/tc-m32r.c (debug_sym): Likewise.
3248 (m32r_record_hi16): Likewise.
3249 * config/tc-m68k.c (m68k_ip): Likewise.
3250 (md_begin): Likewise.
3251 * config/tc-mcore.c: Likewise.
3252 * config/tc-microblaze.c (check_got): Likewise.
3253 * config/tc-mips.c (append_insn): Likewise.
3254 (s_mipsset): Likewise.
3255 (mips_record_label): Likewise.
3256 (s_mips_end): Likewise.
3257 * config/tc-mmix.c (mmix_frob_file): Likewise.
3258 * config/tc-mn10200.c: Likewise.
3259 * config/tc-mn10300.c: Likewise.
3260 * config/tc-moxie.c: Likewise.
3261 * config/tc-msp430.c: Likewise.
3262 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3263 * config/tc-ns32k.c: Likewise.
3264 * config/tc-or1k.c: Likewise.
3265 * config/tc-pdp11.c: Likewise.
3266 * config/tc-pj.c (fake_opcode): Likewise.
3267 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3268 (ppc_macro): Likewise.
3269 (ppc_dwsect): Likewise.
3270 (ppc_machine): Likewise.
3271 * config/tc-rl78.c (rl78_frag_init): Likewise.
3272 * config/tc-rx.c (rx_frag_init): Likewise.
3273 * config/tc-s390.c (s390_lit_suffix): Likewise.
3274 (s390_machine): Likewise.
3275 (s390_machinemode): Likewise.
3276 * config/tc-score.c (s3_insert_reg): Likewise.
3277 (s3_gen_reloc): Likewise.
3278 * config/tc-score7.c (s7_insert_reg): Likewise.
3279 (s7_gen_reloc): Likewise.
3280 * config/tc-tic30.c (tic30_operand): Likewise.
3281 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3282 * config/tc-tic54x.c (stag_add_field): Likewise.
3283 (tic54x_struct): Likewise.
3284 (tic54x_space): Likewise.
3285 (tic54x_field): Likewise.
3286 (tic54x_mlib): Likewise.
3287 (subsym_substitute): Likewise.
3288 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3289 * config/tc-vax.c: Likewise.
3290 * config/tc-xc16x.c: Likewise.
3291 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3292 (directive_push): Likewise.
3293 (xtensa_begin_directive): Likewise.
3294 (tokenize_arguments): Likewise.
3295 (xtensa_add_literal_sym): Likewise.
3296 (new_resource_table): Likewise.
3297 (resize_resource_table): Likewise.
3298 (emit_single_op): Likewise.
3299 (xtensa_create_trampoline_frag): Likewise.
3300 (xtensa_maybe_create_literal_pool_frag): Likewise.
3301 (xtensa_add_config_info): Likewise.
3302 (xtensa_realloc_fixup_cache): Likewise.
3303 (add_subseg_info): Likewise.
3304 (cache_literal_section): Likewise.
3305 (add_xt_block_frags): Likewise.
3306 (add_xt_prop_frags): Likewise.
3307 (init_op_placement_info_table): Likewise.
3308 (build_section_rename): Likewise.
3309 * config/tc-z80.c: Likewise.
3310 * config/tc-z8k.c: Likewise.
3311 * depend.c (register_dependency): Likewise.
3312 * dwarf2dbg.c (get_line_subseg): Likewise.
3313 (dwarf2_gen_line_info_1): Likewise.
3314 (get_filenum): Likewise.
3315 * ecoff.c (allocate_scope): Likewise.
3316 (allocate_vlinks): Likewise.
3317 (allocate_shash): Likewise.
3318 (allocate_thash): Likewise.
3319 (allocate_tag): Likewise.
3320 (allocate_forward): Likewise.
3321 (allocate_thead): Likewise.
3322 (allocate_lineno_list): Likewise.
3323 * expr.c (make_expr_symbol): Likewise.
3324 * hash.c (hash_new_sized): Likewise.
3325 * input-file.c (input_file_push): Likewise.
3326 * listing.c (file_info): Likewise.
3327 (listing_newline): Likewise.
3328 * macro.c (new_formal): Likewise.
3329 (define_macro): Likewise.
3330 * remap.c (add_debug_prefix_map): Likewise.
3331 * symbols.c (symbol_find_noref): Likewise.
3332 (define_dollar_label): Likewise.
3333 (fb_label_instance_inc): Likewise.
3334 (symbol_relc_make_value): Likewise.
3336 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3338 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3339 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3340 (ppc_znop): Likewise.
3341 (ppc_pe_section): Likewise.
3342 (ppc_frob_symbol): Likewise.
3343 * config/tc-tic30.c (tic30_operand): Likewise.
3344 * config/tc-tic4x.c (tic4x_sect): Likewise.
3345 (tic4x_usect): Likewise.
3347 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3349 * config/tc-alpha.c: Const qualify FLT_CHARS.
3350 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3351 * config/tc-cris.h: Likewise.
3353 * config/tc-mmix.c (md_atof): Adjust comment.
3354 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3355 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3357 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3359 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3360 * config/tc-score7.c (s7_gen_reloc): Likewise.
3362 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3364 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3365 bfd_reloc_code_real_type.
3367 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3369 * config/bfin-parse.y (current_inputline): Remove definition.
3370 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3372 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3374 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3377 2016-04-02 Alan Modra <amodra@gmail.com>
3380 * read.c (assign_symbol): Consume rest of line after an error
3381 rather than continuing to process the line.
3383 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3385 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3386 (MAX_FLAG_NAME_LENGTH): ...this.
3387 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3388 * config/tc-arc.c (tokenize_flags): Likewise.
3390 2016-04-01 Alan Modra <amodra@gmail.com>
3392 * cgen.c (weak_operand_overflow_check): Return const char*.
3393 * messages.c (as_internal_value_out_of_range): Formatting.
3394 (as_warn_value_out_of_range): Consify prefix param.
3395 (as_bad_value_out_of_range): Likewise.
3396 * read.c (s_errwarn): Constify msg..
3397 (s_float_space, float_cons): ..and err.
3398 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3399 ieee_md_atof, vax_md_atof): Update prototypes.
3400 * tc.h (md_atof): Update prototype.
3401 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3402 * config/atof-vax.c (vax_md_atof): Likewise.
3403 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3404 * config/tc-aarch64.c (md_atof): Return const char*.
3405 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3406 (s_alpha_comm): Constify sec_name.
3407 (section_name): Constify.
3408 (s_alpha_section): Consify name..
3409 (alpha_elf_section_letter): ..and ptr_msg param..
3410 (md_atof): ..and return.
3411 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3412 * config/tc-arc.c (md_atof): Return const char*.
3413 * config/tc-arm.c (md_atof): Likewise.
3414 * config/tc-avr.c (md_atof): Likewise.
3415 * config/tc-bfin.c (md_atof): Likewise.
3416 * config/tc-cr16.c (md_atof): Likewise.
3417 * config/tc-cris.c (md_atof): Likewise.
3418 * config/tc-crx.c (md_atof): Likewise.
3419 * config/tc-d10v.c (md_atof): Likewise.
3420 * config/tc-d30v.c (md_atof): Likewise.
3421 * config/tc-dlx.c (md_atof): Likewise.
3422 * config/tc-epiphany.c (md_atof): Likewise.
3423 * config/tc-fr30.c (md_atof): Likewise.
3424 * config/tc-frv.c (md_atof): Likewise.
3425 * config/tc-ft32.c (md_atof): Likewise.
3426 * config/tc-h8300.c (md_atof): Likewise.
3427 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3428 (struct default_space_dict): Likewise.
3429 (create_new_space): Constify name param.
3430 (create_new_subspace): Likewise.
3431 (is_defined_space, is_defined_subspace): Likewise.
3432 (pa_parse_space_stmt): Constify space_name param.
3433 (md_atof): Return const char*.
3434 (pa_spaces_begin): Constify name.
3435 * config/tc-i370.c (md_atof): Return const char*.
3436 * config/tc-i386.c (md_atof): Likewise.
3437 (x86_64_section_letter): Constify ptr_msg param.
3438 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3439 * config/tc-i860.c (struct i860_it): Constify error.
3440 (md_atof): Return const char*.
3441 * config/tc-i960.c (md_atof): Likewise.
3442 * config/tc-ia64.c (md_atof): Likewise.
3443 (ia64_elf_section_letter): Constify ptr_msg param.
3444 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3445 * config/tc-ip2k.c (md_atof): Return const char*.
3446 * config/tc-iq2000.c (md_atof): Likewise.
3447 * config/tc-lm32.c (md_atof): Likewise.
3448 * config/tc-m32c.c (md_atof): Likewise.
3449 * config/tc-m32r.c (md_atof): Likewise.
3450 * config/tc-m68hc11.c (md_atof): Likewise.
3451 * config/tc-m68k.c (md_atof): Likewise.
3452 * config/tc-mcore.c (md_atof): Likewise.
3453 * config/tc-mep.c (md_atof): Likewise.
3454 (mep_elf_section_letter): Constify ptr_msg param.
3455 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3456 * config/tc-metag.c (md_atof): Return const char*.
3457 * config/tc-microblaze.c (md_atof): Likewise.
3458 * config/tc-microblaze.h (md_atof): Delete prototype.
3459 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3460 (md_atof): Return const char*.
3461 * config/tc-mmix.c (md_atof): Likewise.
3462 * config/tc-mn10200.c (md_atof): Likewise.
3463 * config/tc-mn10300.c (md_atof): Likewise.
3464 * config/tc-moxie.c (md_atof): Likewise.
3465 * config/tc-msp430.c (md_atof): Likewise.
3466 * config/tc-mt.c (md_atof): Likewise.
3467 * config/tc-nds32.c (md_atof): Likewise.
3468 * config/tc-nios2.c (md_atof): Likewise.
3469 (nios2_elf_section_letter): Constify ptr_msg param.
3470 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3471 * config/tc-ns32k.c (md_atof): Return const char*.
3472 * config/tc-or1k.c (md_atof): Likewise.
3473 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3474 (md_atof): Return const char*.
3475 * config/tc-pj.c (md_atof): Likewise.
3476 * config/tc-ppc.c (md_atof): Likewise.
3477 * config/tc-rl78.c (md_atof): Likewise.
3478 * config/tc-rx.c (md_atof): Likewise.
3479 * config/tc-s390.c (md_atof): Likewise.
3480 * config/tc-score.c (s3_atof, md_atof): Likewise.
3481 * config/tc-sh.c (md_atof): Likewise.
3482 * config/tc-sparc.c (struct sparc_it): Constify error.
3483 (md_atof): Return const char*.
3484 * config/tc-spu.c (md_atof): Likewise.
3485 * config/tc-tic30.c (md_atof): Likewise.
3486 * config/tc-tic4x.c (md_atof): Likewise.
3487 * config/tc-tic54x.c (md_atof): Likewise.
3488 * config/tc-tic6x.c (md_atof): Likewise.
3489 * config/tc-tilegx.c (md_atof): Likewise.
3490 * config/tc-tilepro.c (md_atof): Likewise.
3491 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3492 * config/tc-vax.c (md_atof): Likewise.
3493 * config/tc-visium.c (md_atof): Likewise.
3494 * config/tc-xc16x.c (md_atof): Likewise.
3495 * config/tc-xgate.c (md_atof): Likewise.
3496 * config/tc-xstormy16.c (md_atof): Likewise.
3497 * config/tc-xtensa.c (md_atof): Likewise.
3498 * config/tc-z80.c (md_atof): Likewise.
3499 * config/tc-z8k.c (md_atof): Likewise.
3501 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3503 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3505 (xtensa_section_rename): Make argument type const char *.
3506 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3508 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3510 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3513 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3515 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3517 (m32c_indirect_operand): Likewise.
3518 * config/tc-nds32.c (do_pseudo_b): Likewise.
3519 (do_pseudo_bal): Likewise.
3520 (do_pseudo_ls_bhw): Likewise.
3522 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3524 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3526 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3528 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3530 * config/tc-sparc.c (s_register): Cast a literal to char * in
3533 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3535 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3537 * config/tc-m32r.c (expand_debug_syms): Likewise.
3538 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3539 * config/tc-z80.c (md_begin): Likewise.
3540 * stabs.c (stabs_generate_asm_func): Likewise.
3542 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3544 * cgen.c: Modernize the way functions declare arguments.
3545 * config/tc-bfin.c: Likewise.
3546 * config/tc-pdp11.c: Likewise.
3547 * literal.c: Likewise.
3549 * stabs.c: Likewise.
3551 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3553 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3554 variables unsigned char[].
3555 * config/tc-alpha.c (alpha_handle_align): Likewise.
3556 * config/tc-arm.c (arm_handle_align): Likewise.
3557 * config/tc-z80.c: Likewise.
3559 2016-03-30 Nick Clifton <nickc@redhat.com>
3562 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3565 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3567 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3568 * testsuite/gas/elf/elf.exp: Likewise.
3569 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3571 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3573 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3575 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3577 * testsuite/gas/arc/ext2op.d: New file.
3578 * testsuite/gas/arc/ext2op.s: Likewise.
3579 * testsuite/gas/arc/ext3op.d: Likewise.
3580 * testsuite/gas/arc/ext3op.s: Likewise.
3582 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3584 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3586 * config/tc-alpha.c (md_parse_option): Likewise.
3587 * config/tc-arc.c (md_parse_option): Likewise.
3588 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3589 (md_parse_option): Likewise.
3590 * config/tc-avr.c (md_parse_option): Likewise.
3591 * config/tc-bfin.c (md_parse_option): Likewise.
3592 * config/tc-cr16.c (md_parse_option): Likewise.
3593 * config/tc-cris.c (s_cris_arch): Likewise.
3594 (md_parse_option): Likewise.
3595 * config/tc-crx.c (md_parse_option): Likewise.
3596 * config/tc-d10v.c (md_parse_option): Likewise.
3597 * config/tc-d30v.c (md_parse_option): Likewise.
3598 * config/tc-dlx.c (md_parse_option): Likewise.
3599 * config/tc-epiphany.c (md_parse_option): Likewise.
3600 * config/tc-fr30.c (md_parse_option): Likewise.
3601 * config/tc-frv.c (md_parse_option): Likewise.
3602 * config/tc-ft32.c (md_parse_option): Likewise.
3603 * config/tc-h8300.c (md_parse_option): Likewise.
3604 * config/tc-hppa.c (md_parse_option): Likewise.
3605 * config/tc-i370.c (md_parse_option): Likewise.
3606 * config/tc-i386.c (md_parse_option): Likewise.
3607 * config/tc-i860.c (md_parse_option): Likewise.
3608 * config/tc-i960.c (md_parse_option): Likewise.
3609 * config/tc-ia64.c (md_parse_option): Likewise.
3610 * config/tc-ip2k.c (md_parse_option): Likewise.
3611 * config/tc-iq2000.c (md_parse_option): Likewise.
3612 * config/tc-lm32.c (md_parse_option): Likewise.
3613 * config/tc-m32c.c (md_parse_option): Likewise.
3614 * config/tc-m32r.c (md_parse_option): Likewise.
3615 * config/tc-m68hc11.c (md_parse_option): Likewise.
3616 * config/tc-m68k.c (md_parse_option): Likewise.
3617 * config/tc-mcore.c (md_parse_option): Likewise.
3618 * config/tc-mep.c (md_parse_option): Likewise.
3619 * config/tc-metag.c (struct metag_long_option): Likewise.
3620 (md_parse_option): Likewise.
3621 * config/tc-microblaze.c (md_parse_option): Likewise.
3622 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3623 * config/tc-mips.c (md_parse_option): Adjust.
3624 * config/tc-mmix.c (md_parse_option): Likewise.
3625 * config/tc-mn10200.c (md_parse_option): Likewise.
3626 * config/tc-mn10300.c (md_parse_option): Likewise.
3627 * config/tc-moxie.c (md_parse_option): Likewise.
3628 * config/tc-msp430.c (md_parse_option): Likewise.
3629 * config/tc-mt.c (md_parse_option): Likewise.
3630 * config/tc-nds32.c (md_parse_option): Likewise.
3631 * config/tc-nds32.h (nds32_parse_option): Likewise.
3632 * config/tc-nios2.c (md_parse_option): Likewise.
3633 * config/tc-ns32k.c (md_parse_option): Likewise.
3634 * config/tc-or1k.c (md_parse_option): Likewise.
3635 * config/tc-pdp11.c (md_parse_option): Likewise.
3636 * config/tc-pj.c (md_parse_option): Likewise.
3637 * config/tc-ppc.c (md_parse_option): Likewise.
3638 * config/tc-rl78.c (md_parse_option): Likewise.
3639 * config/tc-rx.c (md_parse_option): Likewise.
3640 * config/tc-s390.c (s390_parse_cpu): Likewise.
3641 * config/tc-score.c (md_parse_option): Likewise.
3642 * config/tc-sh.c (md_parse_option): Likewise.
3643 * config/tc-sparc.c (md_parse_option): Likewise.
3644 * config/tc-spu.c (md_parse_option): Likewise.
3645 * config/tc-tic30.c (md_parse_option): Likewise.
3646 * config/tc-tic4x.c (md_parse_option): Likewise.
3647 * config/tc-tic54x.c (md_parse_option): Likewise.
3648 * config/tc-tic6x.c (md_parse_option): Likewise.
3649 * config/tc-tilegx.c (md_parse_option): Likewise.
3650 * config/tc-tilepro.c (md_parse_option): Likewise.
3651 * config/tc-v850.c (md_parse_option): Likewise.
3652 * config/tc-vax.c (md_parse_option): Likewise.
3653 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3654 * config/tc-xc16x.c (md_parse_option): Likewise.
3655 * config/tc-xgate.c (md_parse_option): Likewise.
3656 * config/tc-xstormy16.c (md_parse_option): Likewise.
3657 * config/tc-xtensa.c (md_parse_option): Likewise.
3658 * config/tc-z80.c (md_parse_option): Likewise.
3659 * config/tc-z8k.c (md_parse_option): Likewise.
3660 * tc.h (md_parse_option): Likewise.
3662 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3664 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3665 * config/tc-hppa.c (fix_new_hppa): Likewise.
3666 (pa_vtable_entry): Likewise.
3667 (pa_vtable_inherit): Likewise.
3668 * config/tc-m68k.c (md_begin): Likewise.
3670 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3672 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3673 * config/obj-elf.h (obj_elf_section_name): Adjust.
3674 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3675 (aarch64_parse_cpu): Likewise.
3676 (aarch64_parse_arch): Likewise.
3677 * config/tc-arm.c (arm_parse_extension): Likewise.
3678 (arm_parse_cpu): Likewise.
3679 (arm_parse_arch): Likewise.
3680 * config/tc-nds32.c: Likewise.
3681 * config/xtensa-relax.c (parse_special_fn): Likewise.
3682 * stabs.c (generate_asm_file): Likewise.
3684 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3686 * config/tc-cr16.c (cr16_assemble): New function.
3687 (md_assemble): Call cr16_assemble.
3689 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3691 * as.c (parse_args): Adjust.
3692 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3693 * config/obj-elf.c (elf_frob_symbol): Adjust.
3695 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3697 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3698 registers to be in the 16..31 range.
3700 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3702 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3705 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3707 * config/tc-visium.c (md_atof): Localize the string returned on
3710 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3712 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3713 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3714 * config/tc-m68hc11.c (md_begin): Likewise.
3715 (print_opcode_list): Likewise.
3716 * config/tc-msp430.c (msp430_section): Likewise.
3717 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3718 (s3_build_dependency_insn_hsh): Likewise.
3719 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3720 (s7_build_dependency_insn_hsh): Likewise.
3721 * config/tc-tic4x.c: Likewise.
3722 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3723 (subsym_get_arg): Likewise.
3724 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3725 (get_directive): Likewise.
3726 (cache_literal_section): Likewise.
3727 * config/xtensa-relax.c: Likewise.
3728 * symbols.c (symbol_create): Likewise.
3729 (local_symbol_make): Likewise.
3730 (symbol_relc_make_expr): Likewise.
3732 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3734 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3737 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3739 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3742 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3744 * config/tc-ia64.c (ia64_do_align): Remove.
3745 (ia64_cons_align): Call do_align () directly.
3746 (dot_proc): Likewise.
3747 (stmt_float_cons): Likewise.
3749 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3751 * listing.c (listing_message): Use XNEW style allocation macros.
3752 * read.c (read_a_source_file): Likewise.
3753 (read_symbol_name): Likewise.
3754 (s_mri_common): Likewise.
3755 (assign_symbol): Likewise.
3756 (s_reloc): Likewise.
3757 (emit_expr_with_reloc): Likewise.
3758 (s_incbin): Likewise.
3759 (s_include): Likewise.
3760 * sb.c (sb_build): Likewise.
3761 (sb_check): Likewise.
3763 2016-03-22 Alan Modra <amodra@gmail.com>
3765 * write.c (record_alignment): Revert 2016-02-18 change.
3767 2016-03-22 Alan Modra <amodra@gmail.com>
3769 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3770 (emit_jsrjmp, tc_gen_reloc): Likewise.
3771 * config/tc-i370.c (i370_macro): Likewise.
3773 2016-03-22 Nick Clifton <nickc@redhat.com>
3775 * configure: Regenerate.
3777 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3779 * testsuite/gas/arc/nps400-0.d: New file.
3780 * testsuite/gas/arc/nps400-0.s: New file.
3781 * testsuite/gas/arc/nps400-1.d: New file.
3782 * testsuite/gas/arc/nps400-1.s: New file.
3784 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3786 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3787 declarations to start of block. Reset code on all flags before
3788 attempting to match them. Handle multiple hits on the same flag.
3790 * testsuite/gas/arc/asm-errors.d: New file.
3791 * testsuite/gas/arc/asm-errors.err: New file.
3792 * testsuite/gas/arc/asm-errors.s: New file.
3794 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3796 * config/tc-arc.c (cpu_types): Add nps400 entry.
3797 (check_zol): Handle nps400.
3799 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3801 * config/tc-arc.c (arc_select_cpu): Remove use of
3804 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3806 * config/tc-arc.c (arc_target): Delay initialisation until
3808 (arc_target_name): Likewise.
3809 (arc_features): Likewise.
3810 (arc_mach_type): Likewise.
3811 (cpu_types): Remove "all" entry.
3812 (arc_select_cpu): New function, most of the content is from...
3813 (md_parse_option): ... here. Call new arc_select_cpu.
3814 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3816 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3818 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3819 * testsuite/gas/arc/inline-data-2.d: New file.
3821 2016-03-21 Nick Clifton <nickc@redhat.com>
3823 * atof-generic.c: Replace use of alloca with call to xmalloc.
3825 * dwarf2dbg.c: Likewise.
3826 * macro.c: Likewise.
3827 * remap.c: Likewise.
3828 * stabs.c: Likewise.
3829 * symbols.c: Likewise.
3830 * config/obj-elf.c: Likewise.
3831 * config/tc-aarch64.c: Likewise.
3832 * config/tc-arc.c: Likewise.
3833 * config/tc-arm.c: Likewise.
3834 * config/tc-avr.c: Likewise.
3835 * config/tc-ia64.c: Likewise.
3836 * config/tc-mips.c: Likewise.
3837 * config/tc-msp430.c: Likewise.
3838 * config/tc-nds32.c: Likewise.
3839 * config/tc-ppc.c: Likewise.
3840 * config/tc-sh.c: Likewise.
3841 * config/tc-tic30.c: Likewise.
3842 * config/tc-tic54x.c: Likewise.
3843 * config/tc-xstormy16.c: Likewise.
3844 * config/te-vms.c: Likewise.
3845 * configure: Regenerate.
3847 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3849 * tc-i386.c (f32_1): Change type to unsigned char[].
3869 (jump_31): Likewise.
3870 (f32_patt): Likewise.
3871 (f16_patt): Likewise.
3880 (alt_patt): Likewise.
3882 2016-03-18 Nick Clifton <nickc@redhat.com>
3884 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3885 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3886 .tlsdescldr and .xword directives.
3889 * testsuite/gas/aarch64/pr19721.s: New test source file.
3890 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3892 * doc/as.texinfo: Place the target specific command line options
3893 into their own man page section.
3895 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3897 * config/tc-arm.c (N_S_32): New.
3898 (N_F_16_32): Likewise.
3899 (N_SUF_32): Support N_F16.
3900 (N_IF_32): Likewise.
3901 (neon_dyadic_misc): Likewise.
3902 (do_neon_cmp): Likewise.
3903 (do_neon_cmp_inv): Likewise.
3904 (do_neon_mul): Likewise.
3905 (do_neon_fcmp_absolute): Likewise.
3906 (do_neon_step): Likewise.
3907 (do_neon_abs_neg): Likewise.
3908 (CVT_FLAVOR_VAR): Likewise.
3909 (do_neon_cvt_1): Likewise.
3910 (do_neon_recip_est): Likewise.
3911 (do_vmaxnm): Likewise.
3912 (do_vrint_1): Likewise.
3913 (neon_check_type): Check architecture support for FP16 extension.
3914 (insns): Update comments.
3915 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3916 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3917 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3918 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3920 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3922 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3925 2016-03-16 Nick Clifton <nickc@redhat.com>
3927 * read.c (emit_expr_with_reloc): Add code check a bignum with
3929 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3931 * testsuite/gas/elf/bignum.s: New test source file.
3932 * testsuite/gas/elf/bignum.d: New test driver file.
3933 * testsuite/gas/elf/elf.exp: Run the new test.
3935 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3937 * doc/c-i386.texi (Register Naming): Update to details of the
3938 latest architecture version.
3940 2016-03-10 Mickael Guene <mickael.guene@st.com>
3943 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3945 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3946 (do_t_mov_cmp): Likewise.
3947 (do_t_add_sub): Protect against bad relocations usage.
3948 (do_t_mov_cmp): Likewise.
3949 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3950 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3951 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3952 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3954 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3956 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3958 (do_neon_ld_st_lane): Likewise.
3959 (do_neon_ld_dup): Likewise.
3961 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3963 * testsuite/gas/arc/inline-data-1.d: New file.
3964 * testsuite/gas/arc/inline-data-1.s: New file.
3966 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3968 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3969 * doc/c-arm.texi: Add cortex-r8.
3971 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3973 * config/tc-arc.c: Add const qualifiers.
3974 * config/tc-h8300.c (md_begin): Likewise.
3975 * config/tc-ia64.c (print_prmask): Likewise.
3976 * config/tc-msp430.c (msp430_operands): Likewise.
3977 * config/tc-nds32.c (struct suffix_name): Likewise.
3978 (struct nds32_parse_option_table): Likewise.
3979 (struct nds32_set_option_table): Likewise.
3980 (do_pseudo_pushpopm): Likewise.
3981 (do_pseudo_pushpop_stack): Likewise.
3982 (nds32_relax_relocs): Likewise.
3983 (nds32_flag): Likewise.
3984 (struct nds32_hint_map): Likewise.
3985 (nds32_find_reloc_table): Likewise.
3986 (nds32_match_hint_insn): Likewise.
3987 * config/tc-s390.c: Likewise.
3988 * config/tc-sh.c (get_specific): Likewise.
3989 * config/tc-tic30.c: Likewise.
3990 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3991 (tic4x_indirect_parse): Likewise.
3992 * config/tc-vax.c (vax_cons): Likewise.
3993 * config/tc-z80.c (struct reg_entry): Likewise.
3994 * config/tc-epiphany.c (md_assemble): Adjust.
3995 (epiphany_assemble): New function.
3996 (epiphany_elf_section_rtn): Call do_align directly.
3997 (epiphany_elf_section_text): Likewise.
3998 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3999 (ip2k_elf_section_text): Likewise.
4000 * read.c (do_align): Make it not static.
4001 * read.h (do_align): New prototype.
4003 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4005 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4006 for ARMv8.1 AdvSIMD use.
4007 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4008 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4010 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4012 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4014 (record_feature_use): New.
4015 (mark_feature_used): Use record_feature_use.
4016 (do_neon_qrdmlah): New.
4017 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4019 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4020 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4021 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4022 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4023 Make source file explicit.
4024 * testsuite/gas/arm/armv8-a+rdma.l: New.
4025 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4026 directives. Fix white-space.
4027 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4029 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4031 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4033 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4034 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4036 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4037 (tc_arc_fix_adjustable): Changed default return value to 1.
4038 * testsuite/gas/arc/j.d: Updated expected symbol
4039 * testsuite/gas/arc/jl.d: Likewise
4040 * testsuite/gas/arc/relax-avoid1.d: Likewise
4041 * testsuite/gas/arc/st.d: Likewise
4043 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4045 * config/tc-arc.c: Enable code density instructions for ARC EM.
4047 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4050 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4052 * as.c (flag_use_elf_stt_common): New.
4053 (show_usage): Add --elf-stt-common=.
4054 (option_values): Add OPTION_ELF_STT_COMMON.
4055 (std_longopts): Add --elf-stt-common=.
4056 (parse_args): Handle --elf-stt-common=.
4057 * as.h (flag_use_elf_stt_common): New.
4058 * config.in: Regenerated.
4059 * configure: Likewise.
4060 * configure.ac: Add --enable-elf-stt-common and define
4061 DEFAULT_GENERATE_ELF_STT_COMMON.
4062 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4063 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4064 * doc/as.texinfo: Document --elf-stt-common=.
4065 * testsuite/gas/elf/common3.s: New file.
4066 * testsuite/gas/elf/common3a.d: Likewise.
4067 * testsuite/gas/elf/common3b.d: Likewise.
4068 * testsuite/gas/elf/common4.s: Likewise.
4069 * testsuite/gas/elf/common4a.d: Likewise.
4070 * testsuite/gas/elf/common4b.d: Likewise.
4071 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4072 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4073 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4075 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4076 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4077 --elf-stt-common=no to as.
4078 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4079 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4080 --elf-stt-common=no to as.
4081 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4082 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4083 of dw2-compress-3 and dw2-compressed-3.
4085 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4087 * as.c (select_emulation_mode): Add const qualifiers.
4089 * config/bfin-defs.h: Likewise.
4090 * config/bfin-parse.y: Likewise.
4091 * config/rx-parse.y: Likewise.
4092 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4093 (struct aarch64_cpu_option_table): Likewise.
4094 (struct aarch64_arch_option_table): Likewise.
4095 (struct aarch64_option_cpu_value_table): Likewise.
4096 (struct aarch64_long_option_table): Likewise.
4097 (struct aarch64_option_abi_value_table): Likewise.
4098 * config/tc-arm.c (struct reloc_entry): Likewise.
4099 (tc_gen_reloc): Likewise.
4100 (struct arm_option_table): Likewise.
4101 (struct arm_legacy_option_table): Likewise.
4102 (struct arm_cpu_option_table): Likewise.
4103 (struct arm_arch_option_table): Likewise.
4104 (struct arm_option_extension_value_table): Likewise.
4105 (struct arm_option_fpu_value_table): Likewise.
4106 (struct arm_option_value_table): Likewise.
4107 (struct arm_long_option_table): Likewise.
4108 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4109 (struct mcu_type_s): Likewise.
4110 (struct exp_mod_s): Likewise.
4111 (avr_operand): Likewise.
4112 (avr_operands): Likewise.
4113 * config/tc-d10v.c (md_begin): Likewise.
4114 * config/tc-dlx.c: Likewise.
4115 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4116 * config/tc-ft32.c (parse_condition): Likewise.
4117 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4118 * config/tc-hppa.c (pa_ip): Likewise.
4119 (hppa_regname_to_dw2regnum): Likewise.
4120 * config/tc-i370.c (i370_elf_suffix): Likewise.
4121 * config/tc-i960.c (struct tabentry): Likewise.
4122 * config/tc-m32r.c: Likewise.
4123 * config/tc-m68k.c: Likewise.
4124 * config/tc-m68k.h: Likewise.
4125 * config/tc-mcore.c (parse_psrmod): Likewise.
4126 * config/tc-metag.c (struct metag_core_option): Likewise.
4127 (struct metag_long_option): Likewise.
4128 * config/tc-microblaze.c: Likewise.
4129 * config/tc-mips.c (macro): Likewise.
4130 * config/tc-mn10200.c: Likewise.
4131 * config/tc-mn10300.c: Likewise.
4132 * config/tc-msp430.c (struct rcodes_s): Likewise.
4133 (struct hcodes_s): Likewise.
4134 (md_parse_option): Likewise.
4135 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4136 (optlist): Likewise.
4137 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4138 (tc_ppc_regname_to_dw2regnum): Likewise.
4139 * config/tc-ppc.h: Likewise.
4140 * config/tc-rl78.c: Likewise.
4141 * config/tc-rx.c (struct cpu_type): Likewise.
4142 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4143 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4144 (sparc_ip): Likewise.
4145 * config/tc-spu.c (insn_fmt_string): Likewise.
4146 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4147 * config/tc-v850.c: Likewise.
4148 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4149 (struct visium_long_option_table): Likewise.
4150 * config/tc-xgate.c: Likewise.
4151 * config/tc-z8k.c: Likewise.
4152 * read.c (add_include_dir): Likewise.
4155 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4157 * testsuite/gas/all/gas.exp: Change target pattern to cover
4159 * testsuite/gas/all/redef3.d: Likewise.
4160 * testsuite/gas/elf/elf.exp: Likewise.
4162 2016-02-24 Renlin Li <renlin.li@arm.com>
4164 * config/tc-arm.c (BAD_FP16): New error message macro.
4165 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4166 fp16 scalar instructions.
4167 (neon_check_type): Allow different size from key.
4168 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4169 (try_vfp_nsyn): Likewise.
4170 (do_vfp_nsyn_mla_mls): Likewise.
4171 (do_vfp_nsyn_fma_fms): Likewise.
4172 (do_vfp_nsyn_ldm_stm): Likewise
4173 (do_vfp_nsyn_sqrt): Likewise
4174 (do_vfp_nsyn_div): Likewise
4175 (do_vfp_nsyn_nmul): Likewise.
4176 (do_vfp_nsyn_cmp): Likewise.
4177 (do_neon_shll): Likewise.
4178 (do_vfp_nsyn_cvt_fpv8): Likewise.
4179 (do_neon_cvttb_2): Likewise.
4180 (do_neon_mov): Likewise.
4181 (do_neon_rshift_round_imm): Likewise.
4182 (do_neon_ldr_str): Likewise.
4183 (do_vfp_nsyn_fpv8): Likewise.
4184 (do_vmaxnm): Likewise.
4185 (do_vrint_1): Likewise.
4186 (insns): New entry for vins, vmovx.
4187 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4188 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4189 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4190 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4191 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4192 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4193 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4195 2016-02-24 Renlin Li <renlin.li@arm.com>
4197 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4198 (neon_shape_class): New SC_HALF.
4199 (neon_shape_el): New SE_H.
4200 (neon_shape_el_size): New size for SE_H.
4201 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4202 (neon_select_shape): Add SE_H support code.
4203 (el_type_of_type_chk): Use N_F_ALL.
4204 (do_vfp_nsyn_cvt): Add SE_H shape support.
4205 (do_neon_cvtz): Likewise.
4206 (do_neon_cvt_1): Likewise.
4207 (do_neon_cvttb_1): Likewise.
4209 2016-02-24 Renlin Li <renlin.li@arm.com>
4211 * testsuite/gas/arm/copro.d: Adjust output.
4212 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4214 2016-02-24 Renlin Li <renlin.li@arm.com>
4216 * testsuite/gas/arm/mask_1.d: New.
4217 * testsuite/gas/arm/mask_1.s: New.
4219 2016-02-24 Renlin Li <renlin.li@arm.com>
4221 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4222 * testsuite/gas/arm/copro.d: Update.
4224 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4226 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4227 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4229 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4231 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4233 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4235 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4238 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4240 * output-file.c (output_file_create): Make file name argument const.
4241 (output_file_close): Likewise.
4242 * output-file.h (output_file_create): Adjust.
4243 (output_file_close): Likewise.
4244 * depend.c (quote_string_for_make): Make src argument const char *.
4245 (register_dependency): Likewise.
4246 (wrap_output): Likewise.
4247 * as.h (register_dependency): Adjust.
4248 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4250 * symbols.c (S_SET_EXTERNAL): Likewise.
4251 * input-scrub.c (as_where): Return the file name.
4252 * as.h (as_where): Adjust prototype.
4253 * app.c (do_scrub_chars): Adjust.
4254 * cond.c (s_elseif): Likewise.
4256 (initialize_cframe): Likewise.
4257 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4258 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4259 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4260 * config/tc-aarch64.c (output_info): Likewise.
4261 * config/tc-ia64.c (md_assemble): Likewise.
4262 (dot_alias): Likewise.
4263 * config/tc-m68k.c (m68k_frob_label): Likewise.
4264 * config/tc-mmix.c (s_bspec): Likewise.
4265 (mmix_handle_mmixal): Likewise.
4266 * config/tc-rx.c (rx_include): Likewise.
4267 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4268 (tic54x_adjust_symtab): Likewise.
4269 * config/tc-xtensa.c (directive_push): Likewise.
4270 (xtensa_sanity_check): Likewise.
4271 (xtensa_relax_frag): Likewise.
4272 (md_convert_frag): Likewise.
4273 (tinsn_to_slotbuf): Likewise.
4274 * dwarf2dbg.c (dwarf2_where): Likewise.
4275 * ecoff.c (add_file): Likewise.
4276 (ecoff_generate_asm_lineno): Likewise.
4277 * expr.c (make_expr_symbol): Likewise.
4278 * frags.c (frag_new): Likewise.
4279 (frag_var_init): Likewise.
4280 * listing.c (listing_newline): Likewise.
4281 * messages.c (identify): Likewise.
4282 (as_show_where): Likewise.
4283 (as_warn_internal): Likewise.
4284 (as_bad_internal): Likewise.
4285 * read.c (s_irp): Likewise.
4286 (s_macro): Likewise.
4287 (s_reloc): Likewise.
4288 * stabs.c (stabs_generate_asm_file): Likewise.
4289 (stabs_generate_asm_lineno): Likewise.
4290 (stabs_generate_asm_func): Likewise.
4291 * write.c (fix_new_internal): Likewise.
4292 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4293 (as_warn_value_out_of_range): Adjust prototype.
4294 (as_bad_value_out_of_range): Adjust prototype.
4295 * messages.c (identify): Make file name argument const char *.
4296 (as_warn_internal): Likewise.
4297 (as_warn_where): Likewise.
4298 (as_bad_internal): Likewise.
4299 (as_bad_where): Likewise.
4300 (as_internal_value_out_of_range): Likewise.
4301 (as_warn_value_out_of_range): Likewise.
4302 (as_bad_value_out_of_range): Likewise.
4303 * as.h (found_comment_file): Change type to const char *.
4304 * cond.c (file_line::file): Likewise.
4305 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4306 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4307 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4308 * config/tc-aarch64.c (output_info): Likewise.
4309 * config/tc-alpha.c (insert_operand): Likewise.
4310 * config/tc-arc.c (insert_operand): Likewise.
4311 * config/tc-d30v.c (check_size): Likewise.
4312 * config/tc-ia64.c (struct alias): Likewise.
4313 * config/tc-m68k.c (struct label_line): Likewise.
4314 * config/tc-mcore.c (md_apply_fix): Likewise.
4315 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4316 * config/tc-mips.c (mips16_immed): Likewise.
4317 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4318 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4319 * config/tc-rx.c (rx_include): Likewise.
4320 * config/tc-s390.c (s390_insert_operand): Likewise.
4321 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4322 (tic54x_adjust_symtab): Likewise.
4323 * config/tc-tilegx.c (insert_operand): Likewise.
4324 (apply_special_operator): Likewise.
4325 * config/tc-tilepro.c (insert_operand): Likewise.
4326 * config/tc-xtensa.c (directive_push): Likewise.
4327 * ecoff.c (add_file): Likewise.
4328 (ecoff_generate_asm_lineno): Likewise.
4329 * listing.c (listing_newline): Likewise.
4330 * read.c (s_irp): Likewise.
4331 * write.c (install_reloc): Likewise.
4332 * write.h (struct fix): Likewise.
4333 * input-file.c (file_name): Change type to const char *.
4334 (saved_file::file_name): Likewise.
4335 (input_file_open): Change type of argument to const char *.
4336 * input-file.h (input_file_open): Adjust.
4337 * input-scrub.c (logical_input_file): change type to const char *.
4338 (physical_input_file): Likewise.
4339 (struct input_save): Adjust.
4340 (input_scrub_push): Adjust.
4341 (input_scrub_begin): Adjust.
4343 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4344 (input_scrub_include_file): Likewise.
4345 (new_logical_line_flags): Likewise.
4346 (new_logical_line): Likewise.
4348 * frags.h (struct frag): Change type of fr_file to const char *.
4349 * expr.c (expr_symbol_where): Change type of file argument to
4351 * expr.h (expr_symbol_where): Likewise.
4352 * config/tc-i370.c (md_apply_fix): adjust.
4353 * config/tc-mmix.c (mmix_md_end): Likewise.
4354 * config/tc-ppc.c (md_apply_fix): Likewise.
4355 * config/tc-s390.c (md_apply_fix): Likewise.
4356 * symbols.c (report_op_error): Likewise.
4357 (resolve_symbol_value): Likewise.
4358 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4359 (rsrc::file): Likewise.
4360 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4362 (xtensa_relax_frag): Likewise.
4363 (md_convert_frag): Likewise.
4364 (tinsn_to_slotbuf): Likewise.
4365 * expr.c (expr_symbol_line): Likewise.
4366 * macro.c (define_macro): Likewise.
4367 * macro.h (macro_struct): Likewise.
4368 * messages.c (as_show_where): Likewise.
4369 * read.c (s_macro): Likewise.
4370 * stabs.c (stabs_generate_asm_file): Likewise.
4371 (generate_asm_file): Likewise.
4372 (stabs_generate_asm_lineno): Likewise.
4373 * write.h (struct reloc_list): Likewise.
4374 * input-scrub.c (as_where): Change return type to const char *.
4375 * as.h (as_wheree): Adjust.
4377 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4379 * write.c (compress_debug): Move BFD compression bits setting
4381 (write_object_file): Here.
4383 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4385 * config/tc-i386.c (register_number): Check RegVRex.
4386 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4387 with %zmm19 and %zmm3.
4388 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4389 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4391 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4392 Jiong Wang <jiong.wang@arm.com>
4394 * config/tc-arm.c (arm_ext_fp16): New.
4395 (arm_extensions): New entry for "fp16".
4397 2016-02-19 Nick Clifton <nickc@redhat.com>
4400 * read.c (read_a_source_file): Check for assemble_one returning
4401 with input_line_pointer set to NULL.
4403 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4405 * listing.c (rebuffer_line): Change return type to void.
4407 * symbols.c (decode_local_label_name): Make type a const char *.
4408 * listing.c (print_source): Make type of p const char *.
4409 (print_line): Make type of string const char *.
4410 (buffer_line): Return const char *.
4411 (title): Make type const char *.
4412 (subtitle): Likewise.
4413 (listing_listing): Make type of p const char *.
4414 * messages.c (as_internal_value_out_of_range): Make type of prefix
4416 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4417 and string const char *.
4418 * read.c (_bfd_rel): Make type of name const char *.
4419 * app.c (out_string): Change type to const char *.
4420 (struct app_save::out_string): Likewise.
4422 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4423 Nick Clifton <nickc@redhat.com>
4425 * read.c (finish_bundle): Avoid recording a negative alignment.
4426 (do_align): Use unsigned values for n, len and max. Only create
4427 a frag if the alignment requirement is greater than the minimum
4428 byte alignment. Avoid recording a negative alignment.
4429 (s_align): Use unsigned values where appropriate.
4430 (bss_alloc): Use an unsigned value for the alignment.
4431 (sizeof_sleb128): Add a comment noting that we encode one octet
4432 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4433 (emit_leb129_expr): Abort if the emitted encoding was longer than
4435 * read.h (output_leb128): Update prototype.
4436 (sizeof_leb128): Update prototype.
4437 (bss_alloc): Update prototype.
4438 * write.c (record_alignment): Use an unsigned value for the
4439 alignment. Do not record alignments less than the minimum
4440 alignment for a byte.
4441 * write.h (record_alignment): Update prototype.
4443 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4445 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4446 .init.literal/.fini.literal section name.
4447 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4448 list of xtensa tests.
4449 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4450 init-fini-literals test result patterns.
4451 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4452 init-fini-literals test.
4454 2016-02-17 Nick Clifton <nickc@redhat.com>
4456 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4457 devices.csv file as of March 2016.
4459 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4461 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4463 (tc_arc_regname_to_dw2regnum): Likewise.
4464 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4465 (tc_cfi_frame_initial_instructions): Likewise.
4466 (tc_regname_to_dw2regnum): Likewise.
4467 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4468 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4469 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4471 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4473 * doc/internals.texi (S_IS_EXTERN): Remove.
4475 2016-02-16 Nick Clifton <nickc@redhat.com>
4477 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4480 2016-02-16 Renlin Li <renlin.li@arm.com>
4483 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4484 * testsuite/gas/aarch64/movw_label.d: New.
4485 * testsuite/gas/aarch64/movw_label.s: New.
4487 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4490 * config/rx-parse.y (MOV): Opcode generation for index
4491 register addressing mode.
4492 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4493 * testsuite/gas/rx/pr19665.s: New file.
4494 * testsuite/gas/rx/pr19665.s: New file.
4495 * testsuite/gas/rx/mov.d: Update expected output.
4497 2016-02-15 Nick Clifton <nickc@redhat.com>
4499 * doc/as.texinfo (.section): Document that numeric values can now
4500 be used for the flags and type fields of the ELF target's .section
4501 directive. Add notes about the restrictions on setting flags and
4503 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4504 to be given processor specific section types. Allow processor and
4505 application specific flags of a section to be set after
4507 (obj_elf_parse_section_letters): Handle parsing numeric values.
4508 (obj_elf_section_type): Handle parsing numeric values.
4509 (obj_elf_section): Allow numeric type values.
4510 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4511 * testsuite/gas/elf/section10.d: New test.
4512 * testsuite/gas/elf/section10.s: Source file for new test.
4513 * testsuite/gas/elf/elf.exp: Run the new test.
4514 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4515 the description of the flags produced by readelf.
4516 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4517 * NEWS: Mention the new feature.
4519 2016-02-11 Nick Clifton <nickc@redhat.com>
4522 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4523 until it is actually used.
4524 (cfi_set_sections): Set cfi_sections_set to true.
4525 (dot_cfi_startproc): Likewise.
4526 (dot_cfi_endproc): Likewise.
4527 (dot_cfi_fde_data): Likewise.
4528 (cfi_finish): Likewise.
4529 (dot_cfi_sections): Do not set cfi_sections_set.
4530 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4531 their own cfi section name. Also note that the directive can be
4532 reissued provided that CFI generation has not started.
4533 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4534 .cfi_endproc directives so that the redefinition of .cfi_sections
4535 will trigger the generation of the error message.
4536 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4537 number of error message.
4539 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4540 Janek van Oirschot <jvanoirs@synopsys.com>
4542 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4543 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4545 (arc_flags, arc_relax_type): New structure.
4546 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4547 (RELAX_TABLE_ENTRY_MAX): New define.
4548 (relaxation_state, md_relax_table, arc_relaxable_insns)
4549 (arc_num_relaxable_ins): New variable.
4550 (rlx_operand_type, arc_rlx_types): New enums.
4551 (arc_relaxable_ins): New structure.
4552 (OPTION_RELAX): New option.
4553 (arc_insn): New relax member.
4554 (arc_flags): Remove.
4555 (relax_insn_p): New function.
4556 (apply_fixups): Likewise.
4557 (relaxable_operand): Likewise.
4558 (may_relax_expr): Likewise.
4559 (relaxable_flag): Likewise.
4560 (arc_pcrel_adjust): Likewise.
4561 (md_estimate_size_before_relax): Implement.
4562 (md_convert_frag): Likewise.
4563 (md_parse_option): Handle new mrelax option.
4564 (md_show_usage): Likewise.
4565 (assemble_insn): Set relax member.
4566 (emit_insn0): New function.
4567 (emit_insn1): Likewise.
4568 (emit_insn): Handle relaxation case.
4569 * NEWS: Mention the new relaxation option.
4570 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4571 * doc/as.texinfo (Target ARC Options): Likewise.
4572 * testsuite/gas/arc/relax-avoid1.d: New file.
4573 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4574 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4575 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4576 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4577 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4578 * testsuite/gas/arc/relax-b.d: Likewise.
4579 * testsuite/gas/arc/relax-b.s: Likewise.
4581 2016-02-08 Nick Clifton <nickc@redhat.com>
4583 * config/tc-ia64.c (dot_prologue): Fix formatting.
4585 2016-02-04 Nick Clifton <nickc@redhat.com>
4587 * config/obj-elf.c (obj_elf_change_section): Remove support for
4588 ARM NOREAD sections.
4589 * config/tc-arm.c (arm_elf_section_letter): Delete.
4590 * config/tc-arm.h (md_elf_section_letter): Delete.
4591 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4592 * testsuite/gas/arm/section-execute-only.d: Delete.
4593 * testsuite/gas/arm/section-execute-only.s: Delete.
4595 2016-02-04 Nick Clifton <nickc@redhat.com>
4598 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4599 to handle encoding of RRUX instruction.
4600 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4602 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4604 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4606 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4607 substitutions for BFD_RELOC_* as unsigned.
4608 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4609 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4610 * testsuite/gas/xtensa/loc.s: New file: loc test.
4612 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4614 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4616 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4619 * NEWS: Mention new command line option -mrelax-relocations and
4620 new configure option --enable-x86-relax-relocations for x86
4622 * config.in: Regenerated.
4623 * configure.ac: Add --enable-x86-relax-relocations.
4624 (ac_default_x86_relax_relocations): New. Default to 1 except
4625 for x86 Solaris targets older than Solaris 12.
4626 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4627 * configure: Likewise.
4628 * config/tc-i386.c (generate_relax_relocations): New.
4629 (OPTION_MRELAX_RELOCATIONS): Likewise.
4630 (output_disp): Don't generate relax relocations if
4631 generate_relax_relocations is 0.
4632 (md_longopts): Add -mrelax-relocations.
4633 (md_show_usage): Likewise.
4634 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4635 * doc/c-i386.texi: Document -mrelax-relocations=.
4636 * testsuite/gas/i386/got-no-relax.d: New file.
4637 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4638 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4639 * testsuite/gas/i386/localpic.d: Likewise.
4640 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4641 * testsuite/gas/i386/reloc32.d: Likewise.
4642 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4643 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4644 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4645 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4646 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4647 x86-64-gotpcrel-no-relax.
4649 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4651 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4654 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4656 * NEWS: Remove duplicated marker for 2.26.
4658 2016-02-02 Renlin Li <renlin.li@arm.com>
4660 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4662 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4664 * testsuite/gas/ip2k/allinsn.d: New file.
4665 * testsuite/gas/ip2k/allinsn.s: New file.
4666 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4668 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4670 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4671 some load instructions.
4672 * testsuite/gas/epiphany/allinsn.d: Likewise.
4673 * testsuite/gas/epiphany/regression.d: Likewise.
4675 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4677 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4678 suffixes from instruction mnemonics in expected output.
4679 * testsuite/gas/epiphany/allinsn.d: Likewise.
4680 * testsuite/gas/epiphany/regression.d: Likewise.
4681 * testsuite/gas/epiphany/sample.d: Likewise.
4683 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4685 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4687 * testsuite/gas/epiphany/allinsn.d: Likewise.
4688 * testsuite/gas/epiphany/sample.d: Likewise.
4690 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4692 * testsuite/gas/epiphany/sample.d: Update expected output.
4694 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4696 * config/tc-arc.c (md_apply_fix): Allow addendum.
4697 (arc_reloc_op): Allow complex expressions for tpoff.
4698 (md_apply_fix): Handle resolved TLS local symbol.
4699 * testsuite/gas/arc/tls-relocs1.d: New file.
4700 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4702 2016-02-01 Loria <Loria@phantasia.org>
4705 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4706 efficiency and avoid an LLVM loop optimization bug.
4708 2016-02-01 Nick Clifton <nickc@redhat.com>
4710 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4711 message extending a negative 32-bit value into a larger signed
4712 value on a 32-bit host.
4714 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4717 * configure.ac (compressed_debug_sections): Replace == with =.
4718 * configure: Regenerated.
4720 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4721 H.J. Lu <hongjiu.lu@intel.com>
4723 * config/tc-i386.c (avoid_fence): New.
4724 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4726 (OPTION_FENCE_AS_LOCK_ADD): New.
4727 (md_longopts): Add -mfence-as-lock-add.
4728 (md_parse_option): Handle -mfence-as-lock-add.
4729 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4730 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4731 * testsuite/gas/i386/i386.exp: Run new tests.
4732 * testsuite/gas/i386/fence-as-lock-add.s: New.
4733 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4734 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4735 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4736 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4738 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4740 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4741 * configure: Regenerated.
4743 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4745 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4746 (OPTION_MOMIT_LOCK_PREFIX): This.
4747 (md_longopts): Updated.
4748 (md_parse_option): Likewise.
4750 2016-01-25 Catherine Moore <clm@codesourcery.com>
4752 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4753 if abicalls are in effect.
4754 * testsuite/gas/mips/sdata-gp.s: New test.
4755 * testsuite/gas/mips/sdata-gp.d: New expected output
4756 * testsuite/gas/mips/mips.exp: Run new test.
4758 2016-01-25 Renlin Li <renlin.li@arm.com>
4760 * testsuite/gas/arm/thumb2_it_search.d: New.
4761 * testsuite/gas/arm/thumb2_it_search.s: New.
4763 2016-01-21 Nick Clifton <nickc@redhat.com>
4766 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4767 with arm-netbsdelf target.
4768 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4770 2016-01-20 Nick Clifton <nickc@redhat.com>
4773 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4774 * testsuite/gas/arm/blx-bl-convert.d
4775 * testsuite/gas/arm/plt-1.d: Likewise.
4776 * testsuite/gas/arm/reloc-bad.d: Likewise.
4777 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4778 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4779 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4780 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4783 * doc/as.texinfo (Errors): Correct documentation describing the
4784 interaction of .file and .line with warning and error messages.
4787 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4788 * testsuite/gas/arm/archv8m-main.d: Likewise.
4789 * testsuite/gas/arm/archv8m-base.d: Likewise.
4791 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4793 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4794 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4795 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4797 2016-01-20 Mickael Guene <mickael.guene@st.com>
4798 Terry Guo <terry.guo@arm.com>
4800 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4801 SHF_ARM_NOREAD section flag.
4802 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4804 (arm_elf_section_letter) : Declare it.
4805 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4806 SHF_ARM_NOREAD section flag.
4807 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4809 * testsuite/gas/arm/section-execute-only.s: New test case.
4810 * testsuite/gas/arm/section-execute-only.d: Expected output.
4812 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4814 * config/tc-mips.c (micromips_insn_length): Remove the mention
4815 of 48-bit microMIPS instructions.
4817 2016-01-18 Alan Modra <amodra@gmail.com>
4819 * configure: Regenerate.
4821 2016-01-17 Alan Modra <amodra@gmail.com>
4823 * configure: Regenerate.
4825 2016-01-17 Alan Modra <amodra@gmail.com>
4827 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4829 2016-01-14 Nick Clifton <nickc@redhat.com>
4831 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4832 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4833 * testsuite/gas/rl78/rl78.exp: Run the new test.
4835 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4837 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4838 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4840 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4842 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4844 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4846 * config/tc-h8300.c (get_operand): Remove spurious condition in
4847 test for closing parenthesis.
4849 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4851 * config/tc-arm.c (arm_ext_v8_2): New.
4853 * testsuite/gas/arm/armv8_2-a.d: New.
4854 * testsuite/gas/arm/armv8_2-a.s: New.
4856 2016-01-12 Alan Modra <amodra@gmail.com>
4858 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4860 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4862 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4863 xvcmpnesp, xvcmpnesp.>: Delete tests.
4864 * testsuite/gas/ppc/power9.s: Likewise.
4865 * testsuite/gas/ppc/vsx3.d: Likewise.
4866 * testsuite/gas/ppc/vsx3.s: Likewise.
4868 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4871 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4872 * testsuite/gas/m68k/p13050-1.s: New file.
4873 * testsuite/gas/m68k/p13050-2.d: New file.
4874 * testsuite/gas/m68k/p13050-2.s: New file.
4876 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4878 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4879 * testsuite/gas/arc/add.d: Likewise.
4880 * testsuite/gas/arc/and.d: Likewise.
4881 * testsuite/gas/arc/asl.d: Likewise.
4882 * testsuite/gas/arc/asr.d: Likewise.
4883 * testsuite/gas/arc/bic.d: Likewise.
4884 * testsuite/gas/arc/extb.d: Likewise.
4885 * testsuite/gas/arc/extw.d: Likewise.
4886 * testsuite/gas/arc/j.d: Likewise.
4887 * testsuite/gas/arc/jl.d: Likewise.
4888 * testsuite/gas/arc/ld2.d: Likewise.
4889 * testsuite/gas/arc/lsr.d: Likewise.
4890 * testsuite/gas/arc/mov.d: Likewise.
4891 * testsuite/gas/arc/or.d: Likewise.
4892 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4893 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4894 * testsuite/gas/arc/pic-relocs.d: Likewise.
4895 * testsuite/gas/arc/plt-relocs.d: Likewise.
4896 * testsuite/gas/arc/rlc.d: Likewise.
4897 * testsuite/gas/arc/ror.d: Likewise.
4898 * testsuite/gas/arc/rrc.d: Likewise.
4899 * testsuite/gas/arc/sbc.d: Likewise.
4900 * testsuite/gas/arc/sda-relocs.d: Likewise.
4901 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4902 * testsuite/gas/arc/sexb.d: Likewise.
4903 * testsuite/gas/arc/sexw.d: Likewise.
4904 * testsuite/gas/arc/st.d: Likewise.
4905 * testsuite/gas/arc/sub.d: Likewise.
4906 * testsuite/gas/arc/tls-relocs.d: Likewise.
4907 * testsuite/gas/arc/xor.d: Likewise.
4909 2016-01-01 Alan Modra <amodra@gmail.com>
4911 Update year range in copyright notice of all files.
4913 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4915 Copyright (C) 2016 Free Software Foundation, Inc.
4917 Copying and distribution of this file, with or without modification,
4918 are permitted in any medium without royalty provided the copyright
4919 notice and this notice are preserved.
4925 version-control: never