1 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
4 (cpu_noarch): Add noavx512_4fmaps.
5 (process_operands): Handle implicit quad group.
6 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
7 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
8 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
9 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
10 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
11 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
12 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
13 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
14 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
15 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
16 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
17 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
18 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
19 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
20 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
21 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
22 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
23 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
24 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
25 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
26 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
27 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
29 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
30 Andrew Waterman <andrew@sifive.com>
32 Add support for RISC-V architecture.
33 * Makefile.am: Add riscv files.
34 * Makefile.in: Regenerate.
35 * NEWS: Mention the support for this architecture.
36 * configure.in: Define a default architecture.
37 * configure: Regenerate.
38 * configure.tgt: Add entries for riscv.
39 * doc/as.texinfo: Likewise.
40 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
41 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
42 * config/tc-riscv.c: New file.
43 * config/tc-riscv.h: New file.
44 * doc/c-riscv.texi: New file.
45 * testsuite/gas/riscv: New directory.
46 * testsuite/gas/riscv/riscv.exp: New file.
47 * testsuite/gas/riscv/t_insns.d: New file.
48 * testsuite/gas/riscv/t_insns.s: New file.
50 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
52 * config/tc-arc.c (arc_target): Delete.
53 (arc_target_name): Delete.
54 (arc_features): Delete.
55 (arc_mach_type): Delete.
56 (mach_type_specified_p): Delete.
57 (enum mach_selection_type): New enum.
58 (mach_selection_mode): New static global.
59 (selected_cpu): New static global.
60 (arc_eflag): Rename to ...
61 (arc_initial_eflag): ...this, and make const.
62 (arc_select_cpu): Update comment, new parameter, check how
63 previous machine type selection was made, and record this
64 selection. Use selected_cpu instead of old globals.
65 (arc_option): Remove use of arc_get_mach, instead use
66 arc_select_cpu to validate machine type selection. Use
67 selected_cpu over old globals.
68 (allocate_tok): Use selected_cpu over old globals.
69 (find_opcode_match): Likewise.
70 (assemble_tokens): Likewise.
71 (arc_cons_fix_new): Likewise.
72 (arc_extinsn): Likewise.
73 (arc_extcorereg): Likewise.
74 (md_begin): Update default machine type selection, use
75 selected_cpu over old globals.
76 (md_parse_option): Update machine type selection option handling,
77 use selected_cpu over old globals.
78 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
80 2016-10-26 Alan Modra <amodra@gmail.com>
82 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
83 * config/rl78-parse.y: Do use old %name-prefix syntax.
84 * config/rx-parse.y: Likewise.
86 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
88 * config/tc-i386.c (cpu_arch): Remove .pcommit.
89 * doc/c-i386.texi: Likewise.
90 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
91 * testsuite/gas/i386/pcommit-intel.d: Removed.
92 * testsuite/gas/i386/pcommit.d: Likewise.
93 * testsuite/gas/i386/pcommit.s: Likewise.
94 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
95 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
96 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
98 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
101 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
102 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
103 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
105 2016-10-19 Renlin Li <renlin.li@arm.com>
107 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
108 for register-shifted register instructions.
109 * testsuite/gas/arm/shift-bad-pc.d: New.
110 * testsuite/gas/arm/shift-bad-pc.l: New.
111 * testsuite/gas/arm/shift-bad-pc.s: New.
113 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
115 * testsuite/arc/dis-inv.d: Fixed matching.
117 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
119 * testsuite/arc/dis-inv.s: Test to validate patch.
120 * testsuite/arc/dis-inv.d: Likewise.
122 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
124 * testsuite/gas/arc/shortlimm_a7.d: New file.
125 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
126 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
127 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
129 2016-10-11 Nick Clifton <nickc@redhat.com>
131 * gas/arm/tls.d: Adjust output to match change in objdump.
133 2016-10-11 Jiong Wang <jiong.wang@arm.com>
136 * testsuite/gas/aarch64/alias-2.d: Update expected results.
138 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
140 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
141 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
142 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
143 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
144 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
145 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
146 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
147 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
148 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
150 2016-10-08 Alan Modra <amodra@gmail.com>
152 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
153 config/rx-parse.y. Move config/bfin-parse.y.
154 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
155 ($(srcdir)/config/rl78-defs.h): New rule.
156 * Makefile.in: Regenerate.
158 2016-10-07 Jiong Wang <jiong.wang@arm.com>
161 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
163 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
165 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
167 * testsuite/gas/arc/leave_enter.d: New file.
168 * testsuite/gas/arc/leave_enter.s: Likewise.
169 * testsuite/gas/arc/regnames.d: Likewise.
170 * testsuite/gas/arc/regnames.s: Likewise.
171 * config/tc-arc.c (arc_parse_name): Don't match reg names against
172 confirmed symbol names.
174 2016-10-06 Alan Modra <amodra@gmail.com>
176 * app.c (do_scrub_chars): Move fall through comment.
177 * expr.c (operand): Likewise.
179 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
182 * dw2gencfi.c (dot_cfi_sections): Refine the check for
183 inconsistent .cfi_sections to only consider compact vs non
185 * testsuite/gas/cfi/cfi-common-9.d: New file.
186 * testsuite/gas/cfi/cfi-common-9.s: New file.
187 * testsuite/gas/cfi/cfi.exp: Run new test.
189 2016-10-06 Alan Modra <amodra@gmail.com>
191 * app.c: Add missing fall through comments.
192 * dw2gencfi.c: Likewise.
194 * config/tc-alpha.c: Likewise.
195 * config/tc-arc.c: Likewise.
196 * config/tc-arm.c: Likewise.
197 * config/tc-cr16.c: Likewise.
198 * config/tc-crx.c: Likewise.
199 * config/tc-dlx.c: Likewise.
200 * config/tc-h8300.c: Likewise.
201 * config/tc-hppa.c: Likewise.
202 * config/tc-i370.c: Likewise.
203 * config/tc-i386.c: Likewise.
204 * config/tc-i960.c: Likewise.
205 * config/tc-ia64.c: Likewise.
206 * config/tc-m68hc11.c: Likewise.
207 * config/tc-m68k.c: Likewise.
208 * config/tc-mep.c: Likewise.
209 * config/tc-metag.c: Likewise.
210 * config/tc-microblaze.c: Likewise.
211 * config/tc-mips.c: Likewise.
212 * config/tc-ns32k.c: Likewise.
213 * config/tc-rx.c: Likewise.
214 * config/tc-score.c: Likewise.
215 * config/tc-score7.c: Likewise.
216 * config/tc-sh.c: Likewise.
217 * config/tc-tic4x.c: Likewise.
218 * config/tc-vax.c: Likewise.
219 * config/tc-xstormy16.c: Likewise.
220 * config/tc-z80.c: Likewise.
221 * config/tc-z8k.c: Likewise.
222 * config/obj-elf.c: Likewise.
223 * config/tc-i386.c: Likewise.
224 * depend.c: Spell fall through comments consistently.
225 * config/tc-arm.c: Likewise.
226 * config/tc-d10v.c: Likewise.
227 * config/tc-i960.c: Likewise.
228 * config/tc-ia64.c: Likewise.
229 * config/tc-m68k.c: Likewise.
230 * config/tc-mcore.c: Likewise.
231 * config/tc-mep.c: Likewise.
232 * config/tc-ns32k.c: Likewise.
233 * config/tc-visium.c: Likewise.
234 * config/tc-xstormy16.c: Likewise.
235 * config/tc-z8k.c: Likewise.
237 2016-10-06 Alan Modra <amodra@gmail.com>
239 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
241 2016-10-06 Alan Modra <amodra@gmail.com>
243 * config/tc-arc.c (find_opcode_match): Add missing break.
244 * config/tc-i960.c (get_cdisp): Likewise.
245 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
246 * config/tc-mt.c (md_parse_option): Likewise.
247 * config/tc-nds32.c (nds32_apply_fix): Likewise.
248 * config/tc-hppa.c (pa_ip): Assert rather than testing last
249 condition of multiple if statements.
250 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
251 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
252 out of case rather than falling into next case. Formatting.
254 2016-10-06 Alan Modra <amodra@gmail.com>
256 * config/rl78-parse.y: Don't use deprecated %name-prefix.
257 * config/rx-parse.y: Likewise.
259 2016-09-29 Jiong Wang <jiong.wang@arm.com>
262 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
263 testcases for H and S variants. New low index testcases for D variant.
264 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
266 2016-09-29 Alan Modra <amodra@gmail.com>
268 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
269 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
270 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
272 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
274 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
277 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
279 * Makefile.in: Regenerate.
280 * configure: Likewise.
281 * doc/Makefile.in: Likewise.
283 2016-09-26 Alan Modra <amodra@gmail.com>
285 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
286 (md_pseudo_table <ELF>): Handle "gnu_attribute".
288 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
290 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
291 register and redundant basepri_max.
293 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
295 * config/tc-aarch64.c (print_operands): Print spaces between
297 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
299 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
300 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
301 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
302 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
303 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
304 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
305 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
306 * testsuite/gas/aarch64/sve.d: Likewise.
307 * testsuite/gas/aarch64/symbol.d: Likewise.
308 * testsuite/gas/aarch64/system.d: Likewise.
309 * testsuite/gas/aarch64/tls-desc.d: Likewise.
310 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
311 in suggested alternatives.
312 * testsuite/gas/aarch64/verbose-error.l: Likewise.
314 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
316 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
317 rather than "should be" or "expected to be" in error messages.
318 (parse_operands): Likewise.
319 * testsuite/gas/aarch64/diagnostic.l: Likewise.
320 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
321 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
322 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
324 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
326 * config/tc-aarch64.c (opcode_lookup): Search for the end of
327 a condition name, rather than assuming that it will have exactly
329 (parse_operands): Likewise.
330 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
331 to the expected output.
332 * testsuite/gas/aarch64/beq_1.d: Likewise.
333 * testsuite/gas/aarch64/float-fp16.d: Likewise.
334 * testsuite/gas/aarch64/int-insns.d: Likewise.
335 * testsuite/gas/aarch64/no-aliases.d: Likewise.
336 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
337 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
338 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
341 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
343 * testsuite/gas/aarch64/diagnostic.s,
344 testsuite/gas/aarch64/diagnostic.l: Add tests for
345 invalid uses of MUL VL and MUL in base AArch64 instructions.
346 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
347 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
348 testsuite/gas/aarch64/sve-invalid.s,
349 testsuite/gas/aarch64/sve-invalid.d,
350 testsuite/gas/aarch64/sve-invalid.l,
351 testsuite/gas/aarch64/sve-reg-diagnostic.s,
352 testsuite/gas/aarch64/sve-reg-diagnostic.d,
353 testsuite/gas/aarch64/sve-reg-diagnostic.l,
354 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
356 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
358 * doc/c-aarch64.texi: Document the "sve" feature.
359 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
360 (get_reg_expected_msg): Handle it.
361 (parse_operands): When parsing operands of an SVE instruction,
362 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
363 (aarch64_features): Add an entry for SVE.
365 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
367 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
368 and FP register operands.
370 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
372 * config/tc-aarch64.c (double_precision_operand_p): New function.
373 (parse_operands): Use it to calculate the dp_p input to
374 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
376 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
378 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
381 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
383 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
385 (parse_shift): Handle SHIFTED_MUL_VL.
386 (parse_address_main): Add an imm_shift_mode parameter.
387 (parse_address, parse_sve_address): Update accordingly.
388 (parse_operands): Handle MUL VL addressing modes.
390 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
392 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
394 (get_reg_expected_msg): Handle them.
395 (aarch64_addr_reg_parse): New function, split out from
396 aarch64_reg_parse_32_64. Handle Z registers too.
397 (aarch64_reg_parse_32_64): Call it.
398 (parse_address_main): Add base_qualifier, offset_qualifier,
399 base_type and offset_type parameters. Handle SVE base and offset
401 (parse_address): Update call to parse_address_main.
402 (parse_sve_address): New function.
403 (parse_operands): Parse the new SVE address operands.
405 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
407 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
408 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
409 shift modes. Skip range tests for AARCH64_MOD_MUL.
410 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
411 (parse_operands): Likewise.
413 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
415 * config/tc-aarch64.c (parse_enum_string): New function.
416 (po_enum_or_fail): New macro.
417 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
418 AARCH64_OPND_SVE_PRFOP.
420 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
422 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
423 (parse_vector_type_for_operand): Assert that the skipped character
425 (parse_predication_for_operand): New function.
426 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
427 (vectype_to_qualifier): Handle NT_zero and NT_merge.
429 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
431 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
432 (AARCH64_REG_TYPES): Add ZN and PN.
433 (get_reg_expected_msg): Handle them.
434 (parse_vector_type_for_operand): Add a reg_type parameter.
435 Skip the width for Zn and Pn registers.
436 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
437 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
438 expecting the width to be 0.
439 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
441 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
442 (parse_operands): Handle the new Zn and Pn operands.
443 (REGSET16): New macro, split out from...
445 (reg_names): Add Zn and Pn entries.
447 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
449 * config/tc-aarch64.c (output_operand_error_record): Handle
450 AARCH64_OPDE_UNTIED_OPERAND.
452 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
454 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
455 instruction with all-NIL qualifiers to fail to match.
457 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
459 * config/tc-aarch64.c (parse_address_main): Remove reloc and
460 accept_reg_post_index parameters. Parse relocations and register
461 post indexes unconditionally.
462 (parse_address): Remove accept_reg_post_index parameter.
463 Update call to parse_address_main.
464 (parse_address_reloc): Delete.
465 (parse_operands): Call parse_address instead of parse_address_main.
466 Update existing callers of parse_address and make them check
467 inst.reloc.type where appropriate.
468 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
469 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
470 Also test for invalid uses of post-index register addressing.
471 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
473 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
475 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
477 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
478 (aarch64_check_reg_type): Simplify.
479 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
480 register number. Return the type as a qualifier rather than an
481 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
483 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
484 Use get_reg_expected_msg.
485 (parse_address_main): Likewise. Use aarch64_check_reg_type.
486 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
487 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
488 Use aarch64_check_reg_type to test the result.
489 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
490 addresses normally before enforcing the syntax restrictions.
491 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
492 zero register and for a stack pointer index.
493 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
494 Also update existing diagnostic messages after the above changes.
495 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
496 for 32-bit register bases.
498 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
500 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
501 (parse_operands): Check the range of 8-bit FP immediates here instead.
503 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
505 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
506 low-severity error for registers.
507 (parse_operands): Report an invalid floating point constant for
508 if parsing an FPIMM8 fails, and if no better error has been
510 * testsuite/gas/aarch64/diagnostic.s,
511 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
514 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
516 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
518 (can_convert_double_to_float): ...this. Accept any double-precision
519 value that converts to single precision without loss of precision.
520 (parse_aarch64_imm_float): Update accordingly.
522 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
524 * config/tc-aarch64.c (parse_immediate_expression): Add a
526 (parse_constant_immediate): Likewise, and update calls.
527 (parse_aarch64_imm_float): Likewise.
528 (parse_big_immediate): Likewise.
529 (po_imm_nc_or_fail): Update accordingly, passing down a new
530 imm_reg_type variable.
531 (po_imm_of_fail): Likewise.
532 (parse_operands): Likewise.
534 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
536 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
537 (parse_vector_reg_list): ...this and take a register type
539 (parse_operands): Update accordingly.
541 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
543 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
544 (parse_vector_type_for_operand): ...this.
545 (parse_typed_reg): Update accordingly.
547 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
549 * config/tc-aarch64.c (neon_type_el): Rename to...
550 (vector_type_el): ...this.
551 (parse_neon_type_for_operand): Update accordingly.
552 (parse_typed_reg): Likewise.
553 (aarch64_reg_parse): Likewise.
554 (vectype_to_qualifier): Likewise.
555 (parse_operands): Likewise.
556 (eq_neon_type_el): Likewise. Rename to...
557 (eq_vector_type_el): ...this.
558 (parse_neon_reg_list): Update accordingly.
560 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
562 * config/tc-aarch64.c (neon_el_type: Rename to...
563 (vector_el_type): ...this.
564 (neon_type_el): Update accordingly.
565 (parse_neon_type_for_operand): Likewise.
566 (vectype_to_qualifier): Likewise.
568 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
570 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
571 (parse_typed_reg): Call parse_neon_type_for_operand directly.
573 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
575 * testsuite/gas/arc/textinsnxop.d: New file.
576 * testsuite/gas/arc/textinsnxop.s: Likewise.
578 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
580 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
581 dcti-couples-v9 only in ELF targets to avoid spurious failures in
582 sparc-aout and sparc-coff targets.
584 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
586 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
587 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
588 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
589 <copy, paste.>: Update tests.
590 * testsuite/gas/ppc/power9.s: Likewise.
592 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
594 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
595 in "architecture mismatch" error messages.
597 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
599 * config/tc-sparc.c (md_assemble): Detect and warning on
600 unpredictable DCTI couples in certain arches.
601 (dcti_couples_detect): New global.
602 (md_longopts): Add command line option -dcti-couples-detect.
603 (md_show_usage): Document -dcti-couples-detect.
604 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
605 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
606 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
607 * testsuite/gas/sparc/dcti-couples.s: New file.
608 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
609 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
610 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
611 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
612 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
613 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
614 * doc/c-sparc.texi (Sparc-Opts): Likewise.
616 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
618 * testsuite/gas/arc/tls-relocs2.d: New file.
619 * testsuite/gas/arc/tls-relocs2.s: Likewise.
620 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
623 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
625 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
627 * doc/as.texinfo: Document new arch strings.
628 * doc/c-s390.texi: Likewise.
630 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
632 * config/tc-s390.c: Set all facitily bits by default
634 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
636 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
638 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
640 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
643 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
645 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
646 (set_cpu_arch): Updated.
647 (md_parse_option): Likewise.
648 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
649 iamcu-inval-2 and iamcu-inval-3.
650 * testsuite/gas/i386/iamcu-4.d: New file.
651 * testsuite/gas/i386/iamcu-4.s: Likewise.
652 * testsuite/gas/i386/iamcu-5.d: Likewise.
653 * testsuite/gas/i386/iamcu-5.s: Likewise.
654 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
655 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
656 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
657 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
659 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
661 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
662 ARMv8-A CPUs except xgene1.
664 2016-08-31 Alan Modra <amodra@gmail.com>
666 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
667 ppc_cpu rather than calling ppc_mach to determine VLE mode.
668 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
670 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
672 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
674 * testsuite/gas/sparc/crypto.s: Likewise.
676 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
678 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
679 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
680 their lowecase counterpart special registers. Write register
682 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
683 operation, special register and then case. Use different register for
684 each operation. Add tests for new special registers.
685 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
687 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
688 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
690 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
692 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
694 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
696 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
697 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
698 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
700 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
702 * config/tc-i386.c (cpu_arch): Add .ptwrite.
703 * doc/c-i386.texi: Document ptwrite and .ptwrite.
704 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
705 x86-64-ptwrite and x86-64-ptwrite-intel.
706 * testsuite/gas/i386/ptwrite-intel.d: New file.
707 * testsuite/gas/i386/ptwrite.d: Likewise.
708 * testsuite/gas/i386/ptwrite.s: Likewise.
709 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
710 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
711 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
713 2016-08-19 Tamar Christina <tamar.christina@arm.com>
715 * config/tc-arm.c (do_co_reg2c): Added constraint.
716 * testsuite/gas/arm/dest-unpredictable.s: New.
717 * testsuite/gas/arm/dest-unpredictable.l: New.
718 * testsuite/gas/arm/dest-unpredictable.d: New.
720 2016-08-19 Nick Clifton <nickc@redhat.com>
722 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
723 ordering of sections.
724 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
725 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
726 * testsuite/gas/ia64/alias.d: Likewise.
727 * testsuite/gas/ia64/group-1.d: Likewise.
728 * testsuite/gas/ia64/group-2.d: Likewise.
729 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
730 * testsuite/gas/ia64/secname.d: Likewise.
731 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
732 * testsuite/gas/ia64/unwind.d: Likewise.
733 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
734 * testsuite/gas/ia64/xdata.d: Likewise.
735 * testsuite/gas/mmix/bspec-1.d: Likewise.
736 * testsuite/gas/mmix/bspec-2.d: Likewise.
737 * testsuite/gas/mmix/byte-1.d: Likewise.
738 * testsuite/gas/mmix/loc-1.d: Likewise.
739 * testsuite/gas/mmix/loc-2.d: Likewise.
740 * testsuite/gas/mmix/loc-3.d: Likewise.
741 * testsuite/gas/mmix/loc-4.d: Likewise.
742 * testsuite/gas/mmix/loc-5.d: Likewise.
743 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
745 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
747 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
748 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
749 Add tests for -0.0. Add an end-of-file comment.
751 2016-08-05 Nick Clifton <nickc@redhat.com>
754 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
755 registers are pushed.
756 (do_vfp_nsyn_pop): Check that no more than 16 registers are
758 * testsuite/gas/arm/pr20429.s: New test.
759 * testsuite/gas/arm/pr20429.d: New test driver.
760 * testsuite/gas/arm/pr20429.1: Expected error output.
763 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
765 (aarch64_init): Treat rs_align frags in code sections as
766 containing code, not data.
767 * testsuite/gas/aarch64/pr20364.s: New test.
768 * testsuite/gas/aarch64/pr20364.d: New test driver.
770 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
773 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
774 of 64-bit relocation types when assembling for a 32-bit Solaris
777 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
779 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
781 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
782 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
783 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
784 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
786 (sparc_elf_setup): Delete.
787 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
790 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
792 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
793 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
794 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
795 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
796 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
797 (get_append_method): Also return APPEND_ADD_COMPACT for
798 microMIPS instructions.
799 (find_altered_mips16_opcode): Exclude macros from matching.
801 (find_altered_opcode): ... to this new function.
802 (find_altered_micromips_opcode): New function.
803 (frag_branch_delay_slot_size): Likewise.
804 (append_insn): Handle microMIPS branch/jump compaction.
805 (macro_start): Likewise.
806 (relaxed_micromips_32bit_branch_length): Likewise.
807 (md_convert_frag): Likewise.
808 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
809 for delay slot filling.
810 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
812 * testsuite/gas/mips/micromips-size-1.s: Likewise.
813 * testsuite/gas/mips/micromips.l: Adjust line numbers.
814 * testsuite/gas/mips/micromips-warn.l: Likewise.
815 * testsuite/gas/mips/micromips-size-1.l: Likewise.
816 * testsuite/gas/mips/micromips.d: Adjust padding.
817 * testsuite/gas/mips/micromips-trap.d: Likewise.
818 * testsuite/gas/mips/micromips-insn32.d: Likewise.
819 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
820 * testsuite/gas/mips/micromips@beq.d: Update patterns for
821 branch/jump compaction.
822 * testsuite/gas/mips/micromips@bge.d: Likewise.
823 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
824 * testsuite/gas/mips/micromips@blt.d: Likewise.
825 * testsuite/gas/mips/micromips@bltu.d: Likewise.
826 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
827 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
828 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
829 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
830 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
831 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
832 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
833 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
835 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
837 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
838 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
839 * testsuite/gas/mips/micromips@relax.d: Likewise.
840 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
841 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
842 * testsuite/gas/mips/branch-extern-2.d: Likewise.
843 * testsuite/gas/mips/branch-extern-4.d: Likewise.
844 * testsuite/gas/mips/branch-section-2.d: Likewise.
845 * testsuite/gas/mips/branch-section-4.d: Likewise.
846 * testsuite/gas/mips/branch-weak-2.d: Likewise.
847 * testsuite/gas/mips/branch-weak-5.d: Likewise.
848 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
849 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
850 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
851 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
853 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
855 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
857 * testsuite/gas/mips/micromips-compact.d: New test.
858 * testsuite/gas/mips/mips.exp: Run the new test.
860 2016-07-27 Graham Markall <graham.markall@embecosm.com>
862 * config/tc-arc.c: Add new global arc_addrtype_hash.
863 Define O_colon and O_addrtype.
864 (debug_exp): Add O_colon and O_addrtype.
865 (tokenize_arguments): Handle colon and address type
867 (declare_addrtype): New function.
868 (md_begin): Initialise arc_addrtype_hash.
869 (arc_parse_name): Add lookup of address types.
870 (assemble_insn): Handle colons and address types by
872 * testsuite/gas/arc/nps400-8.s: New file.
873 * testsuite/gas/arc/nps400-8.d: New file.
874 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
875 * testsuite/gas/arc/nps400-8.d: Add expected PMU
878 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
880 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
881 (RELAX_MICROMIPS_INSN32): New macro.
882 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
883 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
884 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
885 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
886 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
888 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
890 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
892 (md_convert_frag): Likewise.
893 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
895 * testsuite/gas/mips/micromips-branch-relax.l: Update line
897 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
898 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
899 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
901 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
903 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
905 * testsuite/gas/mips/mips.exp: Run the new tests.
907 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
909 * configure: Regenerated.
911 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
913 * testsuite/gas/arc/dsp.d: New file.
914 * testsuite/gas/arc/dsp.s: Likewise.
915 * testsuite/gas/arc/fpu.d: Likewise.
916 * testsuite/gas/arc/fpu.s: Likewise.
917 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
918 * testsuite/gas/arc/ext3op.d: Likewise.
919 * testsuite/gas/arc/tdpfp.d: Likewise.
920 * testsuite/gas/arc/tfpuda.d: Likewise.
922 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
924 * config/tc-mips.c (mips_force_relocation): Remove
925 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
927 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
929 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
930 Adjust comments for BAL to JALX linker conversion.
931 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
932 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
934 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
935 * testsuite/gas/mips/branch-local-4.d: New test.
936 * testsuite/gas/mips/branch-local-n32-4.d: New test.
937 * testsuite/gas/mips/branch-local-n64-4.d: New test.
938 * testsuite/gas/mips/branch-addend.d: New test.
939 * testsuite/gas/mips/branch-addend-n32.d: New test.
940 * testsuite/gas/mips/branch-addend-n64.d: New test.
941 * testsuite/gas/mips/branch-local-4.s: New test source.
942 * testsuite/gas/mips/branch-addend.s: New test source.
943 * testsuite/gas/mips/mips.exp: Run the new tests.
945 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
947 * config/tc-mips.c (mips_force_relocation): Also retain branch
948 relocations against MIPS16 and microMIPS symbols.
949 (fix_bad_cross_mode_jump_p): New function.
950 (fix_bad_same_mode_jalx_p): Likewise.
951 (fix_bad_misaligned_jump_p): Likewise.
952 (fix_bad_cross_mode_branch_p): Likewise.
953 (fix_bad_misaligned_branch_p): Likewise.
954 (fix_validate_branch): Likewise.
955 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
956 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
957 etc. Verify the ISA mode and alignment of the jump target.
958 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
959 with a call to `fix_validate_branch'.
960 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
961 <BFD_RELOC_16_PCREL_S2>: Likewise.
962 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
963 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
964 Verify the ISA mode and alignment of the branch target.
965 (md_convert_frag): Verify the ISA mode and alignment of resolved
966 MIPS16 branch targets.
967 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
968 branch targets with `.insn'.
969 * testsuite/gas/mips/branch-misc-5.s: Likewise.
970 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
972 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
973 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
974 non-instruction branch target with `.insn'.
975 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
976 with external symbols.
977 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
978 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
979 * testsuite/gas/mips/micromips-trap.d: Likewise.
980 * testsuite/gas/mips/micromips.d: Likewise.
981 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
982 targets with `.insn'.
983 * testsuite/gas/mips/mips16.d: Update accordingly.
984 * testsuite/gas/mips/mips16-64.d: Likewise.
985 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
986 branch target with `.insn'.
987 * testsuite/gas/mips/relax-swap3.s: Likewise.
988 * testsuite/gas/mips/branch-local-2.l: New list test.
989 * testsuite/gas/mips/branch-local-3.l: New list test.
990 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
991 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
992 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
993 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
994 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
995 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
996 * testsuite/gas/mips/unaligned-jump-3.d: New test.
997 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
998 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
999 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1000 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1002 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1004 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1005 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1006 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1007 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1008 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1009 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1010 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1011 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1012 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1013 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1014 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1015 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1016 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1017 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1019 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1021 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1022 * testsuite/gas/mips/branch-local-2.s: New test source.
1023 * testsuite/gas/mips/branch-local-3.s: New test source.
1024 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1025 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1026 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1027 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1028 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1029 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1030 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1031 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1032 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1034 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1036 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1037 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1038 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1039 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1040 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1041 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1042 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1044 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1046 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1048 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1050 * testsuite/gas/mips/mips.exp: Run the new tests.
1052 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1054 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1056 (do_pseudo_b): Adjust.
1057 (do_pseudo_bal): Likewise.
1058 (do_pseudo_bge): Likewise.
1059 (do_pseudo_bges): Likewise.
1060 (do_pseudo_bgt): Likewise.
1061 (do_pseudo_bgts): Likewise.
1062 (do_pseudo_ble): Likewise.
1063 (do_pseudo_bles): Likewise.
1064 (do_pseudo_blt): Likewise.
1065 (do_pseudo_blts): Likewise.
1066 (do_pseudo_br): Likewise.
1067 (do_pseudo_bral): Likewise.
1068 (do_pseudo_la): Likewise.
1069 (do_pseudo_li): Likewise.
1070 (do_pseudo_ls_bhw): Likewise.
1071 (do_pseudo_ls_bhwp): Likewise.
1072 (do_pseudo_ls_bhwpc): Likewise.
1073 (do_pseudo_ls_bhwi): Likewise.
1074 (do_pseudo_move): Likewise.
1075 (do_pseudo_neg): Likewise.
1076 (do_pseudo_not): Likewise.
1077 (do_pseudo_pushpopm): Likewise.
1078 (do_pseudo_pushpop): Likewise.
1079 (do_pseudo_v3push): Likewise.
1080 (do_pseudo_v3pop): Likewise.
1081 (do_pseudo_pushpop_stack): Likewise.
1082 (do_pseudo_push_bhwd): Likewise.
1083 (do_pseudo_pop_bhwd): Likewise.
1084 (do_pseudo_pusha): Likewise.
1085 (do_pseudo_pushi): Likewise.
1087 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1089 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1090 bfd_reloc_code_real_type.
1092 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1094 * config/tc-sparc.c (pop_table): Remove sentinel.
1095 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1098 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1100 * config/tc-z8k.c (newfix): Make type of type argument
1101 bfd_reloc_code_real_type.
1102 (apply_fix): Likewise.
1104 2016-07-16 Alan Modra <amodra@gmail.com>
1106 * config/tc-epiphany.c: Don't include libbfd.h.
1107 * config/tc-frv.c: Likewise.
1108 * config/tc-ip2k.c: Likewise.
1109 * config/tc-iq2000.c: Likewise.
1110 * config/tc-m32c.c: Likewise.
1111 * config/tc-mep.c: Likewise.
1112 * config/tc-mt.c: Likewise.
1113 * config/tc-nios2.c: Likewise.
1115 2016-07-16 Alan Modra <amodra@gmail.com>
1117 * config/bfin-parse.y: Don't include libbfd.h.
1118 * config/tc-bfin.c: Likewise.
1119 * config/tc-rl78.c: Likewise.
1120 * config/tc-rx.c: Likewise.
1121 * config/tc-metag.c: Likewise.
1122 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1123 * Makefile.am: Update dependencies.
1124 * Makefile.in: Regenerate.
1126 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1128 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1129 (mips_force_relocation_abs): New prototype.
1130 * config/tc-mips.c (mips_force_relocation_abs): New function.
1131 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1132 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1133 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1134 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1135 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1137 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1139 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1140 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1141 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1143 * testsuite/gas/mips/mips.exp: Run the new tests.
1145 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1147 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1148 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1149 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1151 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1152 in `bar', export `foo'.
1153 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1155 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1156 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1157 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1159 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1162 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1164 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1165 * testsuite/gas/mips/branch-absolute.d: New test.
1166 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1167 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1168 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1169 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1170 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1171 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1172 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1174 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1176 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1177 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1178 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1179 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1181 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1183 * testsuite/gas/mips/branch-absolute.s: New test source.
1184 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1185 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1187 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1189 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1191 * testsuite/gas/mips/mips.exp: Run the new tests.
1193 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1195 * testsuite/gas/mips/nal-1.d: New test.
1196 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1197 * testsuite/gas/mips/nal-2.d: New test.
1198 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1199 * testsuite/gas/mips/nal.s: New test source.
1200 * testsuite/gas/mips/mips.exp: Run the new tests.
1202 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1204 * testsuite/gas/sparc/ldtxa.s: New file.
1205 * testsuite/gas/sparc/ldtxa.d: Likewise.
1206 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1208 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1210 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1211 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1212 as it is no longer needed.
1214 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1216 * config/tc-mips.c (append_insn): Remove extraneous
1217 `install_insn' call.
1219 2016-07-04 Jan Beulich <jbeulich@suse.com>
1221 * config/tc-i386.c (check_qword_reg): Correct register kind
1223 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1224 16-bit register cases.
1225 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1228 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1230 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1231 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1232 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1233 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1234 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1235 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1237 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1238 * testsuite/gas/mips/bge.d: Likewise.
1239 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1240 * testsuite/gas/mips/bgeu.d: Likewise.
1241 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1242 * testsuite/gas/mips/blt.d: Likewise.
1243 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1244 * testsuite/gas/mips/bltu.d: Likewise.
1245 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1246 * testsuite/gas/mips/branch-likely.d: Likewise.
1247 * testsuite/gas/mips/la.d: Likewise.
1248 * testsuite/gas/mips/lb.d: Likewise.
1249 * testsuite/gas/mips/lifloat.d: Likewise.
1250 * testsuite/gas/mips/sb.d: Likewise.
1251 * testsuite/gas/mips/uld.d: Likewise.
1252 * testsuite/gas/mips/ulh.d: Likewise.
1253 * testsuite/gas/mips/ulw.d: Likewise.
1254 * testsuite/gas/mips/usd.d: Likewise.
1255 * testsuite/gas/mips/ush.d: Likewise.
1256 * testsuite/gas/mips/usw.d: Likewise.
1258 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1260 * testsuite/gas/mips/branch-misc-2.s: Move non
1261 locally-defined-global symbol tests...
1262 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1263 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1264 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1265 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1266 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1267 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1268 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1269 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1270 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1271 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1272 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1273 * testsuite/gas/mips/branch-misc-5.d: New test.
1274 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1275 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1276 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1277 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1278 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1279 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1280 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1281 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1282 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1283 * testsuite/gas/mips/mips.exp: Run the new tests.
1285 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1287 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1289 * testsuite/gas/mips/beq.d: Update accordingly.
1290 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1291 * testsuite/gas/mips/micromips@beq.d: Likewise.
1293 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1295 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1296 tests to NewABI targets.
1298 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1300 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1303 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1305 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1307 (aarch64_features): Initialize require fields.
1308 (aarch64_parse_features): Handle dependencies.
1309 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1310 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1311 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1312 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1313 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1315 2016-07-01 Nick Clifton <nickc@redhat.com>
1317 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1318 extremely large integer.
1320 2016-07-01 Jan Beulich <jbeulich@suse.com>
1322 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1324 2016-07-01 Tristan Gingold <gingold@adacore.com>
1326 * NEWS: Add marker for 2.27.
1328 2016-07-01 Jan Beulich <jbeulich@suse.com>
1330 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1332 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1333 as well as scaling by other than 1 tests.
1334 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1336 2016-07-01 Jan Beulich <jbeulich@suse.com>
1338 * tc-i386.c (md_assemble): Alter address size checking for MPX
1340 * testsuite/gas/i386/mpx-inval-2.s: New.
1341 * testsuite/gas/i386/mpx-inval-2.l: New.
1342 * testsuite/gas/i386/i386.exp: Run new test.
1344 2016-07-01 Jan Beulich <jbeulich@suse.com>
1347 * config/tc-i386.c (match_template): Add char parameter,
1348 consumed in Intel mode for an extra suffix check.
1349 (md_assemble): New local variable mnem_suffix.
1350 * testsuite/gas/i386/suffix-bad.s: New.
1351 * testsuite/gas/i386/suffix-bad.l: New.
1352 * testsuite/gas/i386/i386.exp: Run new test (twice).
1354 2016-07-01 Jan Beulich <jbeulich@suse.com>
1356 * testsuite/gas/i386/movz.s: New.
1357 * testsuite/gas/i386/movz32.d: New.
1358 * testsuite/gas/i386/movz64.d: New.
1359 * testsuite/gas/i386/i386.exp: Run new tests.
1361 2016-07-01 Jan Beulich <jbeulich@suse.com>
1363 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1364 (md_assemble): Free first memory operand string.
1365 (i386_index_check): Use repprefixok to distingush xlat from
1366 other (real) string ops.
1367 (maybe_adjust_templates): New.
1368 (i386_att_operand). Call it. Store first memory operand string.
1369 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1370 * testsuite/gas/i386/intel-movs.s: New.
1371 * testsuite/gas/i386/intel-movs32.d: New.
1372 * testsuite/gas/i386/intel-movs64.d: New.
1373 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1374 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1376 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1378 * config/tc-mips.c (get_append_method): Fix a comment typo.
1380 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1381 Maciej W. Rozycki <macro@imgtec.com>
1383 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1384 case MIPS16 handling.
1385 * testsuite/gas/mips/branch-swap-3.d: New test.
1386 * testsuite/gas/mips/branch-swap-4.d: New test.
1387 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1388 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1389 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1390 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1391 * testsuite/gas/mips/branch-swap-3.s: New test source.
1392 * testsuite/gas/mips/mips.exp: Run the new tests.
1394 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1396 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1399 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1402 * write.c (subsegs_finish_section): Force no section padding to
1403 alignment on failed assembly, always set last frag's alignment
1405 * testsuite/gas/all/pr20312.l: New list test.
1406 * testsuite/gas/all/pr20312.s: New test source.
1407 * testsuite/gas/all/gas.exp: Run the new test
1409 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1411 * config.in (TARGET_WITH_CPU): Undefine.
1412 * configure.ac: Add --with-cpu support, and define in config.h.
1413 * configure: Regenerate.
1414 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1415 * NEWS: Mention new configure option.
1417 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1419 * testsuite/gas/arm/armv8_2+rdma.d: New.
1421 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1423 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1424 default for Linux/x86 targets.
1425 * configure.tgt (ac_default_compressed_debug_sections): Default
1426 to yes for Linux/x86 targets.
1428 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1430 * write.c: Remove "libbfd.h" inclusion.
1432 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1434 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1437 2016-06-28 Alan Modra <amodra@gmail.com>
1440 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1442 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1444 * testsuite/gas/aarch64/diagnostic.s,
1445 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1447 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1449 * config/tc-mips.c (mips16_reloc_p): Handle
1450 BFD_RELOC_MIPS16_16_PCREL_S1.
1451 (b_reloc_p): Likewise.
1452 (limited_pcrel_reloc_p): Likewise.
1453 (md_pcrel_from): Likewise.
1454 (md_apply_fix): Likewise.
1455 (tc_gen_reloc): Likewise.
1456 (md_convert_frag): Likewise.
1457 (mips_fix_adjustable): Update comment.
1458 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1459 output, add dump patterns.
1460 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1461 output, add dump patterns.
1462 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1463 output, add dump patterns.
1464 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1465 output, add dump patterns.
1466 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1467 output, add dump patterns.
1468 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1469 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1470 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1471 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1472 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1473 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1474 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1475 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1476 * testsuite/gas/mips/branch-weak-6.d: New test.
1477 * testsuite/gas/mips/branch-weak-7.d: New test.
1478 * testsuite/gas/mips/mips.exp: Run the new tests.
1480 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1482 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1483 cfi_add_CFA_def_cfa to generate default CFA with offset
1484 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1486 2016-06-27 Nick Clifton <nickc@redhat.com>
1489 * as.h (do_not_pad_sections_to_alignment): New global variable.
1490 * as.c (show_usage): Add --no-pad-sections.
1491 (parse_args): Likewise.
1492 * write.c (size_seg): Skip padding the end of the section if
1493 requested from the command line.
1494 (SUB_SEGMENT_ALIGN): Likewise.
1495 * doc/as.texinfo: Document the new option.
1496 * NEWS: Mention the new feature.
1497 * testsuite/gas/elf/section11.s: New test.
1498 * testsuite/gas/elf/section11.d: New test driver.
1499 * testsuite/gas/elf/elf.exp: Run the new test.
1501 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1503 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1504 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1506 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1508 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1510 (map_suffix_reloc_to_operator): Likewise.
1511 (map_operator_to_reloc): Likewise.
1513 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1515 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1516 element in relax_table.
1518 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1520 * config/tc-aarch64.c: Make the type of reg_entry::type
1523 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1525 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1526 (md_parse_option): Adjust.
1527 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1528 with iteration from 0 to ARRAY_SIZE.
1529 * config/tc-mcore.c (md_begin): Likewise.
1530 * config/tc-visium.c (visium_parse_arch): Likewise.
1532 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1534 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1535 and simplify accordingly.
1536 (tic54x_include): Adjust.
1537 (tic54x_mlib): Likewise.
1539 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1541 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1543 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1545 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1546 unchanged with relaxed MIPS16 instructions.
1547 (mips16_extended_frag): Adjust accordingly. Return 1 right
1548 away if a relocation will be required for the symbol requested.
1549 Remove dead first relaxation pass code.
1550 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1551 (md_convert_frag): Adjust symbol value calculation. Raise an
1552 error if a relocation is required for the symbol requested.
1553 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1555 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1556 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1557 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1558 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1559 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1560 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1561 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1562 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1563 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1564 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1565 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1566 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1567 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1568 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1569 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1570 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1571 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1572 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1573 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1574 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1575 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1576 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1577 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1578 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1579 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1580 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1581 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1582 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1583 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1584 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1585 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1586 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1587 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1588 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1589 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1590 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1591 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1592 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1593 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1594 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1595 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1596 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1597 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1598 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1599 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1600 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1601 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1602 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1603 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1604 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1605 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1606 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1607 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1608 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1609 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1610 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1611 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1612 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1613 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1614 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1615 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1616 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1617 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1618 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1619 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1620 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1621 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1622 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1623 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1624 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1625 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1626 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1627 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1628 * testsuite/gas/mips/mips.exp: Run the new tests.
1630 2016-06-24 Alan Modra <amodra@gmail.com>
1632 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1634 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1636 * config/tc-mips.c (b_reloc_p): New function.
1637 (mips_fix_adjustable): Also keep the original microMIPS symbol
1638 referred from branch relocations.
1639 * testsuite/gas/mips/branch-local-1.d: New test.
1640 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1641 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1642 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1644 * testsuite/gas/mips/branch-local-1.s: New test source.
1645 * testsuite/gas/mips/mips.exp: Run the new cases.
1647 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1649 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1650 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1651 options. Correct erroneous enabling of SPFP instructions when
1654 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1656 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1657 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1658 setbool, xor3>: New tests.
1659 * testsuite/gas/ppc/power9.s: Likewise.
1661 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1663 * config/tc-xtensa.c: Include elf/xtensa.h.
1665 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1667 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1668 <BFD_RELOC_LO16_PCREL>: New switch cases.
1669 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1670 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1671 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1672 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1674 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1675 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1676 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1677 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1678 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1679 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1680 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1681 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1682 * testsuite/gas/mips/mips.exp: Run the new tests.
1684 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1686 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1687 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1688 via `fixP->fx_addsy'.
1690 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1692 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1693 Calculate relocation from the containing aligned doubleword.
1694 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1695 addend from the containing aligned doubleword.
1697 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1699 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1700 rather than `mips_opts' for the R6 ISA check.
1701 (mips_fix_adjustable): Likewise.
1702 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1703 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1704 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1705 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1706 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1707 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1708 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1709 * testsuite/gas/mips/mips.exp: Run the new tests.
1711 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1713 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1714 Add nps400 option and feature. Add check for nps400
1715 feature. Refactor existing checks to check subclass before
1717 (md_show_usage): Document flags for NPS-400 and add some other
1719 (cpu_type): Remove nps400 CPU type entry
1720 (check_zol): Remove bfd_mach_arc_nps400 case.
1721 (md_show_usage): Add help on -mcpu=nps400.
1722 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1724 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1725 -fpuda flags. Document -mcpu=nps400.
1726 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1727 expected flags to match ARC700 instead of NPS400.
1728 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1729 * testsuite/gas/arc/nps-400-2.d: Likewise.
1730 * testsuite/gas/arc/nps-400-3.d: Likewise.
1731 * testsuite/gas/arc/nps-400-4.d: Likewise.
1732 * testsuite/gas/arc/nps-400-5.d: Likewise.
1733 * testsuite/gas/arc/nps-400-6.d: Likewise.
1734 * testsuite/gas/arc/nps-400-7.d: Likewise.
1735 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1736 avoid clash with cbba instruction.
1737 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1738 * testsuite/gas/arc/textinsn3op.d: Likewise.
1739 * testsuite/gas/arc/textinsn3op.s: Likewise.
1740 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1741 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1743 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1745 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1746 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1748 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1750 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1753 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1755 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1757 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1759 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1760 %hmcddfr and %hva_mask_nz.
1761 (sparc_ip): New handling of asr/privileged/hyperprivileged
1762 registers, adapted to the new form of the sparc opcodes table.
1763 * testsuite/gas/sparc/rdasr.s: New file.
1764 * testsuite/gas/sparc/rdasr.d: Likewise.
1765 * testsuite/gas/sparc/wrasr.s: Likewise.
1766 * testsuite/gas/sparc/wrasr.d: Likewise.
1767 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1769 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1770 registers require it.
1771 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1772 registers and write instruction modalities.
1773 * testsuite/gas/sparc/wrpr.d: Likewise.
1774 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1776 * testsuite/gas/sparc/rdhpr.d: Likewise.
1777 * testsuite/gas/sparc/wrhpr.s: Likewise.
1778 * testsuite/gas/sparc/wrhpr.d: Likewise.
1780 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1782 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1783 architectures to use the right opcode architecture.
1784 (sparc_md_end): Handle v9{c,d,e,v,m}.
1785 (sparc_ip): Fix some comments.
1786 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1787 instruction, which is v9d.
1788 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1789 instruction from the test, as %mwait is not readable.
1790 * testsuite/gas/sparc/mwait.d: Likewise.
1791 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1792 mismatch architecture errors.
1793 * testsuite/gas/sparc/mism-2.s: New file.
1795 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1797 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1798 empty string to mark the end of the array.
1799 (hpriv_reg_table): Likewise.
1800 (v9a_asr_table): Likewise.
1801 (cmp_reg_entry): Handle entries with NULL names.
1803 (F_POP_PCREL): Likewise.
1804 (F_POP_TLS_CALL): Likewise.
1805 (F_POP_POSTFIX): Likewise.
1806 (struct pop_entry): New type.
1807 (pop_table): New variable.
1808 (enum pop_entry_type): New type.
1809 (struct perc_entry): Likewise.
1810 (NUM_PERC_ENTRIES): Define.
1811 (perc_table): New variable.
1812 (cmp_perc_entry): New function.
1813 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1815 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1816 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1819 2016-06-15 Nick Clifton <nickc@redhat.com>
1821 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1823 * config/tc-mcore.c (md_assemble): Likewise.
1824 * config/tc-mn10200.c (md_assemble): Likewise.
1825 * config/tc-moxie.c (md_assemble): Likewise.
1826 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1827 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1828 exception targets. Add alpha, hppa, microblaze and rl78 to list
1830 (forward): Add microblaze to list of exceptions.
1831 (fwdexp): Add alpha to list of exceptions.
1832 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1833 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1834 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1835 mn10200 to list of exceptions.
1836 (align2): Expect to fail for nds32.
1837 (cond): Add alpha and rl78 to list of exceptions.
1838 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1839 * testsuite/gas/all/string.d: Skip for tic4x.
1840 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1841 target does not support ELF.
1842 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1843 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1844 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1845 tests for sh-pe and sh-rtemscoff targets.
1846 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1848 (type): Run the noifunc version for alpha-freebsd and visium.
1849 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1850 mn10200 or moxie targets.
1851 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1852 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1854 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1855 mcore and rx targets.
1856 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1858 (purge): Expect to fail on the ns32k and vax.
1859 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1860 * testsuite/gas/nds32/ls.d: Likewise.
1861 * testsuite/gas/nds32/sys-reg.d: Likewise.
1862 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1863 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1864 * testsuite/gas/pe/section-align-3.d: Likewise.
1865 * testsuite/gas/pe/section-exclude.d: Likewise.
1866 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1868 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1869 for variations in whitespace.
1870 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1872 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1873 Installs a 32-bit value without generating warnings on 64-bit
1875 Use the new macro to replace the .word directives.
1877 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1879 * testsuite/gas/arc/add_s.d: New file.
1880 * testsuite/gas/arc/add_s.s: New file.
1882 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1884 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1885 * testsuite/gas/arc/nps400-6.d: Likewise.
1887 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1889 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1891 * testsuite/gas/arc/nps400-6.d: Likewise.
1893 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1895 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1896 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1897 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1898 * testsuite/gas/arc/nps400-6.d: Likewise.
1900 2016-06-14 Nick Clifton <nickc@redhat.com>
1902 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1905 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1907 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1908 JALR relocations on R6.
1909 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1910 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1911 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1912 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1913 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1914 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1916 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1917 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1919 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1920 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1922 * testsuite/gas/mips/mips.exp: Run the new tests.
1924 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1926 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1927 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1930 2016-06-13 Nick Clifton <nickc@redhat.com>
1932 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1933 that are not supported.
1935 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1937 * config/tc-cr16.c (check_range): Likewise.
1938 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1940 2016-06-08 Renlin Li <renlin.li@arm.com>
1942 * config/tc-aarch64.c (print_operands): Substitute size.
1943 (output_operand_error_record): Likewise.
1945 2016-06-07 Alan Modra <amodra@gmail.com>
1947 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1948 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1949 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1950 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1951 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1952 add vle_opcodes twice.
1953 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1955 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1957 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1958 (arm_ext_ras): Renamed from arm_ext_v8_2.
1959 (insns): Update for arm_ext_v8_2 renaming.
1960 (arm_extensions): Add "ras".
1961 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1962 * testsuite/gas/arm/armv8-a+ras.d: New.
1963 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1966 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1968 * itbl-parse.y (yyerror): Use modern argument declaration style.
1970 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1972 * config/tc-sh.c (parse_reg): Change type of mode argument to
1974 (get_operand): Adjust.
1975 (insert): Change type of how to bfd_reloc_code_real_type.
1976 (insert4): Likewise.
1977 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1978 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1980 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1982 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1985 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1988 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1989 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1990 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1991 * gas/testsuite/gas/ppc/power8.s: Likewise.
1992 * gas/testsuite/gas/ppc/power8.d: Likewise.
1993 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1995 * gas/testsuite/gas/ppc/power4.d: Likewise.
1997 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2000 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2001 * testsuite/gas/i386/x86-64-branch.d: Updated.
2002 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2003 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2004 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2006 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2008 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2009 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2011 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2013 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2014 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2016 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2018 * configure.tgt: Replace -uclibc with *.
2020 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2022 * config/tc-arc.c (parse_opcode_flags): New function.
2023 (find_opcode_match): Move flag parsing code out to new function.
2024 Ignore operands marked IGNORE.
2025 (build_fake_opcode_hash_entry): New function.
2026 (find_special_case_long_opcode): New function.
2027 (find_special_case): Lookup long opcodes.
2028 * testsuite/gas/arc/nps400-7.d: New file.
2029 * testsuite/gas/arc/nps400-7.s: New file.
2031 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2033 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2035 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2037 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2038 sentinal with iteration to array size.
2040 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2042 * config/xtensa-relax.h: Move typedefs of enums to the enums
2045 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2047 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2050 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2052 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2053 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2054 * testsuite/gas/arc/nps-400-1.d: Likewise.
2056 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2059 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2060 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2061 noavx512ifma and noavx512vbmi.
2062 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2063 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2065 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2066 * testsuite/gas/i386/noavx512-1.l: New file.
2067 * testsuite/gas/i386/noavx512-1.s: Likewise.
2068 * testsuite/gas/i386/noavx512-2.l: Likewise.
2069 * testsuite/gas/i386/noavx512-2.s: Likewise.
2071 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2074 * config/tc-i386.c (cpu_arch): Add 687.
2075 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2076 nosse4.1, nosse4.2, nosse4 and noavx2.
2077 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2078 register. Check cpuregxmm instead of cpusse for XMM register.
2079 Check cpuregymm instead of cpuavx for YMM register. Check
2080 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2081 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2082 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2083 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2084 * testsuite/gas/i386/arch-10.d (as): Likewise.
2085 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2086 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2087 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2089 * testsuite/gas/i386/no87-3.l: New file.
2090 * testsuite/gas/i386/no87-3.s: Likewise.
2091 * testsuite/gas/i386/noavx-3.l: Likewise.
2092 * testsuite/gas/i386/noavx-3.s: Likewise.
2093 * testsuite/gas/i386/noavx-4.d: Likewise.
2094 * testsuite/gas/i386/noavx-4.s: Likewise.
2095 * testsuite/gas/i386/nosse-4.l: Likewise.
2096 * testsuite/gas/i386/nosse-4.s: Likewise.
2097 * testsuite/gas/i386/nosse-5.d: Likewise.
2098 * testsuite/gas/i386/nosse-5.s: Likewise.
2100 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2103 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2105 (match_template): Check Intel64/AMD64 ISA.
2107 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2110 * config/tc-i386.c (intel64): New.
2111 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2112 (md_parse_option): Set intel64 instead of cpuamd64 and
2115 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2117 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2120 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2122 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2123 * testsuite/gas/ppc/altivec3.s: Likewise.
2124 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2125 * testsuite/gas/ppc/power9.s: Likewise.
2127 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2129 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2130 * testsuite/gas/i386/noavx-1.l: Likewise.
2131 * testsuite/gas/i386/nommx-1.l: Likewise.
2132 * testsuite/gas/i386/nosse-1.l: Likewise.
2133 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2134 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2135 * testsuite/gas/i386/noavx-1.s: Likewise.
2136 * testsuite/gas/i386/nommx-1.s: Likewise.
2137 * testsuite/gas/i386/nosse-1.s: Likewise.
2138 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2140 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2142 * config/tc-metag.c (metag_handle_align): Make the type of noop
2145 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2147 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2148 bfd_reloc_code_real_type.
2150 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2153 * config/tc-i386.c (cpu_flags_match): Require another match
2155 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2156 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2157 * testsuite/gas/i386/avx512vl-1.l: New file.
2158 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2159 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2160 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2161 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2162 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2163 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2164 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2166 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2169 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2170 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2171 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2173 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2175 * config/tc-i386.c (arch_entry): Remove negated.
2176 (noarch_entry): New struct.
2177 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2179 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2180 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2182 (output_message): New function.
2183 (show_arch): Use it. Handle cpu_noarch.
2184 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2185 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2186 * testsuite/gas/i386/noavx-1.l: New file.
2187 * testsuite/gas/i386/noavx-1.s: Likewise.
2188 * testsuite/gas/i386/noavx-2.s: Likewise.
2189 * testsuite/gas/i386/noavx-2.l: Likewise.
2190 * testsuite/gas/i386/nommx-1.s: Likewise.
2191 * testsuite/gas/i386/nommx-1.l: Likewise.
2192 * testsuite/gas/i386/nommx-2.s: Likewise.
2193 * testsuite/gas/i386/nommx-2.l: Likewise.
2194 * testsuite/gas/i386/nommx-3.s: Likewise.
2195 * testsuite/gas/i386/nommx-3.l: Likewise.
2196 * testsuite/gas/i386/nosse-1.s: Likewise.
2197 * testsuite/gas/i386/nosse-1.l: Likewise.
2198 * testsuite/gas/i386/nosse-2.s: Likewise.
2199 * testsuite/gas/i386/nosse-2.l: Likewise.
2200 * testsuite/gas/i386/nosse-3.s: Likewise.
2201 * testsuite/gas/i386/nosse-3.l: Likewise.
2203 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2206 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2207 instruction if supported by the currently selected fpu variant.
2208 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2209 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2211 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2213 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2214 jump relocations against MIPS16 or microMIPS symbols on RELA
2216 * testsuite/gas/mips/jalx-local.d: New test.
2217 * testsuite/gas/mips/jalx-local-n32.d: New test.
2218 * testsuite/gas/mips/jalx-local-n64.d: New test.
2219 * testsuite/gas/mips/jalx-local.s: New test source.
2220 * testsuite/gas/mips/mips.exp: Run the new tests.
2222 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2224 * config/tc-mips.c (md_apply_fix)
2225 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2228 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2230 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2231 operator to operatorT.
2232 (map_suffix_reloc_to_operator): Change return type to operatorT.
2234 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2236 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2238 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2240 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2241 handler_charp to const char *.
2243 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2245 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2246 (ft32_target_format): Likewise.
2247 (TARGET_FORMAT): Adjust.
2249 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2251 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2252 (ia64_frob_label): Likewise.
2254 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2256 * config/tc-cr16.c (check_range): Make type of retval op_err.
2257 * config/tc-crx.c: Likewise.
2259 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2261 * config/tc-arc.c (md_begin): Add XY registers.
2262 (cpu_types): Code density is default off for ARC EM.
2264 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2266 * config/tc-arc.c (attributes_t): Renamed attribute class to
2268 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2270 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2272 * configuse.tgt: Add entry for arm-phoenix.
2274 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2276 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2278 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2280 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2282 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2284 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2285 (md_begin): Likewise.
2286 (encode_condition): Likewise.
2287 (encode_cc3): Likewise.
2288 (encode_cc2): Likewise.
2289 (encode_operand): Likewise.
2290 (tic54x_undefined_symbol): Likewise.
2292 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2294 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2296 * doc/c-mips.texi: Document p6600 -march option.
2298 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2301 * config/tc-i386.c (md_apply_fix): Preserve addend for
2302 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2303 * testsuite/gas/i386/addend.d: New file.
2304 * testsuite/gas/i386/addend.s: Likewise.
2305 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2306 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2307 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2308 * testsuite/gas/i386/reloc32.d: Updated.
2310 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2312 * config/tc-mips.c (append_insn): Correct the encoding of a
2313 constant argument for microMIPS JALX.
2314 (tc_gen_reloc): Correct the encoding of an in-place addend for
2316 * testsuite/gas/mips/jalx-addend.d: New test.
2317 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2318 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2319 * testsuite/gas/mips/jalx-imm.d: New test.
2320 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2321 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2322 * testsuite/gas/mips/jalx-addend.s: New test source.
2323 * testsuite/gas/mips/jalx-imm.s: New test source.
2324 * testsuite/gas/mips/mips.exp: Run the new tests.
2326 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2328 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2331 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2333 * config/tc-arc.c (find_opcode_match): Remove casting away of
2335 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2337 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2339 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2341 (md_convert_frag): Likewise.
2343 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2345 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2346 cached opcode to NULL when we reach a non-matching opcode.
2347 * testsuite/gas/arc/asm-errors-2.d: New file.
2348 * testsuite/gas/arc/asm-errors-2.err: New file.
2349 * testsuite/gas/arc/asm-errors-2.s: New file.
2351 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2353 * config/tc-arc.c (tokenize_arguments): Add checks for array
2355 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2356 * testsuite/gas/arc/asm-errors.err: Update expected results.
2358 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2360 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2361 int to enum rx_cpu_types.
2363 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2365 * config/tc-dlx.c (struct machine_it): change the type of a field from
2366 int to bfd_reloc_code_real_type.
2367 * config/tc-tic4x.c: Likewise.
2369 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2371 * config/tc-v850.c (v850_target_arch): change type to enum
2373 * config/tc-v850.h (v850_target_arch): Likewise.
2375 2016-05-18 Alan Modra <amodra@gmail.com>
2377 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2378 allowed negative range.
2379 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2380 * testsuite/gas/ppc/power9.d: Update.
2382 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2384 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2385 disassembling and stop skipping targets.
2386 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2387 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2388 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2389 instruction for targets that have stronger alignment requirement.
2390 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2391 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2392 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2393 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2394 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2395 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2396 * testsuite/gas/arm/archv8m-main.d: Likewise.
2397 * testsuite/gas/arm/archv8m.s: Add label.
2398 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2399 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2400 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2402 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2404 * config/tc-m32r.c (mach_table): Make static and const.
2406 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2408 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2411 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2413 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2415 * config/tc-msp430.c (md_begin): Likewise.
2417 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2419 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2420 bfd_reloc_code_real_type where appropriate.
2421 (fixup16): Likewise.
2422 (fixup8_xg): Likewise.
2424 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2426 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2428 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2430 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2431 * testsuite/gas/ppc/power9.s: Likewise.
2433 2016-05-13 Alan Modra <amodra@gmail.com>
2435 * config/obj-coff.c (weak_uniquify): Delete unused var.
2437 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2439 * app.c (app_push): Use XNEW and related macros.
2440 * as.c (parse_args): Likewise.
2441 * cgen.c (make_right_shifted_expr): Likewise.
2442 (gas_cgen_tc_gen_reloc): Likewise.
2443 * config/bfin-defs.h: Likewise.
2444 * config/bfin-parse.y: Likewise.
2445 * config/obj-coff.c (stack_init): Likewise.
2446 (stack_push): Likewise.
2447 (coff_obj_symbol_new_hook): Likewise.
2448 (coff_obj_symbol_clone_hook): Likewise.
2449 (add_lineno): Likewise.
2450 (coff_frob_symbol): Likewise.
2451 * config/obj-elf.c (obj_elf_section_name): Likewise.
2452 (build_group_lists): Likewise.
2453 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2454 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2455 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2456 (find_or_make_literal_pool): Likewise.
2457 (add_to_lit_pool): Likewise.
2458 (fill_instruction_hash_table): Likewise.
2459 * config/tc-alpha.c (load_expression): Likewise.
2460 (emit_jsrjmp): Likewise.
2461 (s_alpha_ent): Likewise.
2462 (s_alpha_end): Likewise.
2463 (s_alpha_linkage): Likewise.
2464 (md_begin): Likewise.
2465 (tc_gen_reloc): Likewise.
2466 * config/tc-arc.c (arc_insert_opcode): Likewise.
2467 (arc_extcorereg): Likewise.
2468 * config/tc-bfin.c: Likewise.
2469 * config/tc-cr16.c: Likewise.
2470 * config/tc-cris.c: Likewise.
2471 * config/tc-crx.c (preprocess_reglist): Likewise.
2472 * config/tc-d10v.c: Likewise.
2473 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2474 (frv_tomcat_shuffle): Likewise.
2475 * config/tc-h8300.c: Likewise.
2476 * config/tc-i370.c (i370_macro): Likewise.
2477 * config/tc-i386.c (lex_got): Likewise.
2478 (md_parse_option): Likewise.
2479 * config/tc-ia64.c (alloc_record): Likewise.
2480 (set_imask): Likewise.
2481 (save_prologue_count): Likewise.
2482 (dot_proc): Likewise.
2483 (dot_endp): Likewise.
2484 (ia64_frob_label): Likewise.
2485 (add_qp_imply): Likewise.
2486 (add_qp_mutex): Likewise.
2487 (mark_resource): Likewise.
2488 (dot_alias): Likewise.
2489 * config/tc-m68hc11.c: Likewise.
2490 * config/tc-m68k.c (m68k_frob_label): Likewise.
2492 (mri_control_label): Likewise.
2493 (push_mri_control): Likewise.
2494 (build_mri_control_operand): Likewise.
2495 (s_mri_else): Likewise.
2496 (s_mri_break): Likewise.
2497 (s_mri_next): Likewise.
2498 (s_mri_for): Likewise.
2499 (s_mri_endw): Likewise.
2500 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2501 * config/tc-microblaze.c: Likewise.
2502 * config/tc-mmix.c (s_loc): Likewise.
2503 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2504 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2505 * config/tc-rl78.c: Likewise.
2506 * config/tc-rx.c (rx_include): Likewise.
2507 * config/tc-sh.c: Likewise.
2508 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2509 * config/tc-sparc.c: Likewise.
2510 * config/tc-spu.c: Likewise.
2511 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2512 (tic6x_start_unwind_section): Likewise.
2513 * config/tc-tilegx.c: Likewise.
2514 * config/tc-tilepro.c: Likewise.
2515 * config/tc-v850.c: Likewise.
2516 * config/tc-visium.c: Likewise.
2517 * config/tc-xgate.c: Likewise.
2518 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2519 (new_resource_table): Likewise.
2520 (resize_resource_table): Likewise.
2521 (xtensa_create_trampoline_frag): Likewise.
2522 (xtensa_maybe_create_literal_pool_frag): Likewise.
2523 (cache_literal_section): Likewise.
2524 * config/xtensa-relax.c (append_transition): Likewise.
2525 (append_condition): Likewise.
2526 (append_value_condition): Likewise.
2527 (append_constant_value_condition): Likewise.
2528 (append_literal_op): Likewise.
2529 (append_label_op): Likewise.
2530 (append_constant_op): Likewise.
2531 (append_field_op): Likewise.
2532 (append_user_fn_field_op): Likewise.
2533 (enter_opname_n): Likewise.
2534 (enter_opname): Likewise.
2535 (split_string): Likewise.
2536 (parse_insn_templ): Likewise.
2537 (clone_req_or_option_list): Likewise.
2538 (clone_req_option_list): Likewise.
2539 (parse_option_cond): Likewise.
2540 (parse_insn_pattern): Likewise.
2541 (parse_insn_repl): Likewise.
2542 (build_transition): Likewise.
2543 (build_transition_table): Likewise.
2544 * dw2gencfi.c (alloc_fde_entry): Likewise.
2545 (alloc_cfi_insn_data): Likewise.
2546 (cfi_add_CFA_remember_state): Likewise.
2547 (dot_cfi_escape): Likewise.
2548 (dot_cfi_fde_data): Likewise.
2549 (select_cie_for_fde): Likewise.
2550 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2551 * ecoff.c (ecoff_add_bytes): Likewise.
2552 (ecoff_build_debug): Likewise.
2553 * input-scrub.c (input_scrub_push): Likewise.
2554 (input_scrub_begin): Likewise.
2555 (input_scrub_next_buffer): Likewise.
2556 * itbl-ops.c (append_insns_as_macros): Likewise.
2557 (alloc_entry): Likewise.
2558 (alloc_field): Likewise.
2559 * listing.c (listing_newline): Likewise.
2560 (listing_listing): Likewise.
2561 * macro.c (get_any_string): Likewise.
2562 (delete_macro): Likewise.
2563 * stabs.c (generate_asm_file): Likewise.
2564 (stabs_generate_asm_lineno): Likewise.
2565 * subsegs.c (subseg_change): Likewise.
2566 (subseg_get): Likewise.
2567 * symbols.c (define_dollar_label): Likewise.
2568 (symbol_relc_make_sym): Likewise.
2569 * write.c (write_relocs): Likewise.
2571 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2573 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2574 (weak_name2altname): Likewise.
2575 (weak_uniquify): Likewise.
2576 (obj_coff_section): Likewise.
2577 (obj_coff_init_stab_section): Likewise.
2578 * config/obj-elf.c (obj_elf_section_name): Likewise.
2579 (obj_elf_init_stab_section): Likewise.
2580 * config/obj-evax.c (evax_shorten_name): Likewise.
2581 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2582 * config/tc-aarch64.c (create_register_alias): Likewise.
2583 * config/tc-alpha.c (load_expression): Likewise.
2584 (s_alpha_file): Likewise.
2585 (s_alpha_section_name): Likewise.
2586 (tc_gen_reloc): Likewise.
2587 * config/tc-arc.c (md_assemble): Likewise.
2588 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2589 (start_unwind_section): Likewise.
2590 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2591 (hppa_elf_mark_end_of_function): Likewise.
2592 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2593 (nios2_negate_arg): Likewise.
2594 * config/tc-rx.c (rx_section): Likewise.
2595 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2596 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2597 * config/tc-tic54x.c (tic54x_include): Likewise.
2598 (tic54x_macro_info): Likewise.
2599 (subsym_get_arg): Likewise.
2600 (subsym_substitute): Likewise.
2601 (tic54x_start_line_hook): Likewise.
2602 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2603 (xg_reverse_shift_count): Likewise.
2604 * config/xtensa-relax.c (enter_opname_n): Likewise.
2605 (split_string): Likewise.
2606 * dwarf2dbg.c (get_filenum): Likewise.
2607 (process_entries): Likewise.
2608 * expr.c (operand): Likewise.
2609 * itbl-ops.c (alloc_entry): Likewise.
2610 * listing.c (listing_message): Likewise.
2611 (listing_title): Likewise.
2612 * macro.c (check_macro): Likewise.
2613 * stabs.c (s_xstab): Likewise.
2614 * symbols.c (symbol_relc_make_expr): Likewise.
2615 * write.c (compress_debug): Likewise.
2617 2016-05-12 Nick Clifton <nickc@redhat.com>
2620 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2622 2016-05-11 Nick Clifton <nickc@redhat.com>
2625 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2626 big endian ARM configurations.
2628 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2629 Matthew Fortune <matthew.fortune@imgtec.com>
2631 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2633 (md_longopts): Likewise.
2634 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2635 (mips_ases): Define availability for DSPr3.
2636 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2637 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2638 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2640 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2641 .set nodspr3. Fix -mdspr2 formatting.
2642 * testsuite/gas/mips/mips32-dspr3.d: New file.
2643 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2644 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2646 2016-05-11 Nick Clifton <nickc@redhat.com>
2649 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2650 to the pool uses O_constant.
2651 * testsuite/gas/arm/pr20068.s: New test.
2652 * testsuite/gas/arm/pr20068.d: Test driver.
2654 2016-05-11 Nick Clifton <nickc@redhat.com>
2656 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2657 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2658 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2659 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2660 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2661 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2662 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2663 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2664 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2666 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2668 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2669 * testsuite/gas/i386/prefix.d: Adjust.
2670 * testsuite/gas/i386/rdpid.s: New test.
2671 * testsuite/gas/i386/rdpid.d: Ditto.
2672 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2673 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2674 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2675 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2677 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2679 * config/tc-i386.c (cpu_arch): Add RDPID.
2680 * doc/c-i386.texi: Document RDPID.
2682 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2684 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2685 set branch type of a symbol.
2687 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2689 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2690 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2692 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2693 (aeabi_set_public_attributes): Memorize the feature bits of the
2694 architecture selected for Tag_CPU_arch. Use it to set
2695 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2696 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2697 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2698 * testsuite/gas/arm/arch7em-bad-1.d: This.
2699 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2700 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2701 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2702 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2703 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2704 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2705 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2706 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2708 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2710 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2711 allowed_archs an array with 2 entries.
2712 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2713 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2714 (arm_extensions): Use separate entries in allowed_archs when several
2715 archs are allowed to use an extension and change ARCH_ANY in
2716 ARM_ARCH_NONE in allowed_archs.
2717 (arm_parse_extension): Check that, for each allowed_archs entry, all
2718 bits are set in the current architecture, ignoring ARM_ANY entries.
2719 (s_arm_arch_extension): Likewise.
2721 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2723 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2724 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2725 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2726 shared with a non M profile architecture.
2727 (do_rn): New function.
2728 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2730 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2731 (insns): Add ARMv8-M Security Extensions instructions.
2732 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2733 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2734 * testsuite/gas/arm/archv8m-cmse.s: New file.
2735 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2736 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2737 * testsuite/gas/arm/any-cmse.d: Likewise.
2738 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2739 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2740 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2741 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2742 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2743 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2745 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2747 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2748 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2750 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2752 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2753 (fpu_arch_vfp_v3): Likewise.
2754 (fpu_arch_neon_v1): Likewise.
2755 (arm_arch_full): Likewise.
2756 (parse_neon_el_struct_list): Initialize fields of firsttype.
2758 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2760 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2761 (arc_extinsn): Handle new introduced syntax.
2762 * testsuite/gas/arc/textinsn1op.d: New file.
2763 * testsuite/gas/arc/textinsn1op.s: Likewise.
2764 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2766 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2768 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2769 DW_LNS_fixed_advance_pc.
2771 2016-04-27 Alan Modra <amodra@gmail.com>
2773 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2774 (xmemdup0): New inline function.
2776 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2778 * config/tc-mips.c (code_option_type): New enum.
2779 (parse_code_option): Return status indicating option type.
2780 (s_mipsset): Update `parse_code_option' call site accordingly.
2781 Always set register sizes from the ISA with ISA overrides.
2782 (s_module): Update `parse_code_option' call site.
2783 * testsuite/gas/mips/isa-override-1.d: New test.
2784 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2785 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2786 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2787 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2788 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2789 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2790 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2791 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2792 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2793 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2794 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2795 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2796 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2797 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2798 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2799 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2800 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2801 * testsuite/gas/mips/isa-override-2.l: New list test.
2802 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2803 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2804 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2805 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2806 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2807 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2808 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2809 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2810 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2811 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2812 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2814 * testsuite/gas/mips/isa-override-1.s: New test source.
2815 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2816 * testsuite/gas/mips/isa-override-2.s: New test source.
2817 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2818 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2819 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2820 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2821 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2822 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2823 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2824 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2825 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2826 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2827 * testsuite/gas/mips/mips.exp: Run the new tests.
2829 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2832 * config/tc-bfin.c: Likewise.
2833 * config/tc-ia64.c: Likewise.
2834 * config/tc-mep.c: Likewise.
2835 * config/tc-metag.c: Likewise.
2836 * config/tc-nios2.c: Likewise.
2837 * config/tc-rl78.c: Likewise.
2839 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2841 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2842 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2843 (ARC Directives): Add NPS400 to .cpu directive list.
2845 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2847 * config/tc-aarch64.c (aarch64_features): Add "ras".
2848 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2849 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2850 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2851 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2852 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2854 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2856 * testsuite/gas/arc/nps400-6.d: New file.
2857 * testsuite/gas/arc/nps400-6.s: New file.
2859 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2861 * testsuite/gas/arc/nps400-4.d: New file.
2862 * testsuite/gas/arc/nps400-4.s: New file.
2863 * testsuite/gas/arc/nps400-5.d: New file.
2864 * testsuite/gas/arc/nps400-5.s: New file.
2866 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2868 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2871 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2873 Revert prevous change.
2874 * config/tc-arc.c (arc_option): Make .cpu directive
2875 case-sensitive again.
2877 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2879 * config/tc-arc.c (arc_option): Make .cpu directive
2882 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2884 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2886 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2888 * config/tc-mips.c (md_begin): Remove useless assignment.
2890 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2892 * Makefile.in: Regenerated with automake 1.11.6.
2893 * aclocal.m4: Likewise.
2894 * doc/Makefile.in: Likewise.
2896 2016-04-15 Alan Modra <amodra@gmail.com>
2898 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2900 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2902 * config/tc-nios2.c (nios2_as_options): Make file static.
2903 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2904 * config/tc-sparc.c (native_op_table): Likewise.
2906 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2908 * config/tc-m32c.c (M32C_Macros): Remove.
2909 * config/tc-msp430.c (option_numbers): Likewise.
2911 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2913 * testsuite/gas/arc/nps400-3.d: New file.
2914 * testsuite/gas/arc/nps400-3.s: New file.
2916 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2918 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2919 * testsuite/gas/arc/warn.s: Likewise.
2920 * testsuite/gas/elf/elf.exp: Run test for arc.
2922 2016-04-14 Nick Clifton <nickc@redhat.com>
2925 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2926 sections possibly having the SHF_STRINGS flag bit set.
2927 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2929 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2931 * config/tc-arc.c (mach_type_specified_p): Change type to
2933 (arc_option): Set private flags when parsing cpu pseudo-op.
2934 (md_parse_option): Set mach_type_specified_p to TRUE.
2936 2016-04-13 Nick Clifton <nickc@redhat.com>
2939 * testsuite/gas/v850/pr19937.s: New test.
2940 * testsuite/gas/v850/pr19937.d: New test control file.
2941 * testsuite/gas/v850/basic.exp: Run the new test.
2943 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2944 Andrew Bennett <andrew.bennett@imgtec.com>
2946 * config/tc-mips.c (relaxed_branch_length): Use the long
2947 sequence where the target is a weak symbol.
2948 (relaxed_micromips_32bit_branch_length): Likewise.
2949 (relaxed_micromips_16bit_branch_length): Likewise.
2950 * testsuite/gas/mips/branch-weak-1.d: New test.
2951 * testsuite/gas/mips/branch-weak-2.d: New test.
2952 * testsuite/gas/mips/branch-weak-3.d: New test.
2953 * testsuite/gas/mips/branch-weak-4.d: New test.
2954 * testsuite/gas/mips/branch-weak-5.d: New test.
2955 * testsuite/gas/mips/branch-weak.l: New stderr output.
2956 * testsuite/gas/mips/branch-weak.s: New test source.
2957 * testsuite/gas/mips/mips.exp: Run the new tests.
2959 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2961 * config/tc-mips.c (relaxed_branch_length): Use the long
2962 sequence where the distance cannot be determined.
2963 (relaxed_micromips_32bit_branch_length): Likewise.
2964 * testsuite/gas/mips/branch-extern-1.d: New test.
2965 * testsuite/gas/mips/branch-extern-2.d: New test.
2966 * testsuite/gas/mips/branch-extern-3.d: New test.
2967 * testsuite/gas/mips/branch-extern-4.d: New test.
2968 * testsuite/gas/mips/branch-extern.l: New stderr output.
2969 * testsuite/gas/mips/branch-extern.s: New test source.
2970 * testsuite/gas/mips/branch-section-1.d: New test.
2971 * testsuite/gas/mips/branch-section-2.d: New test.
2972 * testsuite/gas/mips/branch-section-3.d: New test.
2973 * testsuite/gas/mips/branch-section-4.d: New test.
2974 * testsuite/gas/mips/branch-section.l: New stderr output.
2975 * testsuite/gas/mips/branch-section.s: New test source.
2976 * testsuite/gas/mips/mips.exp: Run the new tests.
2978 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2980 * testsuite/gas/arc/textauxregister.d: New file.
2981 * testsuite/gas/arc/textauxregister.s: Likewise.
2982 * testsuite/gas/arc/textcondcode.d: Likewise.
2983 * testsuite/gas/arc/textcondcode.s: Likewise.
2984 * testsuite/gas/arc/textcoreregister.d: Likewise.
2985 * testsuite/gas/arc/textcoreregister.s: Likewise.
2986 * testsuite/gas/arc/textpseudoop.d: Likewise.
2987 * testsuite/gas/arc/textpseudoop.s: Likewise.
2988 * testsuite/gas/arc/ld2.d: Update test.
2989 * testsuite/gas/arc/st.d: Likewise.
2990 * testsuite/gas/arc/taux.d: Likewise.
2991 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2992 .extCoreRegister and .extAuxRegister documentation.
2993 * config/tc-arc.c (arc_extcorereg): New function.
2994 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2995 .extAuxRegister pseudo-ops.
2996 (extRegister_t): New type.
2997 (ext_condcode, arc_aux_hash): New global variable.
2998 (find_opcode_match): Check for extensions.
2999 (preprocess_operands): Likewise.
3000 (md_begin): Add aux registers in a hash.
3001 (assemble_insn): Update use arc_flags member.
3002 (tokenize_extregister): New function.
3003 (create_extcore_section): Likewise.
3004 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3006 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3008 * testsuite/gas/arc/noargs_a7.d: New file.
3009 * testsuite/gas/arc/noargs_a7.s: Likewise.
3010 * testsuite/gas/arc/noargs_hs.d: Likewise.
3011 * testsuite/gas/arc/noargs_hs.s: Likewise.
3013 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3015 * testsuite/gas/arc/textinsn-errors.d: New File.
3016 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3017 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3018 * testsuite/gas/arc/textinsn2op.d: Likewise.
3019 * testsuite/gas/arc/textinsn2op.s: Likewise.
3020 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3021 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3022 * testsuite/gas/arc/textinsn3op.d: Likewise.
3023 * testsuite/gas/arc/textinsn3op.s: Likewise.
3024 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3026 * config/tc-arc.c (arcext_section): New variable.
3027 (arc_extinsn): New function.
3028 (md_pseudo_table): Add .extInstruction pseudo op.
3029 (attributes_t): New type.
3030 (suffixclass, syntaxclass, syntaxclassmod): New constant
3032 (find_opcode_match): Remove arc_num_opcodes.
3033 (md_begin): Likewise.
3034 (tokenize_extinsn): New function.
3035 (arc_set_ext_seg): Likewise.
3036 (create_extinst_section): Likewise.
3038 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3040 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3041 (arc_adjust_symtab): New function.
3042 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3043 (obj_adjust_symtab): Likewise.
3044 * testsuite/gas/arc/taux.d: New file.
3045 * testsuite/gas/arc/taux.s: Likewise.
3047 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3049 * config/tc-mips.c (s_option): Sanitize `.option picX'
3051 * testsuite/gas/mips/option-pic-1.d: New test.
3052 * testsuite/gas/mips/option-pic-2.l: New list test.
3053 * testsuite/gas/mips/option-pic-1.s: New test source.
3054 * testsuite/gas/mips/option-pic-2.s: New test source.
3055 * testsuite/gas/mips/mips.exp: Run the new tests.
3057 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3059 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3061 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3062 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3063 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3064 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3065 * testsuite/gas/mips/mips.exp: Run the new tests.
3067 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3069 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3071 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3073 * messages.c (as_bad): Fix a typo in description.
3075 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3077 * config/tc-mips.c (mips_check_options): Unify messages.
3079 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3081 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3084 2016-04-08 Nick Clifton <nickc@redhat.com>
3087 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3088 COFF and AOUT sparc targets.
3090 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3092 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3093 * testsuite/gas/arc/nps400-2.d: New file.
3094 * testsuite/gas/arc/nps400-2.s: New file.
3096 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3098 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3100 (arc_opcode_hash_entry_iterator_init): New function.
3101 (arc_opcode_hash_entry_iterator_next): New function.
3102 (find_opcode_match): Iterate over all arc_opcode entries
3103 referenced by the arc_opcode_hash_entry passed in as a parameter.
3105 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3107 * config/tc-arc.c (arc_find_opcode): Now returns
3108 arc_opcode_hash_entry pointer.
3109 (find_opcode_match): Update argument type, extract arc_opcode from
3110 incoming arc_opcode_hash_entry.
3111 (find_special_case_pseudo): Update return type.
3112 (find_special_case_flag): Update return type.
3113 (find_special_case): Update return type.
3114 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3115 instruction mnemonic, then use find_opcode_match to identify
3116 specific arc_opcode.
3118 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3120 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3121 (arc_find_opcode): New function.
3122 (find_special_case_pseudo): Use arc_find_opcode.
3123 (find_special_case_flag): Likewise.
3124 (assemble_tokens): Likewise.
3125 (md_begin): Build hash using struct arc_opcode_hash_entry.
3127 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3129 * config/tc-arc.c (arc_option): Prepare string for automatic
3131 (declare_register): Likewise.
3133 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3135 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3136 Correct entry for RDMA. Alpha sort entries.
3138 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3140 * config/tc-arc.c (tokenize_flags): Allow greater range of
3141 characters into flag names.
3143 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3145 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3147 (preprocess_operands): Delete.
3148 (assemble_tokens): Remove call to preprocess_operands.
3150 2016-04-07 Nick Clifton <nickc@redhat.com>
3153 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3154 inside a %-macro could not be fully parsed.
3155 * expr.c (integer_constant): Accept and ignore U suffixes to
3157 (operand): When a missing closing parenthesis is encountered,
3158 report the character that was found instead.
3159 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3160 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3161 * testsuite/gas/sparc/pr19910-1.s: New test.
3162 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3163 * testsuite/gas/sparc/pr19910-2.s: New test.
3164 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3166 2016-04-06 Nick Clifton <nickc@redhat.com>
3168 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3169 an EINT instruction. Warn/fix as necessary.
3170 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3171 * testsuite/gas/msp430/bad.l: Update expected messages.
3173 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3175 * testsuite/gas/arc/nps400-1.d: Update expected results.
3176 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3178 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3180 * config/tc-arc.c (is_code_density_p): Compare directly the
3182 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3183 (check_cpu_feature): New function.
3184 (find_opcode_match): Use check_cpu_feature function.
3185 (preprocess_operands): Likewise.
3186 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3187 * testsuite/gas/arc/tdpfp.d: New file.
3188 * testsuite/gas/arc/tfpuda.d: Likewise.
3189 * testsuite/gas/arc/tfpx.s: Likewise.
3191 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3193 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3194 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3195 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3196 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3197 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3198 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3199 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3200 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3202 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3204 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3206 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3207 JUMP instructions type.
3208 * testsuite/gas/arc/relocs-errors.d: New file.
3209 * testsuite/gas/arc/relocs-errors.err: Likewise.
3210 * testsuite/gas/arc/relocs-errors.s: Likewise.
3212 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3215 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3216 only if i.disp_encoding != disp_encoding_32bit.
3217 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3218 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3219 * gas/testsuite/gas/i386/disp32.d: Updated.
3220 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3222 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3225 * testsuite/gas/i386/i386.exp: Run pr19498.
3226 * testsuite/gas/i386/pr19498.d: New file.
3227 * testsuite/gas/i386/pr19498.s: Likewise.
3229 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3231 * config/tc-arc.h: Include 'opcode/arc.h'.
3232 (MAX_INSN_ARGS): Delete.
3233 (MAX_INSN_FLGS): Delete.
3235 2016-04-04 Alan Modra <amodra@gmail.com>
3238 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3239 from function on all paths that set sy_resolving.
3241 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3243 * app.c (app_push): use XNEW macro.
3245 * config/obj-elf.c (obj_elf_change_section): Likewise.
3246 (elf_copy_symbol_attributes): Likewise.
3247 (obj_elf_size): Likewise.
3248 (build_group_lists): Likewise.
3249 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3250 (md_assemble): Likewise.
3251 (tc_gen_reloc): Likewise.
3252 (get_upper_str): Likewise.
3253 (aarch64_parse_features): Likewise.
3254 * config/tc-arm.c (insert_reg_alias): Likewise.
3255 (insert_neon_reg_alias): Likewise.
3256 (find_or_make_literal_pool): Likewise.
3257 (s_arm_elf_cons): Likewise.
3258 (add_unwind_opcode): Likewise.
3259 (arm_parse_extension): Likewise.
3260 * config/tc-avr.c (create_record_for_frag): Likewise.
3261 * config/tc-crx.c: Likewise.
3262 * config/tc-d30v.c: Likewise.
3263 * config/tc-dlx.c (s_proc): Likewise.
3264 * config/tc-ft32.c: Likewise.
3265 * config/tc-h8300.c: Likewise.
3266 * config/tc-hppa.c (pa_proc): Likewise.
3267 (create_new_space): Likewise.
3268 (create_new_subspace): Likewise.
3269 * config/tc-i860.c: Likewise.
3270 * config/tc-i960.c: Likewise.
3271 * config/tc-ia64.c: Likewise.
3272 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3273 (iq2000_record_hi16): Likewise.
3274 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3275 * config/tc-m32r.c (debug_sym): Likewise.
3276 (m32r_record_hi16): Likewise.
3277 * config/tc-m68k.c (m68k_ip): Likewise.
3278 (md_begin): Likewise.
3279 * config/tc-mcore.c: Likewise.
3280 * config/tc-microblaze.c (check_got): Likewise.
3281 * config/tc-mips.c (append_insn): Likewise.
3282 (s_mipsset): Likewise.
3283 (mips_record_label): Likewise.
3284 (s_mips_end): Likewise.
3285 * config/tc-mmix.c (mmix_frob_file): Likewise.
3286 * config/tc-mn10200.c: Likewise.
3287 * config/tc-mn10300.c: Likewise.
3288 * config/tc-moxie.c: Likewise.
3289 * config/tc-msp430.c: Likewise.
3290 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3291 * config/tc-ns32k.c: Likewise.
3292 * config/tc-or1k.c: Likewise.
3293 * config/tc-pdp11.c: Likewise.
3294 * config/tc-pj.c (fake_opcode): Likewise.
3295 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3296 (ppc_macro): Likewise.
3297 (ppc_dwsect): Likewise.
3298 (ppc_machine): Likewise.
3299 * config/tc-rl78.c (rl78_frag_init): Likewise.
3300 * config/tc-rx.c (rx_frag_init): Likewise.
3301 * config/tc-s390.c (s390_lit_suffix): Likewise.
3302 (s390_machine): Likewise.
3303 (s390_machinemode): Likewise.
3304 * config/tc-score.c (s3_insert_reg): Likewise.
3305 (s3_gen_reloc): Likewise.
3306 * config/tc-score7.c (s7_insert_reg): Likewise.
3307 (s7_gen_reloc): Likewise.
3308 * config/tc-tic30.c (tic30_operand): Likewise.
3309 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3310 * config/tc-tic54x.c (stag_add_field): Likewise.
3311 (tic54x_struct): Likewise.
3312 (tic54x_space): Likewise.
3313 (tic54x_field): Likewise.
3314 (tic54x_mlib): Likewise.
3315 (subsym_substitute): Likewise.
3316 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3317 * config/tc-vax.c: Likewise.
3318 * config/tc-xc16x.c: Likewise.
3319 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3320 (directive_push): Likewise.
3321 (xtensa_begin_directive): Likewise.
3322 (tokenize_arguments): Likewise.
3323 (xtensa_add_literal_sym): Likewise.
3324 (new_resource_table): Likewise.
3325 (resize_resource_table): Likewise.
3326 (emit_single_op): Likewise.
3327 (xtensa_create_trampoline_frag): Likewise.
3328 (xtensa_maybe_create_literal_pool_frag): Likewise.
3329 (xtensa_add_config_info): Likewise.
3330 (xtensa_realloc_fixup_cache): Likewise.
3331 (add_subseg_info): Likewise.
3332 (cache_literal_section): Likewise.
3333 (add_xt_block_frags): Likewise.
3334 (add_xt_prop_frags): Likewise.
3335 (init_op_placement_info_table): Likewise.
3336 (build_section_rename): Likewise.
3337 * config/tc-z80.c: Likewise.
3338 * config/tc-z8k.c: Likewise.
3339 * depend.c (register_dependency): Likewise.
3340 * dwarf2dbg.c (get_line_subseg): Likewise.
3341 (dwarf2_gen_line_info_1): Likewise.
3342 (get_filenum): Likewise.
3343 * ecoff.c (allocate_scope): Likewise.
3344 (allocate_vlinks): Likewise.
3345 (allocate_shash): Likewise.
3346 (allocate_thash): Likewise.
3347 (allocate_tag): Likewise.
3348 (allocate_forward): Likewise.
3349 (allocate_thead): Likewise.
3350 (allocate_lineno_list): Likewise.
3351 * expr.c (make_expr_symbol): Likewise.
3352 * hash.c (hash_new_sized): Likewise.
3353 * input-file.c (input_file_push): Likewise.
3354 * listing.c (file_info): Likewise.
3355 (listing_newline): Likewise.
3356 * macro.c (new_formal): Likewise.
3357 (define_macro): Likewise.
3358 * remap.c (add_debug_prefix_map): Likewise.
3359 * symbols.c (symbol_find_noref): Likewise.
3360 (define_dollar_label): Likewise.
3361 (fb_label_instance_inc): Likewise.
3362 (symbol_relc_make_value): Likewise.
3364 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3366 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3367 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3368 (ppc_znop): Likewise.
3369 (ppc_pe_section): Likewise.
3370 (ppc_frob_symbol): Likewise.
3371 * config/tc-tic30.c (tic30_operand): Likewise.
3372 * config/tc-tic4x.c (tic4x_sect): Likewise.
3373 (tic4x_usect): Likewise.
3375 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3377 * config/tc-alpha.c: Const qualify FLT_CHARS.
3378 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3379 * config/tc-cris.h: Likewise.
3381 * config/tc-mmix.c (md_atof): Adjust comment.
3382 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3383 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3385 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3387 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3388 * config/tc-score7.c (s7_gen_reloc): Likewise.
3390 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3392 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3393 bfd_reloc_code_real_type.
3395 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3397 * config/bfin-parse.y (current_inputline): Remove definition.
3398 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3400 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3402 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3405 2016-04-02 Alan Modra <amodra@gmail.com>
3408 * read.c (assign_symbol): Consume rest of line after an error
3409 rather than continuing to process the line.
3411 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3413 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3414 (MAX_FLAG_NAME_LENGTH): ...this.
3415 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3416 * config/tc-arc.c (tokenize_flags): Likewise.
3418 2016-04-01 Alan Modra <amodra@gmail.com>
3420 * cgen.c (weak_operand_overflow_check): Return const char*.
3421 * messages.c (as_internal_value_out_of_range): Formatting.
3422 (as_warn_value_out_of_range): Consify prefix param.
3423 (as_bad_value_out_of_range): Likewise.
3424 * read.c (s_errwarn): Constify msg..
3425 (s_float_space, float_cons): ..and err.
3426 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3427 ieee_md_atof, vax_md_atof): Update prototypes.
3428 * tc.h (md_atof): Update prototype.
3429 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3430 * config/atof-vax.c (vax_md_atof): Likewise.
3431 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3432 * config/tc-aarch64.c (md_atof): Return const char*.
3433 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3434 (s_alpha_comm): Constify sec_name.
3435 (section_name): Constify.
3436 (s_alpha_section): Consify name..
3437 (alpha_elf_section_letter): ..and ptr_msg param..
3438 (md_atof): ..and return.
3439 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3440 * config/tc-arc.c (md_atof): Return const char*.
3441 * config/tc-arm.c (md_atof): Likewise.
3442 * config/tc-avr.c (md_atof): Likewise.
3443 * config/tc-bfin.c (md_atof): Likewise.
3444 * config/tc-cr16.c (md_atof): Likewise.
3445 * config/tc-cris.c (md_atof): Likewise.
3446 * config/tc-crx.c (md_atof): Likewise.
3447 * config/tc-d10v.c (md_atof): Likewise.
3448 * config/tc-d30v.c (md_atof): Likewise.
3449 * config/tc-dlx.c (md_atof): Likewise.
3450 * config/tc-epiphany.c (md_atof): Likewise.
3451 * config/tc-fr30.c (md_atof): Likewise.
3452 * config/tc-frv.c (md_atof): Likewise.
3453 * config/tc-ft32.c (md_atof): Likewise.
3454 * config/tc-h8300.c (md_atof): Likewise.
3455 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3456 (struct default_space_dict): Likewise.
3457 (create_new_space): Constify name param.
3458 (create_new_subspace): Likewise.
3459 (is_defined_space, is_defined_subspace): Likewise.
3460 (pa_parse_space_stmt): Constify space_name param.
3461 (md_atof): Return const char*.
3462 (pa_spaces_begin): Constify name.
3463 * config/tc-i370.c (md_atof): Return const char*.
3464 * config/tc-i386.c (md_atof): Likewise.
3465 (x86_64_section_letter): Constify ptr_msg param.
3466 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3467 * config/tc-i860.c (struct i860_it): Constify error.
3468 (md_atof): Return const char*.
3469 * config/tc-i960.c (md_atof): Likewise.
3470 * config/tc-ia64.c (md_atof): Likewise.
3471 (ia64_elf_section_letter): Constify ptr_msg param.
3472 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3473 * config/tc-ip2k.c (md_atof): Return const char*.
3474 * config/tc-iq2000.c (md_atof): Likewise.
3475 * config/tc-lm32.c (md_atof): Likewise.
3476 * config/tc-m32c.c (md_atof): Likewise.
3477 * config/tc-m32r.c (md_atof): Likewise.
3478 * config/tc-m68hc11.c (md_atof): Likewise.
3479 * config/tc-m68k.c (md_atof): Likewise.
3480 * config/tc-mcore.c (md_atof): Likewise.
3481 * config/tc-mep.c (md_atof): Likewise.
3482 (mep_elf_section_letter): Constify ptr_msg param.
3483 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3484 * config/tc-metag.c (md_atof): Return const char*.
3485 * config/tc-microblaze.c (md_atof): Likewise.
3486 * config/tc-microblaze.h (md_atof): Delete prototype.
3487 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3488 (md_atof): Return const char*.
3489 * config/tc-mmix.c (md_atof): Likewise.
3490 * config/tc-mn10200.c (md_atof): Likewise.
3491 * config/tc-mn10300.c (md_atof): Likewise.
3492 * config/tc-moxie.c (md_atof): Likewise.
3493 * config/tc-msp430.c (md_atof): Likewise.
3494 * config/tc-mt.c (md_atof): Likewise.
3495 * config/tc-nds32.c (md_atof): Likewise.
3496 * config/tc-nios2.c (md_atof): Likewise.
3497 (nios2_elf_section_letter): Constify ptr_msg param.
3498 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3499 * config/tc-ns32k.c (md_atof): Return const char*.
3500 * config/tc-or1k.c (md_atof): Likewise.
3501 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3502 (md_atof): Return const char*.
3503 * config/tc-pj.c (md_atof): Likewise.
3504 * config/tc-ppc.c (md_atof): Likewise.
3505 * config/tc-rl78.c (md_atof): Likewise.
3506 * config/tc-rx.c (md_atof): Likewise.
3507 * config/tc-s390.c (md_atof): Likewise.
3508 * config/tc-score.c (s3_atof, md_atof): Likewise.
3509 * config/tc-sh.c (md_atof): Likewise.
3510 * config/tc-sparc.c (struct sparc_it): Constify error.
3511 (md_atof): Return const char*.
3512 * config/tc-spu.c (md_atof): Likewise.
3513 * config/tc-tic30.c (md_atof): Likewise.
3514 * config/tc-tic4x.c (md_atof): Likewise.
3515 * config/tc-tic54x.c (md_atof): Likewise.
3516 * config/tc-tic6x.c (md_atof): Likewise.
3517 * config/tc-tilegx.c (md_atof): Likewise.
3518 * config/tc-tilepro.c (md_atof): Likewise.
3519 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3520 * config/tc-vax.c (md_atof): Likewise.
3521 * config/tc-visium.c (md_atof): Likewise.
3522 * config/tc-xc16x.c (md_atof): Likewise.
3523 * config/tc-xgate.c (md_atof): Likewise.
3524 * config/tc-xstormy16.c (md_atof): Likewise.
3525 * config/tc-xtensa.c (md_atof): Likewise.
3526 * config/tc-z80.c (md_atof): Likewise.
3527 * config/tc-z8k.c (md_atof): Likewise.
3529 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3531 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3533 (xtensa_section_rename): Make argument type const char *.
3534 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3536 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3538 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3541 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3543 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3545 (m32c_indirect_operand): Likewise.
3546 * config/tc-nds32.c (do_pseudo_b): Likewise.
3547 (do_pseudo_bal): Likewise.
3548 (do_pseudo_ls_bhw): Likewise.
3550 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3552 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3554 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3556 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3558 * config/tc-sparc.c (s_register): Cast a literal to char * in
3561 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3563 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3565 * config/tc-m32r.c (expand_debug_syms): Likewise.
3566 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3567 * config/tc-z80.c (md_begin): Likewise.
3568 * stabs.c (stabs_generate_asm_func): Likewise.
3570 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3572 * cgen.c: Modernize the way functions declare arguments.
3573 * config/tc-bfin.c: Likewise.
3574 * config/tc-pdp11.c: Likewise.
3575 * literal.c: Likewise.
3577 * stabs.c: Likewise.
3579 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3581 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3582 variables unsigned char[].
3583 * config/tc-alpha.c (alpha_handle_align): Likewise.
3584 * config/tc-arm.c (arm_handle_align): Likewise.
3585 * config/tc-z80.c: Likewise.
3587 2016-03-30 Nick Clifton <nickc@redhat.com>
3590 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3593 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3595 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3596 * testsuite/gas/elf/elf.exp: Likewise.
3597 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3599 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3601 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3603 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3605 * testsuite/gas/arc/ext2op.d: New file.
3606 * testsuite/gas/arc/ext2op.s: Likewise.
3607 * testsuite/gas/arc/ext3op.d: Likewise.
3608 * testsuite/gas/arc/ext3op.s: Likewise.
3610 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3612 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3614 * config/tc-alpha.c (md_parse_option): Likewise.
3615 * config/tc-arc.c (md_parse_option): Likewise.
3616 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3617 (md_parse_option): Likewise.
3618 * config/tc-avr.c (md_parse_option): Likewise.
3619 * config/tc-bfin.c (md_parse_option): Likewise.
3620 * config/tc-cr16.c (md_parse_option): Likewise.
3621 * config/tc-cris.c (s_cris_arch): Likewise.
3622 (md_parse_option): Likewise.
3623 * config/tc-crx.c (md_parse_option): Likewise.
3624 * config/tc-d10v.c (md_parse_option): Likewise.
3625 * config/tc-d30v.c (md_parse_option): Likewise.
3626 * config/tc-dlx.c (md_parse_option): Likewise.
3627 * config/tc-epiphany.c (md_parse_option): Likewise.
3628 * config/tc-fr30.c (md_parse_option): Likewise.
3629 * config/tc-frv.c (md_parse_option): Likewise.
3630 * config/tc-ft32.c (md_parse_option): Likewise.
3631 * config/tc-h8300.c (md_parse_option): Likewise.
3632 * config/tc-hppa.c (md_parse_option): Likewise.
3633 * config/tc-i370.c (md_parse_option): Likewise.
3634 * config/tc-i386.c (md_parse_option): Likewise.
3635 * config/tc-i860.c (md_parse_option): Likewise.
3636 * config/tc-i960.c (md_parse_option): Likewise.
3637 * config/tc-ia64.c (md_parse_option): Likewise.
3638 * config/tc-ip2k.c (md_parse_option): Likewise.
3639 * config/tc-iq2000.c (md_parse_option): Likewise.
3640 * config/tc-lm32.c (md_parse_option): Likewise.
3641 * config/tc-m32c.c (md_parse_option): Likewise.
3642 * config/tc-m32r.c (md_parse_option): Likewise.
3643 * config/tc-m68hc11.c (md_parse_option): Likewise.
3644 * config/tc-m68k.c (md_parse_option): Likewise.
3645 * config/tc-mcore.c (md_parse_option): Likewise.
3646 * config/tc-mep.c (md_parse_option): Likewise.
3647 * config/tc-metag.c (struct metag_long_option): Likewise.
3648 (md_parse_option): Likewise.
3649 * config/tc-microblaze.c (md_parse_option): Likewise.
3650 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3651 * config/tc-mips.c (md_parse_option): Adjust.
3652 * config/tc-mmix.c (md_parse_option): Likewise.
3653 * config/tc-mn10200.c (md_parse_option): Likewise.
3654 * config/tc-mn10300.c (md_parse_option): Likewise.
3655 * config/tc-moxie.c (md_parse_option): Likewise.
3656 * config/tc-msp430.c (md_parse_option): Likewise.
3657 * config/tc-mt.c (md_parse_option): Likewise.
3658 * config/tc-nds32.c (md_parse_option): Likewise.
3659 * config/tc-nds32.h (nds32_parse_option): Likewise.
3660 * config/tc-nios2.c (md_parse_option): Likewise.
3661 * config/tc-ns32k.c (md_parse_option): Likewise.
3662 * config/tc-or1k.c (md_parse_option): Likewise.
3663 * config/tc-pdp11.c (md_parse_option): Likewise.
3664 * config/tc-pj.c (md_parse_option): Likewise.
3665 * config/tc-ppc.c (md_parse_option): Likewise.
3666 * config/tc-rl78.c (md_parse_option): Likewise.
3667 * config/tc-rx.c (md_parse_option): Likewise.
3668 * config/tc-s390.c (s390_parse_cpu): Likewise.
3669 * config/tc-score.c (md_parse_option): Likewise.
3670 * config/tc-sh.c (md_parse_option): Likewise.
3671 * config/tc-sparc.c (md_parse_option): Likewise.
3672 * config/tc-spu.c (md_parse_option): Likewise.
3673 * config/tc-tic30.c (md_parse_option): Likewise.
3674 * config/tc-tic4x.c (md_parse_option): Likewise.
3675 * config/tc-tic54x.c (md_parse_option): Likewise.
3676 * config/tc-tic6x.c (md_parse_option): Likewise.
3677 * config/tc-tilegx.c (md_parse_option): Likewise.
3678 * config/tc-tilepro.c (md_parse_option): Likewise.
3679 * config/tc-v850.c (md_parse_option): Likewise.
3680 * config/tc-vax.c (md_parse_option): Likewise.
3681 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3682 * config/tc-xc16x.c (md_parse_option): Likewise.
3683 * config/tc-xgate.c (md_parse_option): Likewise.
3684 * config/tc-xstormy16.c (md_parse_option): Likewise.
3685 * config/tc-xtensa.c (md_parse_option): Likewise.
3686 * config/tc-z80.c (md_parse_option): Likewise.
3687 * config/tc-z8k.c (md_parse_option): Likewise.
3688 * tc.h (md_parse_option): Likewise.
3690 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3692 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3693 * config/tc-hppa.c (fix_new_hppa): Likewise.
3694 (pa_vtable_entry): Likewise.
3695 (pa_vtable_inherit): Likewise.
3696 * config/tc-m68k.c (md_begin): Likewise.
3698 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3700 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3701 * config/obj-elf.h (obj_elf_section_name): Adjust.
3702 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3703 (aarch64_parse_cpu): Likewise.
3704 (aarch64_parse_arch): Likewise.
3705 * config/tc-arm.c (arm_parse_extension): Likewise.
3706 (arm_parse_cpu): Likewise.
3707 (arm_parse_arch): Likewise.
3708 * config/tc-nds32.c: Likewise.
3709 * config/xtensa-relax.c (parse_special_fn): Likewise.
3710 * stabs.c (generate_asm_file): Likewise.
3712 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3714 * config/tc-cr16.c (cr16_assemble): New function.
3715 (md_assemble): Call cr16_assemble.
3717 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3719 * as.c (parse_args): Adjust.
3720 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3721 * config/obj-elf.c (elf_frob_symbol): Adjust.
3723 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3725 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3726 registers to be in the 16..31 range.
3728 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3730 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3733 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3735 * config/tc-visium.c (md_atof): Localize the string returned on
3738 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3740 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3741 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3742 * config/tc-m68hc11.c (md_begin): Likewise.
3743 (print_opcode_list): Likewise.
3744 * config/tc-msp430.c (msp430_section): Likewise.
3745 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3746 (s3_build_dependency_insn_hsh): Likewise.
3747 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3748 (s7_build_dependency_insn_hsh): Likewise.
3749 * config/tc-tic4x.c: Likewise.
3750 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3751 (subsym_get_arg): Likewise.
3752 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3753 (get_directive): Likewise.
3754 (cache_literal_section): Likewise.
3755 * config/xtensa-relax.c: Likewise.
3756 * symbols.c (symbol_create): Likewise.
3757 (local_symbol_make): Likewise.
3758 (symbol_relc_make_expr): Likewise.
3760 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3762 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3765 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3767 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3770 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3772 * config/tc-ia64.c (ia64_do_align): Remove.
3773 (ia64_cons_align): Call do_align () directly.
3774 (dot_proc): Likewise.
3775 (stmt_float_cons): Likewise.
3777 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3779 * listing.c (listing_message): Use XNEW style allocation macros.
3780 * read.c (read_a_source_file): Likewise.
3781 (read_symbol_name): Likewise.
3782 (s_mri_common): Likewise.
3783 (assign_symbol): Likewise.
3784 (s_reloc): Likewise.
3785 (emit_expr_with_reloc): Likewise.
3786 (s_incbin): Likewise.
3787 (s_include): Likewise.
3788 * sb.c (sb_build): Likewise.
3789 (sb_check): Likewise.
3791 2016-03-22 Alan Modra <amodra@gmail.com>
3793 * write.c (record_alignment): Revert 2016-02-18 change.
3795 2016-03-22 Alan Modra <amodra@gmail.com>
3797 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3798 (emit_jsrjmp, tc_gen_reloc): Likewise.
3799 * config/tc-i370.c (i370_macro): Likewise.
3801 2016-03-22 Nick Clifton <nickc@redhat.com>
3803 * configure: Regenerate.
3805 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3807 * testsuite/gas/arc/nps400-0.d: New file.
3808 * testsuite/gas/arc/nps400-0.s: New file.
3809 * testsuite/gas/arc/nps400-1.d: New file.
3810 * testsuite/gas/arc/nps400-1.s: New file.
3812 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3814 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3815 declarations to start of block. Reset code on all flags before
3816 attempting to match them. Handle multiple hits on the same flag.
3818 * testsuite/gas/arc/asm-errors.d: New file.
3819 * testsuite/gas/arc/asm-errors.err: New file.
3820 * testsuite/gas/arc/asm-errors.s: New file.
3822 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3824 * config/tc-arc.c (cpu_types): Add nps400 entry.
3825 (check_zol): Handle nps400.
3827 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3829 * config/tc-arc.c (arc_select_cpu): Remove use of
3832 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3834 * config/tc-arc.c (arc_target): Delay initialisation until
3836 (arc_target_name): Likewise.
3837 (arc_features): Likewise.
3838 (arc_mach_type): Likewise.
3839 (cpu_types): Remove "all" entry.
3840 (arc_select_cpu): New function, most of the content is from...
3841 (md_parse_option): ... here. Call new arc_select_cpu.
3842 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3844 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3846 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3847 * testsuite/gas/arc/inline-data-2.d: New file.
3849 2016-03-21 Nick Clifton <nickc@redhat.com>
3851 * atof-generic.c: Replace use of alloca with call to xmalloc.
3853 * dwarf2dbg.c: Likewise.
3854 * macro.c: Likewise.
3855 * remap.c: Likewise.
3856 * stabs.c: Likewise.
3857 * symbols.c: Likewise.
3858 * config/obj-elf.c: Likewise.
3859 * config/tc-aarch64.c: Likewise.
3860 * config/tc-arc.c: Likewise.
3861 * config/tc-arm.c: Likewise.
3862 * config/tc-avr.c: Likewise.
3863 * config/tc-ia64.c: Likewise.
3864 * config/tc-mips.c: Likewise.
3865 * config/tc-msp430.c: Likewise.
3866 * config/tc-nds32.c: Likewise.
3867 * config/tc-ppc.c: Likewise.
3868 * config/tc-sh.c: Likewise.
3869 * config/tc-tic30.c: Likewise.
3870 * config/tc-tic54x.c: Likewise.
3871 * config/tc-xstormy16.c: Likewise.
3872 * config/te-vms.c: Likewise.
3873 * configure: Regenerate.
3875 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3877 * tc-i386.c (f32_1): Change type to unsigned char[].
3897 (jump_31): Likewise.
3898 (f32_patt): Likewise.
3899 (f16_patt): Likewise.
3908 (alt_patt): Likewise.
3910 2016-03-18 Nick Clifton <nickc@redhat.com>
3912 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3913 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3914 .tlsdescldr and .xword directives.
3917 * testsuite/gas/aarch64/pr19721.s: New test source file.
3918 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3920 * doc/as.texinfo: Place the target specific command line options
3921 into their own man page section.
3923 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3925 * config/tc-arm.c (N_S_32): New.
3926 (N_F_16_32): Likewise.
3927 (N_SUF_32): Support N_F16.
3928 (N_IF_32): Likewise.
3929 (neon_dyadic_misc): Likewise.
3930 (do_neon_cmp): Likewise.
3931 (do_neon_cmp_inv): Likewise.
3932 (do_neon_mul): Likewise.
3933 (do_neon_fcmp_absolute): Likewise.
3934 (do_neon_step): Likewise.
3935 (do_neon_abs_neg): Likewise.
3936 (CVT_FLAVOR_VAR): Likewise.
3937 (do_neon_cvt_1): Likewise.
3938 (do_neon_recip_est): Likewise.
3939 (do_vmaxnm): Likewise.
3940 (do_vrint_1): Likewise.
3941 (neon_check_type): Check architecture support for FP16 extension.
3942 (insns): Update comments.
3943 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3944 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3945 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3946 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3948 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3950 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3953 2016-03-16 Nick Clifton <nickc@redhat.com>
3955 * read.c (emit_expr_with_reloc): Add code check a bignum with
3957 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3959 * testsuite/gas/elf/bignum.s: New test source file.
3960 * testsuite/gas/elf/bignum.d: New test driver file.
3961 * testsuite/gas/elf/elf.exp: Run the new test.
3963 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3965 * doc/c-i386.texi (Register Naming): Update to details of the
3966 latest architecture version.
3968 2016-03-10 Mickael Guene <mickael.guene@st.com>
3971 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3973 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3974 (do_t_mov_cmp): Likewise.
3975 (do_t_add_sub): Protect against bad relocations usage.
3976 (do_t_mov_cmp): Likewise.
3977 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3978 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3979 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3980 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3982 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3984 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3986 (do_neon_ld_st_lane): Likewise.
3987 (do_neon_ld_dup): Likewise.
3989 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3991 * testsuite/gas/arc/inline-data-1.d: New file.
3992 * testsuite/gas/arc/inline-data-1.s: New file.
3994 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3996 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3997 * doc/c-arm.texi: Add cortex-r8.
3999 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4001 * config/tc-arc.c: Add const qualifiers.
4002 * config/tc-h8300.c (md_begin): Likewise.
4003 * config/tc-ia64.c (print_prmask): Likewise.
4004 * config/tc-msp430.c (msp430_operands): Likewise.
4005 * config/tc-nds32.c (struct suffix_name): Likewise.
4006 (struct nds32_parse_option_table): Likewise.
4007 (struct nds32_set_option_table): Likewise.
4008 (do_pseudo_pushpopm): Likewise.
4009 (do_pseudo_pushpop_stack): Likewise.
4010 (nds32_relax_relocs): Likewise.
4011 (nds32_flag): Likewise.
4012 (struct nds32_hint_map): Likewise.
4013 (nds32_find_reloc_table): Likewise.
4014 (nds32_match_hint_insn): Likewise.
4015 * config/tc-s390.c: Likewise.
4016 * config/tc-sh.c (get_specific): Likewise.
4017 * config/tc-tic30.c: Likewise.
4018 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4019 (tic4x_indirect_parse): Likewise.
4020 * config/tc-vax.c (vax_cons): Likewise.
4021 * config/tc-z80.c (struct reg_entry): Likewise.
4022 * config/tc-epiphany.c (md_assemble): Adjust.
4023 (epiphany_assemble): New function.
4024 (epiphany_elf_section_rtn): Call do_align directly.
4025 (epiphany_elf_section_text): Likewise.
4026 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4027 (ip2k_elf_section_text): Likewise.
4028 * read.c (do_align): Make it not static.
4029 * read.h (do_align): New prototype.
4031 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4033 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4034 for ARMv8.1 AdvSIMD use.
4035 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4036 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4038 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4040 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4042 (record_feature_use): New.
4043 (mark_feature_used): Use record_feature_use.
4044 (do_neon_qrdmlah): New.
4045 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4047 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4048 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4049 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4050 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4051 Make source file explicit.
4052 * testsuite/gas/arm/armv8-a+rdma.l: New.
4053 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4054 directives. Fix white-space.
4055 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4057 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4059 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4061 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4062 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4064 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4065 (tc_arc_fix_adjustable): Changed default return value to 1.
4066 * testsuite/gas/arc/j.d: Updated expected symbol
4067 * testsuite/gas/arc/jl.d: Likewise
4068 * testsuite/gas/arc/relax-avoid1.d: Likewise
4069 * testsuite/gas/arc/st.d: Likewise
4071 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4073 * config/tc-arc.c: Enable code density instructions for ARC EM.
4075 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4078 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4080 * as.c (flag_use_elf_stt_common): New.
4081 (show_usage): Add --elf-stt-common=.
4082 (option_values): Add OPTION_ELF_STT_COMMON.
4083 (std_longopts): Add --elf-stt-common=.
4084 (parse_args): Handle --elf-stt-common=.
4085 * as.h (flag_use_elf_stt_common): New.
4086 * config.in: Regenerated.
4087 * configure: Likewise.
4088 * configure.ac: Add --enable-elf-stt-common and define
4089 DEFAULT_GENERATE_ELF_STT_COMMON.
4090 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4091 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4092 * doc/as.texinfo: Document --elf-stt-common=.
4093 * testsuite/gas/elf/common3.s: New file.
4094 * testsuite/gas/elf/common3a.d: Likewise.
4095 * testsuite/gas/elf/common3b.d: Likewise.
4096 * testsuite/gas/elf/common4.s: Likewise.
4097 * testsuite/gas/elf/common4a.d: Likewise.
4098 * testsuite/gas/elf/common4b.d: Likewise.
4099 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4100 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4101 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4103 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4104 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4105 --elf-stt-common=no to as.
4106 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4107 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4108 --elf-stt-common=no to as.
4109 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4110 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4111 of dw2-compress-3 and dw2-compressed-3.
4113 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4115 * as.c (select_emulation_mode): Add const qualifiers.
4117 * config/bfin-defs.h: Likewise.
4118 * config/bfin-parse.y: Likewise.
4119 * config/rx-parse.y: Likewise.
4120 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4121 (struct aarch64_cpu_option_table): Likewise.
4122 (struct aarch64_arch_option_table): Likewise.
4123 (struct aarch64_option_cpu_value_table): Likewise.
4124 (struct aarch64_long_option_table): Likewise.
4125 (struct aarch64_option_abi_value_table): Likewise.
4126 * config/tc-arm.c (struct reloc_entry): Likewise.
4127 (tc_gen_reloc): Likewise.
4128 (struct arm_option_table): Likewise.
4129 (struct arm_legacy_option_table): Likewise.
4130 (struct arm_cpu_option_table): Likewise.
4131 (struct arm_arch_option_table): Likewise.
4132 (struct arm_option_extension_value_table): Likewise.
4133 (struct arm_option_fpu_value_table): Likewise.
4134 (struct arm_option_value_table): Likewise.
4135 (struct arm_long_option_table): Likewise.
4136 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4137 (struct mcu_type_s): Likewise.
4138 (struct exp_mod_s): Likewise.
4139 (avr_operand): Likewise.
4140 (avr_operands): Likewise.
4141 * config/tc-d10v.c (md_begin): Likewise.
4142 * config/tc-dlx.c: Likewise.
4143 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4144 * config/tc-ft32.c (parse_condition): Likewise.
4145 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4146 * config/tc-hppa.c (pa_ip): Likewise.
4147 (hppa_regname_to_dw2regnum): Likewise.
4148 * config/tc-i370.c (i370_elf_suffix): Likewise.
4149 * config/tc-i960.c (struct tabentry): Likewise.
4150 * config/tc-m32r.c: Likewise.
4151 * config/tc-m68k.c: Likewise.
4152 * config/tc-m68k.h: Likewise.
4153 * config/tc-mcore.c (parse_psrmod): Likewise.
4154 * config/tc-metag.c (struct metag_core_option): Likewise.
4155 (struct metag_long_option): Likewise.
4156 * config/tc-microblaze.c: Likewise.
4157 * config/tc-mips.c (macro): Likewise.
4158 * config/tc-mn10200.c: Likewise.
4159 * config/tc-mn10300.c: Likewise.
4160 * config/tc-msp430.c (struct rcodes_s): Likewise.
4161 (struct hcodes_s): Likewise.
4162 (md_parse_option): Likewise.
4163 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4164 (optlist): Likewise.
4165 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4166 (tc_ppc_regname_to_dw2regnum): Likewise.
4167 * config/tc-ppc.h: Likewise.
4168 * config/tc-rl78.c: Likewise.
4169 * config/tc-rx.c (struct cpu_type): Likewise.
4170 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4171 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4172 (sparc_ip): Likewise.
4173 * config/tc-spu.c (insn_fmt_string): Likewise.
4174 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4175 * config/tc-v850.c: Likewise.
4176 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4177 (struct visium_long_option_table): Likewise.
4178 * config/tc-xgate.c: Likewise.
4179 * config/tc-z8k.c: Likewise.
4180 * read.c (add_include_dir): Likewise.
4183 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4185 * testsuite/gas/all/gas.exp: Change target pattern to cover
4187 * testsuite/gas/all/redef3.d: Likewise.
4188 * testsuite/gas/elf/elf.exp: Likewise.
4190 2016-02-24 Renlin Li <renlin.li@arm.com>
4192 * config/tc-arm.c (BAD_FP16): New error message macro.
4193 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4194 fp16 scalar instructions.
4195 (neon_check_type): Allow different size from key.
4196 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4197 (try_vfp_nsyn): Likewise.
4198 (do_vfp_nsyn_mla_mls): Likewise.
4199 (do_vfp_nsyn_fma_fms): Likewise.
4200 (do_vfp_nsyn_ldm_stm): Likewise
4201 (do_vfp_nsyn_sqrt): Likewise
4202 (do_vfp_nsyn_div): Likewise
4203 (do_vfp_nsyn_nmul): Likewise.
4204 (do_vfp_nsyn_cmp): Likewise.
4205 (do_neon_shll): Likewise.
4206 (do_vfp_nsyn_cvt_fpv8): Likewise.
4207 (do_neon_cvttb_2): Likewise.
4208 (do_neon_mov): Likewise.
4209 (do_neon_rshift_round_imm): Likewise.
4210 (do_neon_ldr_str): Likewise.
4211 (do_vfp_nsyn_fpv8): Likewise.
4212 (do_vmaxnm): Likewise.
4213 (do_vrint_1): Likewise.
4214 (insns): New entry for vins, vmovx.
4215 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4216 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4217 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4218 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4219 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4220 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4221 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4223 2016-02-24 Renlin Li <renlin.li@arm.com>
4225 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4226 (neon_shape_class): New SC_HALF.
4227 (neon_shape_el): New SE_H.
4228 (neon_shape_el_size): New size for SE_H.
4229 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4230 (neon_select_shape): Add SE_H support code.
4231 (el_type_of_type_chk): Use N_F_ALL.
4232 (do_vfp_nsyn_cvt): Add SE_H shape support.
4233 (do_neon_cvtz): Likewise.
4234 (do_neon_cvt_1): Likewise.
4235 (do_neon_cvttb_1): Likewise.
4237 2016-02-24 Renlin Li <renlin.li@arm.com>
4239 * testsuite/gas/arm/copro.d: Adjust output.
4240 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4242 2016-02-24 Renlin Li <renlin.li@arm.com>
4244 * testsuite/gas/arm/mask_1.d: New.
4245 * testsuite/gas/arm/mask_1.s: New.
4247 2016-02-24 Renlin Li <renlin.li@arm.com>
4249 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4250 * testsuite/gas/arm/copro.d: Update.
4252 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4254 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4255 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4257 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4259 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4261 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4263 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4266 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4268 * output-file.c (output_file_create): Make file name argument const.
4269 (output_file_close): Likewise.
4270 * output-file.h (output_file_create): Adjust.
4271 (output_file_close): Likewise.
4272 * depend.c (quote_string_for_make): Make src argument const char *.
4273 (register_dependency): Likewise.
4274 (wrap_output): Likewise.
4275 * as.h (register_dependency): Adjust.
4276 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4278 * symbols.c (S_SET_EXTERNAL): Likewise.
4279 * input-scrub.c (as_where): Return the file name.
4280 * as.h (as_where): Adjust prototype.
4281 * app.c (do_scrub_chars): Adjust.
4282 * cond.c (s_elseif): Likewise.
4284 (initialize_cframe): Likewise.
4285 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4286 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4287 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4288 * config/tc-aarch64.c (output_info): Likewise.
4289 * config/tc-ia64.c (md_assemble): Likewise.
4290 (dot_alias): Likewise.
4291 * config/tc-m68k.c (m68k_frob_label): Likewise.
4292 * config/tc-mmix.c (s_bspec): Likewise.
4293 (mmix_handle_mmixal): Likewise.
4294 * config/tc-rx.c (rx_include): Likewise.
4295 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4296 (tic54x_adjust_symtab): Likewise.
4297 * config/tc-xtensa.c (directive_push): Likewise.
4298 (xtensa_sanity_check): Likewise.
4299 (xtensa_relax_frag): Likewise.
4300 (md_convert_frag): Likewise.
4301 (tinsn_to_slotbuf): Likewise.
4302 * dwarf2dbg.c (dwarf2_where): Likewise.
4303 * ecoff.c (add_file): Likewise.
4304 (ecoff_generate_asm_lineno): Likewise.
4305 * expr.c (make_expr_symbol): Likewise.
4306 * frags.c (frag_new): Likewise.
4307 (frag_var_init): Likewise.
4308 * listing.c (listing_newline): Likewise.
4309 * messages.c (identify): Likewise.
4310 (as_show_where): Likewise.
4311 (as_warn_internal): Likewise.
4312 (as_bad_internal): Likewise.
4313 * read.c (s_irp): Likewise.
4314 (s_macro): Likewise.
4315 (s_reloc): Likewise.
4316 * stabs.c (stabs_generate_asm_file): Likewise.
4317 (stabs_generate_asm_lineno): Likewise.
4318 (stabs_generate_asm_func): Likewise.
4319 * write.c (fix_new_internal): Likewise.
4320 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4321 (as_warn_value_out_of_range): Adjust prototype.
4322 (as_bad_value_out_of_range): Adjust prototype.
4323 * messages.c (identify): Make file name argument const char *.
4324 (as_warn_internal): Likewise.
4325 (as_warn_where): Likewise.
4326 (as_bad_internal): Likewise.
4327 (as_bad_where): Likewise.
4328 (as_internal_value_out_of_range): Likewise.
4329 (as_warn_value_out_of_range): Likewise.
4330 (as_bad_value_out_of_range): Likewise.
4331 * as.h (found_comment_file): Change type to const char *.
4332 * cond.c (file_line::file): Likewise.
4333 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4334 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4335 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4336 * config/tc-aarch64.c (output_info): Likewise.
4337 * config/tc-alpha.c (insert_operand): Likewise.
4338 * config/tc-arc.c (insert_operand): Likewise.
4339 * config/tc-d30v.c (check_size): Likewise.
4340 * config/tc-ia64.c (struct alias): Likewise.
4341 * config/tc-m68k.c (struct label_line): Likewise.
4342 * config/tc-mcore.c (md_apply_fix): Likewise.
4343 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4344 * config/tc-mips.c (mips16_immed): Likewise.
4345 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4346 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4347 * config/tc-rx.c (rx_include): Likewise.
4348 * config/tc-s390.c (s390_insert_operand): Likewise.
4349 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4350 (tic54x_adjust_symtab): Likewise.
4351 * config/tc-tilegx.c (insert_operand): Likewise.
4352 (apply_special_operator): Likewise.
4353 * config/tc-tilepro.c (insert_operand): Likewise.
4354 * config/tc-xtensa.c (directive_push): Likewise.
4355 * ecoff.c (add_file): Likewise.
4356 (ecoff_generate_asm_lineno): Likewise.
4357 * listing.c (listing_newline): Likewise.
4358 * read.c (s_irp): Likewise.
4359 * write.c (install_reloc): Likewise.
4360 * write.h (struct fix): Likewise.
4361 * input-file.c (file_name): Change type to const char *.
4362 (saved_file::file_name): Likewise.
4363 (input_file_open): Change type of argument to const char *.
4364 * input-file.h (input_file_open): Adjust.
4365 * input-scrub.c (logical_input_file): change type to const char *.
4366 (physical_input_file): Likewise.
4367 (struct input_save): Adjust.
4368 (input_scrub_push): Adjust.
4369 (input_scrub_begin): Adjust.
4371 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4372 (input_scrub_include_file): Likewise.
4373 (new_logical_line_flags): Likewise.
4374 (new_logical_line): Likewise.
4376 * frags.h (struct frag): Change type of fr_file to const char *.
4377 * expr.c (expr_symbol_where): Change type of file argument to
4379 * expr.h (expr_symbol_where): Likewise.
4380 * config/tc-i370.c (md_apply_fix): adjust.
4381 * config/tc-mmix.c (mmix_md_end): Likewise.
4382 * config/tc-ppc.c (md_apply_fix): Likewise.
4383 * config/tc-s390.c (md_apply_fix): Likewise.
4384 * symbols.c (report_op_error): Likewise.
4385 (resolve_symbol_value): Likewise.
4386 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4387 (rsrc::file): Likewise.
4388 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4390 (xtensa_relax_frag): Likewise.
4391 (md_convert_frag): Likewise.
4392 (tinsn_to_slotbuf): Likewise.
4393 * expr.c (expr_symbol_line): Likewise.
4394 * macro.c (define_macro): Likewise.
4395 * macro.h (macro_struct): Likewise.
4396 * messages.c (as_show_where): Likewise.
4397 * read.c (s_macro): Likewise.
4398 * stabs.c (stabs_generate_asm_file): Likewise.
4399 (generate_asm_file): Likewise.
4400 (stabs_generate_asm_lineno): Likewise.
4401 * write.h (struct reloc_list): Likewise.
4402 * input-scrub.c (as_where): Change return type to const char *.
4403 * as.h (as_wheree): Adjust.
4405 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4407 * write.c (compress_debug): Move BFD compression bits setting
4409 (write_object_file): Here.
4411 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4413 * config/tc-i386.c (register_number): Check RegVRex.
4414 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4415 with %zmm19 and %zmm3.
4416 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4417 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4419 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4420 Jiong Wang <jiong.wang@arm.com>
4422 * config/tc-arm.c (arm_ext_fp16): New.
4423 (arm_extensions): New entry for "fp16".
4425 2016-02-19 Nick Clifton <nickc@redhat.com>
4428 * read.c (read_a_source_file): Check for assemble_one returning
4429 with input_line_pointer set to NULL.
4431 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4433 * listing.c (rebuffer_line): Change return type to void.
4435 * symbols.c (decode_local_label_name): Make type a const char *.
4436 * listing.c (print_source): Make type of p const char *.
4437 (print_line): Make type of string const char *.
4438 (buffer_line): Return const char *.
4439 (title): Make type const char *.
4440 (subtitle): Likewise.
4441 (listing_listing): Make type of p const char *.
4442 * messages.c (as_internal_value_out_of_range): Make type of prefix
4444 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4445 and string const char *.
4446 * read.c (_bfd_rel): Make type of name const char *.
4447 * app.c (out_string): Change type to const char *.
4448 (struct app_save::out_string): Likewise.
4450 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4451 Nick Clifton <nickc@redhat.com>
4453 * read.c (finish_bundle): Avoid recording a negative alignment.
4454 (do_align): Use unsigned values for n, len and max. Only create
4455 a frag if the alignment requirement is greater than the minimum
4456 byte alignment. Avoid recording a negative alignment.
4457 (s_align): Use unsigned values where appropriate.
4458 (bss_alloc): Use an unsigned value for the alignment.
4459 (sizeof_sleb128): Add a comment noting that we encode one octet
4460 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4461 (emit_leb129_expr): Abort if the emitted encoding was longer than
4463 * read.h (output_leb128): Update prototype.
4464 (sizeof_leb128): Update prototype.
4465 (bss_alloc): Update prototype.
4466 * write.c (record_alignment): Use an unsigned value for the
4467 alignment. Do not record alignments less than the minimum
4468 alignment for a byte.
4469 * write.h (record_alignment): Update prototype.
4471 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4473 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4474 .init.literal/.fini.literal section name.
4475 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4476 list of xtensa tests.
4477 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4478 init-fini-literals test result patterns.
4479 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4480 init-fini-literals test.
4482 2016-02-17 Nick Clifton <nickc@redhat.com>
4484 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4485 devices.csv file as of March 2016.
4487 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4489 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4491 (tc_arc_regname_to_dw2regnum): Likewise.
4492 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4493 (tc_cfi_frame_initial_instructions): Likewise.
4494 (tc_regname_to_dw2regnum): Likewise.
4495 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4496 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4497 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4499 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4501 * doc/internals.texi (S_IS_EXTERN): Remove.
4503 2016-02-16 Nick Clifton <nickc@redhat.com>
4505 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4508 2016-02-16 Renlin Li <renlin.li@arm.com>
4511 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4512 * testsuite/gas/aarch64/movw_label.d: New.
4513 * testsuite/gas/aarch64/movw_label.s: New.
4515 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4518 * config/rx-parse.y (MOV): Opcode generation for index
4519 register addressing mode.
4520 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4521 * testsuite/gas/rx/pr19665.s: New file.
4522 * testsuite/gas/rx/pr19665.s: New file.
4523 * testsuite/gas/rx/mov.d: Update expected output.
4525 2016-02-15 Nick Clifton <nickc@redhat.com>
4527 * doc/as.texinfo (.section): Document that numeric values can now
4528 be used for the flags and type fields of the ELF target's .section
4529 directive. Add notes about the restrictions on setting flags and
4531 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4532 to be given processor specific section types. Allow processor and
4533 application specific flags of a section to be set after
4535 (obj_elf_parse_section_letters): Handle parsing numeric values.
4536 (obj_elf_section_type): Handle parsing numeric values.
4537 (obj_elf_section): Allow numeric type values.
4538 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4539 * testsuite/gas/elf/section10.d: New test.
4540 * testsuite/gas/elf/section10.s: Source file for new test.
4541 * testsuite/gas/elf/elf.exp: Run the new test.
4542 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4543 the description of the flags produced by readelf.
4544 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4545 * NEWS: Mention the new feature.
4547 2016-02-11 Nick Clifton <nickc@redhat.com>
4550 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4551 until it is actually used.
4552 (cfi_set_sections): Set cfi_sections_set to true.
4553 (dot_cfi_startproc): Likewise.
4554 (dot_cfi_endproc): Likewise.
4555 (dot_cfi_fde_data): Likewise.
4556 (cfi_finish): Likewise.
4557 (dot_cfi_sections): Do not set cfi_sections_set.
4558 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4559 their own cfi section name. Also note that the directive can be
4560 reissued provided that CFI generation has not started.
4561 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4562 .cfi_endproc directives so that the redefinition of .cfi_sections
4563 will trigger the generation of the error message.
4564 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4565 number of error message.
4567 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4568 Janek van Oirschot <jvanoirs@synopsys.com>
4570 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4571 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4573 (arc_flags, arc_relax_type): New structure.
4574 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4575 (RELAX_TABLE_ENTRY_MAX): New define.
4576 (relaxation_state, md_relax_table, arc_relaxable_insns)
4577 (arc_num_relaxable_ins): New variable.
4578 (rlx_operand_type, arc_rlx_types): New enums.
4579 (arc_relaxable_ins): New structure.
4580 (OPTION_RELAX): New option.
4581 (arc_insn): New relax member.
4582 (arc_flags): Remove.
4583 (relax_insn_p): New function.
4584 (apply_fixups): Likewise.
4585 (relaxable_operand): Likewise.
4586 (may_relax_expr): Likewise.
4587 (relaxable_flag): Likewise.
4588 (arc_pcrel_adjust): Likewise.
4589 (md_estimate_size_before_relax): Implement.
4590 (md_convert_frag): Likewise.
4591 (md_parse_option): Handle new mrelax option.
4592 (md_show_usage): Likewise.
4593 (assemble_insn): Set relax member.
4594 (emit_insn0): New function.
4595 (emit_insn1): Likewise.
4596 (emit_insn): Handle relaxation case.
4597 * NEWS: Mention the new relaxation option.
4598 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4599 * doc/as.texinfo (Target ARC Options): Likewise.
4600 * testsuite/gas/arc/relax-avoid1.d: New file.
4601 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4602 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4603 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4604 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4605 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4606 * testsuite/gas/arc/relax-b.d: Likewise.
4607 * testsuite/gas/arc/relax-b.s: Likewise.
4609 2016-02-08 Nick Clifton <nickc@redhat.com>
4611 * config/tc-ia64.c (dot_prologue): Fix formatting.
4613 2016-02-04 Nick Clifton <nickc@redhat.com>
4615 * config/obj-elf.c (obj_elf_change_section): Remove support for
4616 ARM NOREAD sections.
4617 * config/tc-arm.c (arm_elf_section_letter): Delete.
4618 * config/tc-arm.h (md_elf_section_letter): Delete.
4619 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4620 * testsuite/gas/arm/section-execute-only.d: Delete.
4621 * testsuite/gas/arm/section-execute-only.s: Delete.
4623 2016-02-04 Nick Clifton <nickc@redhat.com>
4626 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4627 to handle encoding of RRUX instruction.
4628 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4630 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4632 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4634 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4635 substitutions for BFD_RELOC_* as unsigned.
4636 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4637 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4638 * testsuite/gas/xtensa/loc.s: New file: loc test.
4640 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4642 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4644 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4647 * NEWS: Mention new command line option -mrelax-relocations and
4648 new configure option --enable-x86-relax-relocations for x86
4650 * config.in: Regenerated.
4651 * configure.ac: Add --enable-x86-relax-relocations.
4652 (ac_default_x86_relax_relocations): New. Default to 1 except
4653 for x86 Solaris targets older than Solaris 12.
4654 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4655 * configure: Likewise.
4656 * config/tc-i386.c (generate_relax_relocations): New.
4657 (OPTION_MRELAX_RELOCATIONS): Likewise.
4658 (output_disp): Don't generate relax relocations if
4659 generate_relax_relocations is 0.
4660 (md_longopts): Add -mrelax-relocations.
4661 (md_show_usage): Likewise.
4662 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4663 * doc/c-i386.texi: Document -mrelax-relocations=.
4664 * testsuite/gas/i386/got-no-relax.d: New file.
4665 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4666 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4667 * testsuite/gas/i386/localpic.d: Likewise.
4668 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4669 * testsuite/gas/i386/reloc32.d: Likewise.
4670 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4671 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4672 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4673 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4674 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4675 x86-64-gotpcrel-no-relax.
4677 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4679 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4682 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4684 * NEWS: Remove duplicated marker for 2.26.
4686 2016-02-02 Renlin Li <renlin.li@arm.com>
4688 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4690 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4692 * testsuite/gas/ip2k/allinsn.d: New file.
4693 * testsuite/gas/ip2k/allinsn.s: New file.
4694 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4696 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4698 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4699 some load instructions.
4700 * testsuite/gas/epiphany/allinsn.d: Likewise.
4701 * testsuite/gas/epiphany/regression.d: Likewise.
4703 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4705 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4706 suffixes from instruction mnemonics in expected output.
4707 * testsuite/gas/epiphany/allinsn.d: Likewise.
4708 * testsuite/gas/epiphany/regression.d: Likewise.
4709 * testsuite/gas/epiphany/sample.d: Likewise.
4711 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4713 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4715 * testsuite/gas/epiphany/allinsn.d: Likewise.
4716 * testsuite/gas/epiphany/sample.d: Likewise.
4718 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4720 * testsuite/gas/epiphany/sample.d: Update expected output.
4722 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4724 * config/tc-arc.c (md_apply_fix): Allow addendum.
4725 (arc_reloc_op): Allow complex expressions for tpoff.
4726 (md_apply_fix): Handle resolved TLS local symbol.
4727 * testsuite/gas/arc/tls-relocs1.d: New file.
4728 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4730 2016-02-01 Loria <Loria@phantasia.org>
4733 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4734 efficiency and avoid an LLVM loop optimization bug.
4736 2016-02-01 Nick Clifton <nickc@redhat.com>
4738 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4739 message extending a negative 32-bit value into a larger signed
4740 value on a 32-bit host.
4742 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4745 * configure.ac (compressed_debug_sections): Replace == with =.
4746 * configure: Regenerated.
4748 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4749 H.J. Lu <hongjiu.lu@intel.com>
4751 * config/tc-i386.c (avoid_fence): New.
4752 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4754 (OPTION_FENCE_AS_LOCK_ADD): New.
4755 (md_longopts): Add -mfence-as-lock-add.
4756 (md_parse_option): Handle -mfence-as-lock-add.
4757 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4758 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4759 * testsuite/gas/i386/i386.exp: Run new tests.
4760 * testsuite/gas/i386/fence-as-lock-add.s: New.
4761 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4762 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4763 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4764 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4766 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4768 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4769 * configure: Regenerated.
4771 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4773 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4774 (OPTION_MOMIT_LOCK_PREFIX): This.
4775 (md_longopts): Updated.
4776 (md_parse_option): Likewise.
4778 2016-01-25 Catherine Moore <clm@codesourcery.com>
4780 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4781 if abicalls are in effect.
4782 * testsuite/gas/mips/sdata-gp.s: New test.
4783 * testsuite/gas/mips/sdata-gp.d: New expected output
4784 * testsuite/gas/mips/mips.exp: Run new test.
4786 2016-01-25 Renlin Li <renlin.li@arm.com>
4788 * testsuite/gas/arm/thumb2_it_search.d: New.
4789 * testsuite/gas/arm/thumb2_it_search.s: New.
4791 2016-01-21 Nick Clifton <nickc@redhat.com>
4794 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4795 with arm-netbsdelf target.
4796 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4798 2016-01-20 Nick Clifton <nickc@redhat.com>
4801 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4802 * testsuite/gas/arm/blx-bl-convert.d
4803 * testsuite/gas/arm/plt-1.d: Likewise.
4804 * testsuite/gas/arm/reloc-bad.d: Likewise.
4805 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4806 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4807 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4808 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4811 * doc/as.texinfo (Errors): Correct documentation describing the
4812 interaction of .file and .line with warning and error messages.
4815 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4816 * testsuite/gas/arm/archv8m-main.d: Likewise.
4817 * testsuite/gas/arm/archv8m-base.d: Likewise.
4819 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4821 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4822 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4823 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4825 2016-01-20 Mickael Guene <mickael.guene@st.com>
4826 Terry Guo <terry.guo@arm.com>
4828 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4829 SHF_ARM_NOREAD section flag.
4830 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4832 (arm_elf_section_letter) : Declare it.
4833 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4834 SHF_ARM_NOREAD section flag.
4835 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4837 * testsuite/gas/arm/section-execute-only.s: New test case.
4838 * testsuite/gas/arm/section-execute-only.d: Expected output.
4840 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4842 * config/tc-mips.c (micromips_insn_length): Remove the mention
4843 of 48-bit microMIPS instructions.
4845 2016-01-18 Alan Modra <amodra@gmail.com>
4847 * configure: Regenerate.
4849 2016-01-17 Alan Modra <amodra@gmail.com>
4851 * configure: Regenerate.
4853 2016-01-17 Alan Modra <amodra@gmail.com>
4855 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4857 2016-01-14 Nick Clifton <nickc@redhat.com>
4859 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4860 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4861 * testsuite/gas/rl78/rl78.exp: Run the new test.
4863 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4865 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4866 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4868 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4870 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4872 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4874 * config/tc-h8300.c (get_operand): Remove spurious condition in
4875 test for closing parenthesis.
4877 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4879 * config/tc-arm.c (arm_ext_v8_2): New.
4881 * testsuite/gas/arm/armv8_2-a.d: New.
4882 * testsuite/gas/arm/armv8_2-a.s: New.
4884 2016-01-12 Alan Modra <amodra@gmail.com>
4886 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4888 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4890 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4891 xvcmpnesp, xvcmpnesp.>: Delete tests.
4892 * testsuite/gas/ppc/power9.s: Likewise.
4893 * testsuite/gas/ppc/vsx3.d: Likewise.
4894 * testsuite/gas/ppc/vsx3.s: Likewise.
4896 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4899 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4900 * testsuite/gas/m68k/p13050-1.s: New file.
4901 * testsuite/gas/m68k/p13050-2.d: New file.
4902 * testsuite/gas/m68k/p13050-2.s: New file.
4904 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4906 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4907 * testsuite/gas/arc/add.d: Likewise.
4908 * testsuite/gas/arc/and.d: Likewise.
4909 * testsuite/gas/arc/asl.d: Likewise.
4910 * testsuite/gas/arc/asr.d: Likewise.
4911 * testsuite/gas/arc/bic.d: Likewise.
4912 * testsuite/gas/arc/extb.d: Likewise.
4913 * testsuite/gas/arc/extw.d: Likewise.
4914 * testsuite/gas/arc/j.d: Likewise.
4915 * testsuite/gas/arc/jl.d: Likewise.
4916 * testsuite/gas/arc/ld2.d: Likewise.
4917 * testsuite/gas/arc/lsr.d: Likewise.
4918 * testsuite/gas/arc/mov.d: Likewise.
4919 * testsuite/gas/arc/or.d: Likewise.
4920 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4921 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4922 * testsuite/gas/arc/pic-relocs.d: Likewise.
4923 * testsuite/gas/arc/plt-relocs.d: Likewise.
4924 * testsuite/gas/arc/rlc.d: Likewise.
4925 * testsuite/gas/arc/ror.d: Likewise.
4926 * testsuite/gas/arc/rrc.d: Likewise.
4927 * testsuite/gas/arc/sbc.d: Likewise.
4928 * testsuite/gas/arc/sda-relocs.d: Likewise.
4929 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4930 * testsuite/gas/arc/sexb.d: Likewise.
4931 * testsuite/gas/arc/sexw.d: Likewise.
4932 * testsuite/gas/arc/st.d: Likewise.
4933 * testsuite/gas/arc/sub.d: Likewise.
4934 * testsuite/gas/arc/tls-relocs.d: Likewise.
4935 * testsuite/gas/arc/xor.d: Likewise.
4937 2016-01-01 Alan Modra <amodra@gmail.com>
4939 Update year range in copyright notice of all files.
4941 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4943 Copyright (C) 2016 Free Software Foundation, Inc.
4945 Copying and distribution of this file, with or without modification,
4946 are permitted in any medium without royalty provided the copyright
4947 notice and this notice are preserved.
4953 version-control: never