1 2016-11-03 H.J. Lu <hongjiu.lu@intel.com>
4 * testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
5 * testsuite/gas/i386/opcode-intel.d: Updated.
6 * testsuite/gas/i386/opcode.d: Likewise.
8 2016-11-02 Jiong Wang <jiong.wang@arm.com>
10 * config/tc-arm.c (SBIT_SHIFT): New.
11 (T2_SBIT_SHIFT): Likewise.
12 (t32_insn_ok): Return TRUE for MOV in ARMv8-M Baseline.
13 (md_apply_fix): Try UINT16 encoding when ARM/Thumb modified immediate
15 * testsuite/gas/arm/archv6t2-bad.s: New error case.
16 * testsuite/gas/arm/archv6t2-bad.l: New error match.
17 * testsuite/gas/arm/archv6t2.s: New testcase.
18 * testsuite/gas/arm/archv6t2.d: New expected result.
19 * testsuite/gas/arm/archv8m.s: New testcase.
20 * testsuite/gas/arm/archv8m-base.d: New expected result.
21 * testsuite/gas/arm/archv8m-main.d: Likewise.
22 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
24 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
26 * config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
27 (cpu_noarch): Add noavx512_4vnniw.
28 * doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
29 * testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
30 * testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
31 * testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
32 * testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
33 * testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
34 * testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
35 * testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
36 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
37 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
38 * testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
39 * testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
40 * testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
41 * testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.
43 2016-11-02 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
45 * config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
46 (cpu_noarch): Add noavx512_4fmaps.
47 (process_operands): Handle implicit quad group.
48 * doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
49 * testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
50 * testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
51 * testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
52 * testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
53 * testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
54 * testsuite/gas/i386/avx512_4fmaps.d: Ditto.
55 * testsuite/gas/i386/avx512_4fmaps.s: Ditto.
56 * testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
57 * testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
58 * testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
59 * testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
60 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
61 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
62 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
63 * testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
64 * testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
65 * testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
66 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
67 * testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
68 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
69 * testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.
71 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
72 Andrew Waterman <andrew@sifive.com>
74 Add support for RISC-V architecture.
75 * Makefile.am: Add riscv files.
76 * Makefile.in: Regenerate.
77 * NEWS: Mention the support for this architecture.
78 * configure.in: Define a default architecture.
79 * configure: Regenerate.
80 * configure.tgt: Add entries for riscv.
81 * doc/as.texinfo: Likewise.
82 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
83 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
84 * config/tc-riscv.c: New file.
85 * config/tc-riscv.h: New file.
86 * doc/c-riscv.texi: New file.
87 * testsuite/gas/riscv: New directory.
88 * testsuite/gas/riscv/riscv.exp: New file.
89 * testsuite/gas/riscv/t_insns.d: New file.
90 * testsuite/gas/riscv/t_insns.s: New file.
92 2016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
94 * config/tc-arc.c (arc_target): Delete.
95 (arc_target_name): Delete.
96 (arc_features): Delete.
97 (arc_mach_type): Delete.
98 (mach_type_specified_p): Delete.
99 (enum mach_selection_type): New enum.
100 (mach_selection_mode): New static global.
101 (selected_cpu): New static global.
102 (arc_eflag): Rename to ...
103 (arc_initial_eflag): ...this, and make const.
104 (arc_select_cpu): Update comment, new parameter, check how
105 previous machine type selection was made, and record this
106 selection. Use selected_cpu instead of old globals.
107 (arc_option): Remove use of arc_get_mach, instead use
108 arc_select_cpu to validate machine type selection. Use
109 selected_cpu over old globals.
110 (allocate_tok): Use selected_cpu over old globals.
111 (find_opcode_match): Likewise.
112 (assemble_tokens): Likewise.
113 (arc_cons_fix_new): Likewise.
114 (arc_extinsn): Likewise.
115 (arc_extcorereg): Likewise.
116 (md_begin): Update default machine type selection, use
117 selected_cpu over old globals.
118 (md_parse_option): Update machine type selection option handling,
119 use selected_cpu over old globals.
120 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
122 2016-10-26 Alan Modra <amodra@gmail.com>
124 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
125 * config/rl78-parse.y: Do use old %name-prefix syntax.
126 * config/rx-parse.y: Likewise.
128 2016-10-21 H.J. Lu <hongjiu.lu@intel.com>
130 * config/tc-i386.c (cpu_arch): Remove .pcommit.
131 * doc/c-i386.texi: Likewise.
132 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
133 * testsuite/gas/i386/pcommit-intel.d: Removed.
134 * testsuite/gas/i386/pcommit.d: Likewise.
135 * testsuite/gas/i386/pcommit.s: Likewise.
136 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
137 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
138 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
140 2016-10-20 H.J. Lu <hongjiu.lu@intel.com>
143 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
144 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
145 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
147 2016-10-19 Renlin Li <renlin.li@arm.com>
149 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
150 for register-shifted register instructions.
151 * testsuite/gas/arm/shift-bad-pc.d: New.
152 * testsuite/gas/arm/shift-bad-pc.l: New.
153 * testsuite/gas/arm/shift-bad-pc.s: New.
155 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
157 * testsuite/arc/dis-inv.d: Fixed matching.
159 2016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
161 * testsuite/arc/dis-inv.s: Test to validate patch.
162 * testsuite/arc/dis-inv.d: Likewise.
164 2016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
166 * testsuite/gas/arc/shortlimm_a7.d: New file.
167 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
168 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
169 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
171 2016-10-11 Nick Clifton <nickc@redhat.com>
173 * gas/arm/tls.d: Adjust output to match change in objdump.
175 2016-10-11 Jiong Wang <jiong.wang@arm.com>
178 * testsuite/gas/aarch64/alias-2.d: Update expected results.
180 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
182 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
183 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
184 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
185 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
186 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
187 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
188 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
189 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
190 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
192 2016-10-08 Alan Modra <amodra@gmail.com>
194 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
195 config/rx-parse.y. Move config/bfin-parse.y.
196 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
197 ($(srcdir)/config/rl78-defs.h): New rule.
198 * Makefile.in: Regenerate.
200 2016-10-07 Jiong Wang <jiong.wang@arm.com>
203 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
205 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
207 2016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
209 * testsuite/gas/arc/leave_enter.d: New file.
210 * testsuite/gas/arc/leave_enter.s: Likewise.
211 * testsuite/gas/arc/regnames.d: Likewise.
212 * testsuite/gas/arc/regnames.s: Likewise.
213 * config/tc-arc.c (arc_parse_name): Don't match reg names against
214 confirmed symbol names.
216 2016-10-06 Alan Modra <amodra@gmail.com>
218 * app.c (do_scrub_chars): Move fall through comment.
219 * expr.c (operand): Likewise.
221 2016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
224 * dw2gencfi.c (dot_cfi_sections): Refine the check for
225 inconsistent .cfi_sections to only consider compact vs non
227 * testsuite/gas/cfi/cfi-common-9.d: New file.
228 * testsuite/gas/cfi/cfi-common-9.s: New file.
229 * testsuite/gas/cfi/cfi.exp: Run new test.
231 2016-10-06 Alan Modra <amodra@gmail.com>
233 * app.c: Add missing fall through comments.
234 * dw2gencfi.c: Likewise.
236 * config/tc-alpha.c: Likewise.
237 * config/tc-arc.c: Likewise.
238 * config/tc-arm.c: Likewise.
239 * config/tc-cr16.c: Likewise.
240 * config/tc-crx.c: Likewise.
241 * config/tc-dlx.c: Likewise.
242 * config/tc-h8300.c: Likewise.
243 * config/tc-hppa.c: Likewise.
244 * config/tc-i370.c: Likewise.
245 * config/tc-i386.c: Likewise.
246 * config/tc-i960.c: Likewise.
247 * config/tc-ia64.c: Likewise.
248 * config/tc-m68hc11.c: Likewise.
249 * config/tc-m68k.c: Likewise.
250 * config/tc-mep.c: Likewise.
251 * config/tc-metag.c: Likewise.
252 * config/tc-microblaze.c: Likewise.
253 * config/tc-mips.c: Likewise.
254 * config/tc-ns32k.c: Likewise.
255 * config/tc-rx.c: Likewise.
256 * config/tc-score.c: Likewise.
257 * config/tc-score7.c: Likewise.
258 * config/tc-sh.c: Likewise.
259 * config/tc-tic4x.c: Likewise.
260 * config/tc-vax.c: Likewise.
261 * config/tc-xstormy16.c: Likewise.
262 * config/tc-z80.c: Likewise.
263 * config/tc-z8k.c: Likewise.
264 * config/obj-elf.c: Likewise.
265 * config/tc-i386.c: Likewise.
266 * depend.c: Spell fall through comments consistently.
267 * config/tc-arm.c: Likewise.
268 * config/tc-d10v.c: Likewise.
269 * config/tc-i960.c: Likewise.
270 * config/tc-ia64.c: Likewise.
271 * config/tc-m68k.c: Likewise.
272 * config/tc-mcore.c: Likewise.
273 * config/tc-mep.c: Likewise.
274 * config/tc-ns32k.c: Likewise.
275 * config/tc-visium.c: Likewise.
276 * config/tc-xstormy16.c: Likewise.
277 * config/tc-z8k.c: Likewise.
279 2016-10-06 Alan Modra <amodra@gmail.com>
281 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
283 2016-10-06 Alan Modra <amodra@gmail.com>
285 * config/tc-arc.c (find_opcode_match): Add missing break.
286 * config/tc-i960.c (get_cdisp): Likewise.
287 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
288 * config/tc-mt.c (md_parse_option): Likewise.
289 * config/tc-nds32.c (nds32_apply_fix): Likewise.
290 * config/tc-hppa.c (pa_ip): Assert rather than testing last
291 condition of multiple if statements.
292 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
293 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
294 out of case rather than falling into next case. Formatting.
296 2016-10-06 Alan Modra <amodra@gmail.com>
298 * config/rl78-parse.y: Don't use deprecated %name-prefix.
299 * config/rx-parse.y: Likewise.
301 2016-09-29 Jiong Wang <jiong.wang@arm.com>
304 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
305 testcases for H and S variants. New low index testcases for D variant.
306 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
308 2016-09-29 Alan Modra <amodra@gmail.com>
310 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
311 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
312 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
314 2016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
316 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
319 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
321 * Makefile.in: Regenerate.
322 * configure: Likewise.
323 * doc/Makefile.in: Likewise.
325 2016-09-26 Alan Modra <amodra@gmail.com>
327 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
328 (md_pseudo_table <ELF>): Handle "gnu_attribute".
330 2016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
332 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
333 register and redundant basepri_max.
335 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
337 * config/tc-aarch64.c (print_operands): Print spaces between
339 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
341 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
342 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
343 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
344 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
345 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
346 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
347 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
348 * testsuite/gas/aarch64/sve.d: Likewise.
349 * testsuite/gas/aarch64/symbol.d: Likewise.
350 * testsuite/gas/aarch64/system.d: Likewise.
351 * testsuite/gas/aarch64/tls-desc.d: Likewise.
352 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
353 in suggested alternatives.
354 * testsuite/gas/aarch64/verbose-error.l: Likewise.
356 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
358 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
359 rather than "should be" or "expected to be" in error messages.
360 (parse_operands): Likewise.
361 * testsuite/gas/aarch64/diagnostic.l: Likewise.
362 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
363 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
364 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
366 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
368 * config/tc-aarch64.c (opcode_lookup): Search for the end of
369 a condition name, rather than assuming that it will have exactly
371 (parse_operands): Likewise.
372 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
373 to the expected output.
374 * testsuite/gas/aarch64/beq_1.d: Likewise.
375 * testsuite/gas/aarch64/float-fp16.d: Likewise.
376 * testsuite/gas/aarch64/int-insns.d: Likewise.
377 * testsuite/gas/aarch64/no-aliases.d: Likewise.
378 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
379 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
380 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
383 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
385 * testsuite/gas/aarch64/diagnostic.s,
386 testsuite/gas/aarch64/diagnostic.l: Add tests for
387 invalid uses of MUL VL and MUL in base AArch64 instructions.
388 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
389 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
390 testsuite/gas/aarch64/sve-invalid.s,
391 testsuite/gas/aarch64/sve-invalid.d,
392 testsuite/gas/aarch64/sve-invalid.l,
393 testsuite/gas/aarch64/sve-reg-diagnostic.s,
394 testsuite/gas/aarch64/sve-reg-diagnostic.d,
395 testsuite/gas/aarch64/sve-reg-diagnostic.l,
396 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
398 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
400 * doc/c-aarch64.texi: Document the "sve" feature.
401 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
402 (get_reg_expected_msg): Handle it.
403 (parse_operands): When parsing operands of an SVE instruction,
404 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
405 (aarch64_features): Add an entry for SVE.
407 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
409 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
410 and FP register operands.
412 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
414 * config/tc-aarch64.c (double_precision_operand_p): New function.
415 (parse_operands): Use it to calculate the dp_p input to
416 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
418 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
420 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
423 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
425 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
427 (parse_shift): Handle SHIFTED_MUL_VL.
428 (parse_address_main): Add an imm_shift_mode parameter.
429 (parse_address, parse_sve_address): Update accordingly.
430 (parse_operands): Handle MUL VL addressing modes.
432 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
434 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
436 (get_reg_expected_msg): Handle them.
437 (aarch64_addr_reg_parse): New function, split out from
438 aarch64_reg_parse_32_64. Handle Z registers too.
439 (aarch64_reg_parse_32_64): Call it.
440 (parse_address_main): Add base_qualifier, offset_qualifier,
441 base_type and offset_type parameters. Handle SVE base and offset
443 (parse_address): Update call to parse_address_main.
444 (parse_sve_address): New function.
445 (parse_operands): Parse the new SVE address operands.
447 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
449 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
450 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
451 shift modes. Skip range tests for AARCH64_MOD_MUL.
452 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
453 (parse_operands): Likewise.
455 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
457 * config/tc-aarch64.c (parse_enum_string): New function.
458 (po_enum_or_fail): New macro.
459 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
460 AARCH64_OPND_SVE_PRFOP.
462 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
464 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
465 (parse_vector_type_for_operand): Assert that the skipped character
467 (parse_predication_for_operand): New function.
468 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
469 (vectype_to_qualifier): Handle NT_zero and NT_merge.
471 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
473 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
474 (AARCH64_REG_TYPES): Add ZN and PN.
475 (get_reg_expected_msg): Handle them.
476 (parse_vector_type_for_operand): Add a reg_type parameter.
477 Skip the width for Zn and Pn registers.
478 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
479 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
480 expecting the width to be 0.
481 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
483 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
484 (parse_operands): Handle the new Zn and Pn operands.
485 (REGSET16): New macro, split out from...
487 (reg_names): Add Zn and Pn entries.
489 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
491 * config/tc-aarch64.c (output_operand_error_record): Handle
492 AARCH64_OPDE_UNTIED_OPERAND.
494 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
496 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
497 instruction with all-NIL qualifiers to fail to match.
499 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
501 * config/tc-aarch64.c (parse_address_main): Remove reloc and
502 accept_reg_post_index parameters. Parse relocations and register
503 post indexes unconditionally.
504 (parse_address): Remove accept_reg_post_index parameter.
505 Update call to parse_address_main.
506 (parse_address_reloc): Delete.
507 (parse_operands): Call parse_address instead of parse_address_main.
508 Update existing callers of parse_address and make them check
509 inst.reloc.type where appropriate.
510 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
511 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
512 Also test for invalid uses of post-index register addressing.
513 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
515 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
517 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
519 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
520 (aarch64_check_reg_type): Simplify.
521 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
522 register number. Return the type as a qualifier rather than an
523 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
525 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
526 Use get_reg_expected_msg.
527 (parse_address_main): Likewise. Use aarch64_check_reg_type.
528 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
529 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
530 Use aarch64_check_reg_type to test the result.
531 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
532 addresses normally before enforcing the syntax restrictions.
533 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
534 zero register and for a stack pointer index.
535 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
536 Also update existing diagnostic messages after the above changes.
537 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
538 for 32-bit register bases.
540 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
542 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
543 (parse_operands): Check the range of 8-bit FP immediates here instead.
545 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
547 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
548 low-severity error for registers.
549 (parse_operands): Report an invalid floating point constant for
550 if parsing an FPIMM8 fails, and if no better error has been
552 * testsuite/gas/aarch64/diagnostic.s,
553 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
556 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
558 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
560 (can_convert_double_to_float): ...this. Accept any double-precision
561 value that converts to single precision without loss of precision.
562 (parse_aarch64_imm_float): Update accordingly.
564 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
566 * config/tc-aarch64.c (parse_immediate_expression): Add a
568 (parse_constant_immediate): Likewise, and update calls.
569 (parse_aarch64_imm_float): Likewise.
570 (parse_big_immediate): Likewise.
571 (po_imm_nc_or_fail): Update accordingly, passing down a new
572 imm_reg_type variable.
573 (po_imm_of_fail): Likewise.
574 (parse_operands): Likewise.
576 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
578 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
579 (parse_vector_reg_list): ...this and take a register type
581 (parse_operands): Update accordingly.
583 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
585 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
586 (parse_vector_type_for_operand): ...this.
587 (parse_typed_reg): Update accordingly.
589 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
591 * config/tc-aarch64.c (neon_type_el): Rename to...
592 (vector_type_el): ...this.
593 (parse_neon_type_for_operand): Update accordingly.
594 (parse_typed_reg): Likewise.
595 (aarch64_reg_parse): Likewise.
596 (vectype_to_qualifier): Likewise.
597 (parse_operands): Likewise.
598 (eq_neon_type_el): Likewise. Rename to...
599 (eq_vector_type_el): ...this.
600 (parse_neon_reg_list): Update accordingly.
602 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
604 * config/tc-aarch64.c (neon_el_type: Rename to...
605 (vector_el_type): ...this.
606 (neon_type_el): Update accordingly.
607 (parse_neon_type_for_operand): Likewise.
608 (vectype_to_qualifier): Likewise.
610 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
612 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
613 (parse_typed_reg): Call parse_neon_type_for_operand directly.
615 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
617 * testsuite/gas/arc/textinsnxop.d: New file.
618 * testsuite/gas/arc/textinsnxop.s: Likewise.
620 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
622 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
623 dcti-couples-v9 only in ELF targets to avoid spurious failures in
624 sparc-aout and sparc-coff targets.
626 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
628 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
629 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
630 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
631 <copy, paste.>: Update tests.
632 * testsuite/gas/ppc/power9.s: Likewise.
634 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
636 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
637 in "architecture mismatch" error messages.
639 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
641 * config/tc-sparc.c (md_assemble): Detect and warning on
642 unpredictable DCTI couples in certain arches.
643 (dcti_couples_detect): New global.
644 (md_longopts): Add command line option -dcti-couples-detect.
645 (md_show_usage): Document -dcti-couples-detect.
646 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
647 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
648 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
649 * testsuite/gas/sparc/dcti-couples.s: New file.
650 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
651 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
652 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
653 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
654 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
655 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
656 * doc/c-sparc.texi (Sparc-Opts): Likewise.
658 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
660 * testsuite/gas/arc/tls-relocs2.d: New file.
661 * testsuite/gas/arc/tls-relocs2.s: Likewise.
662 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
665 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
667 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
669 * doc/as.texinfo: Document new arch strings.
670 * doc/c-s390.texi: Likewise.
672 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
674 * config/tc-s390.c: Set all facitily bits by default
676 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
678 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
680 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
682 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
685 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
687 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
688 (set_cpu_arch): Updated.
689 (md_parse_option): Likewise.
690 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
691 iamcu-inval-2 and iamcu-inval-3.
692 * testsuite/gas/i386/iamcu-4.d: New file.
693 * testsuite/gas/i386/iamcu-4.s: Likewise.
694 * testsuite/gas/i386/iamcu-5.d: Likewise.
695 * testsuite/gas/i386/iamcu-5.s: Likewise.
696 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
697 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
698 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
699 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
701 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
703 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
704 ARMv8-A CPUs except xgene1.
706 2016-08-31 Alan Modra <amodra@gmail.com>
708 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
709 ppc_cpu rather than calling ppc_mach to determine VLE mode.
710 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
712 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
714 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
716 * testsuite/gas/sparc/crypto.s: Likewise.
718 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
720 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
721 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
722 their lowecase counterpart special registers. Write register
724 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
725 operation, special register and then case. Use different register for
726 each operation. Add tests for new special registers.
727 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
729 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
730 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
732 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
734 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
736 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
738 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
739 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
740 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
742 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
744 * config/tc-i386.c (cpu_arch): Add .ptwrite.
745 * doc/c-i386.texi: Document ptwrite and .ptwrite.
746 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
747 x86-64-ptwrite and x86-64-ptwrite-intel.
748 * testsuite/gas/i386/ptwrite-intel.d: New file.
749 * testsuite/gas/i386/ptwrite.d: Likewise.
750 * testsuite/gas/i386/ptwrite.s: Likewise.
751 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
752 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
753 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
755 2016-08-19 Tamar Christina <tamar.christina@arm.com>
757 * config/tc-arm.c (do_co_reg2c): Added constraint.
758 * testsuite/gas/arm/dest-unpredictable.s: New.
759 * testsuite/gas/arm/dest-unpredictable.l: New.
760 * testsuite/gas/arm/dest-unpredictable.d: New.
762 2016-08-19 Nick Clifton <nickc@redhat.com>
764 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
765 ordering of sections.
766 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
767 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
768 * testsuite/gas/ia64/alias.d: Likewise.
769 * testsuite/gas/ia64/group-1.d: Likewise.
770 * testsuite/gas/ia64/group-2.d: Likewise.
771 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
772 * testsuite/gas/ia64/secname.d: Likewise.
773 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
774 * testsuite/gas/ia64/unwind.d: Likewise.
775 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
776 * testsuite/gas/ia64/xdata.d: Likewise.
777 * testsuite/gas/mmix/bspec-1.d: Likewise.
778 * testsuite/gas/mmix/bspec-2.d: Likewise.
779 * testsuite/gas/mmix/byte-1.d: Likewise.
780 * testsuite/gas/mmix/loc-1.d: Likewise.
781 * testsuite/gas/mmix/loc-2.d: Likewise.
782 * testsuite/gas/mmix/loc-3.d: Likewise.
783 * testsuite/gas/mmix/loc-4.d: Likewise.
784 * testsuite/gas/mmix/loc-5.d: Likewise.
785 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
787 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
789 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
790 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
791 Add tests for -0.0. Add an end-of-file comment.
793 2016-08-05 Nick Clifton <nickc@redhat.com>
796 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
797 registers are pushed.
798 (do_vfp_nsyn_pop): Check that no more than 16 registers are
800 * testsuite/gas/arm/pr20429.s: New test.
801 * testsuite/gas/arm/pr20429.d: New test driver.
802 * testsuite/gas/arm/pr20429.1: Expected error output.
805 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
807 (aarch64_init): Treat rs_align frags in code sections as
808 containing code, not data.
809 * testsuite/gas/aarch64/pr20364.s: New test.
810 * testsuite/gas/aarch64/pr20364.d: New test driver.
812 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
815 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
816 of 64-bit relocation types when assembling for a 32-bit Solaris
819 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
821 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
823 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
824 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
825 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
826 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
828 (sparc_elf_setup): Delete.
829 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
832 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
834 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
835 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
836 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
837 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
838 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
839 (get_append_method): Also return APPEND_ADD_COMPACT for
840 microMIPS instructions.
841 (find_altered_mips16_opcode): Exclude macros from matching.
843 (find_altered_opcode): ... to this new function.
844 (find_altered_micromips_opcode): New function.
845 (frag_branch_delay_slot_size): Likewise.
846 (append_insn): Handle microMIPS branch/jump compaction.
847 (macro_start): Likewise.
848 (relaxed_micromips_32bit_branch_length): Likewise.
849 (md_convert_frag): Likewise.
850 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
851 for delay slot filling.
852 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
854 * testsuite/gas/mips/micromips-size-1.s: Likewise.
855 * testsuite/gas/mips/micromips.l: Adjust line numbers.
856 * testsuite/gas/mips/micromips-warn.l: Likewise.
857 * testsuite/gas/mips/micromips-size-1.l: Likewise.
858 * testsuite/gas/mips/micromips.d: Adjust padding.
859 * testsuite/gas/mips/micromips-trap.d: Likewise.
860 * testsuite/gas/mips/micromips-insn32.d: Likewise.
861 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
862 * testsuite/gas/mips/micromips@beq.d: Update patterns for
863 branch/jump compaction.
864 * testsuite/gas/mips/micromips@bge.d: Likewise.
865 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
866 * testsuite/gas/mips/micromips@blt.d: Likewise.
867 * testsuite/gas/mips/micromips@bltu.d: Likewise.
868 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
869 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
870 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
871 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
872 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
873 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
874 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
875 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
877 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
879 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
880 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
881 * testsuite/gas/mips/micromips@relax.d: Likewise.
882 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
883 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
884 * testsuite/gas/mips/branch-extern-2.d: Likewise.
885 * testsuite/gas/mips/branch-extern-4.d: Likewise.
886 * testsuite/gas/mips/branch-section-2.d: Likewise.
887 * testsuite/gas/mips/branch-section-4.d: Likewise.
888 * testsuite/gas/mips/branch-weak-2.d: Likewise.
889 * testsuite/gas/mips/branch-weak-5.d: Likewise.
890 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
891 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
892 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
893 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
895 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
897 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
899 * testsuite/gas/mips/micromips-compact.d: New test.
900 * testsuite/gas/mips/mips.exp: Run the new test.
902 2016-07-27 Graham Markall <graham.markall@embecosm.com>
904 * config/tc-arc.c: Add new global arc_addrtype_hash.
905 Define O_colon and O_addrtype.
906 (debug_exp): Add O_colon and O_addrtype.
907 (tokenize_arguments): Handle colon and address type
909 (declare_addrtype): New function.
910 (md_begin): Initialise arc_addrtype_hash.
911 (arc_parse_name): Add lookup of address types.
912 (assemble_insn): Handle colons and address types by
914 * testsuite/gas/arc/nps400-8.s: New file.
915 * testsuite/gas/arc/nps400-8.d: New file.
916 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
917 * testsuite/gas/arc/nps400-8.d: Add expected PMU
920 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
922 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
923 (RELAX_MICROMIPS_INSN32): New macro.
924 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
925 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
926 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
927 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
928 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
930 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
932 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
934 (md_convert_frag): Likewise.
935 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
937 * testsuite/gas/mips/micromips-branch-relax.l: Update line
939 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
940 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
941 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
943 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
945 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
947 * testsuite/gas/mips/mips.exp: Run the new tests.
949 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
951 * configure: Regenerated.
953 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
955 * testsuite/gas/arc/dsp.d: New file.
956 * testsuite/gas/arc/dsp.s: Likewise.
957 * testsuite/gas/arc/fpu.d: Likewise.
958 * testsuite/gas/arc/fpu.s: Likewise.
959 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
960 * testsuite/gas/arc/ext3op.d: Likewise.
961 * testsuite/gas/arc/tdpfp.d: Likewise.
962 * testsuite/gas/arc/tfpuda.d: Likewise.
964 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
966 * config/tc-mips.c (mips_force_relocation): Remove
967 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
969 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
971 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
972 Adjust comments for BAL to JALX linker conversion.
973 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
974 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
976 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
977 * testsuite/gas/mips/branch-local-4.d: New test.
978 * testsuite/gas/mips/branch-local-n32-4.d: New test.
979 * testsuite/gas/mips/branch-local-n64-4.d: New test.
980 * testsuite/gas/mips/branch-addend.d: New test.
981 * testsuite/gas/mips/branch-addend-n32.d: New test.
982 * testsuite/gas/mips/branch-addend-n64.d: New test.
983 * testsuite/gas/mips/branch-local-4.s: New test source.
984 * testsuite/gas/mips/branch-addend.s: New test source.
985 * testsuite/gas/mips/mips.exp: Run the new tests.
987 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
989 * config/tc-mips.c (mips_force_relocation): Also retain branch
990 relocations against MIPS16 and microMIPS symbols.
991 (fix_bad_cross_mode_jump_p): New function.
992 (fix_bad_same_mode_jalx_p): Likewise.
993 (fix_bad_misaligned_jump_p): Likewise.
994 (fix_bad_cross_mode_branch_p): Likewise.
995 (fix_bad_misaligned_branch_p): Likewise.
996 (fix_validate_branch): Likewise.
997 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
998 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
999 etc. Verify the ISA mode and alignment of the jump target.
1000 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
1001 with a call to `fix_validate_branch'.
1002 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
1003 <BFD_RELOC_16_PCREL_S2>: Likewise.
1004 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1005 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
1006 Verify the ISA mode and alignment of the branch target.
1007 (md_convert_frag): Verify the ISA mode and alignment of resolved
1008 MIPS16 branch targets.
1009 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
1010 branch targets with `.insn'.
1011 * testsuite/gas/mips/branch-misc-5.s: Likewise.
1012 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
1014 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
1015 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
1016 non-instruction branch target with `.insn'.
1017 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
1018 with external symbols.
1019 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
1020 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
1021 * testsuite/gas/mips/micromips-trap.d: Likewise.
1022 * testsuite/gas/mips/micromips.d: Likewise.
1023 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
1024 targets with `.insn'.
1025 * testsuite/gas/mips/mips16.d: Update accordingly.
1026 * testsuite/gas/mips/mips16-64.d: Likewise.
1027 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
1028 branch target with `.insn'.
1029 * testsuite/gas/mips/relax-swap3.s: Likewise.
1030 * testsuite/gas/mips/branch-local-2.l: New list test.
1031 * testsuite/gas/mips/branch-local-3.l: New list test.
1032 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
1033 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
1034 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
1035 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
1036 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
1037 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
1038 * testsuite/gas/mips/unaligned-jump-3.d: New test.
1039 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
1040 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
1041 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
1042 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
1044 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
1046 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
1047 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
1048 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
1049 * testsuite/gas/mips/unaligned-branch-3.d: New test.
1050 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
1051 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
1052 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
1053 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
1054 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
1055 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
1056 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
1057 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
1058 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
1059 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
1061 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
1063 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
1064 * testsuite/gas/mips/branch-local-2.s: New test source.
1065 * testsuite/gas/mips/branch-local-3.s: New test source.
1066 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
1067 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
1068 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
1069 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1070 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1071 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1072 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1073 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1074 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1076 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1078 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1079 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1080 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1081 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1082 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1083 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1084 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1086 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1088 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1090 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1092 * testsuite/gas/mips/mips.exp: Run the new tests.
1094 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1096 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1098 (do_pseudo_b): Adjust.
1099 (do_pseudo_bal): Likewise.
1100 (do_pseudo_bge): Likewise.
1101 (do_pseudo_bges): Likewise.
1102 (do_pseudo_bgt): Likewise.
1103 (do_pseudo_bgts): Likewise.
1104 (do_pseudo_ble): Likewise.
1105 (do_pseudo_bles): Likewise.
1106 (do_pseudo_blt): Likewise.
1107 (do_pseudo_blts): Likewise.
1108 (do_pseudo_br): Likewise.
1109 (do_pseudo_bral): Likewise.
1110 (do_pseudo_la): Likewise.
1111 (do_pseudo_li): Likewise.
1112 (do_pseudo_ls_bhw): Likewise.
1113 (do_pseudo_ls_bhwp): Likewise.
1114 (do_pseudo_ls_bhwpc): Likewise.
1115 (do_pseudo_ls_bhwi): Likewise.
1116 (do_pseudo_move): Likewise.
1117 (do_pseudo_neg): Likewise.
1118 (do_pseudo_not): Likewise.
1119 (do_pseudo_pushpopm): Likewise.
1120 (do_pseudo_pushpop): Likewise.
1121 (do_pseudo_v3push): Likewise.
1122 (do_pseudo_v3pop): Likewise.
1123 (do_pseudo_pushpop_stack): Likewise.
1124 (do_pseudo_push_bhwd): Likewise.
1125 (do_pseudo_pop_bhwd): Likewise.
1126 (do_pseudo_pusha): Likewise.
1127 (do_pseudo_pushi): Likewise.
1129 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1131 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1132 bfd_reloc_code_real_type.
1134 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1136 * config/tc-sparc.c (pop_table): Remove sentinel.
1137 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1140 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1142 * config/tc-z8k.c (newfix): Make type of type argument
1143 bfd_reloc_code_real_type.
1144 (apply_fix): Likewise.
1146 2016-07-16 Alan Modra <amodra@gmail.com>
1148 * config/tc-epiphany.c: Don't include libbfd.h.
1149 * config/tc-frv.c: Likewise.
1150 * config/tc-ip2k.c: Likewise.
1151 * config/tc-iq2000.c: Likewise.
1152 * config/tc-m32c.c: Likewise.
1153 * config/tc-mep.c: Likewise.
1154 * config/tc-mt.c: Likewise.
1155 * config/tc-nios2.c: Likewise.
1157 2016-07-16 Alan Modra <amodra@gmail.com>
1159 * config/bfin-parse.y: Don't include libbfd.h.
1160 * config/tc-bfin.c: Likewise.
1161 * config/tc-rl78.c: Likewise.
1162 * config/tc-rx.c: Likewise.
1163 * config/tc-metag.c: Likewise.
1164 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1165 * Makefile.am: Update dependencies.
1166 * Makefile.in: Regenerate.
1168 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1170 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1171 (mips_force_relocation_abs): New prototype.
1172 * config/tc-mips.c (mips_force_relocation_abs): New function.
1173 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1174 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1175 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1176 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1177 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1179 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1181 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1182 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1183 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1185 * testsuite/gas/mips/mips.exp: Run the new tests.
1187 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1189 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1190 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1191 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1193 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1194 in `bar', export `foo'.
1195 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1197 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1198 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1199 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1201 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1204 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1206 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1207 * testsuite/gas/mips/branch-absolute.d: New test.
1208 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1209 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1210 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1211 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1212 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1213 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1214 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1216 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1218 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1219 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1220 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1221 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1223 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1225 * testsuite/gas/mips/branch-absolute.s: New test source.
1226 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1227 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1229 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1231 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1233 * testsuite/gas/mips/mips.exp: Run the new tests.
1235 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1237 * testsuite/gas/mips/nal-1.d: New test.
1238 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1239 * testsuite/gas/mips/nal-2.d: New test.
1240 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1241 * testsuite/gas/mips/nal.s: New test source.
1242 * testsuite/gas/mips/mips.exp: Run the new tests.
1244 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1246 * testsuite/gas/sparc/ldtxa.s: New file.
1247 * testsuite/gas/sparc/ldtxa.d: Likewise.
1248 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1250 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1252 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1253 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1254 as it is no longer needed.
1256 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1258 * config/tc-mips.c (append_insn): Remove extraneous
1259 `install_insn' call.
1261 2016-07-04 Jan Beulich <jbeulich@suse.com>
1263 * config/tc-i386.c (check_qword_reg): Correct register kind
1265 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1266 16-bit register cases.
1267 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1270 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1272 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1273 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1274 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1275 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1276 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1277 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1279 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1280 * testsuite/gas/mips/bge.d: Likewise.
1281 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1282 * testsuite/gas/mips/bgeu.d: Likewise.
1283 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1284 * testsuite/gas/mips/blt.d: Likewise.
1285 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1286 * testsuite/gas/mips/bltu.d: Likewise.
1287 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1288 * testsuite/gas/mips/branch-likely.d: Likewise.
1289 * testsuite/gas/mips/la.d: Likewise.
1290 * testsuite/gas/mips/lb.d: Likewise.
1291 * testsuite/gas/mips/lifloat.d: Likewise.
1292 * testsuite/gas/mips/sb.d: Likewise.
1293 * testsuite/gas/mips/uld.d: Likewise.
1294 * testsuite/gas/mips/ulh.d: Likewise.
1295 * testsuite/gas/mips/ulw.d: Likewise.
1296 * testsuite/gas/mips/usd.d: Likewise.
1297 * testsuite/gas/mips/ush.d: Likewise.
1298 * testsuite/gas/mips/usw.d: Likewise.
1300 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1302 * testsuite/gas/mips/branch-misc-2.s: Move non
1303 locally-defined-global symbol tests...
1304 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1305 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1306 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1307 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1308 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1309 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1310 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1311 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1312 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1313 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1314 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1315 * testsuite/gas/mips/branch-misc-5.d: New test.
1316 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1317 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1318 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1319 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1320 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1321 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1322 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1323 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1324 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1325 * testsuite/gas/mips/mips.exp: Run the new tests.
1327 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1329 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1331 * testsuite/gas/mips/beq.d: Update accordingly.
1332 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1333 * testsuite/gas/mips/micromips@beq.d: Likewise.
1335 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1337 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1338 tests to NewABI targets.
1340 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1342 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1345 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1347 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1349 (aarch64_features): Initialize require fields.
1350 (aarch64_parse_features): Handle dependencies.
1351 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1352 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1353 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1354 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1355 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1357 2016-07-01 Nick Clifton <nickc@redhat.com>
1359 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1360 extremely large integer.
1362 2016-07-01 Jan Beulich <jbeulich@suse.com>
1364 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1366 2016-07-01 Tristan Gingold <gingold@adacore.com>
1368 * NEWS: Add marker for 2.27.
1370 2016-07-01 Jan Beulich <jbeulich@suse.com>
1372 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1374 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1375 as well as scaling by other than 1 tests.
1376 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1378 2016-07-01 Jan Beulich <jbeulich@suse.com>
1380 * tc-i386.c (md_assemble): Alter address size checking for MPX
1382 * testsuite/gas/i386/mpx-inval-2.s: New.
1383 * testsuite/gas/i386/mpx-inval-2.l: New.
1384 * testsuite/gas/i386/i386.exp: Run new test.
1386 2016-07-01 Jan Beulich <jbeulich@suse.com>
1389 * config/tc-i386.c (match_template): Add char parameter,
1390 consumed in Intel mode for an extra suffix check.
1391 (md_assemble): New local variable mnem_suffix.
1392 * testsuite/gas/i386/suffix-bad.s: New.
1393 * testsuite/gas/i386/suffix-bad.l: New.
1394 * testsuite/gas/i386/i386.exp: Run new test (twice).
1396 2016-07-01 Jan Beulich <jbeulich@suse.com>
1398 * testsuite/gas/i386/movz.s: New.
1399 * testsuite/gas/i386/movz32.d: New.
1400 * testsuite/gas/i386/movz64.d: New.
1401 * testsuite/gas/i386/i386.exp: Run new tests.
1403 2016-07-01 Jan Beulich <jbeulich@suse.com>
1405 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1406 (md_assemble): Free first memory operand string.
1407 (i386_index_check): Use repprefixok to distingush xlat from
1408 other (real) string ops.
1409 (maybe_adjust_templates): New.
1410 (i386_att_operand). Call it. Store first memory operand string.
1411 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1412 * testsuite/gas/i386/intel-movs.s: New.
1413 * testsuite/gas/i386/intel-movs32.d: New.
1414 * testsuite/gas/i386/intel-movs64.d: New.
1415 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1416 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1418 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1420 * config/tc-mips.c (get_append_method): Fix a comment typo.
1422 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1423 Maciej W. Rozycki <macro@imgtec.com>
1425 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1426 case MIPS16 handling.
1427 * testsuite/gas/mips/branch-swap-3.d: New test.
1428 * testsuite/gas/mips/branch-swap-4.d: New test.
1429 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1430 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1431 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1432 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1433 * testsuite/gas/mips/branch-swap-3.s: New test source.
1434 * testsuite/gas/mips/mips.exp: Run the new tests.
1436 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1438 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1441 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1444 * write.c (subsegs_finish_section): Force no section padding to
1445 alignment on failed assembly, always set last frag's alignment
1447 * testsuite/gas/all/pr20312.l: New list test.
1448 * testsuite/gas/all/pr20312.s: New test source.
1449 * testsuite/gas/all/gas.exp: Run the new test
1451 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1453 * config.in (TARGET_WITH_CPU): Undefine.
1454 * configure.ac: Add --with-cpu support, and define in config.h.
1455 * configure: Regenerate.
1456 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1457 * NEWS: Mention new configure option.
1459 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1461 * testsuite/gas/arm/armv8_2+rdma.d: New.
1463 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1465 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1466 default for Linux/x86 targets.
1467 * configure.tgt (ac_default_compressed_debug_sections): Default
1468 to yes for Linux/x86 targets.
1470 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1472 * write.c: Remove "libbfd.h" inclusion.
1474 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1476 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1479 2016-06-28 Alan Modra <amodra@gmail.com>
1482 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1484 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1486 * testsuite/gas/aarch64/diagnostic.s,
1487 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1489 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1491 * config/tc-mips.c (mips16_reloc_p): Handle
1492 BFD_RELOC_MIPS16_16_PCREL_S1.
1493 (b_reloc_p): Likewise.
1494 (limited_pcrel_reloc_p): Likewise.
1495 (md_pcrel_from): Likewise.
1496 (md_apply_fix): Likewise.
1497 (tc_gen_reloc): Likewise.
1498 (md_convert_frag): Likewise.
1499 (mips_fix_adjustable): Update comment.
1500 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1501 output, add dump patterns.
1502 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1503 output, add dump patterns.
1504 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1505 output, add dump patterns.
1506 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1507 output, add dump patterns.
1508 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1509 output, add dump patterns.
1510 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1511 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1512 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1513 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1514 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1515 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1516 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1517 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1518 * testsuite/gas/mips/branch-weak-6.d: New test.
1519 * testsuite/gas/mips/branch-weak-7.d: New test.
1520 * testsuite/gas/mips/mips.exp: Run the new tests.
1522 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1524 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1525 cfi_add_CFA_def_cfa to generate default CFA with offset
1526 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1528 2016-06-27 Nick Clifton <nickc@redhat.com>
1531 * as.h (do_not_pad_sections_to_alignment): New global variable.
1532 * as.c (show_usage): Add --no-pad-sections.
1533 (parse_args): Likewise.
1534 * write.c (size_seg): Skip padding the end of the section if
1535 requested from the command line.
1536 (SUB_SEGMENT_ALIGN): Likewise.
1537 * doc/as.texinfo: Document the new option.
1538 * NEWS: Mention the new feature.
1539 * testsuite/gas/elf/section11.s: New test.
1540 * testsuite/gas/elf/section11.d: New test driver.
1541 * testsuite/gas/elf/elf.exp: Run the new test.
1543 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1545 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1546 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1548 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1550 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1552 (map_suffix_reloc_to_operator): Likewise.
1553 (map_operator_to_reloc): Likewise.
1555 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1557 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1558 element in relax_table.
1560 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1562 * config/tc-aarch64.c: Make the type of reg_entry::type
1565 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1567 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1568 (md_parse_option): Adjust.
1569 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1570 with iteration from 0 to ARRAY_SIZE.
1571 * config/tc-mcore.c (md_begin): Likewise.
1572 * config/tc-visium.c (visium_parse_arch): Likewise.
1574 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1576 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1577 and simplify accordingly.
1578 (tic54x_include): Adjust.
1579 (tic54x_mlib): Likewise.
1581 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1583 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1585 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1587 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1588 unchanged with relaxed MIPS16 instructions.
1589 (mips16_extended_frag): Adjust accordingly. Return 1 right
1590 away if a relocation will be required for the symbol requested.
1591 Remove dead first relaxation pass code.
1592 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1593 (md_convert_frag): Adjust symbol value calculation. Raise an
1594 error if a relocation is required for the symbol requested.
1595 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1597 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1598 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1599 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1600 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1601 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1602 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1603 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1604 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1605 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1606 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1607 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1608 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1609 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1610 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1611 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1612 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1613 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1614 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1615 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1616 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1617 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1618 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1619 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1620 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1621 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1622 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1623 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1624 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1625 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1626 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1627 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1628 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1629 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1630 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1631 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1632 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1633 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1634 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1635 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1636 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1637 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1638 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1639 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1640 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1641 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1642 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1643 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1644 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1645 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1646 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1647 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1648 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1649 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1650 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1651 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1652 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1653 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1654 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1655 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1656 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1657 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1658 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1659 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1660 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1661 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1662 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1663 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1664 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1665 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1666 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1667 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1668 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1669 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1670 * testsuite/gas/mips/mips.exp: Run the new tests.
1672 2016-06-24 Alan Modra <amodra@gmail.com>
1674 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1676 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1678 * config/tc-mips.c (b_reloc_p): New function.
1679 (mips_fix_adjustable): Also keep the original microMIPS symbol
1680 referred from branch relocations.
1681 * testsuite/gas/mips/branch-local-1.d: New test.
1682 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1683 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1684 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1686 * testsuite/gas/mips/branch-local-1.s: New test source.
1687 * testsuite/gas/mips/mips.exp: Run the new cases.
1689 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1691 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1692 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1693 options. Correct erroneous enabling of SPFP instructions when
1696 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1698 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1699 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1700 setbool, xor3>: New tests.
1701 * testsuite/gas/ppc/power9.s: Likewise.
1703 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1705 * config/tc-xtensa.c: Include elf/xtensa.h.
1707 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1709 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1710 <BFD_RELOC_LO16_PCREL>: New switch cases.
1711 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1712 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1713 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1714 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1716 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1717 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1718 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1719 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1720 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1721 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1722 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1723 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1724 * testsuite/gas/mips/mips.exp: Run the new tests.
1726 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1728 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1729 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1730 via `fixP->fx_addsy'.
1732 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1734 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1735 Calculate relocation from the containing aligned doubleword.
1736 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1737 addend from the containing aligned doubleword.
1739 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1741 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1742 rather than `mips_opts' for the R6 ISA check.
1743 (mips_fix_adjustable): Likewise.
1744 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1745 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1746 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1747 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1748 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1749 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1750 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1751 * testsuite/gas/mips/mips.exp: Run the new tests.
1753 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1755 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1756 Add nps400 option and feature. Add check for nps400
1757 feature. Refactor existing checks to check subclass before
1759 (md_show_usage): Document flags for NPS-400 and add some other
1761 (cpu_type): Remove nps400 CPU type entry
1762 (check_zol): Remove bfd_mach_arc_nps400 case.
1763 (md_show_usage): Add help on -mcpu=nps400.
1764 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1766 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1767 -fpuda flags. Document -mcpu=nps400.
1768 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1769 expected flags to match ARC700 instead of NPS400.
1770 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1771 * testsuite/gas/arc/nps-400-2.d: Likewise.
1772 * testsuite/gas/arc/nps-400-3.d: Likewise.
1773 * testsuite/gas/arc/nps-400-4.d: Likewise.
1774 * testsuite/gas/arc/nps-400-5.d: Likewise.
1775 * testsuite/gas/arc/nps-400-6.d: Likewise.
1776 * testsuite/gas/arc/nps-400-7.d: Likewise.
1777 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1778 avoid clash with cbba instruction.
1779 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1780 * testsuite/gas/arc/textinsn3op.d: Likewise.
1781 * testsuite/gas/arc/textinsn3op.s: Likewise.
1782 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1783 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1785 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1787 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1788 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1790 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1792 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1795 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1797 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1799 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1801 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1802 %hmcddfr and %hva_mask_nz.
1803 (sparc_ip): New handling of asr/privileged/hyperprivileged
1804 registers, adapted to the new form of the sparc opcodes table.
1805 * testsuite/gas/sparc/rdasr.s: New file.
1806 * testsuite/gas/sparc/rdasr.d: Likewise.
1807 * testsuite/gas/sparc/wrasr.s: Likewise.
1808 * testsuite/gas/sparc/wrasr.d: Likewise.
1809 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1811 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1812 registers require it.
1813 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1814 registers and write instruction modalities.
1815 * testsuite/gas/sparc/wrpr.d: Likewise.
1816 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1818 * testsuite/gas/sparc/rdhpr.d: Likewise.
1819 * testsuite/gas/sparc/wrhpr.s: Likewise.
1820 * testsuite/gas/sparc/wrhpr.d: Likewise.
1822 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1824 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1825 architectures to use the right opcode architecture.
1826 (sparc_md_end): Handle v9{c,d,e,v,m}.
1827 (sparc_ip): Fix some comments.
1828 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1829 instruction, which is v9d.
1830 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1831 instruction from the test, as %mwait is not readable.
1832 * testsuite/gas/sparc/mwait.d: Likewise.
1833 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1834 mismatch architecture errors.
1835 * testsuite/gas/sparc/mism-2.s: New file.
1837 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1839 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1840 empty string to mark the end of the array.
1841 (hpriv_reg_table): Likewise.
1842 (v9a_asr_table): Likewise.
1843 (cmp_reg_entry): Handle entries with NULL names.
1845 (F_POP_PCREL): Likewise.
1846 (F_POP_TLS_CALL): Likewise.
1847 (F_POP_POSTFIX): Likewise.
1848 (struct pop_entry): New type.
1849 (pop_table): New variable.
1850 (enum pop_entry_type): New type.
1851 (struct perc_entry): Likewise.
1852 (NUM_PERC_ENTRIES): Define.
1853 (perc_table): New variable.
1854 (cmp_perc_entry): New function.
1855 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1857 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1858 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1861 2016-06-15 Nick Clifton <nickc@redhat.com>
1863 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1865 * config/tc-mcore.c (md_assemble): Likewise.
1866 * config/tc-mn10200.c (md_assemble): Likewise.
1867 * config/tc-moxie.c (md_assemble): Likewise.
1868 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1869 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1870 exception targets. Add alpha, hppa, microblaze and rl78 to list
1872 (forward): Add microblaze to list of exceptions.
1873 (fwdexp): Add alpha to list of exceptions.
1874 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1875 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1876 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1877 mn10200 to list of exceptions.
1878 (align2): Expect to fail for nds32.
1879 (cond): Add alpha and rl78 to list of exceptions.
1880 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1881 * testsuite/gas/all/string.d: Skip for tic4x.
1882 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1883 target does not support ELF.
1884 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1885 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1886 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1887 tests for sh-pe and sh-rtemscoff targets.
1888 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1890 (type): Run the noifunc version for alpha-freebsd and visium.
1891 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1892 mn10200 or moxie targets.
1893 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1894 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1896 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1897 mcore and rx targets.
1898 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1900 (purge): Expect to fail on the ns32k and vax.
1901 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1902 * testsuite/gas/nds32/ls.d: Likewise.
1903 * testsuite/gas/nds32/sys-reg.d: Likewise.
1904 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1905 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1906 * testsuite/gas/pe/section-align-3.d: Likewise.
1907 * testsuite/gas/pe/section-exclude.d: Likewise.
1908 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1910 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1911 for variations in whitespace.
1912 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1914 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1915 Installs a 32-bit value without generating warnings on 64-bit
1917 Use the new macro to replace the .word directives.
1919 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1921 * testsuite/gas/arc/add_s.d: New file.
1922 * testsuite/gas/arc/add_s.s: New file.
1924 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1926 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1927 * testsuite/gas/arc/nps400-6.d: Likewise.
1929 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1931 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1933 * testsuite/gas/arc/nps400-6.d: Likewise.
1935 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1937 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1938 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1939 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1940 * testsuite/gas/arc/nps400-6.d: Likewise.
1942 2016-06-14 Nick Clifton <nickc@redhat.com>
1944 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1947 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1949 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1950 JALR relocations on R6.
1951 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1952 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1953 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1954 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1955 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1956 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1958 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1959 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1961 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1962 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1964 * testsuite/gas/mips/mips.exp: Run the new tests.
1966 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1968 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1969 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1972 2016-06-13 Nick Clifton <nickc@redhat.com>
1974 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1975 that are not supported.
1977 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1979 * config/tc-cr16.c (check_range): Likewise.
1980 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1982 2016-06-08 Renlin Li <renlin.li@arm.com>
1984 * config/tc-aarch64.c (print_operands): Substitute size.
1985 (output_operand_error_record): Likewise.
1987 2016-06-07 Alan Modra <amodra@gmail.com>
1989 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1990 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1991 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1992 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1993 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1994 add vle_opcodes twice.
1995 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1997 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1999 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
2000 (arm_ext_ras): Renamed from arm_ext_v8_2.
2001 (insns): Update for arm_ext_v8_2 renaming.
2002 (arm_extensions): Add "ras".
2003 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
2004 * testsuite/gas/arm/armv8-a+ras.d: New.
2005 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
2008 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2010 * itbl-parse.y (yyerror): Use modern argument declaration style.
2012 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2014 * config/tc-sh.c (parse_reg): Change type of mode argument to
2016 (get_operand): Adjust.
2017 (insert): Change type of how to bfd_reloc_code_real_type.
2018 (insert4): Likewise.
2019 * config/tc-sh64.c (shmedia_get_operand): Adjust.
2020 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
2022 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2024 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
2027 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
2030 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
2031 stbcx., sthcx., stwcx., stdcx.>: Add tests.
2032 * gas/testsuite/gas/ppc/e6500.d: Likewise.
2033 * gas/testsuite/gas/ppc/power8.s: Likewise.
2034 * gas/testsuite/gas/ppc/power8.d: Likewise.
2035 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
2037 * gas/testsuite/gas/ppc/power4.d: Likewise.
2039 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
2042 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
2043 * testsuite/gas/i386/x86-64-branch.d: Updated.
2044 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
2045 * testsuite/gas/i386/x86-64-branch-4.l: New file.
2046 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
2048 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2050 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
2051 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
2053 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2055 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
2056 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
2058 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
2060 * configure.tgt: Replace -uclibc with *.
2062 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
2064 * config/tc-arc.c (parse_opcode_flags): New function.
2065 (find_opcode_match): Move flag parsing code out to new function.
2066 Ignore operands marked IGNORE.
2067 (build_fake_opcode_hash_entry): New function.
2068 (find_special_case_long_opcode): New function.
2069 (find_special_case): Lookup long opcodes.
2070 * testsuite/gas/arc/nps400-7.d: New file.
2071 * testsuite/gas/arc/nps400-7.s: New file.
2073 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2075 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2077 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2079 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2080 sentinal with iteration to array size.
2082 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2084 * config/xtensa-relax.h: Move typedefs of enums to the enums
2087 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2089 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2092 2016-06-01 Graham Markall <graham.markall@embecosm.com>
2094 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2095 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2096 * testsuite/gas/arc/nps-400-1.d: Likewise.
2098 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2101 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2102 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2103 noavx512ifma and noavx512vbmi.
2104 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2105 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2107 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2108 * testsuite/gas/i386/noavx512-1.l: New file.
2109 * testsuite/gas/i386/noavx512-1.s: Likewise.
2110 * testsuite/gas/i386/noavx512-2.l: Likewise.
2111 * testsuite/gas/i386/noavx512-2.s: Likewise.
2113 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2116 * config/tc-i386.c (cpu_arch): Add 687.
2117 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2118 nosse4.1, nosse4.2, nosse4 and noavx2.
2119 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2120 register. Check cpuregxmm instead of cpusse for XMM register.
2121 Check cpuregymm instead of cpuavx for YMM register. Check
2122 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2123 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2124 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2125 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2126 * testsuite/gas/i386/arch-10.d (as): Likewise.
2127 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2128 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2129 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2131 * testsuite/gas/i386/no87-3.l: New file.
2132 * testsuite/gas/i386/no87-3.s: Likewise.
2133 * testsuite/gas/i386/noavx-3.l: Likewise.
2134 * testsuite/gas/i386/noavx-3.s: Likewise.
2135 * testsuite/gas/i386/noavx-4.d: Likewise.
2136 * testsuite/gas/i386/noavx-4.s: Likewise.
2137 * testsuite/gas/i386/nosse-4.l: Likewise.
2138 * testsuite/gas/i386/nosse-4.s: Likewise.
2139 * testsuite/gas/i386/nosse-5.d: Likewise.
2140 * testsuite/gas/i386/nosse-5.s: Likewise.
2142 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2145 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2147 (match_template): Check Intel64/AMD64 ISA.
2149 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2152 * config/tc-i386.c (intel64): New.
2153 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2154 (md_parse_option): Set intel64 instead of cpuamd64 and
2157 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2159 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2162 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2164 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2165 * testsuite/gas/ppc/altivec3.s: Likewise.
2166 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2167 * testsuite/gas/ppc/power9.s: Likewise.
2169 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2171 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2172 * testsuite/gas/i386/noavx-1.l: Likewise.
2173 * testsuite/gas/i386/nommx-1.l: Likewise.
2174 * testsuite/gas/i386/nosse-1.l: Likewise.
2175 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2176 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2177 * testsuite/gas/i386/noavx-1.s: Likewise.
2178 * testsuite/gas/i386/nommx-1.s: Likewise.
2179 * testsuite/gas/i386/nosse-1.s: Likewise.
2180 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2182 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2184 * config/tc-metag.c (metag_handle_align): Make the type of noop
2187 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2189 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2190 bfd_reloc_code_real_type.
2192 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2195 * config/tc-i386.c (cpu_flags_match): Require another match
2197 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2198 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2199 * testsuite/gas/i386/avx512vl-1.l: New file.
2200 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2201 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2202 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2203 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2204 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2205 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2206 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2208 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2211 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2212 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2213 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2215 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2217 * config/tc-i386.c (arch_entry): Remove negated.
2218 (noarch_entry): New struct.
2219 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2221 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2222 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2224 (output_message): New function.
2225 (show_arch): Use it. Handle cpu_noarch.
2226 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2227 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2228 * testsuite/gas/i386/noavx-1.l: New file.
2229 * testsuite/gas/i386/noavx-1.s: Likewise.
2230 * testsuite/gas/i386/noavx-2.s: Likewise.
2231 * testsuite/gas/i386/noavx-2.l: Likewise.
2232 * testsuite/gas/i386/nommx-1.s: Likewise.
2233 * testsuite/gas/i386/nommx-1.l: Likewise.
2234 * testsuite/gas/i386/nommx-2.s: Likewise.
2235 * testsuite/gas/i386/nommx-2.l: Likewise.
2236 * testsuite/gas/i386/nommx-3.s: Likewise.
2237 * testsuite/gas/i386/nommx-3.l: Likewise.
2238 * testsuite/gas/i386/nosse-1.s: Likewise.
2239 * testsuite/gas/i386/nosse-1.l: Likewise.
2240 * testsuite/gas/i386/nosse-2.s: Likewise.
2241 * testsuite/gas/i386/nosse-2.l: Likewise.
2242 * testsuite/gas/i386/nosse-3.s: Likewise.
2243 * testsuite/gas/i386/nosse-3.l: Likewise.
2245 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2248 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2249 instruction if supported by the currently selected fpu variant.
2250 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2251 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2253 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2255 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2256 jump relocations against MIPS16 or microMIPS symbols on RELA
2258 * testsuite/gas/mips/jalx-local.d: New test.
2259 * testsuite/gas/mips/jalx-local-n32.d: New test.
2260 * testsuite/gas/mips/jalx-local-n64.d: New test.
2261 * testsuite/gas/mips/jalx-local.s: New test source.
2262 * testsuite/gas/mips/mips.exp: Run the new tests.
2264 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2266 * config/tc-mips.c (md_apply_fix)
2267 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2270 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2272 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2273 operator to operatorT.
2274 (map_suffix_reloc_to_operator): Change return type to operatorT.
2276 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2278 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2280 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2282 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2283 handler_charp to const char *.
2285 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2287 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2288 (ft32_target_format): Likewise.
2289 (TARGET_FORMAT): Adjust.
2291 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2293 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2294 (ia64_frob_label): Likewise.
2296 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2298 * config/tc-cr16.c (check_range): Make type of retval op_err.
2299 * config/tc-crx.c: Likewise.
2301 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2303 * config/tc-arc.c (md_begin): Add XY registers.
2304 (cpu_types): Code density is default off for ARC EM.
2306 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2308 * config/tc-arc.c (attributes_t): Renamed attribute class to
2310 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2312 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2314 * configuse.tgt: Add entry for arm-phoenix.
2316 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2318 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2320 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2322 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2324 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2326 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2327 (md_begin): Likewise.
2328 (encode_condition): Likewise.
2329 (encode_cc3): Likewise.
2330 (encode_cc2): Likewise.
2331 (encode_operand): Likewise.
2332 (tic54x_undefined_symbol): Likewise.
2334 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2336 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2338 * doc/c-mips.texi: Document p6600 -march option.
2340 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2343 * config/tc-i386.c (md_apply_fix): Preserve addend for
2344 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2345 * testsuite/gas/i386/addend.d: New file.
2346 * testsuite/gas/i386/addend.s: Likewise.
2347 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2348 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2349 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2350 * testsuite/gas/i386/reloc32.d: Updated.
2352 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2354 * config/tc-mips.c (append_insn): Correct the encoding of a
2355 constant argument for microMIPS JALX.
2356 (tc_gen_reloc): Correct the encoding of an in-place addend for
2358 * testsuite/gas/mips/jalx-addend.d: New test.
2359 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2360 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2361 * testsuite/gas/mips/jalx-imm.d: New test.
2362 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2363 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2364 * testsuite/gas/mips/jalx-addend.s: New test source.
2365 * testsuite/gas/mips/jalx-imm.s: New test source.
2366 * testsuite/gas/mips/mips.exp: Run the new tests.
2368 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2370 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2373 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2375 * config/tc-arc.c (find_opcode_match): Remove casting away of
2377 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2379 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2381 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2383 (md_convert_frag): Likewise.
2385 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2387 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2388 cached opcode to NULL when we reach a non-matching opcode.
2389 * testsuite/gas/arc/asm-errors-2.d: New file.
2390 * testsuite/gas/arc/asm-errors-2.err: New file.
2391 * testsuite/gas/arc/asm-errors-2.s: New file.
2393 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2395 * config/tc-arc.c (tokenize_arguments): Add checks for array
2397 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2398 * testsuite/gas/arc/asm-errors.err: Update expected results.
2400 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2402 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2403 int to enum rx_cpu_types.
2405 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2407 * config/tc-dlx.c (struct machine_it): change the type of a field from
2408 int to bfd_reloc_code_real_type.
2409 * config/tc-tic4x.c: Likewise.
2411 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2413 * config/tc-v850.c (v850_target_arch): change type to enum
2415 * config/tc-v850.h (v850_target_arch): Likewise.
2417 2016-05-18 Alan Modra <amodra@gmail.com>
2419 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2420 allowed negative range.
2421 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2422 * testsuite/gas/ppc/power9.d: Update.
2424 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2426 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2427 disassembling and stop skipping targets.
2428 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2429 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2430 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2431 instruction for targets that have stronger alignment requirement.
2432 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2433 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2434 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2435 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2436 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2437 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2438 * testsuite/gas/arm/archv8m-main.d: Likewise.
2439 * testsuite/gas/arm/archv8m.s: Add label.
2440 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2441 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2442 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2444 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2446 * config/tc-m32r.c (mach_table): Make static and const.
2448 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2450 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2453 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2455 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2457 * config/tc-msp430.c (md_begin): Likewise.
2459 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2461 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2462 bfd_reloc_code_real_type where appropriate.
2463 (fixup16): Likewise.
2464 (fixup8_xg): Likewise.
2466 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2468 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2470 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2472 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2473 * testsuite/gas/ppc/power9.s: Likewise.
2475 2016-05-13 Alan Modra <amodra@gmail.com>
2477 * config/obj-coff.c (weak_uniquify): Delete unused var.
2479 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2481 * app.c (app_push): Use XNEW and related macros.
2482 * as.c (parse_args): Likewise.
2483 * cgen.c (make_right_shifted_expr): Likewise.
2484 (gas_cgen_tc_gen_reloc): Likewise.
2485 * config/bfin-defs.h: Likewise.
2486 * config/bfin-parse.y: Likewise.
2487 * config/obj-coff.c (stack_init): Likewise.
2488 (stack_push): Likewise.
2489 (coff_obj_symbol_new_hook): Likewise.
2490 (coff_obj_symbol_clone_hook): Likewise.
2491 (add_lineno): Likewise.
2492 (coff_frob_symbol): Likewise.
2493 * config/obj-elf.c (obj_elf_section_name): Likewise.
2494 (build_group_lists): Likewise.
2495 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2496 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2497 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2498 (find_or_make_literal_pool): Likewise.
2499 (add_to_lit_pool): Likewise.
2500 (fill_instruction_hash_table): Likewise.
2501 * config/tc-alpha.c (load_expression): Likewise.
2502 (emit_jsrjmp): Likewise.
2503 (s_alpha_ent): Likewise.
2504 (s_alpha_end): Likewise.
2505 (s_alpha_linkage): Likewise.
2506 (md_begin): Likewise.
2507 (tc_gen_reloc): Likewise.
2508 * config/tc-arc.c (arc_insert_opcode): Likewise.
2509 (arc_extcorereg): Likewise.
2510 * config/tc-bfin.c: Likewise.
2511 * config/tc-cr16.c: Likewise.
2512 * config/tc-cris.c: Likewise.
2513 * config/tc-crx.c (preprocess_reglist): Likewise.
2514 * config/tc-d10v.c: Likewise.
2515 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2516 (frv_tomcat_shuffle): Likewise.
2517 * config/tc-h8300.c: Likewise.
2518 * config/tc-i370.c (i370_macro): Likewise.
2519 * config/tc-i386.c (lex_got): Likewise.
2520 (md_parse_option): Likewise.
2521 * config/tc-ia64.c (alloc_record): Likewise.
2522 (set_imask): Likewise.
2523 (save_prologue_count): Likewise.
2524 (dot_proc): Likewise.
2525 (dot_endp): Likewise.
2526 (ia64_frob_label): Likewise.
2527 (add_qp_imply): Likewise.
2528 (add_qp_mutex): Likewise.
2529 (mark_resource): Likewise.
2530 (dot_alias): Likewise.
2531 * config/tc-m68hc11.c: Likewise.
2532 * config/tc-m68k.c (m68k_frob_label): Likewise.
2534 (mri_control_label): Likewise.
2535 (push_mri_control): Likewise.
2536 (build_mri_control_operand): Likewise.
2537 (s_mri_else): Likewise.
2538 (s_mri_break): Likewise.
2539 (s_mri_next): Likewise.
2540 (s_mri_for): Likewise.
2541 (s_mri_endw): Likewise.
2542 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2543 * config/tc-microblaze.c: Likewise.
2544 * config/tc-mmix.c (s_loc): Likewise.
2545 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2546 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2547 * config/tc-rl78.c: Likewise.
2548 * config/tc-rx.c (rx_include): Likewise.
2549 * config/tc-sh.c: Likewise.
2550 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2551 * config/tc-sparc.c: Likewise.
2552 * config/tc-spu.c: Likewise.
2553 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2554 (tic6x_start_unwind_section): Likewise.
2555 * config/tc-tilegx.c: Likewise.
2556 * config/tc-tilepro.c: Likewise.
2557 * config/tc-v850.c: Likewise.
2558 * config/tc-visium.c: Likewise.
2559 * config/tc-xgate.c: Likewise.
2560 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2561 (new_resource_table): Likewise.
2562 (resize_resource_table): Likewise.
2563 (xtensa_create_trampoline_frag): Likewise.
2564 (xtensa_maybe_create_literal_pool_frag): Likewise.
2565 (cache_literal_section): Likewise.
2566 * config/xtensa-relax.c (append_transition): Likewise.
2567 (append_condition): Likewise.
2568 (append_value_condition): Likewise.
2569 (append_constant_value_condition): Likewise.
2570 (append_literal_op): Likewise.
2571 (append_label_op): Likewise.
2572 (append_constant_op): Likewise.
2573 (append_field_op): Likewise.
2574 (append_user_fn_field_op): Likewise.
2575 (enter_opname_n): Likewise.
2576 (enter_opname): Likewise.
2577 (split_string): Likewise.
2578 (parse_insn_templ): Likewise.
2579 (clone_req_or_option_list): Likewise.
2580 (clone_req_option_list): Likewise.
2581 (parse_option_cond): Likewise.
2582 (parse_insn_pattern): Likewise.
2583 (parse_insn_repl): Likewise.
2584 (build_transition): Likewise.
2585 (build_transition_table): Likewise.
2586 * dw2gencfi.c (alloc_fde_entry): Likewise.
2587 (alloc_cfi_insn_data): Likewise.
2588 (cfi_add_CFA_remember_state): Likewise.
2589 (dot_cfi_escape): Likewise.
2590 (dot_cfi_fde_data): Likewise.
2591 (select_cie_for_fde): Likewise.
2592 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2593 * ecoff.c (ecoff_add_bytes): Likewise.
2594 (ecoff_build_debug): Likewise.
2595 * input-scrub.c (input_scrub_push): Likewise.
2596 (input_scrub_begin): Likewise.
2597 (input_scrub_next_buffer): Likewise.
2598 * itbl-ops.c (append_insns_as_macros): Likewise.
2599 (alloc_entry): Likewise.
2600 (alloc_field): Likewise.
2601 * listing.c (listing_newline): Likewise.
2602 (listing_listing): Likewise.
2603 * macro.c (get_any_string): Likewise.
2604 (delete_macro): Likewise.
2605 * stabs.c (generate_asm_file): Likewise.
2606 (stabs_generate_asm_lineno): Likewise.
2607 * subsegs.c (subseg_change): Likewise.
2608 (subseg_get): Likewise.
2609 * symbols.c (define_dollar_label): Likewise.
2610 (symbol_relc_make_sym): Likewise.
2611 * write.c (write_relocs): Likewise.
2613 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2615 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2616 (weak_name2altname): Likewise.
2617 (weak_uniquify): Likewise.
2618 (obj_coff_section): Likewise.
2619 (obj_coff_init_stab_section): Likewise.
2620 * config/obj-elf.c (obj_elf_section_name): Likewise.
2621 (obj_elf_init_stab_section): Likewise.
2622 * config/obj-evax.c (evax_shorten_name): Likewise.
2623 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2624 * config/tc-aarch64.c (create_register_alias): Likewise.
2625 * config/tc-alpha.c (load_expression): Likewise.
2626 (s_alpha_file): Likewise.
2627 (s_alpha_section_name): Likewise.
2628 (tc_gen_reloc): Likewise.
2629 * config/tc-arc.c (md_assemble): Likewise.
2630 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2631 (start_unwind_section): Likewise.
2632 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2633 (hppa_elf_mark_end_of_function): Likewise.
2634 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2635 (nios2_negate_arg): Likewise.
2636 * config/tc-rx.c (rx_section): Likewise.
2637 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2638 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2639 * config/tc-tic54x.c (tic54x_include): Likewise.
2640 (tic54x_macro_info): Likewise.
2641 (subsym_get_arg): Likewise.
2642 (subsym_substitute): Likewise.
2643 (tic54x_start_line_hook): Likewise.
2644 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2645 (xg_reverse_shift_count): Likewise.
2646 * config/xtensa-relax.c (enter_opname_n): Likewise.
2647 (split_string): Likewise.
2648 * dwarf2dbg.c (get_filenum): Likewise.
2649 (process_entries): Likewise.
2650 * expr.c (operand): Likewise.
2651 * itbl-ops.c (alloc_entry): Likewise.
2652 * listing.c (listing_message): Likewise.
2653 (listing_title): Likewise.
2654 * macro.c (check_macro): Likewise.
2655 * stabs.c (s_xstab): Likewise.
2656 * symbols.c (symbol_relc_make_expr): Likewise.
2657 * write.c (compress_debug): Likewise.
2659 2016-05-12 Nick Clifton <nickc@redhat.com>
2662 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2664 2016-05-11 Nick Clifton <nickc@redhat.com>
2667 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2668 big endian ARM configurations.
2670 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2671 Matthew Fortune <matthew.fortune@imgtec.com>
2673 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2675 (md_longopts): Likewise.
2676 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2677 (mips_ases): Define availability for DSPr3.
2678 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2679 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2680 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2682 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2683 .set nodspr3. Fix -mdspr2 formatting.
2684 * testsuite/gas/mips/mips32-dspr3.d: New file.
2685 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2686 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2688 2016-05-11 Nick Clifton <nickc@redhat.com>
2691 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2692 to the pool uses O_constant.
2693 * testsuite/gas/arm/pr20068.s: New test.
2694 * testsuite/gas/arm/pr20068.d: Test driver.
2696 2016-05-11 Nick Clifton <nickc@redhat.com>
2698 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2699 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2700 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2701 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2702 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2703 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2704 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2705 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2706 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2708 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2710 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2711 * testsuite/gas/i386/prefix.d: Adjust.
2712 * testsuite/gas/i386/rdpid.s: New test.
2713 * testsuite/gas/i386/rdpid.d: Ditto.
2714 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2715 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2716 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2717 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2719 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2721 * config/tc-i386.c (cpu_arch): Add RDPID.
2722 * doc/c-i386.texi: Document RDPID.
2724 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2726 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2727 set branch type of a symbol.
2729 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2731 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2732 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2734 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2735 (aeabi_set_public_attributes): Memorize the feature bits of the
2736 architecture selected for Tag_CPU_arch. Use it to set
2737 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2738 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2739 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2740 * testsuite/gas/arm/arch7em-bad-1.d: This.
2741 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2742 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2743 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2744 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2745 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2746 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2747 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2748 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2750 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2752 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2753 allowed_archs an array with 2 entries.
2754 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2755 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2756 (arm_extensions): Use separate entries in allowed_archs when several
2757 archs are allowed to use an extension and change ARCH_ANY in
2758 ARM_ARCH_NONE in allowed_archs.
2759 (arm_parse_extension): Check that, for each allowed_archs entry, all
2760 bits are set in the current architecture, ignoring ARM_ANY entries.
2761 (s_arm_arch_extension): Likewise.
2763 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2765 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2766 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2767 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2768 shared with a non M profile architecture.
2769 (do_rn): New function.
2770 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2772 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2773 (insns): Add ARMv8-M Security Extensions instructions.
2774 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2775 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2776 * testsuite/gas/arm/archv8m-cmse.s: New file.
2777 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2778 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2779 * testsuite/gas/arm/any-cmse.d: Likewise.
2780 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2781 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2782 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2783 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2784 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2785 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2787 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2789 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2790 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2792 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2794 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2795 (fpu_arch_vfp_v3): Likewise.
2796 (fpu_arch_neon_v1): Likewise.
2797 (arm_arch_full): Likewise.
2798 (parse_neon_el_struct_list): Initialize fields of firsttype.
2800 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2802 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2803 (arc_extinsn): Handle new introduced syntax.
2804 * testsuite/gas/arc/textinsn1op.d: New file.
2805 * testsuite/gas/arc/textinsn1op.s: Likewise.
2806 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2808 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2810 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2811 DW_LNS_fixed_advance_pc.
2813 2016-04-27 Alan Modra <amodra@gmail.com>
2815 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2816 (xmemdup0): New inline function.
2818 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2820 * config/tc-mips.c (code_option_type): New enum.
2821 (parse_code_option): Return status indicating option type.
2822 (s_mipsset): Update `parse_code_option' call site accordingly.
2823 Always set register sizes from the ISA with ISA overrides.
2824 (s_module): Update `parse_code_option' call site.
2825 * testsuite/gas/mips/isa-override-1.d: New test.
2826 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2827 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2828 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2829 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2830 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2831 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2832 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2833 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2834 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2835 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2836 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2837 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2838 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2839 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2840 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2841 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2842 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2843 * testsuite/gas/mips/isa-override-2.l: New list test.
2844 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2845 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2846 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2847 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2848 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2849 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2850 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2851 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2852 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2853 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2854 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2856 * testsuite/gas/mips/isa-override-1.s: New test source.
2857 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2858 * testsuite/gas/mips/isa-override-2.s: New test source.
2859 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2860 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2861 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2862 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2863 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2864 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2865 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2866 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2867 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2868 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2869 * testsuite/gas/mips/mips.exp: Run the new tests.
2871 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2874 * config/tc-bfin.c: Likewise.
2875 * config/tc-ia64.c: Likewise.
2876 * config/tc-mep.c: Likewise.
2877 * config/tc-metag.c: Likewise.
2878 * config/tc-nios2.c: Likewise.
2879 * config/tc-rl78.c: Likewise.
2881 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2883 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2884 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2885 (ARC Directives): Add NPS400 to .cpu directive list.
2887 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2889 * config/tc-aarch64.c (aarch64_features): Add "ras".
2890 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2891 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2892 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2893 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2894 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2896 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2898 * testsuite/gas/arc/nps400-6.d: New file.
2899 * testsuite/gas/arc/nps400-6.s: New file.
2901 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2903 * testsuite/gas/arc/nps400-4.d: New file.
2904 * testsuite/gas/arc/nps400-4.s: New file.
2905 * testsuite/gas/arc/nps400-5.d: New file.
2906 * testsuite/gas/arc/nps400-5.s: New file.
2908 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2910 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2913 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2915 Revert prevous change.
2916 * config/tc-arc.c (arc_option): Make .cpu directive
2917 case-sensitive again.
2919 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2921 * config/tc-arc.c (arc_option): Make .cpu directive
2924 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2926 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2928 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2930 * config/tc-mips.c (md_begin): Remove useless assignment.
2932 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2934 * Makefile.in: Regenerated with automake 1.11.6.
2935 * aclocal.m4: Likewise.
2936 * doc/Makefile.in: Likewise.
2938 2016-04-15 Alan Modra <amodra@gmail.com>
2940 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2942 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2944 * config/tc-nios2.c (nios2_as_options): Make file static.
2945 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2946 * config/tc-sparc.c (native_op_table): Likewise.
2948 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2950 * config/tc-m32c.c (M32C_Macros): Remove.
2951 * config/tc-msp430.c (option_numbers): Likewise.
2953 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2955 * testsuite/gas/arc/nps400-3.d: New file.
2956 * testsuite/gas/arc/nps400-3.s: New file.
2958 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2960 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2961 * testsuite/gas/arc/warn.s: Likewise.
2962 * testsuite/gas/elf/elf.exp: Run test for arc.
2964 2016-04-14 Nick Clifton <nickc@redhat.com>
2967 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2968 sections possibly having the SHF_STRINGS flag bit set.
2969 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2971 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2973 * config/tc-arc.c (mach_type_specified_p): Change type to
2975 (arc_option): Set private flags when parsing cpu pseudo-op.
2976 (md_parse_option): Set mach_type_specified_p to TRUE.
2978 2016-04-13 Nick Clifton <nickc@redhat.com>
2981 * testsuite/gas/v850/pr19937.s: New test.
2982 * testsuite/gas/v850/pr19937.d: New test control file.
2983 * testsuite/gas/v850/basic.exp: Run the new test.
2985 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2986 Andrew Bennett <andrew.bennett@imgtec.com>
2988 * config/tc-mips.c (relaxed_branch_length): Use the long
2989 sequence where the target is a weak symbol.
2990 (relaxed_micromips_32bit_branch_length): Likewise.
2991 (relaxed_micromips_16bit_branch_length): Likewise.
2992 * testsuite/gas/mips/branch-weak-1.d: New test.
2993 * testsuite/gas/mips/branch-weak-2.d: New test.
2994 * testsuite/gas/mips/branch-weak-3.d: New test.
2995 * testsuite/gas/mips/branch-weak-4.d: New test.
2996 * testsuite/gas/mips/branch-weak-5.d: New test.
2997 * testsuite/gas/mips/branch-weak.l: New stderr output.
2998 * testsuite/gas/mips/branch-weak.s: New test source.
2999 * testsuite/gas/mips/mips.exp: Run the new tests.
3001 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
3003 * config/tc-mips.c (relaxed_branch_length): Use the long
3004 sequence where the distance cannot be determined.
3005 (relaxed_micromips_32bit_branch_length): Likewise.
3006 * testsuite/gas/mips/branch-extern-1.d: New test.
3007 * testsuite/gas/mips/branch-extern-2.d: New test.
3008 * testsuite/gas/mips/branch-extern-3.d: New test.
3009 * testsuite/gas/mips/branch-extern-4.d: New test.
3010 * testsuite/gas/mips/branch-extern.l: New stderr output.
3011 * testsuite/gas/mips/branch-extern.s: New test source.
3012 * testsuite/gas/mips/branch-section-1.d: New test.
3013 * testsuite/gas/mips/branch-section-2.d: New test.
3014 * testsuite/gas/mips/branch-section-3.d: New test.
3015 * testsuite/gas/mips/branch-section-4.d: New test.
3016 * testsuite/gas/mips/branch-section.l: New stderr output.
3017 * testsuite/gas/mips/branch-section.s: New test source.
3018 * testsuite/gas/mips/mips.exp: Run the new tests.
3020 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3022 * testsuite/gas/arc/textauxregister.d: New file.
3023 * testsuite/gas/arc/textauxregister.s: Likewise.
3024 * testsuite/gas/arc/textcondcode.d: Likewise.
3025 * testsuite/gas/arc/textcondcode.s: Likewise.
3026 * testsuite/gas/arc/textcoreregister.d: Likewise.
3027 * testsuite/gas/arc/textcoreregister.s: Likewise.
3028 * testsuite/gas/arc/textpseudoop.d: Likewise.
3029 * testsuite/gas/arc/textpseudoop.s: Likewise.
3030 * testsuite/gas/arc/ld2.d: Update test.
3031 * testsuite/gas/arc/st.d: Likewise.
3032 * testsuite/gas/arc/taux.d: Likewise.
3033 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
3034 .extCoreRegister and .extAuxRegister documentation.
3035 * config/tc-arc.c (arc_extcorereg): New function.
3036 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
3037 .extAuxRegister pseudo-ops.
3038 (extRegister_t): New type.
3039 (ext_condcode, arc_aux_hash): New global variable.
3040 (find_opcode_match): Check for extensions.
3041 (preprocess_operands): Likewise.
3042 (md_begin): Add aux registers in a hash.
3043 (assemble_insn): Update use arc_flags member.
3044 (tokenize_extregister): New function.
3045 (create_extcore_section): Likewise.
3046 * config/tc-arc.h (arc_flags): Delete code, add flgp.
3048 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3050 * testsuite/gas/arc/noargs_a7.d: New file.
3051 * testsuite/gas/arc/noargs_a7.s: Likewise.
3052 * testsuite/gas/arc/noargs_hs.d: Likewise.
3053 * testsuite/gas/arc/noargs_hs.s: Likewise.
3055 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3057 * testsuite/gas/arc/textinsn-errors.d: New File.
3058 * testsuite/gas/arc/textinsn-errors.err: Likewise.
3059 * testsuite/gas/arc/textinsn-errors.s: Likewise.
3060 * testsuite/gas/arc/textinsn2op.d: Likewise.
3061 * testsuite/gas/arc/textinsn2op.s: Likewise.
3062 * testsuite/gas/arc/textinsn2op01.d: Likewise.
3063 * testsuite/gas/arc/textinsn2op01.s: Likewise.
3064 * testsuite/gas/arc/textinsn3op.d: Likewise.
3065 * testsuite/gas/arc/textinsn3op.s: Likewise.
3066 * doc/c-arc.texi (ARC Directives): Add .extInstruction
3068 * config/tc-arc.c (arcext_section): New variable.
3069 (arc_extinsn): New function.
3070 (md_pseudo_table): Add .extInstruction pseudo op.
3071 (attributes_t): New type.
3072 (suffixclass, syntaxclass, syntaxclassmod): New constant
3074 (find_opcode_match): Remove arc_num_opcodes.
3075 (md_begin): Likewise.
3076 (tokenize_extinsn): New function.
3077 (arc_set_ext_seg): Likewise.
3078 (create_extinst_section): Likewise.
3080 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3082 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3083 (arc_adjust_symtab): New function.
3084 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3085 (obj_adjust_symtab): Likewise.
3086 * testsuite/gas/arc/taux.d: New file.
3087 * testsuite/gas/arc/taux.s: Likewise.
3089 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3091 * config/tc-mips.c (s_option): Sanitize `.option picX'
3093 * testsuite/gas/mips/option-pic-1.d: New test.
3094 * testsuite/gas/mips/option-pic-2.l: New list test.
3095 * testsuite/gas/mips/option-pic-1.s: New test source.
3096 * testsuite/gas/mips/option-pic-2.s: New test source.
3097 * testsuite/gas/mips/mips.exp: Run the new tests.
3099 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3101 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3103 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3104 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3105 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3106 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3107 * testsuite/gas/mips/mips.exp: Run the new tests.
3109 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3111 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3113 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3115 * messages.c (as_bad): Fix a typo in description.
3117 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3119 * config/tc-mips.c (mips_check_options): Unify messages.
3121 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3123 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3126 2016-04-08 Nick Clifton <nickc@redhat.com>
3129 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3130 COFF and AOUT sparc targets.
3132 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3134 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3135 * testsuite/gas/arc/nps400-2.d: New file.
3136 * testsuite/gas/arc/nps400-2.s: New file.
3138 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3140 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3142 (arc_opcode_hash_entry_iterator_init): New function.
3143 (arc_opcode_hash_entry_iterator_next): New function.
3144 (find_opcode_match): Iterate over all arc_opcode entries
3145 referenced by the arc_opcode_hash_entry passed in as a parameter.
3147 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3149 * config/tc-arc.c (arc_find_opcode): Now returns
3150 arc_opcode_hash_entry pointer.
3151 (find_opcode_match): Update argument type, extract arc_opcode from
3152 incoming arc_opcode_hash_entry.
3153 (find_special_case_pseudo): Update return type.
3154 (find_special_case_flag): Update return type.
3155 (find_special_case): Update return type.
3156 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3157 instruction mnemonic, then use find_opcode_match to identify
3158 specific arc_opcode.
3160 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3162 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3163 (arc_find_opcode): New function.
3164 (find_special_case_pseudo): Use arc_find_opcode.
3165 (find_special_case_flag): Likewise.
3166 (assemble_tokens): Likewise.
3167 (md_begin): Build hash using struct arc_opcode_hash_entry.
3169 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3171 * config/tc-arc.c (arc_option): Prepare string for automatic
3173 (declare_register): Likewise.
3175 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3177 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3178 Correct entry for RDMA. Alpha sort entries.
3180 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3182 * config/tc-arc.c (tokenize_flags): Allow greater range of
3183 characters into flag names.
3185 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3187 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3189 (preprocess_operands): Delete.
3190 (assemble_tokens): Remove call to preprocess_operands.
3192 2016-04-07 Nick Clifton <nickc@redhat.com>
3195 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3196 inside a %-macro could not be fully parsed.
3197 * expr.c (integer_constant): Accept and ignore U suffixes to
3199 (operand): When a missing closing parenthesis is encountered,
3200 report the character that was found instead.
3201 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3202 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3203 * testsuite/gas/sparc/pr19910-1.s: New test.
3204 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3205 * testsuite/gas/sparc/pr19910-2.s: New test.
3206 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3208 2016-04-06 Nick Clifton <nickc@redhat.com>
3210 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3211 an EINT instruction. Warn/fix as necessary.
3212 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3213 * testsuite/gas/msp430/bad.l: Update expected messages.
3215 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3217 * testsuite/gas/arc/nps400-1.d: Update expected results.
3218 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3220 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3222 * config/tc-arc.c (is_code_density_p): Compare directly the
3224 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3225 (check_cpu_feature): New function.
3226 (find_opcode_match): Use check_cpu_feature function.
3227 (preprocess_operands): Likewise.
3228 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3229 * testsuite/gas/arc/tdpfp.d: New file.
3230 * testsuite/gas/arc/tfpuda.d: Likewise.
3231 * testsuite/gas/arc/tfpx.s: Likewise.
3233 2016-04-05 Jiong Wang <jiong.wang@arm.com>
3235 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3236 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3237 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3238 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3239 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3240 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3241 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
3242 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3244 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3246 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3248 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
3249 JUMP instructions type.
3250 * testsuite/gas/arc/relocs-errors.d: New file.
3251 * testsuite/gas/arc/relocs-errors.err: Likewise.
3252 * testsuite/gas/arc/relocs-errors.s: Likewise.
3254 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3257 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3258 only if i.disp_encoding != disp_encoding_32bit.
3259 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3260 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3261 * gas/testsuite/gas/i386/disp32.d: Updated.
3262 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3264 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3267 * testsuite/gas/i386/i386.exp: Run pr19498.
3268 * testsuite/gas/i386/pr19498.d: New file.
3269 * testsuite/gas/i386/pr19498.s: Likewise.
3271 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3273 * config/tc-arc.h: Include 'opcode/arc.h'.
3274 (MAX_INSN_ARGS): Delete.
3275 (MAX_INSN_FLGS): Delete.
3277 2016-04-04 Alan Modra <amodra@gmail.com>
3280 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3281 from function on all paths that set sy_resolving.
3283 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3285 * app.c (app_push): use XNEW macro.
3287 * config/obj-elf.c (obj_elf_change_section): Likewise.
3288 (elf_copy_symbol_attributes): Likewise.
3289 (obj_elf_size): Likewise.
3290 (build_group_lists): Likewise.
3291 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3292 (md_assemble): Likewise.
3293 (tc_gen_reloc): Likewise.
3294 (get_upper_str): Likewise.
3295 (aarch64_parse_features): Likewise.
3296 * config/tc-arm.c (insert_reg_alias): Likewise.
3297 (insert_neon_reg_alias): Likewise.
3298 (find_or_make_literal_pool): Likewise.
3299 (s_arm_elf_cons): Likewise.
3300 (add_unwind_opcode): Likewise.
3301 (arm_parse_extension): Likewise.
3302 * config/tc-avr.c (create_record_for_frag): Likewise.
3303 * config/tc-crx.c: Likewise.
3304 * config/tc-d30v.c: Likewise.
3305 * config/tc-dlx.c (s_proc): Likewise.
3306 * config/tc-ft32.c: Likewise.
3307 * config/tc-h8300.c: Likewise.
3308 * config/tc-hppa.c (pa_proc): Likewise.
3309 (create_new_space): Likewise.
3310 (create_new_subspace): Likewise.
3311 * config/tc-i860.c: Likewise.
3312 * config/tc-i960.c: Likewise.
3313 * config/tc-ia64.c: Likewise.
3314 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3315 (iq2000_record_hi16): Likewise.
3316 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3317 * config/tc-m32r.c (debug_sym): Likewise.
3318 (m32r_record_hi16): Likewise.
3319 * config/tc-m68k.c (m68k_ip): Likewise.
3320 (md_begin): Likewise.
3321 * config/tc-mcore.c: Likewise.
3322 * config/tc-microblaze.c (check_got): Likewise.
3323 * config/tc-mips.c (append_insn): Likewise.
3324 (s_mipsset): Likewise.
3325 (mips_record_label): Likewise.
3326 (s_mips_end): Likewise.
3327 * config/tc-mmix.c (mmix_frob_file): Likewise.
3328 * config/tc-mn10200.c: Likewise.
3329 * config/tc-mn10300.c: Likewise.
3330 * config/tc-moxie.c: Likewise.
3331 * config/tc-msp430.c: Likewise.
3332 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3333 * config/tc-ns32k.c: Likewise.
3334 * config/tc-or1k.c: Likewise.
3335 * config/tc-pdp11.c: Likewise.
3336 * config/tc-pj.c (fake_opcode): Likewise.
3337 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3338 (ppc_macro): Likewise.
3339 (ppc_dwsect): Likewise.
3340 (ppc_machine): Likewise.
3341 * config/tc-rl78.c (rl78_frag_init): Likewise.
3342 * config/tc-rx.c (rx_frag_init): Likewise.
3343 * config/tc-s390.c (s390_lit_suffix): Likewise.
3344 (s390_machine): Likewise.
3345 (s390_machinemode): Likewise.
3346 * config/tc-score.c (s3_insert_reg): Likewise.
3347 (s3_gen_reloc): Likewise.
3348 * config/tc-score7.c (s7_insert_reg): Likewise.
3349 (s7_gen_reloc): Likewise.
3350 * config/tc-tic30.c (tic30_operand): Likewise.
3351 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3352 * config/tc-tic54x.c (stag_add_field): Likewise.
3353 (tic54x_struct): Likewise.
3354 (tic54x_space): Likewise.
3355 (tic54x_field): Likewise.
3356 (tic54x_mlib): Likewise.
3357 (subsym_substitute): Likewise.
3358 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3359 * config/tc-vax.c: Likewise.
3360 * config/tc-xc16x.c: Likewise.
3361 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3362 (directive_push): Likewise.
3363 (xtensa_begin_directive): Likewise.
3364 (tokenize_arguments): Likewise.
3365 (xtensa_add_literal_sym): Likewise.
3366 (new_resource_table): Likewise.
3367 (resize_resource_table): Likewise.
3368 (emit_single_op): Likewise.
3369 (xtensa_create_trampoline_frag): Likewise.
3370 (xtensa_maybe_create_literal_pool_frag): Likewise.
3371 (xtensa_add_config_info): Likewise.
3372 (xtensa_realloc_fixup_cache): Likewise.
3373 (add_subseg_info): Likewise.
3374 (cache_literal_section): Likewise.
3375 (add_xt_block_frags): Likewise.
3376 (add_xt_prop_frags): Likewise.
3377 (init_op_placement_info_table): Likewise.
3378 (build_section_rename): Likewise.
3379 * config/tc-z80.c: Likewise.
3380 * config/tc-z8k.c: Likewise.
3381 * depend.c (register_dependency): Likewise.
3382 * dwarf2dbg.c (get_line_subseg): Likewise.
3383 (dwarf2_gen_line_info_1): Likewise.
3384 (get_filenum): Likewise.
3385 * ecoff.c (allocate_scope): Likewise.
3386 (allocate_vlinks): Likewise.
3387 (allocate_shash): Likewise.
3388 (allocate_thash): Likewise.
3389 (allocate_tag): Likewise.
3390 (allocate_forward): Likewise.
3391 (allocate_thead): Likewise.
3392 (allocate_lineno_list): Likewise.
3393 * expr.c (make_expr_symbol): Likewise.
3394 * hash.c (hash_new_sized): Likewise.
3395 * input-file.c (input_file_push): Likewise.
3396 * listing.c (file_info): Likewise.
3397 (listing_newline): Likewise.
3398 * macro.c (new_formal): Likewise.
3399 (define_macro): Likewise.
3400 * remap.c (add_debug_prefix_map): Likewise.
3401 * symbols.c (symbol_find_noref): Likewise.
3402 (define_dollar_label): Likewise.
3403 (fb_label_instance_inc): Likewise.
3404 (symbol_relc_make_value): Likewise.
3406 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3408 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3409 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3410 (ppc_znop): Likewise.
3411 (ppc_pe_section): Likewise.
3412 (ppc_frob_symbol): Likewise.
3413 * config/tc-tic30.c (tic30_operand): Likewise.
3414 * config/tc-tic4x.c (tic4x_sect): Likewise.
3415 (tic4x_usect): Likewise.
3417 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3419 * config/tc-alpha.c: Const qualify FLT_CHARS.
3420 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3421 * config/tc-cris.h: Likewise.
3423 * config/tc-mmix.c (md_atof): Adjust comment.
3424 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3425 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3427 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3429 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3430 * config/tc-score7.c (s7_gen_reloc): Likewise.
3432 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3434 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3435 bfd_reloc_code_real_type.
3437 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3439 * config/bfin-parse.y (current_inputline): Remove definition.
3440 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3442 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3444 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3447 2016-04-02 Alan Modra <amodra@gmail.com>
3450 * read.c (assign_symbol): Consume rest of line after an error
3451 rather than continuing to process the line.
3453 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3455 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3456 (MAX_FLAG_NAME_LENGTH): ...this.
3457 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3458 * config/tc-arc.c (tokenize_flags): Likewise.
3460 2016-04-01 Alan Modra <amodra@gmail.com>
3462 * cgen.c (weak_operand_overflow_check): Return const char*.
3463 * messages.c (as_internal_value_out_of_range): Formatting.
3464 (as_warn_value_out_of_range): Consify prefix param.
3465 (as_bad_value_out_of_range): Likewise.
3466 * read.c (s_errwarn): Constify msg..
3467 (s_float_space, float_cons): ..and err.
3468 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3469 ieee_md_atof, vax_md_atof): Update prototypes.
3470 * tc.h (md_atof): Update prototype.
3471 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3472 * config/atof-vax.c (vax_md_atof): Likewise.
3473 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3474 * config/tc-aarch64.c (md_atof): Return const char*.
3475 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3476 (s_alpha_comm): Constify sec_name.
3477 (section_name): Constify.
3478 (s_alpha_section): Consify name..
3479 (alpha_elf_section_letter): ..and ptr_msg param..
3480 (md_atof): ..and return.
3481 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3482 * config/tc-arc.c (md_atof): Return const char*.
3483 * config/tc-arm.c (md_atof): Likewise.
3484 * config/tc-avr.c (md_atof): Likewise.
3485 * config/tc-bfin.c (md_atof): Likewise.
3486 * config/tc-cr16.c (md_atof): Likewise.
3487 * config/tc-cris.c (md_atof): Likewise.
3488 * config/tc-crx.c (md_atof): Likewise.
3489 * config/tc-d10v.c (md_atof): Likewise.
3490 * config/tc-d30v.c (md_atof): Likewise.
3491 * config/tc-dlx.c (md_atof): Likewise.
3492 * config/tc-epiphany.c (md_atof): Likewise.
3493 * config/tc-fr30.c (md_atof): Likewise.
3494 * config/tc-frv.c (md_atof): Likewise.
3495 * config/tc-ft32.c (md_atof): Likewise.
3496 * config/tc-h8300.c (md_atof): Likewise.
3497 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3498 (struct default_space_dict): Likewise.
3499 (create_new_space): Constify name param.
3500 (create_new_subspace): Likewise.
3501 (is_defined_space, is_defined_subspace): Likewise.
3502 (pa_parse_space_stmt): Constify space_name param.
3503 (md_atof): Return const char*.
3504 (pa_spaces_begin): Constify name.
3505 * config/tc-i370.c (md_atof): Return const char*.
3506 * config/tc-i386.c (md_atof): Likewise.
3507 (x86_64_section_letter): Constify ptr_msg param.
3508 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3509 * config/tc-i860.c (struct i860_it): Constify error.
3510 (md_atof): Return const char*.
3511 * config/tc-i960.c (md_atof): Likewise.
3512 * config/tc-ia64.c (md_atof): Likewise.
3513 (ia64_elf_section_letter): Constify ptr_msg param.
3514 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3515 * config/tc-ip2k.c (md_atof): Return const char*.
3516 * config/tc-iq2000.c (md_atof): Likewise.
3517 * config/tc-lm32.c (md_atof): Likewise.
3518 * config/tc-m32c.c (md_atof): Likewise.
3519 * config/tc-m32r.c (md_atof): Likewise.
3520 * config/tc-m68hc11.c (md_atof): Likewise.
3521 * config/tc-m68k.c (md_atof): Likewise.
3522 * config/tc-mcore.c (md_atof): Likewise.
3523 * config/tc-mep.c (md_atof): Likewise.
3524 (mep_elf_section_letter): Constify ptr_msg param.
3525 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3526 * config/tc-metag.c (md_atof): Return const char*.
3527 * config/tc-microblaze.c (md_atof): Likewise.
3528 * config/tc-microblaze.h (md_atof): Delete prototype.
3529 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3530 (md_atof): Return const char*.
3531 * config/tc-mmix.c (md_atof): Likewise.
3532 * config/tc-mn10200.c (md_atof): Likewise.
3533 * config/tc-mn10300.c (md_atof): Likewise.
3534 * config/tc-moxie.c (md_atof): Likewise.
3535 * config/tc-msp430.c (md_atof): Likewise.
3536 * config/tc-mt.c (md_atof): Likewise.
3537 * config/tc-nds32.c (md_atof): Likewise.
3538 * config/tc-nios2.c (md_atof): Likewise.
3539 (nios2_elf_section_letter): Constify ptr_msg param.
3540 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3541 * config/tc-ns32k.c (md_atof): Return const char*.
3542 * config/tc-or1k.c (md_atof): Likewise.
3543 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3544 (md_atof): Return const char*.
3545 * config/tc-pj.c (md_atof): Likewise.
3546 * config/tc-ppc.c (md_atof): Likewise.
3547 * config/tc-rl78.c (md_atof): Likewise.
3548 * config/tc-rx.c (md_atof): Likewise.
3549 * config/tc-s390.c (md_atof): Likewise.
3550 * config/tc-score.c (s3_atof, md_atof): Likewise.
3551 * config/tc-sh.c (md_atof): Likewise.
3552 * config/tc-sparc.c (struct sparc_it): Constify error.
3553 (md_atof): Return const char*.
3554 * config/tc-spu.c (md_atof): Likewise.
3555 * config/tc-tic30.c (md_atof): Likewise.
3556 * config/tc-tic4x.c (md_atof): Likewise.
3557 * config/tc-tic54x.c (md_atof): Likewise.
3558 * config/tc-tic6x.c (md_atof): Likewise.
3559 * config/tc-tilegx.c (md_atof): Likewise.
3560 * config/tc-tilepro.c (md_atof): Likewise.
3561 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3562 * config/tc-vax.c (md_atof): Likewise.
3563 * config/tc-visium.c (md_atof): Likewise.
3564 * config/tc-xc16x.c (md_atof): Likewise.
3565 * config/tc-xgate.c (md_atof): Likewise.
3566 * config/tc-xstormy16.c (md_atof): Likewise.
3567 * config/tc-xtensa.c (md_atof): Likewise.
3568 * config/tc-z80.c (md_atof): Likewise.
3569 * config/tc-z8k.c (md_atof): Likewise.
3571 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3573 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3575 (xtensa_section_rename): Make argument type const char *.
3576 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3578 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3580 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3583 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3585 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3587 (m32c_indirect_operand): Likewise.
3588 * config/tc-nds32.c (do_pseudo_b): Likewise.
3589 (do_pseudo_bal): Likewise.
3590 (do_pseudo_ls_bhw): Likewise.
3592 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3594 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3596 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3598 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3600 * config/tc-sparc.c (s_register): Cast a literal to char * in
3603 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3605 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3607 * config/tc-m32r.c (expand_debug_syms): Likewise.
3608 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3609 * config/tc-z80.c (md_begin): Likewise.
3610 * stabs.c (stabs_generate_asm_func): Likewise.
3612 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3614 * cgen.c: Modernize the way functions declare arguments.
3615 * config/tc-bfin.c: Likewise.
3616 * config/tc-pdp11.c: Likewise.
3617 * literal.c: Likewise.
3619 * stabs.c: Likewise.
3621 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3623 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3624 variables unsigned char[].
3625 * config/tc-alpha.c (alpha_handle_align): Likewise.
3626 * config/tc-arm.c (arm_handle_align): Likewise.
3627 * config/tc-z80.c: Likewise.
3629 2016-03-30 Nick Clifton <nickc@redhat.com>
3632 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3635 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3637 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3638 * testsuite/gas/elf/elf.exp: Likewise.
3639 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3641 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3643 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3645 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3647 * testsuite/gas/arc/ext2op.d: New file.
3648 * testsuite/gas/arc/ext2op.s: Likewise.
3649 * testsuite/gas/arc/ext3op.d: Likewise.
3650 * testsuite/gas/arc/ext3op.s: Likewise.
3652 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3654 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3656 * config/tc-alpha.c (md_parse_option): Likewise.
3657 * config/tc-arc.c (md_parse_option): Likewise.
3658 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3659 (md_parse_option): Likewise.
3660 * config/tc-avr.c (md_parse_option): Likewise.
3661 * config/tc-bfin.c (md_parse_option): Likewise.
3662 * config/tc-cr16.c (md_parse_option): Likewise.
3663 * config/tc-cris.c (s_cris_arch): Likewise.
3664 (md_parse_option): Likewise.
3665 * config/tc-crx.c (md_parse_option): Likewise.
3666 * config/tc-d10v.c (md_parse_option): Likewise.
3667 * config/tc-d30v.c (md_parse_option): Likewise.
3668 * config/tc-dlx.c (md_parse_option): Likewise.
3669 * config/tc-epiphany.c (md_parse_option): Likewise.
3670 * config/tc-fr30.c (md_parse_option): Likewise.
3671 * config/tc-frv.c (md_parse_option): Likewise.
3672 * config/tc-ft32.c (md_parse_option): Likewise.
3673 * config/tc-h8300.c (md_parse_option): Likewise.
3674 * config/tc-hppa.c (md_parse_option): Likewise.
3675 * config/tc-i370.c (md_parse_option): Likewise.
3676 * config/tc-i386.c (md_parse_option): Likewise.
3677 * config/tc-i860.c (md_parse_option): Likewise.
3678 * config/tc-i960.c (md_parse_option): Likewise.
3679 * config/tc-ia64.c (md_parse_option): Likewise.
3680 * config/tc-ip2k.c (md_parse_option): Likewise.
3681 * config/tc-iq2000.c (md_parse_option): Likewise.
3682 * config/tc-lm32.c (md_parse_option): Likewise.
3683 * config/tc-m32c.c (md_parse_option): Likewise.
3684 * config/tc-m32r.c (md_parse_option): Likewise.
3685 * config/tc-m68hc11.c (md_parse_option): Likewise.
3686 * config/tc-m68k.c (md_parse_option): Likewise.
3687 * config/tc-mcore.c (md_parse_option): Likewise.
3688 * config/tc-mep.c (md_parse_option): Likewise.
3689 * config/tc-metag.c (struct metag_long_option): Likewise.
3690 (md_parse_option): Likewise.
3691 * config/tc-microblaze.c (md_parse_option): Likewise.
3692 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3693 * config/tc-mips.c (md_parse_option): Adjust.
3694 * config/tc-mmix.c (md_parse_option): Likewise.
3695 * config/tc-mn10200.c (md_parse_option): Likewise.
3696 * config/tc-mn10300.c (md_parse_option): Likewise.
3697 * config/tc-moxie.c (md_parse_option): Likewise.
3698 * config/tc-msp430.c (md_parse_option): Likewise.
3699 * config/tc-mt.c (md_parse_option): Likewise.
3700 * config/tc-nds32.c (md_parse_option): Likewise.
3701 * config/tc-nds32.h (nds32_parse_option): Likewise.
3702 * config/tc-nios2.c (md_parse_option): Likewise.
3703 * config/tc-ns32k.c (md_parse_option): Likewise.
3704 * config/tc-or1k.c (md_parse_option): Likewise.
3705 * config/tc-pdp11.c (md_parse_option): Likewise.
3706 * config/tc-pj.c (md_parse_option): Likewise.
3707 * config/tc-ppc.c (md_parse_option): Likewise.
3708 * config/tc-rl78.c (md_parse_option): Likewise.
3709 * config/tc-rx.c (md_parse_option): Likewise.
3710 * config/tc-s390.c (s390_parse_cpu): Likewise.
3711 * config/tc-score.c (md_parse_option): Likewise.
3712 * config/tc-sh.c (md_parse_option): Likewise.
3713 * config/tc-sparc.c (md_parse_option): Likewise.
3714 * config/tc-spu.c (md_parse_option): Likewise.
3715 * config/tc-tic30.c (md_parse_option): Likewise.
3716 * config/tc-tic4x.c (md_parse_option): Likewise.
3717 * config/tc-tic54x.c (md_parse_option): Likewise.
3718 * config/tc-tic6x.c (md_parse_option): Likewise.
3719 * config/tc-tilegx.c (md_parse_option): Likewise.
3720 * config/tc-tilepro.c (md_parse_option): Likewise.
3721 * config/tc-v850.c (md_parse_option): Likewise.
3722 * config/tc-vax.c (md_parse_option): Likewise.
3723 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3724 * config/tc-xc16x.c (md_parse_option): Likewise.
3725 * config/tc-xgate.c (md_parse_option): Likewise.
3726 * config/tc-xstormy16.c (md_parse_option): Likewise.
3727 * config/tc-xtensa.c (md_parse_option): Likewise.
3728 * config/tc-z80.c (md_parse_option): Likewise.
3729 * config/tc-z8k.c (md_parse_option): Likewise.
3730 * tc.h (md_parse_option): Likewise.
3732 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3734 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3735 * config/tc-hppa.c (fix_new_hppa): Likewise.
3736 (pa_vtable_entry): Likewise.
3737 (pa_vtable_inherit): Likewise.
3738 * config/tc-m68k.c (md_begin): Likewise.
3740 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3742 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3743 * config/obj-elf.h (obj_elf_section_name): Adjust.
3744 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3745 (aarch64_parse_cpu): Likewise.
3746 (aarch64_parse_arch): Likewise.
3747 * config/tc-arm.c (arm_parse_extension): Likewise.
3748 (arm_parse_cpu): Likewise.
3749 (arm_parse_arch): Likewise.
3750 * config/tc-nds32.c: Likewise.
3751 * config/xtensa-relax.c (parse_special_fn): Likewise.
3752 * stabs.c (generate_asm_file): Likewise.
3754 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3756 * config/tc-cr16.c (cr16_assemble): New function.
3757 (md_assemble): Call cr16_assemble.
3759 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3761 * as.c (parse_args): Adjust.
3762 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3763 * config/obj-elf.c (elf_frob_symbol): Adjust.
3765 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3767 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3768 registers to be in the 16..31 range.
3770 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3772 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3775 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3777 * config/tc-visium.c (md_atof): Localize the string returned on
3780 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3782 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3783 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3784 * config/tc-m68hc11.c (md_begin): Likewise.
3785 (print_opcode_list): Likewise.
3786 * config/tc-msp430.c (msp430_section): Likewise.
3787 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3788 (s3_build_dependency_insn_hsh): Likewise.
3789 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3790 (s7_build_dependency_insn_hsh): Likewise.
3791 * config/tc-tic4x.c: Likewise.
3792 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3793 (subsym_get_arg): Likewise.
3794 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3795 (get_directive): Likewise.
3796 (cache_literal_section): Likewise.
3797 * config/xtensa-relax.c: Likewise.
3798 * symbols.c (symbol_create): Likewise.
3799 (local_symbol_make): Likewise.
3800 (symbol_relc_make_expr): Likewise.
3802 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3804 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3807 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3809 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3812 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3814 * config/tc-ia64.c (ia64_do_align): Remove.
3815 (ia64_cons_align): Call do_align () directly.
3816 (dot_proc): Likewise.
3817 (stmt_float_cons): Likewise.
3819 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3821 * listing.c (listing_message): Use XNEW style allocation macros.
3822 * read.c (read_a_source_file): Likewise.
3823 (read_symbol_name): Likewise.
3824 (s_mri_common): Likewise.
3825 (assign_symbol): Likewise.
3826 (s_reloc): Likewise.
3827 (emit_expr_with_reloc): Likewise.
3828 (s_incbin): Likewise.
3829 (s_include): Likewise.
3830 * sb.c (sb_build): Likewise.
3831 (sb_check): Likewise.
3833 2016-03-22 Alan Modra <amodra@gmail.com>
3835 * write.c (record_alignment): Revert 2016-02-18 change.
3837 2016-03-22 Alan Modra <amodra@gmail.com>
3839 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3840 (emit_jsrjmp, tc_gen_reloc): Likewise.
3841 * config/tc-i370.c (i370_macro): Likewise.
3843 2016-03-22 Nick Clifton <nickc@redhat.com>
3845 * configure: Regenerate.
3847 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3849 * testsuite/gas/arc/nps400-0.d: New file.
3850 * testsuite/gas/arc/nps400-0.s: New file.
3851 * testsuite/gas/arc/nps400-1.d: New file.
3852 * testsuite/gas/arc/nps400-1.s: New file.
3854 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3856 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3857 declarations to start of block. Reset code on all flags before
3858 attempting to match them. Handle multiple hits on the same flag.
3860 * testsuite/gas/arc/asm-errors.d: New file.
3861 * testsuite/gas/arc/asm-errors.err: New file.
3862 * testsuite/gas/arc/asm-errors.s: New file.
3864 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3866 * config/tc-arc.c (cpu_types): Add nps400 entry.
3867 (check_zol): Handle nps400.
3869 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3871 * config/tc-arc.c (arc_select_cpu): Remove use of
3874 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3876 * config/tc-arc.c (arc_target): Delay initialisation until
3878 (arc_target_name): Likewise.
3879 (arc_features): Likewise.
3880 (arc_mach_type): Likewise.
3881 (cpu_types): Remove "all" entry.
3882 (arc_select_cpu): New function, most of the content is from...
3883 (md_parse_option): ... here. Call new arc_select_cpu.
3884 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3886 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3888 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3889 * testsuite/gas/arc/inline-data-2.d: New file.
3891 2016-03-21 Nick Clifton <nickc@redhat.com>
3893 * atof-generic.c: Replace use of alloca with call to xmalloc.
3895 * dwarf2dbg.c: Likewise.
3896 * macro.c: Likewise.
3897 * remap.c: Likewise.
3898 * stabs.c: Likewise.
3899 * symbols.c: Likewise.
3900 * config/obj-elf.c: Likewise.
3901 * config/tc-aarch64.c: Likewise.
3902 * config/tc-arc.c: Likewise.
3903 * config/tc-arm.c: Likewise.
3904 * config/tc-avr.c: Likewise.
3905 * config/tc-ia64.c: Likewise.
3906 * config/tc-mips.c: Likewise.
3907 * config/tc-msp430.c: Likewise.
3908 * config/tc-nds32.c: Likewise.
3909 * config/tc-ppc.c: Likewise.
3910 * config/tc-sh.c: Likewise.
3911 * config/tc-tic30.c: Likewise.
3912 * config/tc-tic54x.c: Likewise.
3913 * config/tc-xstormy16.c: Likewise.
3914 * config/te-vms.c: Likewise.
3915 * configure: Regenerate.
3917 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3919 * tc-i386.c (f32_1): Change type to unsigned char[].
3939 (jump_31): Likewise.
3940 (f32_patt): Likewise.
3941 (f16_patt): Likewise.
3950 (alt_patt): Likewise.
3952 2016-03-18 Nick Clifton <nickc@redhat.com>
3954 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3955 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3956 .tlsdescldr and .xword directives.
3959 * testsuite/gas/aarch64/pr19721.s: New test source file.
3960 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3962 * doc/as.texinfo: Place the target specific command line options
3963 into their own man page section.
3965 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3967 * config/tc-arm.c (N_S_32): New.
3968 (N_F_16_32): Likewise.
3969 (N_SUF_32): Support N_F16.
3970 (N_IF_32): Likewise.
3971 (neon_dyadic_misc): Likewise.
3972 (do_neon_cmp): Likewise.
3973 (do_neon_cmp_inv): Likewise.
3974 (do_neon_mul): Likewise.
3975 (do_neon_fcmp_absolute): Likewise.
3976 (do_neon_step): Likewise.
3977 (do_neon_abs_neg): Likewise.
3978 (CVT_FLAVOR_VAR): Likewise.
3979 (do_neon_cvt_1): Likewise.
3980 (do_neon_recip_est): Likewise.
3981 (do_vmaxnm): Likewise.
3982 (do_vrint_1): Likewise.
3983 (neon_check_type): Check architecture support for FP16 extension.
3984 (insns): Update comments.
3985 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3986 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3987 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3988 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3990 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3992 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3995 2016-03-16 Nick Clifton <nickc@redhat.com>
3997 * read.c (emit_expr_with_reloc): Add code check a bignum with
3999 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
4001 * testsuite/gas/elf/bignum.s: New test source file.
4002 * testsuite/gas/elf/bignum.d: New test driver file.
4003 * testsuite/gas/elf/elf.exp: Run the new test.
4005 2016-03-15 Ulrich Drepper <drepper@gmail.com>
4007 * doc/c-i386.texi (Register Naming): Update to details of the
4008 latest architecture version.
4010 2016-03-10 Mickael Guene <mickael.guene@st.com>
4013 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
4015 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
4016 (do_t_mov_cmp): Likewise.
4017 (do_t_add_sub): Protect against bad relocations usage.
4018 (do_t_mov_cmp): Likewise.
4019 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
4020 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
4021 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
4022 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
4024 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4026 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
4028 (do_neon_ld_st_lane): Likewise.
4029 (do_neon_ld_dup): Likewise.
4031 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
4033 * testsuite/gas/arc/inline-data-1.d: New file.
4034 * testsuite/gas/arc/inline-data-1.s: New file.
4036 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
4038 * config/tc-arm.c (arm_cpus): Add cortex-r8.
4039 * doc/c-arm.texi: Add cortex-r8.
4041 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4043 * config/tc-arc.c: Add const qualifiers.
4044 * config/tc-h8300.c (md_begin): Likewise.
4045 * config/tc-ia64.c (print_prmask): Likewise.
4046 * config/tc-msp430.c (msp430_operands): Likewise.
4047 * config/tc-nds32.c (struct suffix_name): Likewise.
4048 (struct nds32_parse_option_table): Likewise.
4049 (struct nds32_set_option_table): Likewise.
4050 (do_pseudo_pushpopm): Likewise.
4051 (do_pseudo_pushpop_stack): Likewise.
4052 (nds32_relax_relocs): Likewise.
4053 (nds32_flag): Likewise.
4054 (struct nds32_hint_map): Likewise.
4055 (nds32_find_reloc_table): Likewise.
4056 (nds32_match_hint_insn): Likewise.
4057 * config/tc-s390.c: Likewise.
4058 * config/tc-sh.c (get_specific): Likewise.
4059 * config/tc-tic30.c: Likewise.
4060 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
4061 (tic4x_indirect_parse): Likewise.
4062 * config/tc-vax.c (vax_cons): Likewise.
4063 * config/tc-z80.c (struct reg_entry): Likewise.
4064 * config/tc-epiphany.c (md_assemble): Adjust.
4065 (epiphany_assemble): New function.
4066 (epiphany_elf_section_rtn): Call do_align directly.
4067 (epiphany_elf_section_text): Likewise.
4068 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
4069 (ip2k_elf_section_text): Likewise.
4070 * read.c (do_align): Make it not static.
4071 * read.h (do_align): New prototype.
4073 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4075 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4076 for ARMv8.1 AdvSIMD use.
4077 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4078 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4080 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4082 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4084 (record_feature_use): New.
4085 (mark_feature_used): Use record_feature_use.
4086 (do_neon_qrdmlah): New.
4087 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4089 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4090 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4091 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4092 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4093 Make source file explicit.
4094 * testsuite/gas/arm/armv8-a+rdma.l: New.
4095 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4096 directives. Fix white-space.
4097 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4099 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4101 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4103 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4104 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4106 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4107 (tc_arc_fix_adjustable): Changed default return value to 1.
4108 * testsuite/gas/arc/j.d: Updated expected symbol
4109 * testsuite/gas/arc/jl.d: Likewise
4110 * testsuite/gas/arc/relax-avoid1.d: Likewise
4111 * testsuite/gas/arc/st.d: Likewise
4113 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4115 * config/tc-arc.c: Enable code density instructions for ARC EM.
4117 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4120 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4122 * as.c (flag_use_elf_stt_common): New.
4123 (show_usage): Add --elf-stt-common=.
4124 (option_values): Add OPTION_ELF_STT_COMMON.
4125 (std_longopts): Add --elf-stt-common=.
4126 (parse_args): Handle --elf-stt-common=.
4127 * as.h (flag_use_elf_stt_common): New.
4128 * config.in: Regenerated.
4129 * configure: Likewise.
4130 * configure.ac: Add --enable-elf-stt-common and define
4131 DEFAULT_GENERATE_ELF_STT_COMMON.
4132 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4133 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4134 * doc/as.texinfo: Document --elf-stt-common=.
4135 * testsuite/gas/elf/common3.s: New file.
4136 * testsuite/gas/elf/common3a.d: Likewise.
4137 * testsuite/gas/elf/common3b.d: Likewise.
4138 * testsuite/gas/elf/common4.s: Likewise.
4139 * testsuite/gas/elf/common4a.d: Likewise.
4140 * testsuite/gas/elf/common4b.d: Likewise.
4141 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4142 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4143 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4145 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4146 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4147 --elf-stt-common=no to as.
4148 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4149 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4150 --elf-stt-common=no to as.
4151 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4152 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4153 of dw2-compress-3 and dw2-compressed-3.
4155 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4157 * as.c (select_emulation_mode): Add const qualifiers.
4159 * config/bfin-defs.h: Likewise.
4160 * config/bfin-parse.y: Likewise.
4161 * config/rx-parse.y: Likewise.
4162 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4163 (struct aarch64_cpu_option_table): Likewise.
4164 (struct aarch64_arch_option_table): Likewise.
4165 (struct aarch64_option_cpu_value_table): Likewise.
4166 (struct aarch64_long_option_table): Likewise.
4167 (struct aarch64_option_abi_value_table): Likewise.
4168 * config/tc-arm.c (struct reloc_entry): Likewise.
4169 (tc_gen_reloc): Likewise.
4170 (struct arm_option_table): Likewise.
4171 (struct arm_legacy_option_table): Likewise.
4172 (struct arm_cpu_option_table): Likewise.
4173 (struct arm_arch_option_table): Likewise.
4174 (struct arm_option_extension_value_table): Likewise.
4175 (struct arm_option_fpu_value_table): Likewise.
4176 (struct arm_option_value_table): Likewise.
4177 (struct arm_long_option_table): Likewise.
4178 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4179 (struct mcu_type_s): Likewise.
4180 (struct exp_mod_s): Likewise.
4181 (avr_operand): Likewise.
4182 (avr_operands): Likewise.
4183 * config/tc-d10v.c (md_begin): Likewise.
4184 * config/tc-dlx.c: Likewise.
4185 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4186 * config/tc-ft32.c (parse_condition): Likewise.
4187 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4188 * config/tc-hppa.c (pa_ip): Likewise.
4189 (hppa_regname_to_dw2regnum): Likewise.
4190 * config/tc-i370.c (i370_elf_suffix): Likewise.
4191 * config/tc-i960.c (struct tabentry): Likewise.
4192 * config/tc-m32r.c: Likewise.
4193 * config/tc-m68k.c: Likewise.
4194 * config/tc-m68k.h: Likewise.
4195 * config/tc-mcore.c (parse_psrmod): Likewise.
4196 * config/tc-metag.c (struct metag_core_option): Likewise.
4197 (struct metag_long_option): Likewise.
4198 * config/tc-microblaze.c: Likewise.
4199 * config/tc-mips.c (macro): Likewise.
4200 * config/tc-mn10200.c: Likewise.
4201 * config/tc-mn10300.c: Likewise.
4202 * config/tc-msp430.c (struct rcodes_s): Likewise.
4203 (struct hcodes_s): Likewise.
4204 (md_parse_option): Likewise.
4205 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4206 (optlist): Likewise.
4207 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4208 (tc_ppc_regname_to_dw2regnum): Likewise.
4209 * config/tc-ppc.h: Likewise.
4210 * config/tc-rl78.c: Likewise.
4211 * config/tc-rx.c (struct cpu_type): Likewise.
4212 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4213 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4214 (sparc_ip): Likewise.
4215 * config/tc-spu.c (insn_fmt_string): Likewise.
4216 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4217 * config/tc-v850.c: Likewise.
4218 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4219 (struct visium_long_option_table): Likewise.
4220 * config/tc-xgate.c: Likewise.
4221 * config/tc-z8k.c: Likewise.
4222 * read.c (add_include_dir): Likewise.
4225 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4227 * testsuite/gas/all/gas.exp: Change target pattern to cover
4229 * testsuite/gas/all/redef3.d: Likewise.
4230 * testsuite/gas/elf/elf.exp: Likewise.
4232 2016-02-24 Renlin Li <renlin.li@arm.com>
4234 * config/tc-arm.c (BAD_FP16): New error message macro.
4235 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4236 fp16 scalar instructions.
4237 (neon_check_type): Allow different size from key.
4238 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4239 (try_vfp_nsyn): Likewise.
4240 (do_vfp_nsyn_mla_mls): Likewise.
4241 (do_vfp_nsyn_fma_fms): Likewise.
4242 (do_vfp_nsyn_ldm_stm): Likewise
4243 (do_vfp_nsyn_sqrt): Likewise
4244 (do_vfp_nsyn_div): Likewise
4245 (do_vfp_nsyn_nmul): Likewise.
4246 (do_vfp_nsyn_cmp): Likewise.
4247 (do_neon_shll): Likewise.
4248 (do_vfp_nsyn_cvt_fpv8): Likewise.
4249 (do_neon_cvttb_2): Likewise.
4250 (do_neon_mov): Likewise.
4251 (do_neon_rshift_round_imm): Likewise.
4252 (do_neon_ldr_str): Likewise.
4253 (do_vfp_nsyn_fpv8): Likewise.
4254 (do_vmaxnm): Likewise.
4255 (do_vrint_1): Likewise.
4256 (insns): New entry for vins, vmovx.
4257 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4258 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4259 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4260 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4261 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4262 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4263 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4265 2016-02-24 Renlin Li <renlin.li@arm.com>
4267 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4268 (neon_shape_class): New SC_HALF.
4269 (neon_shape_el): New SE_H.
4270 (neon_shape_el_size): New size for SE_H.
4271 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4272 (neon_select_shape): Add SE_H support code.
4273 (el_type_of_type_chk): Use N_F_ALL.
4274 (do_vfp_nsyn_cvt): Add SE_H shape support.
4275 (do_neon_cvtz): Likewise.
4276 (do_neon_cvt_1): Likewise.
4277 (do_neon_cvttb_1): Likewise.
4279 2016-02-24 Renlin Li <renlin.li@arm.com>
4281 * testsuite/gas/arm/copro.d: Adjust output.
4282 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4284 2016-02-24 Renlin Li <renlin.li@arm.com>
4286 * testsuite/gas/arm/mask_1.d: New.
4287 * testsuite/gas/arm/mask_1.s: New.
4289 2016-02-24 Renlin Li <renlin.li@arm.com>
4291 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4292 * testsuite/gas/arm/copro.d: Update.
4294 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4296 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4297 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4299 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4301 * doc/c-arm.texi (ARM Options): Document cortex-a17.
4303 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4305 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4308 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4310 * output-file.c (output_file_create): Make file name argument const.
4311 (output_file_close): Likewise.
4312 * output-file.h (output_file_create): Adjust.
4313 (output_file_close): Likewise.
4314 * depend.c (quote_string_for_make): Make src argument const char *.
4315 (register_dependency): Likewise.
4316 (wrap_output): Likewise.
4317 * as.h (register_dependency): Adjust.
4318 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4320 * symbols.c (S_SET_EXTERNAL): Likewise.
4321 * input-scrub.c (as_where): Return the file name.
4322 * as.h (as_where): Adjust prototype.
4323 * app.c (do_scrub_chars): Adjust.
4324 * cond.c (s_elseif): Likewise.
4326 (initialize_cframe): Likewise.
4327 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4328 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4329 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4330 * config/tc-aarch64.c (output_info): Likewise.
4331 * config/tc-ia64.c (md_assemble): Likewise.
4332 (dot_alias): Likewise.
4333 * config/tc-m68k.c (m68k_frob_label): Likewise.
4334 * config/tc-mmix.c (s_bspec): Likewise.
4335 (mmix_handle_mmixal): Likewise.
4336 * config/tc-rx.c (rx_include): Likewise.
4337 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4338 (tic54x_adjust_symtab): Likewise.
4339 * config/tc-xtensa.c (directive_push): Likewise.
4340 (xtensa_sanity_check): Likewise.
4341 (xtensa_relax_frag): Likewise.
4342 (md_convert_frag): Likewise.
4343 (tinsn_to_slotbuf): Likewise.
4344 * dwarf2dbg.c (dwarf2_where): Likewise.
4345 * ecoff.c (add_file): Likewise.
4346 (ecoff_generate_asm_lineno): Likewise.
4347 * expr.c (make_expr_symbol): Likewise.
4348 * frags.c (frag_new): Likewise.
4349 (frag_var_init): Likewise.
4350 * listing.c (listing_newline): Likewise.
4351 * messages.c (identify): Likewise.
4352 (as_show_where): Likewise.
4353 (as_warn_internal): Likewise.
4354 (as_bad_internal): Likewise.
4355 * read.c (s_irp): Likewise.
4356 (s_macro): Likewise.
4357 (s_reloc): Likewise.
4358 * stabs.c (stabs_generate_asm_file): Likewise.
4359 (stabs_generate_asm_lineno): Likewise.
4360 (stabs_generate_asm_func): Likewise.
4361 * write.c (fix_new_internal): Likewise.
4362 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4363 (as_warn_value_out_of_range): Adjust prototype.
4364 (as_bad_value_out_of_range): Adjust prototype.
4365 * messages.c (identify): Make file name argument const char *.
4366 (as_warn_internal): Likewise.
4367 (as_warn_where): Likewise.
4368 (as_bad_internal): Likewise.
4369 (as_bad_where): Likewise.
4370 (as_internal_value_out_of_range): Likewise.
4371 (as_warn_value_out_of_range): Likewise.
4372 (as_bad_value_out_of_range): Likewise.
4373 * as.h (found_comment_file): Change type to const char *.
4374 * cond.c (file_line::file): Likewise.
4375 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4376 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4377 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4378 * config/tc-aarch64.c (output_info): Likewise.
4379 * config/tc-alpha.c (insert_operand): Likewise.
4380 * config/tc-arc.c (insert_operand): Likewise.
4381 * config/tc-d30v.c (check_size): Likewise.
4382 * config/tc-ia64.c (struct alias): Likewise.
4383 * config/tc-m68k.c (struct label_line): Likewise.
4384 * config/tc-mcore.c (md_apply_fix): Likewise.
4385 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4386 * config/tc-mips.c (mips16_immed): Likewise.
4387 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4388 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4389 * config/tc-rx.c (rx_include): Likewise.
4390 * config/tc-s390.c (s390_insert_operand): Likewise.
4391 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4392 (tic54x_adjust_symtab): Likewise.
4393 * config/tc-tilegx.c (insert_operand): Likewise.
4394 (apply_special_operator): Likewise.
4395 * config/tc-tilepro.c (insert_operand): Likewise.
4396 * config/tc-xtensa.c (directive_push): Likewise.
4397 * ecoff.c (add_file): Likewise.
4398 (ecoff_generate_asm_lineno): Likewise.
4399 * listing.c (listing_newline): Likewise.
4400 * read.c (s_irp): Likewise.
4401 * write.c (install_reloc): Likewise.
4402 * write.h (struct fix): Likewise.
4403 * input-file.c (file_name): Change type to const char *.
4404 (saved_file::file_name): Likewise.
4405 (input_file_open): Change type of argument to const char *.
4406 * input-file.h (input_file_open): Adjust.
4407 * input-scrub.c (logical_input_file): change type to const char *.
4408 (physical_input_file): Likewise.
4409 (struct input_save): Adjust.
4410 (input_scrub_push): Adjust.
4411 (input_scrub_begin): Adjust.
4413 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4414 (input_scrub_include_file): Likewise.
4415 (new_logical_line_flags): Likewise.
4416 (new_logical_line): Likewise.
4418 * frags.h (struct frag): Change type of fr_file to const char *.
4419 * expr.c (expr_symbol_where): Change type of file argument to
4421 * expr.h (expr_symbol_where): Likewise.
4422 * config/tc-i370.c (md_apply_fix): adjust.
4423 * config/tc-mmix.c (mmix_md_end): Likewise.
4424 * config/tc-ppc.c (md_apply_fix): Likewise.
4425 * config/tc-s390.c (md_apply_fix): Likewise.
4426 * symbols.c (report_op_error): Likewise.
4427 (resolve_symbol_value): Likewise.
4428 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4429 (rsrc::file): Likewise.
4430 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4432 (xtensa_relax_frag): Likewise.
4433 (md_convert_frag): Likewise.
4434 (tinsn_to_slotbuf): Likewise.
4435 * expr.c (expr_symbol_line): Likewise.
4436 * macro.c (define_macro): Likewise.
4437 * macro.h (macro_struct): Likewise.
4438 * messages.c (as_show_where): Likewise.
4439 * read.c (s_macro): Likewise.
4440 * stabs.c (stabs_generate_asm_file): Likewise.
4441 (generate_asm_file): Likewise.
4442 (stabs_generate_asm_lineno): Likewise.
4443 * write.h (struct reloc_list): Likewise.
4444 * input-scrub.c (as_where): Change return type to const char *.
4445 * as.h (as_wheree): Adjust.
4447 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4449 * write.c (compress_debug): Move BFD compression bits setting
4451 (write_object_file): Here.
4453 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4455 * config/tc-i386.c (register_number): Check RegVRex.
4456 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4457 with %zmm19 and %zmm3.
4458 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4459 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4461 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4462 Jiong Wang <jiong.wang@arm.com>
4464 * config/tc-arm.c (arm_ext_fp16): New.
4465 (arm_extensions): New entry for "fp16".
4467 2016-02-19 Nick Clifton <nickc@redhat.com>
4470 * read.c (read_a_source_file): Check for assemble_one returning
4471 with input_line_pointer set to NULL.
4473 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4475 * listing.c (rebuffer_line): Change return type to void.
4477 * symbols.c (decode_local_label_name): Make type a const char *.
4478 * listing.c (print_source): Make type of p const char *.
4479 (print_line): Make type of string const char *.
4480 (buffer_line): Return const char *.
4481 (title): Make type const char *.
4482 (subtitle): Likewise.
4483 (listing_listing): Make type of p const char *.
4484 * messages.c (as_internal_value_out_of_range): Make type of prefix
4486 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4487 and string const char *.
4488 * read.c (_bfd_rel): Make type of name const char *.
4489 * app.c (out_string): Change type to const char *.
4490 (struct app_save::out_string): Likewise.
4492 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4493 Nick Clifton <nickc@redhat.com>
4495 * read.c (finish_bundle): Avoid recording a negative alignment.
4496 (do_align): Use unsigned values for n, len and max. Only create
4497 a frag if the alignment requirement is greater than the minimum
4498 byte alignment. Avoid recording a negative alignment.
4499 (s_align): Use unsigned values where appropriate.
4500 (bss_alloc): Use an unsigned value for the alignment.
4501 (sizeof_sleb128): Add a comment noting that we encode one octet
4502 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4503 (emit_leb129_expr): Abort if the emitted encoding was longer than
4505 * read.h (output_leb128): Update prototype.
4506 (sizeof_leb128): Update prototype.
4507 (bss_alloc): Update prototype.
4508 * write.c (record_alignment): Use an unsigned value for the
4509 alignment. Do not record alignments less than the minimum
4510 alignment for a byte.
4511 * write.h (record_alignment): Update prototype.
4513 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4515 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4516 .init.literal/.fini.literal section name.
4517 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4518 list of xtensa tests.
4519 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4520 init-fini-literals test result patterns.
4521 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4522 init-fini-literals test.
4524 2016-02-17 Nick Clifton <nickc@redhat.com>
4526 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4527 devices.csv file as of March 2016.
4529 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4531 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4533 (tc_arc_regname_to_dw2regnum): Likewise.
4534 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4535 (tc_cfi_frame_initial_instructions): Likewise.
4536 (tc_regname_to_dw2regnum): Likewise.
4537 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4538 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4539 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4541 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4543 * doc/internals.texi (S_IS_EXTERN): Remove.
4545 2016-02-16 Nick Clifton <nickc@redhat.com>
4547 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4550 2016-02-16 Renlin Li <renlin.li@arm.com>
4553 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4554 * testsuite/gas/aarch64/movw_label.d: New.
4555 * testsuite/gas/aarch64/movw_label.s: New.
4557 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4560 * config/rx-parse.y (MOV): Opcode generation for index
4561 register addressing mode.
4562 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4563 * testsuite/gas/rx/pr19665.s: New file.
4564 * testsuite/gas/rx/pr19665.s: New file.
4565 * testsuite/gas/rx/mov.d: Update expected output.
4567 2016-02-15 Nick Clifton <nickc@redhat.com>
4569 * doc/as.texinfo (.section): Document that numeric values can now
4570 be used for the flags and type fields of the ELF target's .section
4571 directive. Add notes about the restrictions on setting flags and
4573 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4574 to be given processor specific section types. Allow processor and
4575 application specific flags of a section to be set after
4577 (obj_elf_parse_section_letters): Handle parsing numeric values.
4578 (obj_elf_section_type): Handle parsing numeric values.
4579 (obj_elf_section): Allow numeric type values.
4580 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4581 * testsuite/gas/elf/section10.d: New test.
4582 * testsuite/gas/elf/section10.s: Source file for new test.
4583 * testsuite/gas/elf/elf.exp: Run the new test.
4584 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4585 the description of the flags produced by readelf.
4586 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4587 * NEWS: Mention the new feature.
4589 2016-02-11 Nick Clifton <nickc@redhat.com>
4592 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4593 until it is actually used.
4594 (cfi_set_sections): Set cfi_sections_set to true.
4595 (dot_cfi_startproc): Likewise.
4596 (dot_cfi_endproc): Likewise.
4597 (dot_cfi_fde_data): Likewise.
4598 (cfi_finish): Likewise.
4599 (dot_cfi_sections): Do not set cfi_sections_set.
4600 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4601 their own cfi section name. Also note that the directive can be
4602 reissued provided that CFI generation has not started.
4603 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4604 .cfi_endproc directives so that the redefinition of .cfi_sections
4605 will trigger the generation of the error message.
4606 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4607 number of error message.
4609 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4610 Janek van Oirschot <jvanoirs@synopsys.com>
4612 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4613 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4615 (arc_flags, arc_relax_type): New structure.
4616 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4617 (RELAX_TABLE_ENTRY_MAX): New define.
4618 (relaxation_state, md_relax_table, arc_relaxable_insns)
4619 (arc_num_relaxable_ins): New variable.
4620 (rlx_operand_type, arc_rlx_types): New enums.
4621 (arc_relaxable_ins): New structure.
4622 (OPTION_RELAX): New option.
4623 (arc_insn): New relax member.
4624 (arc_flags): Remove.
4625 (relax_insn_p): New function.
4626 (apply_fixups): Likewise.
4627 (relaxable_operand): Likewise.
4628 (may_relax_expr): Likewise.
4629 (relaxable_flag): Likewise.
4630 (arc_pcrel_adjust): Likewise.
4631 (md_estimate_size_before_relax): Implement.
4632 (md_convert_frag): Likewise.
4633 (md_parse_option): Handle new mrelax option.
4634 (md_show_usage): Likewise.
4635 (assemble_insn): Set relax member.
4636 (emit_insn0): New function.
4637 (emit_insn1): Likewise.
4638 (emit_insn): Handle relaxation case.
4639 * NEWS: Mention the new relaxation option.
4640 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4641 * doc/as.texinfo (Target ARC Options): Likewise.
4642 * testsuite/gas/arc/relax-avoid1.d: New file.
4643 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4644 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4645 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4646 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4647 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4648 * testsuite/gas/arc/relax-b.d: Likewise.
4649 * testsuite/gas/arc/relax-b.s: Likewise.
4651 2016-02-08 Nick Clifton <nickc@redhat.com>
4653 * config/tc-ia64.c (dot_prologue): Fix formatting.
4655 2016-02-04 Nick Clifton <nickc@redhat.com>
4657 * config/obj-elf.c (obj_elf_change_section): Remove support for
4658 ARM NOREAD sections.
4659 * config/tc-arm.c (arm_elf_section_letter): Delete.
4660 * config/tc-arm.h (md_elf_section_letter): Delete.
4661 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4662 * testsuite/gas/arm/section-execute-only.d: Delete.
4663 * testsuite/gas/arm/section-execute-only.s: Delete.
4665 2016-02-04 Nick Clifton <nickc@redhat.com>
4668 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4669 to handle encoding of RRUX instruction.
4670 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4672 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4674 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4676 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4677 substitutions for BFD_RELOC_* as unsigned.
4678 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4679 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4680 * testsuite/gas/xtensa/loc.s: New file: loc test.
4682 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4684 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4686 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4689 * NEWS: Mention new command line option -mrelax-relocations and
4690 new configure option --enable-x86-relax-relocations for x86
4692 * config.in: Regenerated.
4693 * configure.ac: Add --enable-x86-relax-relocations.
4694 (ac_default_x86_relax_relocations): New. Default to 1 except
4695 for x86 Solaris targets older than Solaris 12.
4696 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4697 * configure: Likewise.
4698 * config/tc-i386.c (generate_relax_relocations): New.
4699 (OPTION_MRELAX_RELOCATIONS): Likewise.
4700 (output_disp): Don't generate relax relocations if
4701 generate_relax_relocations is 0.
4702 (md_longopts): Add -mrelax-relocations.
4703 (md_show_usage): Likewise.
4704 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4705 * doc/c-i386.texi: Document -mrelax-relocations=.
4706 * testsuite/gas/i386/got-no-relax.d: New file.
4707 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4708 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4709 * testsuite/gas/i386/localpic.d: Likewise.
4710 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4711 * testsuite/gas/i386/reloc32.d: Likewise.
4712 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4713 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4714 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4715 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4716 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4717 x86-64-gotpcrel-no-relax.
4719 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4721 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4724 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4726 * NEWS: Remove duplicated marker for 2.26.
4728 2016-02-02 Renlin Li <renlin.li@arm.com>
4730 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4732 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4734 * testsuite/gas/ip2k/allinsn.d: New file.
4735 * testsuite/gas/ip2k/allinsn.s: New file.
4736 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4738 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4740 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4741 some load instructions.
4742 * testsuite/gas/epiphany/allinsn.d: Likewise.
4743 * testsuite/gas/epiphany/regression.d: Likewise.
4745 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4747 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4748 suffixes from instruction mnemonics in expected output.
4749 * testsuite/gas/epiphany/allinsn.d: Likewise.
4750 * testsuite/gas/epiphany/regression.d: Likewise.
4751 * testsuite/gas/epiphany/sample.d: Likewise.
4753 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4755 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4757 * testsuite/gas/epiphany/allinsn.d: Likewise.
4758 * testsuite/gas/epiphany/sample.d: Likewise.
4760 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4762 * testsuite/gas/epiphany/sample.d: Update expected output.
4764 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4766 * config/tc-arc.c (md_apply_fix): Allow addendum.
4767 (arc_reloc_op): Allow complex expressions for tpoff.
4768 (md_apply_fix): Handle resolved TLS local symbol.
4769 * testsuite/gas/arc/tls-relocs1.d: New file.
4770 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4772 2016-02-01 Loria <Loria@phantasia.org>
4775 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4776 efficiency and avoid an LLVM loop optimization bug.
4778 2016-02-01 Nick Clifton <nickc@redhat.com>
4780 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4781 message extending a negative 32-bit value into a larger signed
4782 value on a 32-bit host.
4784 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4787 * configure.ac (compressed_debug_sections): Replace == with =.
4788 * configure: Regenerated.
4790 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4791 H.J. Lu <hongjiu.lu@intel.com>
4793 * config/tc-i386.c (avoid_fence): New.
4794 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4796 (OPTION_FENCE_AS_LOCK_ADD): New.
4797 (md_longopts): Add -mfence-as-lock-add.
4798 (md_parse_option): Handle -mfence-as-lock-add.
4799 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4800 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4801 * testsuite/gas/i386/i386.exp: Run new tests.
4802 * testsuite/gas/i386/fence-as-lock-add.s: New.
4803 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4804 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4805 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4806 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4808 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4810 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4811 * configure: Regenerated.
4813 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4815 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4816 (OPTION_MOMIT_LOCK_PREFIX): This.
4817 (md_longopts): Updated.
4818 (md_parse_option): Likewise.
4820 2016-01-25 Catherine Moore <clm@codesourcery.com>
4822 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4823 if abicalls are in effect.
4824 * testsuite/gas/mips/sdata-gp.s: New test.
4825 * testsuite/gas/mips/sdata-gp.d: New expected output
4826 * testsuite/gas/mips/mips.exp: Run new test.
4828 2016-01-25 Renlin Li <renlin.li@arm.com>
4830 * testsuite/gas/arm/thumb2_it_search.d: New.
4831 * testsuite/gas/arm/thumb2_it_search.s: New.
4833 2016-01-21 Nick Clifton <nickc@redhat.com>
4836 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4837 with arm-netbsdelf target.
4838 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4840 2016-01-20 Nick Clifton <nickc@redhat.com>
4843 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4844 * testsuite/gas/arm/blx-bl-convert.d
4845 * testsuite/gas/arm/plt-1.d: Likewise.
4846 * testsuite/gas/arm/reloc-bad.d: Likewise.
4847 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4848 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4849 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4850 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4853 * doc/as.texinfo (Errors): Correct documentation describing the
4854 interaction of .file and .line with warning and error messages.
4857 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4858 * testsuite/gas/arm/archv8m-main.d: Likewise.
4859 * testsuite/gas/arm/archv8m-base.d: Likewise.
4861 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4863 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4864 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4865 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4867 2016-01-20 Mickael Guene <mickael.guene@st.com>
4868 Terry Guo <terry.guo@arm.com>
4870 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4871 SHF_ARM_NOREAD section flag.
4872 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4874 (arm_elf_section_letter) : Declare it.
4875 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4876 SHF_ARM_NOREAD section flag.
4877 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4879 * testsuite/gas/arm/section-execute-only.s: New test case.
4880 * testsuite/gas/arm/section-execute-only.d: Expected output.
4882 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4884 * config/tc-mips.c (micromips_insn_length): Remove the mention
4885 of 48-bit microMIPS instructions.
4887 2016-01-18 Alan Modra <amodra@gmail.com>
4889 * configure: Regenerate.
4891 2016-01-17 Alan Modra <amodra@gmail.com>
4893 * configure: Regenerate.
4895 2016-01-17 Alan Modra <amodra@gmail.com>
4897 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4899 2016-01-14 Nick Clifton <nickc@redhat.com>
4901 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4902 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4903 * testsuite/gas/rl78/rl78.exp: Run the new test.
4905 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4907 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4908 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4910 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4912 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4914 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4916 * config/tc-h8300.c (get_operand): Remove spurious condition in
4917 test for closing parenthesis.
4919 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4921 * config/tc-arm.c (arm_ext_v8_2): New.
4923 * testsuite/gas/arm/armv8_2-a.d: New.
4924 * testsuite/gas/arm/armv8_2-a.s: New.
4926 2016-01-12 Alan Modra <amodra@gmail.com>
4928 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4930 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4932 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4933 xvcmpnesp, xvcmpnesp.>: Delete tests.
4934 * testsuite/gas/ppc/power9.s: Likewise.
4935 * testsuite/gas/ppc/vsx3.d: Likewise.
4936 * testsuite/gas/ppc/vsx3.s: Likewise.
4938 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4941 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4942 * testsuite/gas/m68k/p13050-1.s: New file.
4943 * testsuite/gas/m68k/p13050-2.d: New file.
4944 * testsuite/gas/m68k/p13050-2.s: New file.
4946 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4948 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4949 * testsuite/gas/arc/add.d: Likewise.
4950 * testsuite/gas/arc/and.d: Likewise.
4951 * testsuite/gas/arc/asl.d: Likewise.
4952 * testsuite/gas/arc/asr.d: Likewise.
4953 * testsuite/gas/arc/bic.d: Likewise.
4954 * testsuite/gas/arc/extb.d: Likewise.
4955 * testsuite/gas/arc/extw.d: Likewise.
4956 * testsuite/gas/arc/j.d: Likewise.
4957 * testsuite/gas/arc/jl.d: Likewise.
4958 * testsuite/gas/arc/ld2.d: Likewise.
4959 * testsuite/gas/arc/lsr.d: Likewise.
4960 * testsuite/gas/arc/mov.d: Likewise.
4961 * testsuite/gas/arc/or.d: Likewise.
4962 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4963 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4964 * testsuite/gas/arc/pic-relocs.d: Likewise.
4965 * testsuite/gas/arc/plt-relocs.d: Likewise.
4966 * testsuite/gas/arc/rlc.d: Likewise.
4967 * testsuite/gas/arc/ror.d: Likewise.
4968 * testsuite/gas/arc/rrc.d: Likewise.
4969 * testsuite/gas/arc/sbc.d: Likewise.
4970 * testsuite/gas/arc/sda-relocs.d: Likewise.
4971 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4972 * testsuite/gas/arc/sexb.d: Likewise.
4973 * testsuite/gas/arc/sexw.d: Likewise.
4974 * testsuite/gas/arc/st.d: Likewise.
4975 * testsuite/gas/arc/sub.d: Likewise.
4976 * testsuite/gas/arc/tls-relocs.d: Likewise.
4977 * testsuite/gas/arc/xor.d: Likewise.
4979 2016-01-01 Alan Modra <amodra@gmail.com>
4981 Update year range in copyright notice of all files.
4983 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4985 Copyright (C) 2016 Free Software Foundation, Inc.
4987 Copying and distribution of this file, with or without modification,
4988 are permitted in any medium without royalty provided the copyright
4989 notice and this notice are preserved.
4995 version-control: never