Add support for RISC-V architecture.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
e23eba97
NC
12016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
2 Andrew Waterman <andrew@sifive.com>
3
4 Add support for RISC-V architecture.
5 * Makefile.am: Add riscv files.
6 * Makefile.in: Regenerate.
7 * NEWS: Mention the support for this architecture.
8 * configure.in: Define a default architecture.
9 * configure: Regenerate.
10 * configure.tgt: Add entries for riscv.
11 * doc/as.texinfo: Likewise.
12 * testsuite/gas/all/gas.exp: Expect the redef tests to fail.
13 * testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
14 * config/tc-riscv.c: New file.
15 * config/tc-riscv.h: New file.
16 * doc/c-riscv.texi: New file.
17 * testsuite/gas/riscv: New directory.
18 * testsuite/gas/riscv/riscv.exp: New file.
19 * testsuite/gas/riscv/t_insns.d: New file.
20 * testsuite/gas/riscv/t_insns.s: New file.
21
bb65a718
AB
222016-10-27 Andrew Burgess <andrew.burgess@embecosm.com>
23
24 * config/tc-arc.c (arc_target): Delete.
25 (arc_target_name): Delete.
26 (arc_features): Delete.
27 (arc_mach_type): Delete.
28 (mach_type_specified_p): Delete.
29 (enum mach_selection_type): New enum.
30 (mach_selection_mode): New static global.
31 (selected_cpu): New static global.
32 (arc_eflag): Rename to ...
33 (arc_initial_eflag): ...this, and make const.
34 (arc_select_cpu): Update comment, new parameter, check how
35 previous machine type selection was made, and record this
36 selection. Use selected_cpu instead of old globals.
37 (arc_option): Remove use of arc_get_mach, instead use
38 arc_select_cpu to validate machine type selection. Use
39 selected_cpu over old globals.
40 (allocate_tok): Use selected_cpu over old globals.
41 (find_opcode_match): Likewise.
42 (assemble_tokens): Likewise.
43 (arc_cons_fix_new): Likewise.
44 (arc_extinsn): Likewise.
45 (arc_extcorereg): Likewise.
46 (md_begin): Update default machine type selection, use
47 selected_cpu over old globals.
48 (md_parse_option): Update machine type selection option handling,
49 use selected_cpu over old globals.
50 * testsuite/gas/arc/nps400-0.s: Add .cpu directive.
51
2a3a7490
AM
522016-10-26 Alan Modra <amodra@gmail.com>
53
54 Revert 2016-10-06 Alan Modra <amodra@gmail.com>
55 * config/rl78-parse.y: Do use old %name-prefix syntax.
56 * config/rx-parse.y: Likewise.
57
b5cefcca
L
582016-10-21 H.J. Lu <hongjiu.lu@intel.com>
59
60 * config/tc-i386.c (cpu_arch): Remove .pcommit.
61 * doc/c-i386.texi: Likewise.
62 * testsuite/gas/i386/i386.exp: Remove pcommit tests.
63 * testsuite/gas/i386/pcommit-intel.d: Removed.
64 * testsuite/gas/i386/pcommit.d: Likewise.
65 * testsuite/gas/i386/pcommit.s: Likewise.
66 * testsuite/gas/i386/x86-64-pcommit-intel.d: Likewise.
67 * testsuite/gas/i386/x86-64-pcommit.d: Likewise.
68 * testsuite/gas/i386/x86-64-pcommit.s: Likewise.
69
9889cbb1
L
702016-10-20 H.J. Lu <hongjiu.lu@intel.com>
71
72 PR binutis/20705
73 * testsuite/gas/i386/i386.exp: Run x86-64-opcode-bad.
74 * testsuite/gas/i386/x86-64-opcode-bad.d: New file.
75 * testsuite/gas/i386/x86-64-opcode-bad.s: Likewise.
76
008a97ef
RL
772016-10-19 Renlin Li <renlin.li@arm.com>
78
79 * config/tc-arm.c (encode_arm_shift): Generate unpredictable warning
80 for register-shifted register instructions.
81 * testsuite/gas/arm/shift-bad-pc.d: New.
82 * testsuite/gas/arm/shift-bad-pc.l: New.
83 * testsuite/gas/arm/shift-bad-pc.s: New.
84
8cae7a47
CM
852016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
86
87 * testsuite/arc/dis-inv.d: Fixed matching.
88
decf5bd1
CM
892016-10-17 Cupertino Miranda <cmiranda@synopsys.com>
90
91 * testsuite/arc/dis-inv.s: Test to validate patch.
92 * testsuite/arc/dis-inv.d: Likewise.
93
e5b06ef0
CZ
942016-10-14 Claudiu Zissulescu <claziss@synopsys.com>
95
96 * testsuite/gas/arc/shortlimm_a7.d: New file.
97 * testsuite/gas/arc/shortlimm_a7.s: Likewise.
98 * testsuite/gas/arc/shortlimm_hs.d: Likewise.
99 * testsuite/gas/arc/shortlimm_hs.s: Likewise.
100
a24bb4f0
NC
1012016-10-11 Nick Clifton <nickc@redhat.com>
102
103 * gas/arm/tls.d: Adjust output to match change in objdump.
104
93562a34
JW
1052016-10-11 Jiong Wang <jiong.wang@arm.com>
106
107 PR target/20666
108 * testsuite/gas/aarch64/alias-2.d: Update expected results.
109
969b385b
AK
1102016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
111
112 * testsuite/gas/cfi/cfi-common-1.d: Adjust regexps for mips64.
113 * testsuite/gas/cfi/cfi-common-2.d: Likewise.
114 * testsuite/gas/cfi/cfi-common-3.d: Likewise.
115 * testsuite/gas/cfi/cfi-common-4.d: Likewise.
116 * testsuite/gas/cfi/cfi-common-5.d: Likewise.
117 * testsuite/gas/cfi/cfi-common-7.d: Likewise.
118 * testsuite/gas/cfi/cfi-common-8.d: Likewise.
119 * testsuite/gas/cfi/cfi-common-9.d: Likewise.
120 * testsuite/gas/cfi/cfi-mips-1.d: Likewise.
121
b6f80bb8
AM
1222016-10-08 Alan Modra <amodra@gmail.com>
123
124 * Makefile.am (EXTRA_as_new_SOURCES): Add config/rl78-parse.y and
125 config/rx-parse.y. Move config/bfin-parse.y.
126 (bfin-parse.@OBJEXT@, rl78-parse.@OBJEXT@, rx-parse.@OBJEXT@): Delete.
127 ($(srcdir)/config/rl78-defs.h): New rule.
128 * Makefile.in: Regenerate.
129
362c0c4d
JW
1302016-10-07 Jiong Wang <jiong.wang@arm.com>
131
132 PR target/20667
133 * testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions using
134 SYS_Rt reg.
135 * testsuite/gas/aarch64/sys-rt-reg.d: New testcase.
136
08ec958f
CZ
1372016-10-06 Claudiu Zissulescu <claziss@synopsys.com>
138
139 * testsuite/gas/arc/leave_enter.d: New file.
140 * testsuite/gas/arc/leave_enter.s: Likewise.
141 * testsuite/gas/arc/regnames.d: Likewise.
142 * testsuite/gas/arc/regnames.s: Likewise.
143 * config/tc-arc.c (arc_parse_name): Don't match reg names against
144 confirmed symbol names.
145
fcddde94
AM
1462016-10-06 Alan Modra <amodra@gmail.com>
147
148 * app.c (do_scrub_chars): Move fall through comment.
149 * expr.c (operand): Likewise.
150
3d3424e9
MF
1512016-10-06 Matthew Fortune <matthew.fortune@imgtec.com>
152
153 PR gas/20648
154 * dw2gencfi.c (dot_cfi_sections): Refine the check for
155 inconsistent .cfi_sections to only consider compact vs non
156 compact forms.
157 * testsuite/gas/cfi/cfi-common-9.d: New file.
158 * testsuite/gas/cfi/cfi-common-9.s: New file.
159 * testsuite/gas/cfi/cfi.exp: Run new test.
160
1a0670f3
AM
1612016-10-06 Alan Modra <amodra@gmail.com>
162
163 * app.c: Add missing fall through comments.
164 * dw2gencfi.c: Likewise.
165 * expr.c: Likewise.
166 * config/tc-alpha.c: Likewise.
167 * config/tc-arc.c: Likewise.
168 * config/tc-arm.c: Likewise.
169 * config/tc-cr16.c: Likewise.
170 * config/tc-crx.c: Likewise.
171 * config/tc-dlx.c: Likewise.
172 * config/tc-h8300.c: Likewise.
173 * config/tc-hppa.c: Likewise.
174 * config/tc-i370.c: Likewise.
175 * config/tc-i386.c: Likewise.
176 * config/tc-i960.c: Likewise.
177 * config/tc-ia64.c: Likewise.
178 * config/tc-m68hc11.c: Likewise.
179 * config/tc-m68k.c: Likewise.
180 * config/tc-mep.c: Likewise.
181 * config/tc-metag.c: Likewise.
182 * config/tc-microblaze.c: Likewise.
183 * config/tc-mips.c: Likewise.
184 * config/tc-ns32k.c: Likewise.
185 * config/tc-rx.c: Likewise.
186 * config/tc-score.c: Likewise.
187 * config/tc-score7.c: Likewise.
188 * config/tc-sh.c: Likewise.
189 * config/tc-tic4x.c: Likewise.
190 * config/tc-vax.c: Likewise.
191 * config/tc-xstormy16.c: Likewise.
192 * config/tc-z80.c: Likewise.
193 * config/tc-z8k.c: Likewise.
194 * config/obj-elf.c: Likewise.
195 * config/tc-i386.c: Likewise.
196 * depend.c: Spell fall through comments consistently.
197 * config/tc-arm.c: Likewise.
198 * config/tc-d10v.c: Likewise.
199 * config/tc-i960.c: Likewise.
200 * config/tc-ia64.c: Likewise.
201 * config/tc-m68k.c: Likewise.
202 * config/tc-mcore.c: Likewise.
203 * config/tc-mep.c: Likewise.
204 * config/tc-ns32k.c: Likewise.
205 * config/tc-visium.c: Likewise.
206 * config/tc-xstormy16.c: Likewise.
207 * config/tc-z8k.c: Likewise.
208
1e0f0b4d
AM
2092016-10-06 Alan Modra <amodra@gmail.com>
210
211 * as.h (as_assert): Add ATTRIBUTE_NORETURN.
212
2b804145
AM
2132016-10-06 Alan Modra <amodra@gmail.com>
214
215 * config/tc-arc.c (find_opcode_match): Add missing break.
216 * config/tc-i960.c (get_cdisp): Likewise.
217 * config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
218 * config/tc-mt.c (md_parse_option): Likewise.
219 * config/tc-nds32.c (nds32_apply_fix): Likewise.
220 * config/tc-hppa.c (pa_ip): Assert rather than testing last
221 condition of multiple if statements.
222 * config/tc-s390.c (s390_exp_compare): Return 0 on error.
223 * config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
224 out of case rather than falling into next case. Formatting.
225
95e61695
AM
2262016-10-06 Alan Modra <amodra@gmail.com>
227
228 * config/rl78-parse.y: Don't use deprecated %name-prefix.
229 * config/rx-parse.y: Likewise.
230
744ce302
JW
2312016-09-29 Jiong Wang <jiong.wang@arm.com>
232
233 PR target/20553
234 * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
235 testcases for H and S variants. New low index testcases for D variant.
236 * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.
237
a5721ba2
AM
2382016-09-29 Alan Modra <amodra@gmail.com>
239
240 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
241 * testsuite/gas/ppc/power8.s: Provide tbegin. operand.
242 * testsuite/gas/ppc/power9.d: Update cmprb disassembly.
243
78fb7e37
TS
2442016-09-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
245
246 * config/tc-xtensa.c (xg_reverse_shift_count): Pass cnt_arg instead of
247 cnt_argp to concat.
248
c5da1932
VZ
2492016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
250
251 * Makefile.in: Regenerate.
252 * configure: Likewise.
253 * doc/Makefile.in: Likewise.
254
005d79fd
AM
2552016-09-26 Alan Modra <amodra@gmail.com>
256
257 * config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
258 (md_pseudo_table <ELF>): Handle "gnu_attribute".
259
870dd155
TP
2602016-09-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
261
262 * config/tc-arm.c (v7m_psrs): Remove BASEPRI_MASK MRS/MSR special
263 register and redundant basepri_max.
264
ad43e107
RS
2652016-09-21 Richard Sandiford <richard.sandiford@arm.com>
266
267 * config/tc-aarch64.c (print_operands): Print spaces between
268 operands.
269 * testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
270 in addresses.
271 * testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
272 * testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
273 * testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
274 * testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
275 * testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
276 * testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
277 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
278 * testsuite/gas/aarch64/sve.d: Likewise.
279 * testsuite/gas/aarch64/symbol.d: Likewise.
280 * testsuite/gas/aarch64/system.d: Likewise.
281 * testsuite/gas/aarch64/tls-desc.d: Likewise.
282 * testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
283 in suggested alternatives.
284 * testsuite/gas/aarch64/verbose-error.l: Likewise.
285
ab3b8fcf
RS
2862016-09-21 Richard Sandiford <richard.sandiford@arm.com>
287
288 * config/tc-aarch64.c (output_operand_error_record): Use "must be"
289 rather than "should be" or "expected to be" in error messages.
290 (parse_operands): Likewise.
291 * testsuite/gas/aarch64/diagnostic.l: Likewise.
292 * testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
293 * testsuite/gas/aarch64/sve-invalid.l: Likewise.
294 * testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
295
bb7eff52
RS
2962016-09-21 Richard Sandiford <richard.sandiford@arm.com>
297
298 * config/tc-aarch64.c (opcode_lookup): Search for the end of
299 a condition name, rather than assuming that it will have exactly
300 2 characters.
301 (parse_operands): Likewise.
302 * testsuite/gas/aarch64/alias.d: Add new condition-code comments
303 to the expected output.
304 * testsuite/gas/aarch64/beq_1.d: Likewise.
305 * testsuite/gas/aarch64/float-fp16.d: Likewise.
306 * testsuite/gas/aarch64/int-insns.d: Likewise.
307 * testsuite/gas/aarch64/no-aliases.d: Likewise.
308 * testsuite/gas/aarch64/programmer-friendly.d: Likewise.
309 * testsuite/gas/aarch64/reloc-insn.d: Likewise.
310 * testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
311 New test.
312
f2a5c4f5
RS
3132016-09-21 Richard Sandiford <richard.sandiford@arm.com>
314
315 * testsuite/gas/aarch64/diagnostic.s,
316 testsuite/gas/aarch64/diagnostic.l: Add tests for
317 invalid uses of MUL VL and MUL in base AArch64 instructions.
318 * testsuite/gas/aarch64/sve-add.s, testsuite/gas/aarch64/sve-add.d,
319 testsuite/gas/aarch64/sve-dup.s, testsuite/gas/aarch64/sve-dup.d,
320 testsuite/gas/aarch64/sve-invalid.s,
321 testsuite/gas/aarch64/sve-invalid.d,
322 testsuite/gas/aarch64/sve-invalid.l,
323 testsuite/gas/aarch64/sve-reg-diagnostic.s,
324 testsuite/gas/aarch64/sve-reg-diagnostic.d,
325 testsuite/gas/aarch64/sve-reg-diagnostic.l,
326 testsuite/gas/aarch64/sve.s, testsuite/gas/aarch64/sve.d: New tests.
327
c0890d26
RS
3282016-09-21 Richard Sandiford <richard.sandiford@arm.com>
329
330 * doc/c-aarch64.texi: Document the "sve" feature.
331 * config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
332 (get_reg_expected_msg): Handle it.
333 (parse_operands): When parsing operands of an SVE instruction,
334 disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
335 (aarch64_features): Add an entry for SVE.
336
047cd301
RS
3372016-09-21 Richard Sandiford <richard.sandiford@arm.com>
338
339 * config/tc-aarch64.c (parse_operands): Handle the new SVE core
340 and FP register operands.
341
165d4950
RS
3422016-09-21 Richard Sandiford <richard.sandiford@arm.com>
343
344 * config/tc-aarch64.c (double_precision_operand_p): New function.
345 (parse_operands): Use it to calculate the dp_p input to
346 parse_aarch64_imm_float. Handle the new SVE FP immediate operands.
347
e950b345
RS
3482016-09-21 Richard Sandiford <richard.sandiford@arm.com>
349
350 * config/tc-aarch64.c (parse_operands): Handle the new SVE integer
351 immediate operands.
352
98907a70
RS
3532016-09-21 Richard Sandiford <richard.sandiford@arm.com>
354
355 * config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
356 parse_shift_modes.
357 (parse_shift): Handle SHIFTED_MUL_VL.
358 (parse_address_main): Add an imm_shift_mode parameter.
359 (parse_address, parse_sve_address): Update accordingly.
360 (parse_operands): Handle MUL VL addressing modes.
361
4df068de
RS
3622016-09-21 Richard Sandiford <richard.sandiford@arm.com>
363
364 * config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
365 register types.
366 (get_reg_expected_msg): Handle them.
367 (aarch64_addr_reg_parse): New function, split out from
368 aarch64_reg_parse_32_64. Handle Z registers too.
369 (aarch64_reg_parse_32_64): Call it.
370 (parse_address_main): Add base_qualifier, offset_qualifier,
371 base_type and offset_type parameters. Handle SVE base and offset
372 registers.
373 (parse_address): Update call to parse_address_main.
374 (parse_sve_address): New function.
375 (parse_operands): Parse the new SVE address operands.
376
2442d846
RS
3772016-09-21 Richard Sandiford <richard.sandiford@arm.com>
378
379 * config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
380 (parse_shift): Handle it. Reject AARCH64_MOD_MUL for all other
381 shift modes. Skip range tests for AARCH64_MOD_MUL.
382 (process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
383 (parse_operands): Likewise.
384
245d2e3f
RS
3852016-09-21 Richard Sandiford <richard.sandiford@arm.com>
386
387 * config/tc-aarch64.c (parse_enum_string): New function.
388 (po_enum_or_fail): New macro.
389 (parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
390 AARCH64_OPND_SVE_PRFOP.
391
d50c751e
RS
3922016-09-21 Richard Sandiford <richard.sandiford@arm.com>
393
394 * config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
395 (parse_vector_type_for_operand): Assert that the skipped character
396 is a '.'.
397 (parse_predication_for_operand): New function.
398 (parse_typed_reg): Parse /z and /m suffixes for predicate registers.
399 (vectype_to_qualifier): Handle NT_zero and NT_merge.
400
f11ad6bc
RS
4012016-09-21 Richard Sandiford <richard.sandiford@arm.com>
402
403 * config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
404 (AARCH64_REG_TYPES): Add ZN and PN.
405 (get_reg_expected_msg): Handle them.
406 (parse_vector_type_for_operand): Add a reg_type parameter.
407 Skip the width for Zn and Pn registers.
408 (parse_typed_reg): Extend vector handling to Zn and Pn. Update the
409 call to parse_vector_type_for_operand. Set HASVARTYPE for Zn and Pn,
410 expecting the width to be 0.
411 (parse_vector_reg_list): Restrict error about [BHSD]nn operands to
412 REG_TYPE_VN.
413 (vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
414 (parse_operands): Handle the new Zn and Pn operands.
415 (REGSET16): New macro, split out from...
416 (REGSET31): ...here.
417 (reg_names): Add Zn and Pn entries.
418
0c608d6b
RS
4192016-09-21 Richard Sandiford <richard.sandiford@arm.com>
420
421 * config/tc-aarch64.c (output_operand_error_record): Handle
422 AARCH64_OPDE_UNTIED_OPERAND.
423
4989adac
RS
4242016-09-21 Richard Sandiford <richard.sandiford@arm.com>
425
426 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
427 instruction with all-NIL qualifiers to fail to match.
428
73866052
RS
4292016-09-21 Richard Sandiford <richard.sandiford@arm.com>
430
431 * config/tc-aarch64.c (parse_address_main): Remove reloc and
432 accept_reg_post_index parameters. Parse relocations and register
433 post indexes unconditionally.
434 (parse_address): Remove accept_reg_post_index parameter.
435 Update call to parse_address_main.
436 (parse_address_reloc): Delete.
437 (parse_operands): Call parse_address instead of parse_address_main.
438 Update existing callers of parse_address and make them check
439 inst.reloc.type where appropriate.
440 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
441 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
442 Also test for invalid uses of post-index register addressing.
443 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
444
e1b988bb
RS
4452016-09-21 Richard Sandiford <richard.sandiford@arm.com>
446
447 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
448 types.
449 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
450 (aarch64_check_reg_type): Simplify.
451 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
452 register number. Return the type as a qualifier rather than an
453 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
454 parameters.
455 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
456 Use get_reg_expected_msg.
457 (parse_address_main): Likewise. Use aarch64_check_reg_type.
458 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
459 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
460 Use aarch64_check_reg_type to test the result.
461 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
462 addresses normally before enforcing the syntax restrictions.
463 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
464 zero register and for a stack pointer index.
465 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
466 Also update existing diagnostic messages after the above changes.
467 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
468 for 32-bit register bases.
469
874d7e6e
RS
4702016-09-21 Richard Sandiford <richard.sandiford@arm.com>
471
472 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
473 (parse_operands): Check the range of 8-bit FP immediates here instead.
474
6a9deabe
RS
4752016-09-21 Richard Sandiford <richard.sandiford@arm.com>
476
477 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
478 low-severity error for registers.
479 (parse_operands): Report an invalid floating point constant for
480 if parsing an FPIMM8 fails, and if no better error has been
481 recorded.
482 * testsuite/gas/aarch64/diagnostic.s,
483 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
484 to FMOV.
485
04a3379a
RS
4862016-09-21 Richard Sandiford <richard.sandiford@arm.com>
487
488 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
489 to...
490 (can_convert_double_to_float): ...this. Accept any double-precision
491 value that converts to single precision without loss of precision.
492 (parse_aarch64_imm_float): Update accordingly.
493
1799c0d0
RS
4942016-09-21 Richard Sandiford <richard.sandiford@arm.com>
495
496 * config/tc-aarch64.c (parse_immediate_expression): Add a
497 reg_type parameter.
498 (parse_constant_immediate): Likewise, and update calls.
499 (parse_aarch64_imm_float): Likewise.
500 (parse_big_immediate): Likewise.
501 (po_imm_nc_or_fail): Update accordingly, passing down a new
502 imm_reg_type variable.
503 (po_imm_of_fail): Likewise.
504 (parse_operands): Likewise.
505
10d76650
RS
5062016-09-21 Richard Sandiford <richard.sandiford@arm.com>
507
508 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
509 (parse_vector_reg_list): ...this and take a register type
510 as input.
511 (parse_operands): Update accordingly.
512
53021dd1
RS
5132016-09-21 Richard Sandiford <richard.sandiford@arm.com>
514
515 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
516 (parse_vector_type_for_operand): ...this.
517 (parse_typed_reg): Update accordingly.
518
8f9a77af
RS
5192016-09-21 Richard Sandiford <richard.sandiford@arm.com>
520
521 * config/tc-aarch64.c (neon_type_el): Rename to...
522 (vector_type_el): ...this.
523 (parse_neon_type_for_operand): Update accordingly.
524 (parse_typed_reg): Likewise.
525 (aarch64_reg_parse): Likewise.
526 (vectype_to_qualifier): Likewise.
527 (parse_operands): Likewise.
528 (eq_neon_type_el): Likewise. Rename to...
529 (eq_vector_type_el): ...this.
530 (parse_neon_reg_list): Update accordingly.
531
f06935a5
RS
5322016-09-21 Richard Sandiford <richard.sandiford@arm.com>
533
534 * config/tc-aarch64.c (neon_el_type: Rename to...
535 (vector_el_type): ...this.
536 (neon_type_el): Update accordingly.
537 (parse_neon_type_for_operand): Likewise.
538 (vectype_to_qualifier): Likewise.
539
a235d3ae
RS
5402016-09-21 Richard Sandiford <richard.sandiford@arm.com>
541
542 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
543 (parse_typed_reg): Call parse_neon_type_for_operand directly.
544
f807f43d
CZ
5452016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
546
547 * testsuite/gas/arc/textinsnxop.d: New file.
548 * testsuite/gas/arc/textinsnxop.s: Likewise.
549
d7cd93a7
JM
5502016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
551
552 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
553 dcti-couples-v9 only in ELF targets to avoid spurious failures in
554 sparc-aout and sparc-coff targets.
555
fd486b63
PB
5562016-09-14 Peter Bergner <bergner@vnet.ibm.com>
557
558 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
559 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
560 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
561 <copy, paste.>: Update tests.
562 * testsuite/gas/ppc/power9.s: Likewise.
563
fc7514d6
JM
5642016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
565
566 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
567 in "architecture mismatch" error messages.
568
46a2d504
JM
5692016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
570
571 * config/tc-sparc.c (md_assemble): Detect and warning on
572 unpredictable DCTI couples in certain arches.
573 (dcti_couples_detect): New global.
574 (md_longopts): Add command line option -dcti-couples-detect.
575 (md_show_usage): Document -dcti-couples-detect.
576 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
577 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
578 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
579 * testsuite/gas/sparc/dcti-couples.s: New file.
580 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
581 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
582 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
583 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
584 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
585 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
586 * doc/c-sparc.texi (Sparc-Opts): Likewise.
587
32348c58
CZ
5882016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
589
590 * testsuite/gas/arc/tls-relocs2.d: New file.
591 * testsuite/gas/arc/tls-relocs2.s: Likewise.
592 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
593 is used.
594
952c3f51
AK
5952016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
596
597 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
598 strings.
599 * doc/as.texinfo: Document new arch strings.
600 * doc/c-s390.texi: Likewise.
601
58af6397
AK
6022016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
603
604 * config/tc-s390.c: Set all facitily bits by default
605
8b71537b
PS
6062016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
607
608 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
609
8d471ec1
L
6102016-09-08 H.J. Lu <hongjiu.lu@intel.com>
611
612 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
613 for Intel MCU.
614
5b64d091
L
6152016-09-07 H.J. Lu <hongjiu.lu@intel.com>
616
617 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
618 (set_cpu_arch): Updated.
619 (md_parse_option): Likewise.
620 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
621 iamcu-inval-2 and iamcu-inval-3.
622 * testsuite/gas/i386/iamcu-4.d: New file.
623 * testsuite/gas/i386/iamcu-4.s: Likewise.
624 * testsuite/gas/i386/iamcu-5.d: Likewise.
625 * testsuite/gas/i386/iamcu-5.s: Likewise.
626 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
627 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
628 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
629 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
630
27e5a270
RE
6312016-09-07 Richard Earnshaw <rearnsha@arm.com>
632
633 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
634 ARMv8-A CPUs except xgene1.
635
f7d69005
AM
6362016-08-31 Alan Modra <amodra@gmail.com>
637
638 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
639 ppc_cpu rather than calling ppc_mach to determine VLE mode.
640 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
641
1b8b6532
JM
6422016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
643
644 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
645 to camellia_fl.
646 * testsuite/gas/sparc/crypto.s: Likewise.
647
1a336194
TP
6482016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
649
650 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
651 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
652 their lowecase counterpart special registers. Write register
653 identifier in hex.
654 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
655 operation, special register and then case. Use different register for
656 each operation. Add tests for new special registers.
657 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
658 accordingly.
659 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
660 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
661
c4dd0ba2
TP
6622016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
663
664 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
665 special registers.
666 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
667 registers.
668 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
669 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
670 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
671
6b40c462
L
6722016-08-24 H.J. Lu <hongjiu.lu@intel.com>
673
674 * config/tc-i386.c (cpu_arch): Add .ptwrite.
675 * doc/c-i386.texi: Document ptwrite and .ptwrite.
676 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
677 x86-64-ptwrite and x86-64-ptwrite-intel.
678 * testsuite/gas/i386/ptwrite-intel.d: New file.
679 * testsuite/gas/i386/ptwrite.d: Likewise.
680 * testsuite/gas/i386/ptwrite.s: Likewise.
681 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
682 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
683 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
684
873f10f0
TC
6852016-08-19 Tamar Christina <tamar.christina@arm.com>
686
687 * config/tc-arm.c (do_co_reg2c): Added constraint.
688 * testsuite/gas/arm/dest-unpredictable.s: New.
689 * testsuite/gas/arm/dest-unpredictable.l: New.
690 * testsuite/gas/arm/dest-unpredictable.d: New.
691
dd905818
NC
6922016-08-19 Nick Clifton <nickc@redhat.com>
693
694 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
695 ordering of sections.
696 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
697 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
698 * testsuite/gas/ia64/alias.d: Likewise.
699 * testsuite/gas/ia64/group-1.d: Likewise.
700 * testsuite/gas/ia64/group-2.d: Likewise.
701 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
702 * testsuite/gas/ia64/secname.d: Likewise.
703 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
704 * testsuite/gas/ia64/unwind.d: Likewise.
705 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
706 * testsuite/gas/ia64/xdata.d: Likewise.
707 * testsuite/gas/mmix/bspec-1.d: Likewise.
708 * testsuite/gas/mmix/bspec-2.d: Likewise.
709 * testsuite/gas/mmix/byte-1.d: Likewise.
710 * testsuite/gas/mmix/loc-1.d: Likewise.
711 * testsuite/gas/mmix/loc-2.d: Likewise.
712 * testsuite/gas/mmix/loc-3.d: Likewise.
713 * testsuite/gas/mmix/loc-4.d: Likewise.
714 * testsuite/gas/mmix/loc-5.d: Likewise.
715 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
716
dbd8770c
RS
7172016-08-11 Richard Sandiford <richard.sandiford@arm.com>
718
719 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
720 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
721 Add tests for -0.0. Add an end-of-file comment.
722
7ea12e5c
NC
7232016-08-05 Nick Clifton <nickc@redhat.com>
724
b126985e
NC
725 PR gas/20429
726 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
727 registers are pushed.
728 (do_vfp_nsyn_pop): Check that no more than 16 registers are
729 popped.
730 * testsuite/gas/arm/pr20429.s: New test.
731 * testsuite/gas/arm/pr20429.d: New test driver.
732 * testsuite/gas/arm/pr20429.1: Expected error output.
733
7ea12e5c
NC
734 PR gas/20364
735 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
736 aligning the frag.
737 (aarch64_init): Treat rs_align frags in code sections as
738 containing code, not data.
739 * testsuite/gas/aarch64/pr20364.s: New test.
740 * testsuite/gas/aarch64/pr20364.d: New test driver.
741
02442566
ST
7422016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
743
744 PR gas/20427
745 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
746 of 64-bit relocation types when assembling for a 32-bit Solaris
747 target.
748
c88960d0
JM
7492016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
750
751 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
752 ELF targets.
753 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
754 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
755 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
756 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
757 targets.
758 (sparc_elf_setup): Delete.
759 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
760 test's #name entry.
761
7bd374a4
MR
7622016-07-27 Maciej W. Rozycki <macro@imgtec.com>
763
764 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
765 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
766 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
767 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
768 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
769 (get_append_method): Also return APPEND_ADD_COMPACT for
770 microMIPS instructions.
771 (find_altered_mips16_opcode): Exclude macros from matching.
772 Factor code out...
773 (find_altered_opcode): ... to this new function.
774 (find_altered_micromips_opcode): New function.
775 (frag_branch_delay_slot_size): Likewise.
776 (append_insn): Handle microMIPS branch/jump compaction.
777 (macro_start): Likewise.
778 (relaxed_micromips_32bit_branch_length): Likewise.
779 (md_convert_frag): Likewise.
780 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
781 for delay slot filling.
782 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
783 delay slot filling.
784 * testsuite/gas/mips/micromips-size-1.s: Likewise.
785 * testsuite/gas/mips/micromips.l: Adjust line numbers.
786 * testsuite/gas/mips/micromips-warn.l: Likewise.
787 * testsuite/gas/mips/micromips-size-1.l: Likewise.
788 * testsuite/gas/mips/micromips.d: Adjust padding.
789 * testsuite/gas/mips/micromips-trap.d: Likewise.
790 * testsuite/gas/mips/micromips-insn32.d: Likewise.
791 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
792 * testsuite/gas/mips/micromips@beq.d: Update patterns for
793 branch/jump compaction.
794 * testsuite/gas/mips/micromips@bge.d: Likewise.
795 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
796 * testsuite/gas/mips/micromips@blt.d: Likewise.
797 * testsuite/gas/mips/micromips@bltu.d: Likewise.
798 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
799 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
800 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
801 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
802 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
803 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
804 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
805 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
806 Likewise.
807 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
808 Likewise.
809 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
810 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
811 * testsuite/gas/mips/micromips@relax.d: Likewise.
812 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
813 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
814 * testsuite/gas/mips/branch-extern-2.d: Likewise.
815 * testsuite/gas/mips/branch-extern-4.d: Likewise.
816 * testsuite/gas/mips/branch-section-2.d: Likewise.
817 * testsuite/gas/mips/branch-section-4.d: Likewise.
818 * testsuite/gas/mips/branch-weak-2.d: Likewise.
819 * testsuite/gas/mips/branch-weak-5.d: Likewise.
820 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
821 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
822 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
823 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
824 Likewise.
825 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
826 Likewise.
827 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
828 Likewise.
829 * testsuite/gas/mips/micromips-compact.d: New test.
830 * testsuite/gas/mips/mips.exp: Run the new test.
831
db18dbab
GM
8322016-07-27 Graham Markall <graham.markall@embecosm.com>
833
834 * config/tc-arc.c: Add new global arc_addrtype_hash.
835 Define O_colon and O_addrtype.
836 (debug_exp): Add O_colon and O_addrtype.
837 (tokenize_arguments): Handle colon and address type
838 tokens.
839 (declare_addrtype): New function.
840 (md_begin): Initialise arc_addrtype_hash.
841 (arc_parse_name): Add lookup of address types.
842 (assemble_insn): Handle colons and address types by
843 ignoring them.
844 * testsuite/gas/arc/nps400-8.s: New file.
845 * testsuite/gas/arc/nps400-8.d: New file.
846 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
847 * testsuite/gas/arc/nps400-8.d: Add expected PMU
848 instruction output.
849
8484fb75
MR
8502016-07-26 Maciej W. Rozycki <macro@imgtec.com>
851
852 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
853 (RELAX_MICROMIPS_INSN32): New macro.
854 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
855 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
856 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
857 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
858 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
859 Shift bits.
860 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
861 branches.
862 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
863 mode.
864 (md_convert_frag): Likewise.
865 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
866 conditionals.
867 * testsuite/gas/mips/micromips-branch-relax.l: Update line
868 numbers accordingly.
869 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
870 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
871 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
872 test.
873 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
874 stderr output.
875 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
876 stderr output.
877 * testsuite/gas/mips/mips.exp: Run the new tests.
878
fecd57f9
L
8792016-07-21 H.J. Lu <hongjiu.lu@intel.com>
880
881 * configure: Regenerated.
882
37fd5ef3
CZ
8832016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
884
885 * testsuite/gas/arc/dsp.d: New file.
886 * testsuite/gas/arc/dsp.s: Likewise.
887 * testsuite/gas/arc/fpu.d: Likewise.
888 * testsuite/gas/arc/fpu.s: Likewise.
889 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
890 * testsuite/gas/arc/ext3op.d: Likewise.
891 * testsuite/gas/arc/tdpfp.d: Likewise.
892 * testsuite/gas/arc/tfpuda.d: Likewise.
893
5caa2b07
MR
8942016-07-20 Maciej W. Rozycki <macro@imgtec.com>
895
896 * config/tc-mips.c (mips_force_relocation): Remove
897 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
898
a6ebf616
MR
8992016-07-19 Maciej W. Rozycki <macro@imgtec.com>
900
901 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
902 Adjust comments for BAL to JALX linker conversion.
903 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
904 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
905 expected.
906 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
907 * testsuite/gas/mips/branch-local-4.d: New test.
908 * testsuite/gas/mips/branch-local-n32-4.d: New test.
909 * testsuite/gas/mips/branch-local-n64-4.d: New test.
910 * testsuite/gas/mips/branch-addend.d: New test.
911 * testsuite/gas/mips/branch-addend-n32.d: New test.
912 * testsuite/gas/mips/branch-addend-n64.d: New test.
913 * testsuite/gas/mips/branch-local-4.s: New test source.
914 * testsuite/gas/mips/branch-addend.s: New test source.
915 * testsuite/gas/mips/mips.exp: Run the new tests.
916
9d862524
MR
9172016-07-19 Maciej W. Rozycki <macro@imgtec.com>
918
919 * config/tc-mips.c (mips_force_relocation): Also retain branch
920 relocations against MIPS16 and microMIPS symbols.
921 (fix_bad_cross_mode_jump_p): New function.
922 (fix_bad_same_mode_jalx_p): Likewise.
923 (fix_bad_misaligned_jump_p): Likewise.
924 (fix_bad_cross_mode_branch_p): Likewise.
925 (fix_bad_misaligned_branch_p): Likewise.
926 (fix_validate_branch): Likewise.
927 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
928 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
929 etc. Verify the ISA mode and alignment of the jump target.
930 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
931 with a call to `fix_validate_branch'.
932 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
933 <BFD_RELOC_16_PCREL_S2>: Likewise.
934 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
935 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
936 Verify the ISA mode and alignment of the branch target.
937 (md_convert_frag): Verify the ISA mode and alignment of resolved
938 MIPS16 branch targets.
939 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
940 branch targets with `.insn'.
941 * testsuite/gas/mips/branch-misc-5.s: Likewise.
942 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
943 accordingly.
944 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
945 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
946 non-instruction branch target with `.insn'.
947 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
948 with external symbols.
949 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
950 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
951 * testsuite/gas/mips/micromips-trap.d: Likewise.
952 * testsuite/gas/mips/micromips.d: Likewise.
953 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
954 targets with `.insn'.
955 * testsuite/gas/mips/mips16.d: Update accordingly.
956 * testsuite/gas/mips/mips16-64.d: Likewise.
957 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
958 branch target with `.insn'.
959 * testsuite/gas/mips/relax-swap3.s: Likewise.
960 * testsuite/gas/mips/branch-local-2.l: New list test.
961 * testsuite/gas/mips/branch-local-3.l: New list test.
962 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
963 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
964 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
965 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
966 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
967 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
968 * testsuite/gas/mips/unaligned-jump-3.d: New test.
969 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
970 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
971 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
972 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
973 test.
974 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
975 test.
976 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
977 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
978 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
979 * testsuite/gas/mips/unaligned-branch-3.d: New test.
980 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
981 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
982 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
983 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
984 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
985 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
986 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
987 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
988 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
989 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
990 test.
991 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
992 test.
993 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
994 * testsuite/gas/mips/branch-local-2.s: New test source.
995 * testsuite/gas/mips/branch-local-3.s: New test source.
996 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
997 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
998 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
999 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
1000 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
1001 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
1002 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
1003 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
1004 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
1005 source.
1006 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
1007 source.
1008 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
1009 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
1010 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
1011 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
1012 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
1013 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
1014 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
1015 source.
1016 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
1017 source.
1018 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
1019 source.
1020 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
1021 source.
1022 * testsuite/gas/mips/mips.exp: Run the new tests.
1023
065251a0
TS
10242016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1025
1026 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
1027 unsigned int.
1028 (do_pseudo_b): Adjust.
1029 (do_pseudo_bal): Likewise.
1030 (do_pseudo_bge): Likewise.
1031 (do_pseudo_bges): Likewise.
1032 (do_pseudo_bgt): Likewise.
1033 (do_pseudo_bgts): Likewise.
1034 (do_pseudo_ble): Likewise.
1035 (do_pseudo_bles): Likewise.
1036 (do_pseudo_blt): Likewise.
1037 (do_pseudo_blts): Likewise.
1038 (do_pseudo_br): Likewise.
1039 (do_pseudo_bral): Likewise.
1040 (do_pseudo_la): Likewise.
1041 (do_pseudo_li): Likewise.
1042 (do_pseudo_ls_bhw): Likewise.
1043 (do_pseudo_ls_bhwp): Likewise.
1044 (do_pseudo_ls_bhwpc): Likewise.
1045 (do_pseudo_ls_bhwi): Likewise.
1046 (do_pseudo_move): Likewise.
1047 (do_pseudo_neg): Likewise.
1048 (do_pseudo_not): Likewise.
1049 (do_pseudo_pushpopm): Likewise.
1050 (do_pseudo_pushpop): Likewise.
1051 (do_pseudo_v3push): Likewise.
1052 (do_pseudo_v3pop): Likewise.
1053 (do_pseudo_pushpop_stack): Likewise.
1054 (do_pseudo_push_bhwd): Likewise.
1055 (do_pseudo_pop_bhwd): Likewise.
1056 (do_pseudo_pusha): Likewise.
1057 (do_pseudo_pushi): Likewise.
1058
9bceab41
TS
10592016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1060
1061 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
1062 bfd_reloc_code_real_type.
1063
cf80913a
TS
10642016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1065
1066 * config/tc-sparc.c (pop_table): Remove sentinel.
1067 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
1068 (md_begin): Adjust.
1069
35fec4ff
TS
10702016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1071
1072 * config/tc-z8k.c (newfix): Make type of type argument
1073 bfd_reloc_code_real_type.
1074 (apply_fix): Likewise.
1075
00dad9a4
AM
10762016-07-16 Alan Modra <amodra@gmail.com>
1077
1078 * config/tc-epiphany.c: Don't include libbfd.h.
1079 * config/tc-frv.c: Likewise.
1080 * config/tc-ip2k.c: Likewise.
1081 * config/tc-iq2000.c: Likewise.
1082 * config/tc-m32c.c: Likewise.
1083 * config/tc-mep.c: Likewise.
1084 * config/tc-mt.c: Likewise.
1085 * config/tc-nios2.c: Likewise.
1086
76e7a751
AM
10872016-07-16 Alan Modra <amodra@gmail.com>
1088
1089 * config/bfin-parse.y: Don't include libbfd.h.
1090 * config/tc-bfin.c: Likewise.
1091 * config/tc-rl78.c: Likewise.
1092 * config/tc-rx.c: Likewise.
1093 * config/tc-metag.c: Likewise.
1094 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
1095 * Makefile.am: Update dependencies.
1096 * Makefile.in: Regenerate.
1097
b416ba9b
MR
10982016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1099
1100 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
1101 (mips_force_relocation_abs): New prototype.
1102 * config/tc-mips.c (mips_force_relocation_abs): New function.
1103 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
1104 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
1105 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
1106 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
1107 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
1108 Likewise.
1109 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
1110 Likewise.
1111 * testsuite/gas/mips/branch-absolute-addend.d: New test.
1112 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
1113 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
1114 test.
1115 * testsuite/gas/mips/mips.exp: Run the new tests.
1116
96e9ba5f
MR
11172016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1118
1119 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
1120 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
1121 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
1122 addend calculated.
1123 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
1124 in `bar', export `foo'.
1125 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
1126 accordingly.
1127 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
1128 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
1129 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
1130 Likewise.
1131 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
1132 Likewise.
1133
0c117286
MR
11342016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1135
1136 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
1137 * testsuite/gas/mips/branch-absolute.d: New test.
1138 * testsuite/gas/mips/branch-absolute-n32.d: New test.
1139 * testsuite/gas/mips/branch-absolute-n64.d: New test.
1140 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
1141 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
1142 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
1143 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
1144 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
1145 test.
1146 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
1147 test.
1148 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
1149 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
1150 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
1151 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
1152 test.
1153 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
1154 test.
1155 * testsuite/gas/mips/branch-absolute.s: New test source.
1156 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
1157 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
1158 source.
1159 * testsuite/gas/mips/micromips-branch-absolute.s: New test
1160 source.
1161 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
1162 test source.
1163 * testsuite/gas/mips/mips.exp: Run the new tests.
1164
92281a5b
MR
11652016-07-13 Maciej W. Rozycki <macro@imgtec.com>
1166
1167 * testsuite/gas/mips/nal-1.d: New test.
1168 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
1169 * testsuite/gas/mips/nal-2.d: New test.
1170 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
1171 * testsuite/gas/mips/nal.s: New test source.
1172 * testsuite/gas/mips/mips.exp: Run the new tests.
1173
6e7ced37
JM
11742016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
1175
1176 * testsuite/gas/sparc/ldtxa.s: New file.
1177 * testsuite/gas/sparc/ldtxa.d: Likewise.
1178 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
1179
05bbf016
CZ
11802016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1181
1182 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
1183 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
1184 as it is no longer needed.
1185
d9dcf8c6
MR
11862016-07-08 Maciej W. Rozycki <macro@imgtec.com>
1187
1188 * config/tc-mips.c (append_insn): Remove extraneous
1189 `install_insn' call.
1190
33d0ab95
JB
11912016-07-04 Jan Beulich <jbeulich@suse.com>
1192
1193 * config/tc-i386.c (check_qword_reg): Correct register kind
1194 checked.
1195 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
1196 16-bit register cases.
1197 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
1198
1199
fcedb9f3
MR
12002016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1201
1202 * testsuite/gas/mips/ecoff@ld.d: Remove test.
1203 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
1204 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
1205 * testsuite/gas/mips/ecoff@sd.d: Remove test.
1206 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
1207 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
1208 reloc patterns.
1209 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1210 * testsuite/gas/mips/bge.d: Likewise.
1211 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
1212 * testsuite/gas/mips/bgeu.d: Likewise.
1213 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
1214 * testsuite/gas/mips/blt.d: Likewise.
1215 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
1216 * testsuite/gas/mips/bltu.d: Likewise.
1217 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
1218 * testsuite/gas/mips/branch-likely.d: Likewise.
1219 * testsuite/gas/mips/la.d: Likewise.
1220 * testsuite/gas/mips/lb.d: Likewise.
1221 * testsuite/gas/mips/lifloat.d: Likewise.
1222 * testsuite/gas/mips/sb.d: Likewise.
1223 * testsuite/gas/mips/uld.d: Likewise.
1224 * testsuite/gas/mips/ulh.d: Likewise.
1225 * testsuite/gas/mips/ulw.d: Likewise.
1226 * testsuite/gas/mips/usd.d: Likewise.
1227 * testsuite/gas/mips/ush.d: Likewise.
1228 * testsuite/gas/mips/usw.d: Likewise.
1229
00437d3b
MR
12302016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1231
1232 * testsuite/gas/mips/branch-misc-2.s: Move non
1233 locally-defined-global symbol tests...
1234 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
1235 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
1236 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
1237 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
1238 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
1239 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
1240 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
1241 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
1242 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
1243 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
1244 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
1245 * testsuite/gas/mips/branch-misc-5.d: New test.
1246 * testsuite/gas/mips/branch-misc-5pic.d: New test.
1247 * testsuite/gas/mips/branch-misc-5-64.d: New test.
1248 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
1249 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
1250 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
1251 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
1252 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
1253 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
1254 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
1255 * testsuite/gas/mips/mips.exp: Run the new tests.
1256
f26c9c2e
MR
12572016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1258
1259 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
1260 symbols.
1261 * testsuite/gas/mips/beq.d: Update accordingly.
1262 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
1263 * testsuite/gas/mips/micromips@beq.d: Likewise.
1264
d7f20d66
MR
12652016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1266
1267 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
1268 tests to NewABI targets.
1269
e51af157
MR
12702016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1271
1272 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
1273 together.
1274
93d8990c
SN
12752016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1276
1277 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
1278 require field.
1279 (aarch64_features): Initialize require fields.
1280 (aarch64_parse_features): Handle dependencies.
1281 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
1282 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
1283 * testsuite/gas/aarch64/illegal-nofp16.s: New.
1284 * testsuite/gas/aarch64/illegal-nofp16.l: New.
1285 * testsuite/gas/aarch64/illegal-nofp16.d: New.
1286
98a4fc78
NC
12872016-07-01 Nick Clifton <nickc@redhat.com>
1288
1289 * macro.c (macro_expand_body): Use a buffer big enough to hold an
1290 extremely large integer.
1291
248feb2f
JB
12922016-07-01 Jan Beulich <jbeulich@suse.com>
1293
1294 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
1295
96a84ea3
TG
12962016-07-01 Tristan Gingold <gingold@adacore.com>
1297
1298 * NEWS: Add marker for 2.27.
1299
8178be5b
JB
13002016-07-01 Jan Beulich <jbeulich@suse.com>
1301
1302 * tc-i386.c (i386_index_check): Add special checks for bndmk,
1303 bndldx, and bndstx.
1304 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
1305 as well as scaling by other than 1 tests.
1306 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
1307
327e8c42
JB
13082016-07-01 Jan Beulich <jbeulich@suse.com>
1309
1310 * tc-i386.c (md_assemble): Alter address size checking for MPX
1311 instructions.
1312 * testsuite/gas/i386/mpx-inval-2.s: New.
1313 * testsuite/gas/i386/mpx-inval-2.l: New.
1314 * testsuite/gas/i386/i386.exp: Run new test.
1315
83b16ac6
JB
13162016-07-01 Jan Beulich <jbeulich@suse.com>
1317
1318 PR gas/20318
1319 * config/tc-i386.c (match_template): Add char parameter,
1320 consumed in Intel mode for an extra suffix check.
1321 (md_assemble): New local variable mnem_suffix.
1322 * testsuite/gas/i386/suffix-bad.s: New.
1323 * testsuite/gas/i386/suffix-bad.l: New.
1324 * testsuite/gas/i386/i386.exp: Run new test (twice).
1325
c07315e0
JB
13262016-07-01 Jan Beulich <jbeulich@suse.com>
1327
1328 * testsuite/gas/i386/movz.s: New.
1329 * testsuite/gas/i386/movz32.d: New.
1330 * testsuite/gas/i386/movz64.d: New.
1331 * testsuite/gas/i386/i386.exp: Run new tests.
1332
8325cc63
JB
13332016-07-01 Jan Beulich <jbeulich@suse.com>
1334
1335 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
1336 (md_assemble): Free first memory operand string.
1337 (i386_index_check): Use repprefixok to distingush xlat from
1338 other (real) string ops.
1339 (maybe_adjust_templates): New.
1340 (i386_att_operand). Call it. Store first memory operand string.
1341 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
1342 * testsuite/gas/i386/intel-movs.s: New.
1343 * testsuite/gas/i386/intel-movs32.d: New.
1344 * testsuite/gas/i386/intel-movs64.d: New.
1345 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
1346 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
1347
3b821a28
MR
13482016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1349
1350 * config/tc-mips.c (get_append_method): Fix a comment typo.
1351
99e7978b
MF
13522016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
1353 Maciej W. Rozycki <macro@imgtec.com>
1354
1355 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
1356 case MIPS16 handling.
1357 * testsuite/gas/mips/branch-swap-3.d: New test.
1358 * testsuite/gas/mips/branch-swap-4.d: New test.
1359 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
1360 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
1361 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
1362 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
1363 * testsuite/gas/mips/branch-swap-3.s: New test source.
1364 * testsuite/gas/mips/mips.exp: Run the new tests.
1365
5e35670b
MR
13662016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1367
1368 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
1369 swapping sequence.
1370
93a24ba7
MR
13712016-06-30 Maciej W. Rozycki <macro@imgtec.com>
1372
1373 PR gas/20312
1374 * write.c (subsegs_finish_section): Force no section padding to
1375 alignment on failed assembly, always set last frag's alignment
1376 from section.
1377 * testsuite/gas/all/pr20312.l: New list test.
1378 * testsuite/gas/all/pr20312.s: New test source.
1379 * testsuite/gas/all/gas.exp: Run the new test
1380
8d6f5ac3
AB
13812016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
1382
1383 * config.in (TARGET_WITH_CPU): Undefine.
1384 * configure.ac: Add --with-cpu support, and define in config.h.
1385 * configure: Regenerate.
1386 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
1387 * NEWS: Mention new configure option.
1388
534dbe46
MW
13892016-06-30 Matthew Wahab <matthew.wahab@arm.com>
1390
1391 * testsuite/gas/arm/armv8_2+rdma.d: New.
1392
4e3e1fdf
L
13932016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * NEWS: Mention --enable-compressed-debug-sections=gas is the
1396 default for Linux/x86 targets.
1397 * configure.tgt (ac_default_compressed_debug_sections): Default
1398 to yes for Linux/x86 targets.
1399
6d44f09a
MR
14002016-06-29 Maciej W. Rozycki <macro@imgtec.com>
1401
1402 * write.c: Remove "libbfd.h" inclusion.
1403
eb9bb5b4
MR
14042016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1405
1406 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
1407 `type' test.
1408
d48796b5
AM
14092016-06-28 Alan Modra <amodra@gmail.com>
1410
1411 PR gas/20247
1412 * testsuite/gas/elf/section11.s: Don't start directives in first column.
1413
dab26bf4
RS
14142016-06-28 Richard Sandiford <richard.sandiford@arm.com>
1415
1416 * testsuite/gas/aarch64/diagnostic.s,
1417 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1418
c9775dde
MR
14192016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1420
1421 * config/tc-mips.c (mips16_reloc_p): Handle
1422 BFD_RELOC_MIPS16_16_PCREL_S1.
1423 (b_reloc_p): Likewise.
1424 (limited_pcrel_reloc_p): Likewise.
1425 (md_pcrel_from): Likewise.
1426 (md_apply_fix): Likewise.
1427 (tc_gen_reloc): Likewise.
1428 (md_convert_frag): Likewise.
1429 (mips_fix_adjustable): Update comment.
1430 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1431 output, add dump patterns.
1432 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1433 output, add dump patterns.
1434 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1435 output, add dump patterns.
1436 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1437 output, add dump patterns.
1438 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1439 output, add dump patterns.
1440 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1441 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1442 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1443 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1444 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1445 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1446 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1447 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1448 * testsuite/gas/mips/branch-weak-6.d: New test.
1449 * testsuite/gas/mips/branch-weak-7.d: New test.
1450 * testsuite/gas/mips/mips.exp: Run the new tests.
1451
45a54ee5
VG
14522016-06-27 Vineet Gupta <vgupta@synopsys.com>
1453
1454 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1455 cfi_add_CFA_def_cfa to generate default CFA with offset
1456 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1457
95daf210
NC
14582016-06-27 Nick Clifton <nickc@redhat.com>
1459
1460 PR gas/20247
1461 * as.h (do_not_pad_sections_to_alignment): New global variable.
1462 * as.c (show_usage): Add --no-pad-sections.
1463 (parse_args): Likewise.
1464 * write.c (size_seg): Skip padding the end of the section if
1465 requested from the command line.
1466 (SUB_SEGMENT_ALIGN): Likewise.
1467 * doc/as.texinfo: Document the new option.
1468 * NEWS: Mention the new feature.
1469 * testsuite/gas/elf/section11.s: New test.
1470 * testsuite/gas/elf/section11.d: New test driver.
1471 * testsuite/gas/elf/elf.exp: Run the new test.
1472
3cd72572
TS
14732016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1474
1475 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1476 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1477
e066bf5f
TS
14782016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1479
1480 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1481 sentinal element.
1482 (map_suffix_reloc_to_operator): Likewise.
1483 (map_operator_to_reloc): Likewise.
1484
0708347f
TS
14852016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1486
1487 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1488 element in relax_table.
1489
8a0b252a
TS
14902016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1491
1492 * config/tc-aarch64.c: Make the type of reg_entry::type
1493 aarch_reg_type.
1494
5703197e
TS
14952016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1496
1497 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1498 (md_parse_option): Adjust.
1499 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1500 with iteration from 0 to ARRAY_SIZE.
1501 * config/tc-mcore.c (md_begin): Likewise.
1502 * config/tc-visium.c (visium_parse_arch): Likewise.
1503
4b92e388
TS
15042016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1505
1506 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1507 and simplify accordingly.
1508 (tic54x_include): Adjust.
1509 (tic54x_mlib): Likewise.
1510
7c2c4aa1
TS
15112016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1512
1513 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1514
88a7ef16
MR
15152016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1516
1517 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1518 unchanged with relaxed MIPS16 instructions.
1519 (mips16_extended_frag): Adjust accordingly. Return 1 right
1520 away if a relocation will be required for the symbol requested.
1521 Remove dead first relaxation pass code.
1522 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1523 (md_convert_frag): Adjust symbol value calculation. Raise an
1524 error if a relocation is required for the symbol requested.
1525 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1526 add error output.
1527 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1528 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1529 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1530 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1531 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1532 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1533 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1534 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1535 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1536 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1537 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1538 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1539 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1540 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1541 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1542 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1543 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1544 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1545 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1546 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1547 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1548 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1549 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1550 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1551 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1552 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1553 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1554 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1555 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1556 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1557 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1558 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1559 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1560 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1561 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1562 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1563 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1564 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1565 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1566 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1567 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1568 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1569 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1570 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1571 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1572 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1573 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1574 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1575 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1576 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1577 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1578 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1579 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1580 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1581 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1582 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1583 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1584 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1585 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1586 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1587 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1588 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1589 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1590 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1591 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1592 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1593 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1594 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1595 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1596 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1597 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1598 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1599 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1600 * testsuite/gas/mips/mips.exp: Run the new tests.
1601
5c0ff163
AM
16022016-06-24 Alan Modra <amodra@gmail.com>
1603
1604 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1605
0e9c5a5c
MR
16062016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1607
1608 * config/tc-mips.c (b_reloc_p): New function.
1609 (mips_fix_adjustable): Also keep the original microMIPS symbol
1610 referred from branch relocations.
1611 * testsuite/gas/mips/branch-local-1.d: New test.
1612 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1613 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1614 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1615 relocations.
1616 * testsuite/gas/mips/branch-local-1.s: New test source.
1617 * testsuite/gas/mips/mips.exp: Run the new cases.
1618
ce440d63
GM
16192016-06-23 Graham Markall <graham.markall@embecosm.com>
1620
1621 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1622 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1623 options. Correct erroneous enabling of SPFP instructions when
1624 using -mnps400.
1625
6fd3a02d
PB
16262016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1627
1628 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1629 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1630 setbool, xor3>: New tests.
1631 * testsuite/gas/ppc/power9.s: Likewise.
1632
b0b79343
TS
16332016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1634
1635 * config/tc-xtensa.c: Include elf/xtensa.h.
1636
8cec2cfe
MR
16372016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1638
1639 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1640 <BFD_RELOC_LO16_PCREL>: New switch cases.
1641 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1642 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1643 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1644 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1645 the resolved case.
1646 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1647 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1648 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1649 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1650 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1651 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1652 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1653 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1654 * testsuite/gas/mips/mips.exp: Run the new tests.
1655
717ba204
MR
16562016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1657
1658 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1659 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1660 via `fixP->fx_addsy'.
1661
51f6035b
MR
16622016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1663
1664 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1665 Calculate relocation from the containing aligned doubleword.
1666 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1667 addend from the containing aligned doubleword.
1668
912815f0
MR
16692016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1670
1671 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1672 rather than `mips_opts' for the R6 ISA check.
1673 (mips_fix_adjustable): Likewise.
1674 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1675 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1676 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1677 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1678 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1679 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1680 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1681 * testsuite/gas/mips/mips.exp: Run the new tests.
1682
bdd582db
GM
16832016-06-21 Graham Markall <graham.markall@embecosm.com>
1684
1685 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1686 Add nps400 option and feature. Add check for nps400
1687 feature. Refactor existing checks to check subclass before
1688 feature enablement.
1689 (md_show_usage): Document flags for NPS-400 and add some other
1690 undocumented flags.
1691 (cpu_type): Remove nps400 CPU type entry
1692 (check_zol): Remove bfd_mach_arc_nps400 case.
1693 (md_show_usage): Add help on -mcpu=nps400.
1694 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1695 set.
1696 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1697 -fpuda flags. Document -mcpu=nps400.
1698 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1699 expected flags to match ARC700 instead of NPS400.
1700 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1701 * testsuite/gas/arc/nps-400-2.d: Likewise.
1702 * testsuite/gas/arc/nps-400-3.d: Likewise.
1703 * testsuite/gas/arc/nps-400-4.d: Likewise.
1704 * testsuite/gas/arc/nps-400-5.d: Likewise.
1705 * testsuite/gas/arc/nps-400-6.d: Likewise.
1706 * testsuite/gas/arc/nps-400-7.d: Likewise.
1707 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1708 avoid clash with cbba instruction.
1709 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1710 * testsuite/gas/arc/textinsn3op.d: Likewise.
1711 * testsuite/gas/arc/textinsn3op.s: Likewise.
1712 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1713 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1714
ff03d62a
MR
17152016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1716
1717 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1718 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1719
507dcb32
MR
17202016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1721
1722 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1723 reloc conversion.
1724
9f99c22e
VP
17252016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1726
1727 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1728
96074adc
JM
17292016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1730
1731 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1732 %hmcddfr and %hva_mask_nz.
1733 (sparc_ip): New handling of asr/privileged/hyperprivileged
1734 registers, adapted to the new form of the sparc opcodes table.
1735 * testsuite/gas/sparc/rdasr.s: New file.
1736 * testsuite/gas/sparc/rdasr.d: Likewise.
1737 * testsuite/gas/sparc/wrasr.s: Likewise.
1738 * testsuite/gas/sparc/wrasr.d: Likewise.
1739 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1740 wrasr tests.
1741 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1742 registers require it.
1743 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1744 registers and write instruction modalities.
1745 * testsuite/gas/sparc/wrpr.d: Likewise.
1746 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1747 registers.
1748 * testsuite/gas/sparc/rdhpr.d: Likewise.
1749 * testsuite/gas/sparc/wrhpr.s: Likewise.
1750 * testsuite/gas/sparc/wrhpr.d: Likewise.
1751
7a10c22f
JM
17522016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1753
1754 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1755 architectures to use the right opcode architecture.
1756 (sparc_md_end): Handle v9{c,d,e,v,m}.
1757 (sparc_ip): Fix some comments.
1758 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1759 instruction, which is v9d.
1760 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1761 instruction from the test, as %mwait is not readable.
1762 * testsuite/gas/sparc/mwait.d: Likewise.
1763 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1764 mismatch architecture errors.
1765 * testsuite/gas/sparc/mism-2.s: New file.
1766
8b8c7c9f
JM
17672016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1768
1769 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1770 empty string to mark the end of the array.
1771 (hpriv_reg_table): Likewise.
1772 (v9a_asr_table): Likewise.
1773 (cmp_reg_entry): Handle entries with NULL names.
1774 (F_POP_V9): Define.
1775 (F_POP_PCREL): Likewise.
1776 (F_POP_TLS_CALL): Likewise.
1777 (F_POP_POSTFIX): Likewise.
1778 (struct pop_entry): New type.
1779 (pop_table): New variable.
1780 (enum pop_entry_type): New type.
1781 (struct perc_entry): Likewise.
1782 (NUM_PERC_ENTRIES): Define.
1783 (perc_table): New variable.
1784 (cmp_perc_entry): New function.
1785 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1786 perc_table.
1787 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1788 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1789 %-pseudo-ops.
1790
3ee6e4fb
NC
17912016-06-15 Nick Clifton <nickc@redhat.com>
1792
1793 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1794 instruction size.
1795 * config/tc-mcore.c (md_assemble): Likewise.
1796 * config/tc-mn10200.c (md_assemble): Likewise.
1797 * config/tc-moxie.c (md_assemble): Likewise.
1798 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1799 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1800 exception targets. Add alpha, hppa, microblaze and rl78 to list
1801 of exceptions.
1802 (forward): Add microblaze to list of exceptions.
1803 (fwdexp): Add alpha to list of exceptions.
1804 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1805 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1806 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1807 mn10200 to list of exceptions.
1808 (align2): Expect to fail for nds32.
1809 (cond): Add alpha and rl78 to list of exceptions.
1810 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1811 * testsuite/gas/all/string.d: Skip for tic4x.
1812 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1813 target does not support ELF.
1814 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1815 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1816 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1817 tests for sh-pe and sh-rtemscoff targets.
1818 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1819 list of exceptions.
1820 (type): Run the noifunc version for alpha-freebsd and visium.
1821 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1822 mn10200 or moxie targets.
1823 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1824 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1825 targets.
1826 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1827 mcore and rx targets.
1828 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1829 rl78 and vax.
1830 (purge): Expect to fail on the ns32k and vax.
1831 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1832 * testsuite/gas/nds32/ls.d: Likewise.
1833 * testsuite/gas/nds32/sys-reg.d: Likewise.
1834 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1835 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1836 * testsuite/gas/pe/section-align-3.d: Likewise.
1837 * testsuite/gas/pe/section-exclude.d: Likewise.
1838 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1839 data has been seen.
1840 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1841 for variations in whitespace.
1842 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1843 data has been seen.
1844 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1845 Installs a 32-bit value without generating warnings on 64-bit
1846 hosts.
1847 Use the new macro to replace the .word directives.
1848
02f3be19
AB
18492016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1850
1851 * testsuite/gas/arc/add_s.d: New file.
1852 * testsuite/gas/arc/add_s.s: New file.
1853
6f9f37ed 18542016-06-14 Graham Markall <graham.markall@embecosm.com>
28215275
GM
1855
1856 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1857 * testsuite/gas/arc/nps400-6.d: Likewise.
1858
6f9f37ed 18592016-06-14 Graham Markall <graham.markall@embecosm.com>
9ba75c88
GM
1860
1861 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1862 addf.
1863 * testsuite/gas/arc/nps400-6.d: Likewise.
1864
6f9f37ed 18652016-06-14 Graham Markall <graham.markall@embecosm.com>
14053c19
GM
1866
1867 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1868 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1869 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1870 * testsuite/gas/arc/nps400-6.d: Likewise.
1871
d2dfe54d
NC
18722016-06-14 Nick Clifton <nickc@redhat.com>
1873
1874 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1875 signed constant.
1876
97f50151
MR
18772016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1878
1879 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1880 JALR relocations on R6.
1881 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1882 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1883 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1884 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1885 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1886 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1887 test.
1888 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1889 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1890 test.
1891 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1892 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1893 source.
1894 * testsuite/gas/mips/mips.exp: Run the new tests.
1895
0a8be2fe
VP
18962016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1897
1898 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1899 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1900 name.
1901
69c9e028
NC
19022016-06-13 Nick Clifton <nickc@redhat.com>
1903
1904 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1905 that are not supported.
1906
1907 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1908 constant.
1909 * config/tc-cr16.c (check_range): Likewise.
1910 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1911
08d3b0cc
RL
19122016-06-08 Renlin Li <renlin.li@arm.com>
1913
1914 * config/tc-aarch64.c (print_operands): Substitute size.
1915 (output_operand_error_record): Likewise.
1916
14b57c7c
AM
19172016-06-07 Alan Modra <amodra@gmail.com>
1918
1919 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1920 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1921 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1922 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1923 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1924 add vle_opcodes twice.
1925 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1926
4d1464f2
MW
19272016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1928
1929 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1930 (arm_ext_ras): Renamed from arm_ext_v8_2.
1931 (insns): Update for arm_ext_v8_2 renaming.
1932 (arm_extensions): Add "ras".
1933 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1934 * testsuite/gas/arm/armv8-a+ras.d: New.
1935 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1936 options.
1937
852a1d49
TS
19382016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1939
1940 * itbl-parse.y (yyerror): Use modern argument declaration style.
1941
c4212e11
TS
19422016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1943
1944 * config/tc-sh.c (parse_reg): Change type of mode argument to
1945 sh_arg_type.
1946 (get_operand): Adjust.
1947 (insert): Change type of how to bfd_reloc_code_real_type.
1948 (insert4): Likewise.
1949 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1950 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1951
73a229c7
TS
19522016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1953
1954 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1955 const char *.
1956
026122a6
PB
19572016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1958
1959 PR binutils/20196
1960 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1961 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1962 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1963 * gas/testsuite/gas/ppc/power8.s: Likewise.
1964 * gas/testsuite/gas/ppc/power8.d: Likewise.
1965 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1966 stdcx.>: Add tests.
1967 * gas/testsuite/gas/ppc/power4.d: Likewise.
1968
07f5af7d
L
19692016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 PR binutis/18386
1972 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1973 * testsuite/gas/i386/x86-64-branch.d: Updated.
1974 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1975 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1976 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1977
1aa70332
KT
19782016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1979
1980 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1981 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1982
362a3eba
KT
19832016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1984
1985 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1986 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1987
4ad0bb5f
VG
19882016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1989
1990 * configure.tgt: Replace -uclibc with *.
1991
4eb6f892
AB
19922016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1993
1994 * config/tc-arc.c (parse_opcode_flags): New function.
1995 (find_opcode_match): Move flag parsing code out to new function.
1996 Ignore operands marked IGNORE.
1997 (build_fake_opcode_hash_entry): New function.
1998 (find_special_case_long_opcode): New function.
1999 (find_special_case): Lookup long opcodes.
2000 * testsuite/gas/arc/nps400-7.d: New file.
2001 * testsuite/gas/arc/nps400-7.s: New file.
2002
c273521c
TS
20032016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2004
2005 * config/tc-ns32k.c: Remove definition of input_line_pointer.
2006
814f1489
TS
20072016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2008
2009 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
2010 sentinal with iteration to array size.
2011
d05584d3
TS
20122016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2013
2014 * config/xtensa-relax.h: Move typedefs of enums to the enums
2015 definition.
2016
5e429f4c
TS
20172016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2018
2019 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
2020 macro.
2021
315f180f
GM
20222016-06-01 Graham Markall <graham.markall@embecosm.com>
2023
2024 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
2025 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
2026 * testsuite/gas/arc/nps-400-1.d: Likewise.
2027
0cbd0046
L
20282016-05-29 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 PR gas/20145
2031 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
2032 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
2033 noavx512ifma and noavx512vbmi.
2034 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
2035 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
2036 and noavx512vbmi.
2037 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
2038 * testsuite/gas/i386/noavx512-1.l: New file.
2039 * testsuite/gas/i386/noavx512-1.s: Likewise.
2040 * testsuite/gas/i386/noavx512-2.l: Likewise.
2041 * testsuite/gas/i386/noavx512-2.s: Likewise.
2042
1848e567
L
20432016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 PR gas/20145
2046 * config/tc-i386.c (cpu_arch): Add 687.
2047 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
2048 nosse4.1, nosse4.2, nosse4 and noavx2.
2049 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
2050 register. Check cpuregxmm instead of cpusse for XMM register.
2051 Check cpuregymm instead of cpuavx for YMM register. Check
2052 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
2053 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
2054 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
2055 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
2056 * testsuite/gas/i386/arch-10.d (as): Likewise.
2057 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
2058 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
2059 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
2060 and noavx-4.
2061 * testsuite/gas/i386/no87-3.l: New file.
2062 * testsuite/gas/i386/no87-3.s: Likewise.
2063 * testsuite/gas/i386/noavx-3.l: Likewise.
2064 * testsuite/gas/i386/noavx-3.s: Likewise.
2065 * testsuite/gas/i386/noavx-4.d: Likewise.
2066 * testsuite/gas/i386/noavx-4.s: Likewise.
2067 * testsuite/gas/i386/nosse-4.l: Likewise.
2068 * testsuite/gas/i386/nosse-4.s: Likewise.
2069 * testsuite/gas/i386/nosse-5.d: Likewise.
2070 * testsuite/gas/i386/nosse-5.s: Likewise.
2071
e92bae62
L
20722016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2073
2074 PR gas/20154
2075 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
2076 cpuintel64.
2077 (match_template): Check Intel64/AMD64 ISA.
2078
e89c5eaa
L
20792016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2080
2081 PR gas/20154
2082 * config/tc-i386.c (intel64): New.
2083 (cpu_flags_match): Set cpuamd64 and cpuintel64.
2084 (md_parse_option): Set intel64 instead of cpuamd64 and
2085 cpuintel64.
2086
9d07ebe1
L
20872016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
2090 cpuno64.
2091
19dfcc89
PB
20922016-05-26 Peter Bergner <bergner@vnet.ibm.com>
2093
2094 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
2095 * testsuite/gas/ppc/altivec3.s: Likewise.
2096 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
2097 * testsuite/gas/ppc/power9.s: Likewise.
2098
8d5b9a5a
L
20992016-05-26 H.J. Lu <hongjiu.lu@intel.com>
2100
2101 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
2102 * testsuite/gas/i386/noavx-1.l: Likewise.
2103 * testsuite/gas/i386/nommx-1.l: Likewise.
2104 * testsuite/gas/i386/nosse-1.l: Likewise.
2105 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2106 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
2107 * testsuite/gas/i386/noavx-1.s: Likewise.
2108 * testsuite/gas/i386/nommx-1.s: Likewise.
2109 * testsuite/gas/i386/nosse-1.s: Likewise.
2110 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2111
81cead6f
TS
21122016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2113
2114 * config/tc-metag.c (metag_handle_align): Make the type of noop
2115 unsigned char.
2116
79052aae
TS
21172016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2118
2119 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
2120 bfd_reloc_code_real_type.
2121
73b090a9
L
21222016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2123
2124 PR gas/20140
2125 * config/tc-i386.c (cpu_flags_match): Require another match
2126 for AVX512VL.
2127 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
2128 x86-64-avx512vl-1 and x86-64-avx512vl-2.
2129 * testsuite/gas/i386/avx512vl-1.l: New file.
2130 * testsuite/gas/i386/avx512vl-1.s: Likewise.
2131 * testsuite/gas/i386/avx512vl-2.l: Likewise.
2132 * testsuite/gas/i386/avx512vl-2.s: Likewise.
2133 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
2134 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
2135 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
2136 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
2137
f1360d58
L
21382016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 PR gas/20141
2141 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
2142 * testsuite/gas/i386/x86-64-pr20141.d: New file.
2143 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
2144
293f5f65
L
21452016-05-25 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * config/tc-i386.c (arch_entry): Remove negated.
2148 (noarch_entry): New struct.
2149 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
2150 (cpu_noarch): New.
2151 (set_cpu_arch): Check cpu_noarch after cpu_arch.
2152 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
2153 cpu_arch.
2154 (output_message): New function.
2155 (show_arch): Use it. Handle cpu_noarch.
2156 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
2157 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
2158 * testsuite/gas/i386/noavx-1.l: New file.
2159 * testsuite/gas/i386/noavx-1.s: Likewise.
2160 * testsuite/gas/i386/noavx-2.s: Likewise.
2161 * testsuite/gas/i386/noavx-2.l: Likewise.
2162 * testsuite/gas/i386/nommx-1.s: Likewise.
2163 * testsuite/gas/i386/nommx-1.l: Likewise.
2164 * testsuite/gas/i386/nommx-2.s: Likewise.
2165 * testsuite/gas/i386/nommx-2.l: Likewise.
2166 * testsuite/gas/i386/nommx-3.s: Likewise.
2167 * testsuite/gas/i386/nommx-3.l: Likewise.
2168 * testsuite/gas/i386/nosse-1.s: Likewise.
2169 * testsuite/gas/i386/nosse-1.l: Likewise.
2170 * testsuite/gas/i386/nosse-2.s: Likewise.
2171 * testsuite/gas/i386/nosse-2.l: Likewise.
2172 * testsuite/gas/i386/nosse-3.s: Likewise.
2173 * testsuite/gas/i386/nosse-3.l: Likewise.
2174
934c2632
CZL
21752016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
2176
ee4d7613 2177 PR target/20067
934c2632
CZL
2178 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
2179 instruction if supported by the currently selected fpu variant.
2180 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
2181 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
2182
44d3da23 21832016-05-24 Maciej W. Rozycki <macro@imgtec.com>
934c2632 2184
44d3da23
MR
2185 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
2186 jump relocations against MIPS16 or microMIPS symbols on RELA
2187 targets.
2188 * testsuite/gas/mips/jalx-local.d: New test.
2189 * testsuite/gas/mips/jalx-local-n32.d: New test.
2190 * testsuite/gas/mips/jalx-local-n64.d: New test.
2191 * testsuite/gas/mips/jalx-local.s: New test source.
2192 * testsuite/gas/mips/mips.exp: Run the new tests.
2193
4512dafa
MR
21942016-05-24 Maciej W. Rozycki <macro@imgtec.com>
2195
2196 * config/tc-mips.c (md_apply_fix)
2197 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
2198 code accordingly.
2199
cc34adb2
TS
22002016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2201
2202 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
2203 operator to operatorT.
2204 (map_suffix_reloc_to_operator): Change return type to operatorT.
2205
c023823f
TS
22062016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2207
2208 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
2209
049efc64
TS
22102016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2211
2212 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
2213 handler_charp to const char *.
2214
b19e0aeb
TS
22152016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2216
2217 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
2218 (ft32_target_format): Likewise.
2219 (TARGET_FORMAT): Adjust.
2220
e5e27b07
TS
22212016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2222
2223 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
2224 (ia64_frob_label): Likewise.
2225
6610dc6d
TS
22262016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2227
2228 * config/tc-cr16.c (check_range): Make type of retval op_err.
2229 * config/tc-crx.c: Likewise.
2230
87789e08
CZ
22312016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
2232
2233 * config/tc-arc.c (md_begin): Add XY registers.
2234 (cpu_types): Code density is default off for ARC EM.
2235
c810e0b8
CZ
22362016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
2237
2238 * config/tc-arc.c (attributes_t): Renamed attribute class to
2239 attr_class.
2240 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
2241
d26a14db
NC
22422016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
2243
2244 * configuse.tgt: Add entry for arm-phoenix.
2245
f10e0aef
TS
22462016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2247
2248 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
2249
2900e701
TS
22502016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2251
2252 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
2253
3d207518
TS
22542016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2255
2256 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
2257 (md_begin): Likewise.
2258 (encode_condition): Likewise.
2259 (encode_cc3): Likewise.
2260 (encode_cc2): Likewise.
2261 (encode_operand): Likewise.
2262 (tic54x_undefined_symbol): Likewise.
2263
a4968f42
MF
22642016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
2265
2266 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
2267 p6600 entry.
2268 * doc/c-mips.texi: Document p6600 -march option.
2269
4e21640f
L
22702016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 PR gas/19600
2273 * config/tc-i386.c (md_apply_fix): Preserve addend for
2274 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
2275 * testsuite/gas/i386/addend.d: New file.
2276 * testsuite/gas/i386/addend.s: Likewise.
2277 * testsuite/gas/i386/x86-64-addend.d: Likewise.
2278 * testsuite/gas/i386/x86-64-addend.s: Likewise.
2279 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
2280 * testsuite/gas/i386/reloc32.d: Updated.
2281
17c6c9d9
MR
22822016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2283
2284 * config/tc-mips.c (append_insn): Correct the encoding of a
2285 constant argument for microMIPS JALX.
2286 (tc_gen_reloc): Correct the encoding of an in-place addend for
2287 microMIPS JALX.
2288 * testsuite/gas/mips/jalx-addend.d: New test.
2289 * testsuite/gas/mips/jalx-addend-n32.d: New test.
2290 * testsuite/gas/mips/jalx-addend-n64.d: New test.
2291 * testsuite/gas/mips/jalx-imm.d: New test.
2292 * testsuite/gas/mips/jalx-imm-n32.d: New test.
2293 * testsuite/gas/mips/jalx-imm-n64.d: New test.
2294 * testsuite/gas/mips/jalx-addend.s: New test source.
2295 * testsuite/gas/mips/jalx-imm.s: New test source.
2296 * testsuite/gas/mips/mips.exp: Run the new tests.
2297
134c0c8b
MR
22982016-05-20 Maciej W. Rozycki <macro@imgtec.com>
2299
2300 * config/tc-mips.c: Correct tab-after-space formatting mistakes
2301 throughout.
2302
38cd8a0d
AB
23032016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2304
2305 * config/tc-arc.c (find_opcode_match): Remove casting away of
2306 const.
2307 * config/tc-arc.h (struct arc_flags): Make flgp field const.
2308
9e32d9ae
AB
23092016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2310
2311 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
2312 appropriate.
2313 (md_convert_frag): Likewise.
2314
fe779266
AB
23152016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2316
2317 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
2318 cached opcode to NULL when we reach a non-matching opcode.
2319 * testsuite/gas/arc/asm-errors-2.d: New file.
2320 * testsuite/gas/arc/asm-errors-2.err: New file.
2321 * testsuite/gas/arc/asm-errors-2.s: New file.
2322
3b889a78
AB
23232016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2324
2325 * config/tc-arc.c (tokenize_arguments): Add checks for array
2326 overflow.
2327 * testsuite/gas/arc/asm-errors.s: Addition test line added.
2328 * testsuite/gas/arc/asm-errors.err: Update expected results.
2329
42e58860
TS
23302016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2331
2332 * config/tc-rx.c (struct cpu_type): Change the type of a field from
2333 int to enum rx_cpu_types.
2334
4bfaa1ca
TS
23352016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2336
2337 * config/tc-dlx.c (struct machine_it): change the type of a field from
2338 int to bfd_reloc_code_real_type.
2339 * config/tc-tic4x.c: Likewise.
2340
eb408eaa
TS
23412016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2342
2343 * config/tc-v850.c (v850_target_arch): change type to enum
2344 bfd_architecture.
2345 * config/tc-v850.h (v850_target_arch): Likewise.
2346
a255f00a
AM
23472016-05-18 Alan Modra <amodra@gmail.com>
2348
2349 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
2350 allowed negative range.
2351 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
2352 * testsuite/gas/ppc/power9.d: Update.
2353
659f032c
TP
23542016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
2355
2356 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
2357 disassembling and stop skipping targets.
2358 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2359 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2360 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
2361 instruction for targets that have stronger alignment requirement.
2362 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2363 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2364 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2365 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2366 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2367 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2368 * testsuite/gas/arm/archv8m-main.d: Likewise.
2369 * testsuite/gas/arm/archv8m.s: Add label.
2370 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
2371 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2372 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
2373
7b14583e
TS
23742016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2375
2376 * config/tc-m32r.c (mach_table): Make static and const.
2377
0591130a
TS
23782016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2379
2380 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
2381 definition.
2382
9117cd3e
TS
23832016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2384
2385 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
2386 defining it.
2387 * config/tc-msp430.c (md_begin): Likewise.
2388
e1838240
TS
23892016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2390
2391 * config/tc-m68hc11.c (fixup8): Change variables type from int to
2392 bfd_reloc_code_real_type where appropriate.
2393 (fixup16): Likewise.
2394 (fixup8_xg): Likewise.
2395
9dfa3e63
MR
23962016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2397
2398 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
2399
1178da44
PB
24002016-05-13 Peter Bergner <bergner@vnet.ibm.com>
2401
2402 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
2403 * testsuite/gas/ppc/power9.s: Likewise.
2404
d2edc834
AM
24052016-05-13 Alan Modra <amodra@gmail.com>
2406
2407 * config/obj-coff.c (weak_uniquify): Delete unused var.
2408
add39d23
TS
24092016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2410
2411 * app.c (app_push): Use XNEW and related macros.
2412 * as.c (parse_args): Likewise.
2413 * cgen.c (make_right_shifted_expr): Likewise.
2414 (gas_cgen_tc_gen_reloc): Likewise.
2415 * config/bfin-defs.h: Likewise.
2416 * config/bfin-parse.y: Likewise.
2417 * config/obj-coff.c (stack_init): Likewise.
2418 (stack_push): Likewise.
2419 (coff_obj_symbol_new_hook): Likewise.
2420 (coff_obj_symbol_clone_hook): Likewise.
2421 (add_lineno): Likewise.
2422 (coff_frob_symbol): Likewise.
2423 * config/obj-elf.c (obj_elf_section_name): Likewise.
2424 (build_group_lists): Likewise.
2425 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2426 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2427 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2428 (find_or_make_literal_pool): Likewise.
2429 (add_to_lit_pool): Likewise.
2430 (fill_instruction_hash_table): Likewise.
2431 * config/tc-alpha.c (load_expression): Likewise.
2432 (emit_jsrjmp): Likewise.
2433 (s_alpha_ent): Likewise.
2434 (s_alpha_end): Likewise.
2435 (s_alpha_linkage): Likewise.
2436 (md_begin): Likewise.
2437 (tc_gen_reloc): Likewise.
2438 * config/tc-arc.c (arc_insert_opcode): Likewise.
2439 (arc_extcorereg): Likewise.
2440 * config/tc-bfin.c: Likewise.
2441 * config/tc-cr16.c: Likewise.
2442 * config/tc-cris.c: Likewise.
2443 * config/tc-crx.c (preprocess_reglist): Likewise.
2444 * config/tc-d10v.c: Likewise.
2445 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2446 (frv_tomcat_shuffle): Likewise.
2447 * config/tc-h8300.c: Likewise.
2448 * config/tc-i370.c (i370_macro): Likewise.
2449 * config/tc-i386.c (lex_got): Likewise.
2450 (md_parse_option): Likewise.
2451 * config/tc-ia64.c (alloc_record): Likewise.
2452 (set_imask): Likewise.
2453 (save_prologue_count): Likewise.
2454 (dot_proc): Likewise.
2455 (dot_endp): Likewise.
2456 (ia64_frob_label): Likewise.
2457 (add_qp_imply): Likewise.
2458 (add_qp_mutex): Likewise.
2459 (mark_resource): Likewise.
2460 (dot_alias): Likewise.
2461 * config/tc-m68hc11.c: Likewise.
2462 * config/tc-m68k.c (m68k_frob_label): Likewise.
2463 (s_save): Likewise.
2464 (mri_control_label): Likewise.
2465 (push_mri_control): Likewise.
2466 (build_mri_control_operand): Likewise.
2467 (s_mri_else): Likewise.
2468 (s_mri_break): Likewise.
2469 (s_mri_next): Likewise.
2470 (s_mri_for): Likewise.
2471 (s_mri_endw): Likewise.
2472 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2473 * config/tc-microblaze.c: Likewise.
2474 * config/tc-mmix.c (s_loc): Likewise.
2475 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2476 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2477 * config/tc-rl78.c: Likewise.
2478 * config/tc-rx.c (rx_include): Likewise.
2479 * config/tc-sh.c: Likewise.
2480 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2481 * config/tc-sparc.c: Likewise.
2482 * config/tc-spu.c: Likewise.
2483 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2484 (tic6x_start_unwind_section): Likewise.
2485 * config/tc-tilegx.c: Likewise.
2486 * config/tc-tilepro.c: Likewise.
2487 * config/tc-v850.c: Likewise.
2488 * config/tc-visium.c: Likewise.
2489 * config/tc-xgate.c: Likewise.
2490 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2491 (new_resource_table): Likewise.
2492 (resize_resource_table): Likewise.
2493 (xtensa_create_trampoline_frag): Likewise.
2494 (xtensa_maybe_create_literal_pool_frag): Likewise.
2495 (cache_literal_section): Likewise.
2496 * config/xtensa-relax.c (append_transition): Likewise.
2497 (append_condition): Likewise.
2498 (append_value_condition): Likewise.
2499 (append_constant_value_condition): Likewise.
2500 (append_literal_op): Likewise.
2501 (append_label_op): Likewise.
2502 (append_constant_op): Likewise.
2503 (append_field_op): Likewise.
2504 (append_user_fn_field_op): Likewise.
2505 (enter_opname_n): Likewise.
2506 (enter_opname): Likewise.
2507 (split_string): Likewise.
2508 (parse_insn_templ): Likewise.
2509 (clone_req_or_option_list): Likewise.
2510 (clone_req_option_list): Likewise.
2511 (parse_option_cond): Likewise.
2512 (parse_insn_pattern): Likewise.
2513 (parse_insn_repl): Likewise.
2514 (build_transition): Likewise.
2515 (build_transition_table): Likewise.
2516 * dw2gencfi.c (alloc_fde_entry): Likewise.
2517 (alloc_cfi_insn_data): Likewise.
2518 (cfi_add_CFA_remember_state): Likewise.
2519 (dot_cfi_escape): Likewise.
2520 (dot_cfi_fde_data): Likewise.
2521 (select_cie_for_fde): Likewise.
2522 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2523 * ecoff.c (ecoff_add_bytes): Likewise.
2524 (ecoff_build_debug): Likewise.
2525 * input-scrub.c (input_scrub_push): Likewise.
2526 (input_scrub_begin): Likewise.
2527 (input_scrub_next_buffer): Likewise.
2528 * itbl-ops.c (append_insns_as_macros): Likewise.
2529 (alloc_entry): Likewise.
2530 (alloc_field): Likewise.
2531 * listing.c (listing_newline): Likewise.
2532 (listing_listing): Likewise.
2533 * macro.c (get_any_string): Likewise.
2534 (delete_macro): Likewise.
2535 * stabs.c (generate_asm_file): Likewise.
2536 (stabs_generate_asm_lineno): Likewise.
2537 * subsegs.c (subseg_change): Likewise.
2538 (subseg_get): Likewise.
2539 * symbols.c (define_dollar_label): Likewise.
2540 (symbol_relc_make_sym): Likewise.
2541 * write.c (write_relocs): Likewise.
2542
29a2809e
TS
25432016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2544
2545 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2546 (weak_name2altname): Likewise.
2547 (weak_uniquify): Likewise.
2548 (obj_coff_section): Likewise.
2549 (obj_coff_init_stab_section): Likewise.
2550 * config/obj-elf.c (obj_elf_section_name): Likewise.
2551 (obj_elf_init_stab_section): Likewise.
2552 * config/obj-evax.c (evax_shorten_name): Likewise.
2553 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2554 * config/tc-aarch64.c (create_register_alias): Likewise.
2555 * config/tc-alpha.c (load_expression): Likewise.
2556 (s_alpha_file): Likewise.
2557 (s_alpha_section_name): Likewise.
2558 (tc_gen_reloc): Likewise.
2559 * config/tc-arc.c (md_assemble): Likewise.
2560 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2561 (start_unwind_section): Likewise.
2562 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2563 (hppa_elf_mark_end_of_function): Likewise.
2564 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2565 (nios2_negate_arg): Likewise.
2566 * config/tc-rx.c (rx_section): Likewise.
2567 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2568 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2569 * config/tc-tic54x.c (tic54x_include): Likewise.
2570 (tic54x_macro_info): Likewise.
2571 (subsym_get_arg): Likewise.
2572 (subsym_substitute): Likewise.
2573 (tic54x_start_line_hook): Likewise.
2574 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2575 (xg_reverse_shift_count): Likewise.
2576 * config/xtensa-relax.c (enter_opname_n): Likewise.
2577 (split_string): Likewise.
2578 * dwarf2dbg.c (get_filenum): Likewise.
2579 (process_entries): Likewise.
2580 * expr.c (operand): Likewise.
2581 * itbl-ops.c (alloc_entry): Likewise.
2582 * listing.c (listing_message): Likewise.
2583 (listing_title): Likewise.
2584 * macro.c (check_macro): Likewise.
2585 * stabs.c (s_xstab): Likewise.
2586 * symbols.c (symbol_relc_make_expr): Likewise.
2587 * write.c (compress_debug): Likewise.
2588
58c7f094
NC
25892016-05-12 Nick Clifton <nickc@redhat.com>
2590
2591 PR target/20068
2592 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2593
d5e74e8d
NC
25942016-05-11 Nick Clifton <nickc@redhat.com>
2595
2596 PR target/20068
2597 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2598 big endian ARM configurations.
2599
8f4f9071
MF
26002016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2601 Matthew Fortune <matthew.fortune@imgtec.com>
2602
2603 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2604 OPTION_NO_DSPR3.
2605 (md_longopts): Likewise.
2606 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2607 (mips_ases): Define availability for DSPr3.
2608 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2609 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2610 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2611 formatting.
2612 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2613 .set nodspr3. Fix -mdspr2 formatting.
2614 * testsuite/gas/mips/mips32-dspr3.d: New file.
2615 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2616 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2617
a6684f0d
NC
26182016-05-11 Nick Clifton <nickc@redhat.com>
2619
2620 PR target/20068
2621 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2622 to the pool uses O_constant.
2623 * testsuite/gas/arm/pr20068.s: New test.
2624 * testsuite/gas/arm/pr20068.d: Test driver.
2625
be5c445b
NC
26262016-05-11 Nick Clifton <nickc@redhat.com>
2627
4179a6a2
NC
2628 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2629 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2630 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2631 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2632 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2633 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2634 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2635 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2636 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
be5c445b
NC
2637
26382016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2639
2640 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2641 * testsuite/gas/i386/prefix.d: Adjust.
2642 * testsuite/gas/i386/rdpid.s: New test.
2643 * testsuite/gas/i386/rdpid.d: Ditto.
2644 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2645 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2646 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2647 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2648
8bc52696
AF
26492016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2650
2651 * config/tc-i386.c (cpu_arch): Add RDPID.
2652 * doc/c-i386.texi: Document RDPID.
2653
39d911fc
TP
26542016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2655
2656 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2657 set branch type of a symbol.
2658
15afaa63
TP
26592016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2660
2661 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2662 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2663 instructions.
2664 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2665 (aeabi_set_public_attributes): Memorize the feature bits of the
2666 architecture selected for Tag_CPU_arch. Use it to set
2667 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2668 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2669 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2670 * testsuite/gas/arm/arch7em-bad-1.d: This.
2671 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2672 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2673 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2674 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2675 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2676 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2677 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2678 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2679
d942732e
TP
26802016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2681
2682 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2683 allowed_archs an array with 2 entries.
2684 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2685 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2686 (arm_extensions): Use separate entries in allowed_archs when several
2687 archs are allowed to use an extension and change ARCH_ANY in
2688 ARM_ARCH_NONE in allowed_archs.
2689 (arm_parse_extension): Check that, for each allowed_archs entry, all
2690 bits are set in the current architecture, ignoring ARM_ANY entries.
2691 (s_arm_arch_extension): Likewise.
2692
16a1fa25
TP
26932016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2694
2695 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2696 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2697 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2698 shared with a non M profile architecture.
2699 (do_rn): New function.
2700 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2701 than arm_ext_v8m.
2702 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2703 (insns): Add ARMv8-M Security Extensions instructions.
2704 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2705 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2706 * testsuite/gas/arm/archv8m-cmse.s: New file.
2707 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2708 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2709 * testsuite/gas/arm/any-cmse.d: Likewise.
2710 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2711 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2712 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2713 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2714 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2715 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2716
d751b79e
JM
27172016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2718
2719 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2720 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2721
f85d59c3
KT
27222016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2723
2724 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2725 (fpu_arch_vfp_v3): Likewise.
2726 (fpu_arch_neon_v1): Likewise.
2727 (arm_arch_full): Likewise.
2728 (parse_neon_el_struct_list): Initialize fields of firsttype.
2729
945e0f82
CZ
27302016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2731
2732 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2733 (arc_extinsn): Handle new introduced syntax.
2734 * testsuite/gas/arc/textinsn1op.d: New file.
2735 * testsuite/gas/arc/textinsn1op.s: Likewise.
2736 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2737
b782c63d
PS
27382016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2739
2740 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2741 DW_LNS_fixed_advance_pc.
2742
25771140
AM
27432016-04-27 Alan Modra <amodra@gmail.com>
2744
2745 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2746 (xmemdup0): New inline function.
2747
22522f88
MR
27482016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2749
2750 * config/tc-mips.c (code_option_type): New enum.
2751 (parse_code_option): Return status indicating option type.
2752 (s_mipsset): Update `parse_code_option' call site accordingly.
2753 Always set register sizes from the ISA with ISA overrides.
2754 (s_module): Update `parse_code_option' call site.
2755 * testsuite/gas/mips/isa-override-1.d: New test.
2756 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2757 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2758 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2759 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2760 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2761 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2762 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2763 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2764 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2765 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2766 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2767 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2768 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2769 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2770 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2771 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2772 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2773 * testsuite/gas/mips/isa-override-2.l: New list test.
2774 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2775 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2776 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2777 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2778 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2779 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2780 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2781 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2782 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2783 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2784 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2785 output.
2786 * testsuite/gas/mips/isa-override-1.s: New test source.
2787 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2788 * testsuite/gas/mips/isa-override-2.s: New test source.
2789 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2790 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2791 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2792 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2793 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2794 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2795 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2796 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2797 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2798 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2799 * testsuite/gas/mips/mips.exp: Run the new tests.
2800
e6c7cdec
TS
28012016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2802
2803 * cgen.c: Likewise.
2804 * config/tc-bfin.c: Likewise.
2805 * config/tc-ia64.c: Likewise.
2806 * config/tc-mep.c: Likewise.
2807 * config/tc-metag.c: Likewise.
2808 * config/tc-nios2.c: Likewise.
2809 * config/tc-rl78.c: Likewise.
2810
2533af11
AB
28112016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2812
2813 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2814 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2815 (ARC Directives): Add NPS400 to .cpu directive list.
2816
50cc854c
MW
28172016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2818
2819 * config/tc-aarch64.c (aarch64_features): Add "ras".
2820 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2821 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2822 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2823 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2824 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2825
537aefaf
AB
28262016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2827
2828 * testsuite/gas/arc/nps400-6.d: New file.
2829 * testsuite/gas/arc/nps400-6.s: New file.
2830
c8f785f2
AB
28312016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2832
2833 * testsuite/gas/arc/nps400-4.d: New file.
2834 * testsuite/gas/arc/nps400-4.s: New file.
2835 * testsuite/gas/arc/nps400-5.d: New file.
2836 * testsuite/gas/arc/nps400-5.s: New file.
2837
48eac74c
MG
28382016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2839
2840 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2841 documentation.
2842
644aca26
AB
28432016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2844
2845 Revert prevous change.
2846 * config/tc-arc.c (arc_option): Make .cpu directive
2847 case-sensitive again.
2848
9a452709
AB
28492016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2850
2851 * config/tc-arc.c (arc_option): Make .cpu directive
2852 case-insensitive.
2853
5e001f26
AB
28542016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2855
2856 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2857
92fce9bd
TS
28582016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2859
2860 * config/tc-mips.c (md_begin): Remove useless assignment.
2861
6fd8e7c2
L
28622016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2863
2864 * Makefile.in: Regenerated with automake 1.11.6.
2865 * aclocal.m4: Likewise.
2866 * doc/Makefile.in: Likewise.
2867
05f7541e
AM
28682016-04-15 Alan Modra <amodra@gmail.com>
2869
2870 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2871
4f2a7b51
TS
28722016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2873
2874 * config/tc-nios2.c (nios2_as_options): Make file static.
2875 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2876 * config/tc-sparc.c (native_op_table): Likewise.
2877
85e53f62
TS
28782016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2879
2880 * config/tc-m32c.c (M32C_Macros): Remove.
2881 * config/tc-msp430.c (option_numbers): Likewise.
2882
4b0c052e
AB
28832016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2884
2885 * testsuite/gas/arc/nps400-3.d: New file.
2886 * testsuite/gas/arc/nps400-3.s: New file.
2887
d105775e
AB
28882016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2889
2890 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2891 * testsuite/gas/arc/warn.s: Likewise.
2892 * testsuite/gas/elf/elf.exp: Run test for arc.
2893
84865015
NC
28942016-04-14 Nick Clifton <nickc@redhat.com>
2895
2896 PR target/19938
2897 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2898 sections possibly having the SHF_STRINGS flag bit set.
2899 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2900
1adc8a9a
CZ
29012016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2902
2903 * config/tc-arc.c (mach_type_specified_p): Change type to
2904 bfd_boolean.
2905 (arc_option): Set private flags when parsing cpu pseudo-op.
2906 (md_parse_option): Set mach_type_specified_p to TRUE.
2907
e4449be8
NC
29082016-04-13 Nick Clifton <nickc@redhat.com>
2909
2910 PR target/19937
2911 * testsuite/gas/v850/pr19937.s: New test.
2912 * testsuite/gas/v850/pr19937.d: New test control file.
2913 * testsuite/gas/v850/basic.exp: Run the new test.
2914
991f40a9
MR
29152016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2916 Andrew Bennett <andrew.bennett@imgtec.com>
2917
2918 * config/tc-mips.c (relaxed_branch_length): Use the long
2919 sequence where the target is a weak symbol.
2920 (relaxed_micromips_32bit_branch_length): Likewise.
2921 (relaxed_micromips_16bit_branch_length): Likewise.
2922 * testsuite/gas/mips/branch-weak-1.d: New test.
2923 * testsuite/gas/mips/branch-weak-2.d: New test.
2924 * testsuite/gas/mips/branch-weak-3.d: New test.
2925 * testsuite/gas/mips/branch-weak-4.d: New test.
2926 * testsuite/gas/mips/branch-weak-5.d: New test.
2927 * testsuite/gas/mips/branch-weak.l: New stderr output.
2928 * testsuite/gas/mips/branch-weak.s: New test source.
2929 * testsuite/gas/mips/mips.exp: Run the new tests.
2930
c1f61bd2
MR
29312016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2932
2933 * config/tc-mips.c (relaxed_branch_length): Use the long
2934 sequence where the distance cannot be determined.
2935 (relaxed_micromips_32bit_branch_length): Likewise.
2936 * testsuite/gas/mips/branch-extern-1.d: New test.
2937 * testsuite/gas/mips/branch-extern-2.d: New test.
2938 * testsuite/gas/mips/branch-extern-3.d: New test.
2939 * testsuite/gas/mips/branch-extern-4.d: New test.
2940 * testsuite/gas/mips/branch-extern.l: New stderr output.
2941 * testsuite/gas/mips/branch-extern.s: New test source.
2942 * testsuite/gas/mips/branch-section-1.d: New test.
2943 * testsuite/gas/mips/branch-section-2.d: New test.
2944 * testsuite/gas/mips/branch-section-3.d: New test.
2945 * testsuite/gas/mips/branch-section-4.d: New test.
2946 * testsuite/gas/mips/branch-section.l: New stderr output.
2947 * testsuite/gas/mips/branch-section.s: New test source.
2948 * testsuite/gas/mips/mips.exp: Run the new tests.
2949
f36e33da
CZ
29502016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2951
2952 * testsuite/gas/arc/textauxregister.d: New file.
2953 * testsuite/gas/arc/textauxregister.s: Likewise.
2954 * testsuite/gas/arc/textcondcode.d: Likewise.
2955 * testsuite/gas/arc/textcondcode.s: Likewise.
2956 * testsuite/gas/arc/textcoreregister.d: Likewise.
2957 * testsuite/gas/arc/textcoreregister.s: Likewise.
2958 * testsuite/gas/arc/textpseudoop.d: Likewise.
2959 * testsuite/gas/arc/textpseudoop.s: Likewise.
2960 * testsuite/gas/arc/ld2.d: Update test.
2961 * testsuite/gas/arc/st.d: Likewise.
2962 * testsuite/gas/arc/taux.d: Likewise.
2963 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2964 .extCoreRegister and .extAuxRegister documentation.
2965 * config/tc-arc.c (arc_extcorereg): New function.
2966 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2967 .extAuxRegister pseudo-ops.
2968 (extRegister_t): New type.
2969 (ext_condcode, arc_aux_hash): New global variable.
2970 (find_opcode_match): Check for extensions.
2971 (preprocess_operands): Likewise.
2972 (md_begin): Add aux registers in a hash.
2973 (assemble_insn): Update use arc_flags member.
2974 (tokenize_extregister): New function.
2975 (create_extcore_section): Likewise.
2976 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2977
1c2e355e
CZ
29782016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2979
2980 * testsuite/gas/arc/noargs_a7.d: New file.
2981 * testsuite/gas/arc/noargs_a7.s: Likewise.
2982 * testsuite/gas/arc/noargs_hs.d: Likewise.
2983 * testsuite/gas/arc/noargs_hs.s: Likewise.
2984
b99747ae
CZ
29852016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2986
2987 * testsuite/gas/arc/textinsn-errors.d: New File.
2988 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2989 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2990 * testsuite/gas/arc/textinsn2op.d: Likewise.
2991 * testsuite/gas/arc/textinsn2op.s: Likewise.
2992 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2993 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2994 * testsuite/gas/arc/textinsn3op.d: Likewise.
2995 * testsuite/gas/arc/textinsn3op.s: Likewise.
2996 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2997 documentation.
2998 * config/tc-arc.c (arcext_section): New variable.
2999 (arc_extinsn): New function.
3000 (md_pseudo_table): Add .extInstruction pseudo op.
3001 (attributes_t): New type.
3002 (suffixclass, syntaxclass, syntaxclassmod): New constant
3003 structures.
3004 (find_opcode_match): Remove arc_num_opcodes.
3005 (md_begin): Likewise.
3006 (tokenize_extinsn): New function.
3007 (arc_set_ext_seg): Likewise.
3008 (create_extinst_section): Likewise.
3009
37ab9779
CZ
30102016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
3011
3012 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
3013 (arc_adjust_symtab): New function.
3014 * config/tc-arc.h (ARC_FLAG_AUX): Define.
3015 (obj_adjust_symtab): Likewise.
3016 * testsuite/gas/arc/taux.d: New file.
3017 * testsuite/gas/arc/taux.s: Likewise.
3018
41a1578e
MR
30192016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3020
3021 * config/tc-mips.c (s_option): Sanitize `.option picX'
3022 pseudo-op.
3023 * testsuite/gas/mips/option-pic-1.d: New test.
3024 * testsuite/gas/mips/option-pic-2.l: New list test.
3025 * testsuite/gas/mips/option-pic-1.s: New test source.
3026 * testsuite/gas/mips/option-pic-2.s: New test source.
3027 * testsuite/gas/mips/mips.exp: Run the new tests.
3028
668c5ebc
MR
30292016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3030
3031 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
3032 PIC.
3033 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
3034 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
3035 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
3036 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
3037 * testsuite/gas/mips/mips.exp: Run the new tests.
3038
41065f5e
MR
30392016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3040
3041 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
3042
08918cc8
MR
30432016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3044
3045 * messages.c (as_bad): Fix a typo in description.
3046
1357373c
MR
30472016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3048
3049 * config/tc-mips.c (mips_check_options): Unify messages.
3050
5f4678bb
MR
30512016-04-09 Maciej W. Rozycki <macro@imgtec.com>
3052
3053 * config/tc-mips.c (mips_check_options): Use `opts->isa'
3054 consistently.
3055
992dc2c4
NC
30562016-04-08 Nick Clifton <nickc@redhat.com>
3057
3058 PR target/19910
3059 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
3060 COFF and AOUT sparc targets.
3061
a42a4f84
AB
30622016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3063
3064 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
3065 * testsuite/gas/arc/nps400-2.d: New file.
3066 * testsuite/gas/arc/nps400-2.s: New file.
3067
1328504b
AB
30682016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3069
3070 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
3071 structure.
3072 (arc_opcode_hash_entry_iterator_init): New function.
3073 (arc_opcode_hash_entry_iterator_next): New function.
3074 (find_opcode_match): Iterate over all arc_opcode entries
3075 referenced by the arc_opcode_hash_entry passed in as a parameter.
3076
b9b47ab7
AB
30772016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3078
3079 * config/tc-arc.c (arc_find_opcode): Now returns
3080 arc_opcode_hash_entry pointer.
3081 (find_opcode_match): Update argument type, extract arc_opcode from
3082 incoming arc_opcode_hash_entry.
3083 (find_special_case_pseudo): Update return type.
3084 (find_special_case_flag): Update return type.
3085 (find_special_case): Update return type.
3086 (assemble_tokens): Lookup arc_opcode_hash_entry based on
3087 instruction mnemonic, then use find_opcode_match to identify
3088 specific arc_opcode.
3089
da5be039
AB
30902016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3091
3092 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
3093 (arc_find_opcode): New function.
3094 (find_special_case_pseudo): Use arc_find_opcode.
3095 (find_special_case_flag): Likewise.
3096 (assemble_tokens): Likewise.
3097 (md_begin): Build hash using struct arc_opcode_hash_entry.
3098
e6ba1cba
CZ
30992016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
3100
abe051ba
AM
3101 * config/tc-arc.c (arc_option): Prepare string for automatic
3102 translation.
3103 (declare_register): Likewise.
e6ba1cba 3104
b607cde1
JG
31052016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
3106
3107 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
3108 Correct entry for RDMA. Alpha sort entries.
3109
692166c2
AB
31102016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3111
3112 * config/tc-arc.c (tokenize_flags): Allow greater range of
3113 characters into flag names.
3114
22b92fc4
AB
31152016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
3116
3117 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
3118 new de_fault label.
3119 (preprocess_operands): Delete.
3120 (assemble_tokens): Remove call to preprocess_operands.
3121
e140100a
NC
31222016-04-07 Nick Clifton <nickc@redhat.com>
3123
3124 PR gas/19910
3125 * config/tc-sparc.c (sparc_ip): Report an error if the expression
3126 inside a %-macro could not be fully parsed.
3127 * expr.c (integer_constant): Accept and ignore U suffixes to
3128 integers.
3129 (operand): When a missing closing parenthesis is encountered,
3130 report the character that was found instead.
3131 * testsuite/gas/mips/tls-ill.l: Update expected error message.
3132 * testsuite/gas/sparc/pr19910-1.d: New test driver.
3133 * testsuite/gas/sparc/pr19910-1.s: New test.
3134 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
3135 * testsuite/gas/sparc/pr19910-2.s: New test.
3136 * testsuite/gas/sparc/sparc.exp: Run the new tests.
3137
927f2d25
NC
31382016-04-06 Nick Clifton <nickc@redhat.com>
3139
3140 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
3141 an EINT instruction. Warn/fix as necessary.
3142 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
3143 * testsuite/gas/msp430/bad.l: Update expected messages.
3144
820f03ff
AB
31452016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
3146
3147 * testsuite/gas/arc/nps400-1.d: Update expected results.
3148 * testsuite/gas/arc/nps400-1.s: Additional test cases.
3149
8ddf6b2a
CZ
31502016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3151
abe051ba
AM
3152 * config/tc-arc.c (is_code_density_p): Compare directly the
3153 subclass field.
3154 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
3155 (check_cpu_feature): New function.
3156 (find_opcode_match): Use check_cpu_feature function.
3157 (preprocess_operands): Likewise.
3158 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
3159 * testsuite/gas/arc/tdpfp.d: New file.
3160 * testsuite/gas/arc/tfpuda.d: Likewise.
3161 * testsuite/gas/arc/tfpx.s: Likewise.
8ddf6b2a 3162
589a7d88
JW
31632016-04-05 Jiong Wang <jiong.wang@arm.com>
3164
3165 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
3166 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
3167 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
3168 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
3169 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
3170 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
3171 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
abe051ba
AM
3172 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
3173 for Thumb.
589a7d88
JW
3174 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
3175
6ec1f282
CZ
31762016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
3177
abe051ba 3178 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
6ec1f282 3179 JUMP instructions type.
abe051ba
AM
3180 * testsuite/gas/arc/relocs-errors.d: New file.
3181 * testsuite/gas/arc/relocs-errors.err: Likewise.
3182 * testsuite/gas/arc/relocs-errors.s: Likewise.
6ec1f282 3183
0796a629
L
31842016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3185
3186 PR gas/19909
3187 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
3188 only if i.disp_encoding != disp_encoding_32bit.
3189 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
3190 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
3191 * gas/testsuite/gas/i386/disp32.d: Updated.
3192 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
3193
df41fdf4
L
31942016-04-04 H.J. Lu <hongjiu.lu@intel.com>
3195
3196 PR gas/19498
3197 * testsuite/gas/i386/i386.exp: Run pr19498.
3198 * testsuite/gas/i386/pr19498.d: New file.
3199 * testsuite/gas/i386/pr19498.s: Likewise.
3200
26cdfd92
AB
32012016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
3202
3203 * config/tc-arc.h: Include 'opcode/arc.h'.
3204 (MAX_INSN_ARGS): Delete.
3205 (MAX_INSN_FLGS): Delete.
3206
22987cec
AM
32072016-04-04 Alan Modra <amodra@gmail.com>
3208
3209 PR 19498
3210 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
3211 from function on all paths that set sy_resolving.
3212
325801bd
TS
32132016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3214
3215 * app.c (app_push): use XNEW macro.
3216 * as.c: Likewise.
3217 * config/obj-elf.c (obj_elf_change_section): Likewise.
3218 (elf_copy_symbol_attributes): Likewise.
3219 (obj_elf_size): Likewise.
3220 (build_group_lists): Likewise.
3221 * config/tc-aarch64.c (add_operand_error_record): Likewise.
3222 (md_assemble): Likewise.
3223 (tc_gen_reloc): Likewise.
3224 (get_upper_str): Likewise.
3225 (aarch64_parse_features): Likewise.
3226 * config/tc-arm.c (insert_reg_alias): Likewise.
3227 (insert_neon_reg_alias): Likewise.
3228 (find_or_make_literal_pool): Likewise.
3229 (s_arm_elf_cons): Likewise.
3230 (add_unwind_opcode): Likewise.
3231 (arm_parse_extension): Likewise.
3232 * config/tc-avr.c (create_record_for_frag): Likewise.
3233 * config/tc-crx.c: Likewise.
3234 * config/tc-d30v.c: Likewise.
3235 * config/tc-dlx.c (s_proc): Likewise.
3236 * config/tc-ft32.c: Likewise.
3237 * config/tc-h8300.c: Likewise.
3238 * config/tc-hppa.c (pa_proc): Likewise.
3239 (create_new_space): Likewise.
3240 (create_new_subspace): Likewise.
3241 * config/tc-i860.c: Likewise.
3242 * config/tc-i960.c: Likewise.
3243 * config/tc-ia64.c: Likewise.
3244 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
3245 (iq2000_record_hi16): Likewise.
3246 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
3247 * config/tc-m32r.c (debug_sym): Likewise.
3248 (m32r_record_hi16): Likewise.
3249 * config/tc-m68k.c (m68k_ip): Likewise.
3250 (md_begin): Likewise.
3251 * config/tc-mcore.c: Likewise.
3252 * config/tc-microblaze.c (check_got): Likewise.
3253 * config/tc-mips.c (append_insn): Likewise.
3254 (s_mipsset): Likewise.
3255 (mips_record_label): Likewise.
3256 (s_mips_end): Likewise.
3257 * config/tc-mmix.c (mmix_frob_file): Likewise.
3258 * config/tc-mn10200.c: Likewise.
3259 * config/tc-mn10300.c: Likewise.
3260 * config/tc-moxie.c: Likewise.
3261 * config/tc-msp430.c: Likewise.
3262 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
3263 * config/tc-ns32k.c: Likewise.
3264 * config/tc-or1k.c: Likewise.
3265 * config/tc-pdp11.c: Likewise.
3266 * config/tc-pj.c (fake_opcode): Likewise.
3267 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
3268 (ppc_macro): Likewise.
3269 (ppc_dwsect): Likewise.
3270 (ppc_machine): Likewise.
3271 * config/tc-rl78.c (rl78_frag_init): Likewise.
3272 * config/tc-rx.c (rx_frag_init): Likewise.
3273 * config/tc-s390.c (s390_lit_suffix): Likewise.
3274 (s390_machine): Likewise.
3275 (s390_machinemode): Likewise.
3276 * config/tc-score.c (s3_insert_reg): Likewise.
3277 (s3_gen_reloc): Likewise.
3278 * config/tc-score7.c (s7_insert_reg): Likewise.
3279 (s7_gen_reloc): Likewise.
3280 * config/tc-tic30.c (tic30_operand): Likewise.
3281 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
3282 * config/tc-tic54x.c (stag_add_field): Likewise.
3283 (tic54x_struct): Likewise.
3284 (tic54x_space): Likewise.
3285 (tic54x_field): Likewise.
3286 (tic54x_mlib): Likewise.
3287 (subsym_substitute): Likewise.
3288 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
3289 * config/tc-vax.c: Likewise.
3290 * config/tc-xc16x.c: Likewise.
3291 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
3292 (directive_push): Likewise.
3293 (xtensa_begin_directive): Likewise.
3294 (tokenize_arguments): Likewise.
3295 (xtensa_add_literal_sym): Likewise.
3296 (new_resource_table): Likewise.
3297 (resize_resource_table): Likewise.
3298 (emit_single_op): Likewise.
3299 (xtensa_create_trampoline_frag): Likewise.
3300 (xtensa_maybe_create_literal_pool_frag): Likewise.
3301 (xtensa_add_config_info): Likewise.
3302 (xtensa_realloc_fixup_cache): Likewise.
3303 (add_subseg_info): Likewise.
3304 (cache_literal_section): Likewise.
3305 (add_xt_block_frags): Likewise.
3306 (add_xt_prop_frags): Likewise.
3307 (init_op_placement_info_table): Likewise.
3308 (build_section_rename): Likewise.
3309 * config/tc-z80.c: Likewise.
3310 * config/tc-z8k.c: Likewise.
3311 * depend.c (register_dependency): Likewise.
3312 * dwarf2dbg.c (get_line_subseg): Likewise.
3313 (dwarf2_gen_line_info_1): Likewise.
3314 (get_filenum): Likewise.
3315 * ecoff.c (allocate_scope): Likewise.
3316 (allocate_vlinks): Likewise.
3317 (allocate_shash): Likewise.
3318 (allocate_thash): Likewise.
3319 (allocate_tag): Likewise.
3320 (allocate_forward): Likewise.
3321 (allocate_thead): Likewise.
3322 (allocate_lineno_list): Likewise.
3323 * expr.c (make_expr_symbol): Likewise.
3324 * hash.c (hash_new_sized): Likewise.
3325 * input-file.c (input_file_push): Likewise.
3326 * listing.c (file_info): Likewise.
3327 (listing_newline): Likewise.
3328 * macro.c (new_formal): Likewise.
3329 (define_macro): Likewise.
3330 * remap.c (add_debug_prefix_map): Likewise.
3331 * symbols.c (symbol_find_noref): Likewise.
3332 (define_dollar_label): Likewise.
3333 (fb_label_instance_inc): Likewise.
3334 (symbol_relc_make_value): Likewise.
3335
a44e2901
TS
33362016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3337
3338 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
3339 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
3340 (ppc_znop): Likewise.
3341 (ppc_pe_section): Likewise.
3342 (ppc_frob_symbol): Likewise.
3343 * config/tc-tic30.c (tic30_operand): Likewise.
3344 * config/tc-tic4x.c (tic4x_sect): Likewise.
3345 (tic4x_usect): Likewise.
3346
ae2689b0
TS
33472016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3348
3349 * config/tc-alpha.c: Const qualify FLT_CHARS.
3350 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
3351 * config/tc-cris.h: Likewise.
3352 * expr.c: Likewise.
3353 * config/tc-mmix.c (md_atof): Adjust comment.
3354 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
3355 * tc.h: Declare FLT_CHARS and EXP_CHARS.
3356
a51ef392
TS
33572016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3358
3359 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
3360 * config/tc-score7.c (s7_gen_reloc): Likewise.
3361
2fe88214
TS
33622016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3363
3364 * config/tc-arm.c (do_t_branch): Change the type of reloc to
3365 bfd_reloc_code_real_type.
3366
e1ec8109
TS
33672016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3368
3369 * config/bfin-parse.y (current_inputline): Remove definition.
3370 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
3371
f73e41ef
TS
33722016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3373
3374 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
3375 strings.
3376
62bd6b5f
AM
33772016-04-02 Alan Modra <amodra@gmail.com>
3378
3379 PR 19896
3380 * read.c (assign_symbol): Consume rest of line after an error
3381 rather than continuing to process the line.
3382
83cda17b
AB
33832016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3384
3385 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
3386 (MAX_FLAG_NAME_LENGTH): ...this.
3387 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
3388 * config/tc-arc.c (tokenize_flags): Likewise.
3389
6d4af3c2
AM
33902016-04-01 Alan Modra <amodra@gmail.com>
3391
3392 * cgen.c (weak_operand_overflow_check): Return const char*.
3393 * messages.c (as_internal_value_out_of_range): Formatting.
3394 (as_warn_value_out_of_range): Consify prefix param.
3395 (as_bad_value_out_of_range): Likewise.
3396 * read.c (s_errwarn): Constify msg..
3397 (s_float_space, float_cons): ..and err.
3398 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
3399 ieee_md_atof, vax_md_atof): Update prototypes.
3400 * tc.h (md_atof): Update prototype.
3401 * config/atof-ieee.c (ieee_md_atof): Return const char*.
3402 * config/atof-vax.c (vax_md_atof): Likewise.
3403 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
3404 * config/tc-aarch64.c (md_atof): Return const char*.
3405 * config/tc-alpha.c (s_alpha_section_name): Likewise.
3406 (s_alpha_comm): Constify sec_name.
3407 (section_name): Constify.
3408 (s_alpha_section): Consify name..
3409 (alpha_elf_section_letter): ..and ptr_msg param..
3410 (md_atof): ..and return.
3411 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
3412 * config/tc-arc.c (md_atof): Return const char*.
3413 * config/tc-arm.c (md_atof): Likewise.
3414 * config/tc-avr.c (md_atof): Likewise.
3415 * config/tc-bfin.c (md_atof): Likewise.
3416 * config/tc-cr16.c (md_atof): Likewise.
3417 * config/tc-cris.c (md_atof): Likewise.
3418 * config/tc-crx.c (md_atof): Likewise.
3419 * config/tc-d10v.c (md_atof): Likewise.
3420 * config/tc-d30v.c (md_atof): Likewise.
3421 * config/tc-dlx.c (md_atof): Likewise.
3422 * config/tc-epiphany.c (md_atof): Likewise.
3423 * config/tc-fr30.c (md_atof): Likewise.
3424 * config/tc-frv.c (md_atof): Likewise.
3425 * config/tc-ft32.c (md_atof): Likewise.
3426 * config/tc-h8300.c (md_atof): Likewise.
3427 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3428 (struct default_space_dict): Likewise.
3429 (create_new_space): Constify name param.
3430 (create_new_subspace): Likewise.
3431 (is_defined_space, is_defined_subspace): Likewise.
3432 (pa_parse_space_stmt): Constify space_name param.
3433 (md_atof): Return const char*.
3434 (pa_spaces_begin): Constify name.
3435 * config/tc-i370.c (md_atof): Return const char*.
3436 * config/tc-i386.c (md_atof): Likewise.
3437 (x86_64_section_letter): Constify ptr_msg param.
3438 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3439 * config/tc-i860.c (struct i860_it): Constify error.
3440 (md_atof): Return const char*.
3441 * config/tc-i960.c (md_atof): Likewise.
3442 * config/tc-ia64.c (md_atof): Likewise.
3443 (ia64_elf_section_letter): Constify ptr_msg param.
3444 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3445 * config/tc-ip2k.c (md_atof): Return const char*.
3446 * config/tc-iq2000.c (md_atof): Likewise.
3447 * config/tc-lm32.c (md_atof): Likewise.
3448 * config/tc-m32c.c (md_atof): Likewise.
3449 * config/tc-m32r.c (md_atof): Likewise.
3450 * config/tc-m68hc11.c (md_atof): Likewise.
3451 * config/tc-m68k.c (md_atof): Likewise.
3452 * config/tc-mcore.c (md_atof): Likewise.
3453 * config/tc-mep.c (md_atof): Likewise.
3454 (mep_elf_section_letter): Constify ptr_msg param.
3455 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3456 * config/tc-metag.c (md_atof): Return const char*.
3457 * config/tc-microblaze.c (md_atof): Likewise.
3458 * config/tc-microblaze.h (md_atof): Delete prototype.
3459 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3460 (md_atof): Return const char*.
3461 * config/tc-mmix.c (md_atof): Likewise.
3462 * config/tc-mn10200.c (md_atof): Likewise.
3463 * config/tc-mn10300.c (md_atof): Likewise.
3464 * config/tc-moxie.c (md_atof): Likewise.
3465 * config/tc-msp430.c (md_atof): Likewise.
3466 * config/tc-mt.c (md_atof): Likewise.
3467 * config/tc-nds32.c (md_atof): Likewise.
3468 * config/tc-nios2.c (md_atof): Likewise.
3469 (nios2_elf_section_letter): Constify ptr_msg param.
3470 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3471 * config/tc-ns32k.c (md_atof): Return const char*.
3472 * config/tc-or1k.c (md_atof): Likewise.
3473 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3474 (md_atof): Return const char*.
3475 * config/tc-pj.c (md_atof): Likewise.
3476 * config/tc-ppc.c (md_atof): Likewise.
3477 * config/tc-rl78.c (md_atof): Likewise.
3478 * config/tc-rx.c (md_atof): Likewise.
3479 * config/tc-s390.c (md_atof): Likewise.
3480 * config/tc-score.c (s3_atof, md_atof): Likewise.
3481 * config/tc-sh.c (md_atof): Likewise.
3482 * config/tc-sparc.c (struct sparc_it): Constify error.
3483 (md_atof): Return const char*.
3484 * config/tc-spu.c (md_atof): Likewise.
3485 * config/tc-tic30.c (md_atof): Likewise.
3486 * config/tc-tic4x.c (md_atof): Likewise.
3487 * config/tc-tic54x.c (md_atof): Likewise.
3488 * config/tc-tic6x.c (md_atof): Likewise.
3489 * config/tc-tilegx.c (md_atof): Likewise.
3490 * config/tc-tilepro.c (md_atof): Likewise.
3491 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3492 * config/tc-vax.c (md_atof): Likewise.
3493 * config/tc-visium.c (md_atof): Likewise.
3494 * config/tc-xc16x.c (md_atof): Likewise.
3495 * config/tc-xgate.c (md_atof): Likewise.
3496 * config/tc-xstormy16.c (md_atof): Likewise.
3497 * config/tc-xtensa.c (md_atof): Likewise.
3498 * config/tc-z80.c (md_atof): Likewise.
3499 * config/tc-z8k.c (md_atof): Likewise.
3500
e4a0c708
TS
35012016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3502
3503 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3504 const.
3505 (xtensa_section_rename): Make argument type const char *.
3506 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3507
e2c7dcae
TS
35082016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3509
3510 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3511 args[0].
3512
f854977c
TS
35132016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3514
3515 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3516 char *.
3517 (m32c_indirect_operand): Likewise.
3518 * config/tc-nds32.c (do_pseudo_b): Likewise.
3519 (do_pseudo_bal): Likewise.
3520 (do_pseudo_ls_bhw): Likewise.
3521
97830986
TS
35222016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3523
3524 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3525
e87de513
TS
35262016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3527
3528 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3529 get_symbol_name ().
3530 * config/tc-sparc.c (s_register): Cast a literal to char * in
3531 assignment.
3532
47990a6a
TS
35332016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3534
3535 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3536 input_line_pointer.
3537 * config/tc-m32r.c (expand_debug_syms): Likewise.
3538 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3539 * config/tc-z80.c (md_begin): Likewise.
3540 * stabs.c (stabs_generate_asm_func): Likewise.
3541
e046cf80
TS
35422016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3543
3544 * cgen.c: Modernize the way functions declare arguments.
3545 * config/tc-bfin.c: Likewise.
3546 * config/tc-pdp11.c: Likewise.
3547 * literal.c: Likewise.
3548 * read.c: Likewise.
3549 * stabs.c: Likewise.
3550
d9235011
TS
35512016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3552
3553 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3554 variables unsigned char[].
3555 * config/tc-alpha.c (alpha_handle_align): Likewise.
3556 * config/tc-arm.c (arm_handle_align): Likewise.
3557 * config/tc-z80.c: Likewise.
3558
c6025a80
NC
35592016-03-30 Nick Clifton <nickc@redhat.com>
3560
3561 PR target/19880
3562 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3563 shifting.
3564
f89a23cf
CZ
35652016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3566
abe051ba
AM
3567 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3568 * testsuite/gas/elf/elf.exp: Likewise.
3569 * testsuite/gas/all/redef3.d: Allow execution for ARC.
f89a23cf 3570
f621ad3c
CZ
35712016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3572
abe051ba 3573 * testsuite/gas/arc/warn.exp: Fix matching pattern.
f621ad3c 3574
f2dd8838
CZ
35752016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3576
abe051ba
AM
3577 * testsuite/gas/arc/ext2op.d: New file.
3578 * testsuite/gas/arc/ext2op.s: Likewise.
3579 * testsuite/gas/arc/ext3op.d: Likewise.
3580 * testsuite/gas/arc/ext3op.s: Likewise.
f2dd8838 3581
17b9d67d
TS
35822016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3583
3584 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3585 qualifier.
3586 * config/tc-alpha.c (md_parse_option): Likewise.
3587 * config/tc-arc.c (md_parse_option): Likewise.
3588 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3589 (md_parse_option): Likewise.
3590 * config/tc-avr.c (md_parse_option): Likewise.
3591 * config/tc-bfin.c (md_parse_option): Likewise.
3592 * config/tc-cr16.c (md_parse_option): Likewise.
3593 * config/tc-cris.c (s_cris_arch): Likewise.
3594 (md_parse_option): Likewise.
3595 * config/tc-crx.c (md_parse_option): Likewise.
3596 * config/tc-d10v.c (md_parse_option): Likewise.
3597 * config/tc-d30v.c (md_parse_option): Likewise.
3598 * config/tc-dlx.c (md_parse_option): Likewise.
3599 * config/tc-epiphany.c (md_parse_option): Likewise.
3600 * config/tc-fr30.c (md_parse_option): Likewise.
3601 * config/tc-frv.c (md_parse_option): Likewise.
3602 * config/tc-ft32.c (md_parse_option): Likewise.
3603 * config/tc-h8300.c (md_parse_option): Likewise.
3604 * config/tc-hppa.c (md_parse_option): Likewise.
3605 * config/tc-i370.c (md_parse_option): Likewise.
3606 * config/tc-i386.c (md_parse_option): Likewise.
3607 * config/tc-i860.c (md_parse_option): Likewise.
3608 * config/tc-i960.c (md_parse_option): Likewise.
3609 * config/tc-ia64.c (md_parse_option): Likewise.
3610 * config/tc-ip2k.c (md_parse_option): Likewise.
3611 * config/tc-iq2000.c (md_parse_option): Likewise.
3612 * config/tc-lm32.c (md_parse_option): Likewise.
3613 * config/tc-m32c.c (md_parse_option): Likewise.
3614 * config/tc-m32r.c (md_parse_option): Likewise.
3615 * config/tc-m68hc11.c (md_parse_option): Likewise.
3616 * config/tc-m68k.c (md_parse_option): Likewise.
3617 * config/tc-mcore.c (md_parse_option): Likewise.
3618 * config/tc-mep.c (md_parse_option): Likewise.
3619 * config/tc-metag.c (struct metag_long_option): Likewise.
3620 (md_parse_option): Likewise.
3621 * config/tc-microblaze.c (md_parse_option): Likewise.
3622 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3623 * config/tc-mips.c (md_parse_option): Adjust.
3624 * config/tc-mmix.c (md_parse_option): Likewise.
3625 * config/tc-mn10200.c (md_parse_option): Likewise.
3626 * config/tc-mn10300.c (md_parse_option): Likewise.
3627 * config/tc-moxie.c (md_parse_option): Likewise.
3628 * config/tc-msp430.c (md_parse_option): Likewise.
3629 * config/tc-mt.c (md_parse_option): Likewise.
3630 * config/tc-nds32.c (md_parse_option): Likewise.
3631 * config/tc-nds32.h (nds32_parse_option): Likewise.
3632 * config/tc-nios2.c (md_parse_option): Likewise.
3633 * config/tc-ns32k.c (md_parse_option): Likewise.
3634 * config/tc-or1k.c (md_parse_option): Likewise.
3635 * config/tc-pdp11.c (md_parse_option): Likewise.
3636 * config/tc-pj.c (md_parse_option): Likewise.
3637 * config/tc-ppc.c (md_parse_option): Likewise.
3638 * config/tc-rl78.c (md_parse_option): Likewise.
3639 * config/tc-rx.c (md_parse_option): Likewise.
3640 * config/tc-s390.c (s390_parse_cpu): Likewise.
3641 * config/tc-score.c (md_parse_option): Likewise.
3642 * config/tc-sh.c (md_parse_option): Likewise.
3643 * config/tc-sparc.c (md_parse_option): Likewise.
3644 * config/tc-spu.c (md_parse_option): Likewise.
3645 * config/tc-tic30.c (md_parse_option): Likewise.
3646 * config/tc-tic4x.c (md_parse_option): Likewise.
3647 * config/tc-tic54x.c (md_parse_option): Likewise.
3648 * config/tc-tic6x.c (md_parse_option): Likewise.
3649 * config/tc-tilegx.c (md_parse_option): Likewise.
3650 * config/tc-tilepro.c (md_parse_option): Likewise.
3651 * config/tc-v850.c (md_parse_option): Likewise.
3652 * config/tc-vax.c (md_parse_option): Likewise.
3653 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3654 * config/tc-xc16x.c (md_parse_option): Likewise.
3655 * config/tc-xgate.c (md_parse_option): Likewise.
3656 * config/tc-xstormy16.c (md_parse_option): Likewise.
3657 * config/tc-xtensa.c (md_parse_option): Likewise.
3658 * config/tc-z80.c (md_parse_option): Likewise.
3659 * config/tc-z8k.c (md_parse_option): Likewise.
3660 * tc.h (md_parse_option): Likewise.
3661
30bd735c
TS
36622016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3663
3664 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3665 * config/tc-hppa.c (fix_new_hppa): Likewise.
3666 (pa_vtable_entry): Likewise.
3667 (pa_vtable_inherit): Likewise.
3668 * config/tc-m68k.c (md_begin): Likewise.
3669
82b8a785
TS
36702016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3671
3672 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3673 * config/obj-elf.h (obj_elf_section_name): Adjust.
3674 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3675 (aarch64_parse_cpu): Likewise.
3676 (aarch64_parse_arch): Likewise.
3677 * config/tc-arm.c (arm_parse_extension): Likewise.
3678 (arm_parse_cpu): Likewise.
3679 (arm_parse_arch): Likewise.
3680 * config/tc-nds32.c: Likewise.
3681 * config/xtensa-relax.c (parse_special_fn): Likewise.
3682 * stabs.c (generate_asm_file): Likewise.
3683
9202e88a
TS
36842016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3685
3686 * config/tc-cr16.c (cr16_assemble): New function.
3687 (md_assemble): Call cr16_assemble.
3688
a90fb5e3
TS
36892016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3690
3691 * as.c (parse_args): Adjust.
3692 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3693 * config/obj-elf.c (elf_frob_symbol): Adjust.
3694
f65c3d1b
JM
36952016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3696
3697 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3698 registers to be in the 16..31 range.
3699
e742e119
TS
37002016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3701
3702 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3703 frag_var ().
3704
eda6e9a4
TS
37052016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3706
3707 * config/tc-visium.c (md_atof): Localize the string returned on
3708 failure.
3709
b9bb4a93
TS
37102016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3711
3712 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3713 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3714 * config/tc-m68hc11.c (md_begin): Likewise.
3715 (print_opcode_list): Likewise.
3716 * config/tc-msp430.c (msp430_section): Likewise.
3717 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3718 (s3_build_dependency_insn_hsh): Likewise.
3719 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3720 (s7_build_dependency_insn_hsh): Likewise.
3721 * config/tc-tic4x.c: Likewise.
3722 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3723 (subsym_get_arg): Likewise.
3724 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3725 (get_directive): Likewise.
3726 (cache_literal_section): Likewise.
3727 * config/xtensa-relax.c: Likewise.
3728 * symbols.c (symbol_create): Likewise.
3729 (local_symbol_make): Likewise.
3730 (symbol_relc_make_expr): Likewise.
3731
986d894b
TS
37322016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3733
3734 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3735 str.
3736
74b4e47a
TS
37372016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3738
3739 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3740 call with a switch.
3741
0a433ebc
TS
37422016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3743
3744 * config/tc-ia64.c (ia64_do_align): Remove.
3745 (ia64_cons_align): Call do_align () directly.
3746 (dot_proc): Likewise.
3747 (stmt_float_cons): Likewise.
3748
8860a416
TS
37492016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3750
3751 * listing.c (listing_message): Use XNEW style allocation macros.
3752 * read.c (read_a_source_file): Likewise.
3753 (read_symbol_name): Likewise.
3754 (s_mri_common): Likewise.
3755 (assign_symbol): Likewise.
3756 (s_reloc): Likewise.
3757 (emit_expr_with_reloc): Likewise.
3758 (s_incbin): Likewise.
3759 (s_include): Likewise.
3760 * sb.c (sb_build): Likewise.
3761 (sb_check): Likewise.
3762
49636823
AM
37632016-03-22 Alan Modra <amodra@gmail.com>
3764
3765 * write.c (record_alignment): Revert 2016-02-18 change.
3766
39a0d071
AM
37672016-03-22 Alan Modra <amodra@gmail.com>
3768
3769 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3770 (emit_jsrjmp, tc_gen_reloc): Likewise.
3771 * config/tc-i370.c (i370_macro): Likewise.
3772
9780e045
NC
37732016-03-22 Nick Clifton <nickc@redhat.com>
3774
3775 * configure: Regenerate.
3776
e23e8ebe
AB
37772016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3778
3779 * testsuite/gas/arc/nps400-0.d: New file.
3780 * testsuite/gas/arc/nps400-0.s: New file.
3781 * testsuite/gas/arc/nps400-1.d: New file.
3782 * testsuite/gas/arc/nps400-1.s: New file.
3783
1ae8ab47
AB
37842016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3785
3786 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3787 declarations to start of block. Reset code on all flags before
3788 attempting to match them. Handle multiple hits on the same flag.
3789 Handle flag class.
3790 * testsuite/gas/arc/asm-errors.d: New file.
3791 * testsuite/gas/arc/asm-errors.err: New file.
3792 * testsuite/gas/arc/asm-errors.s: New file.
3793
8699fc3e
AB
37942016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3795
3796 * config/tc-arc.c (cpu_types): Add nps400 entry.
3797 (check_zol): Handle nps400.
3798
a9522a21
AB
37992016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3800
3801 * config/tc-arc.c (arc_select_cpu): Remove use of
3802 EF_ARC_CPU_GENERIC.
3803
24740d83
AB
38042016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3805
3806 * config/tc-arc.c (arc_target): Delay initialisation until
3807 arc_select_cpu.
3808 (arc_target_name): Likewise.
3809 (arc_features): Likewise.
3810 (arc_mach_type): Likewise.
3811 (cpu_types): Remove "all" entry.
3812 (arc_select_cpu): New function, most of the content is from...
3813 (md_parse_option): ... here. Call new arc_select_cpu.
3814 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3815
62f6f9c2
AB
38162016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3817
3818 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3819 * testsuite/gas/arc/inline-data-2.d: New file.
3820
e1fa0163
NC
38212016-03-21 Nick Clifton <nickc@redhat.com>
3822
3823 * atof-generic.c: Replace use of alloca with call to xmalloc.
3824 * cgen.c: Likewise.
3825 * dwarf2dbg.c: Likewise.
3826 * macro.c: Likewise.
3827 * remap.c: Likewise.
3828 * stabs.c: Likewise.
3829 * symbols.c: Likewise.
3830 * config/obj-elf.c: Likewise.
3831 * config/tc-aarch64.c: Likewise.
3832 * config/tc-arc.c: Likewise.
3833 * config/tc-arm.c: Likewise.
3834 * config/tc-avr.c: Likewise.
3835 * config/tc-ia64.c: Likewise.
3836 * config/tc-mips.c: Likewise.
3837 * config/tc-msp430.c: Likewise.
3838 * config/tc-nds32.c: Likewise.
3839 * config/tc-ppc.c: Likewise.
3840 * config/tc-sh.c: Likewise.
3841 * config/tc-tic30.c: Likewise.
3842 * config/tc-tic54x.c: Likewise.
3843 * config/tc-xstormy16.c: Likewise.
3844 * config/te-vms.c: Likewise.
3845 * configure: Regenerate.
3846
bad6e36d
TS
38472016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3848
3849 * tc-i386.c (f32_1): Change type to unsigned char[].
3850 (f32_2): Likewise.
3851 (f32_3): Likewise.
3852 (f32_4): Likewise.
3853 (f32_5): Likewise.
3854 (f32_6): Likewise.
3855 (f32_7): Likewise.
3856 (f32_8): Likewise.
3857 (f32_9): Likewise.
3858 (f32_10): Likewise.
3859 (f32_11): Likewise.
3860 (f32_12): Likewise.
3861 (f32_13): Likewise.
3862 (f32_14): Likewise.
3863 (f16_3): Likewise.
3864 (f16_4): Likewise.
3865 (f16_5): Likewise.
3866 (f16_6): Likewise.
3867 (f16_7): Likewise.
3868 (f16_8): Likewise.
3869 (jump_31): Likewise.
3870 (f32_patt): Likewise.
3871 (f16_patt): Likewise.
3872 (alt_3): Likewise.
3873 (alt_4): Likewise.
3874 (alt_5): Likewise.
3875 (alt_6): Likewise.
3876 (alt_7): Likewise.
3877 (alt_8): Likewise.
3878 (alt_9): Likewise.
3879 (alt_10): Likewise.
3880 (alt_patt): Likewise.
3881
6387924a
NC
38822016-03-18 Nick Clifton <nickc@redhat.com>
3883
30fab421
NC
3884 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3885 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3886 .tlsdescldr and .xword directives.
3887
8678914f
NC
3888 PR target/19721
3889 * testsuite/gas/aarch64/pr19721.s: New test source file.
3890 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3891
6387924a
NC
3892 * doc/as.texinfo: Place the target specific command line options
3893 into their own man page section.
3894
cc933301
JW
38952016-03-16 Jiong Wang <jiong.wang@arm.com>
3896
3897 * config/tc-arm.c (N_S_32): New.
3898 (N_F_16_32): Likewise.
3899 (N_SUF_32): Support N_F16.
3900 (N_IF_32): Likewise.
3901 (neon_dyadic_misc): Likewise.
3902 (do_neon_cmp): Likewise.
3903 (do_neon_cmp_inv): Likewise.
3904 (do_neon_mul): Likewise.
3905 (do_neon_fcmp_absolute): Likewise.
3906 (do_neon_step): Likewise.
3907 (do_neon_abs_neg): Likewise.
3908 (CVT_FLAVOR_VAR): Likewise.
3909 (do_neon_cvt_1): Likewise.
3910 (do_neon_recip_est): Likewise.
3911 (do_vmaxnm): Likewise.
3912 (do_vrint_1): Likewise.
3913 (neon_check_type): Check architecture support for FP16 extension.
3914 (insns): Update comments.
3915 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3916 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3917 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3918 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3919 arm mode.
3920 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3921 thumb mode.
3922 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3923 error file.
3924
5f2b6bc9
NC
39252016-03-16 Nick Clifton <nickc@redhat.com>
3926
3927 * read.c (emit_expr_with_reloc): Add code check a bignum with
3928 nbytes == 1.
3929 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3930 other than 32-bits.
3931 * testsuite/gas/elf/bignum.s: New test source file.
3932 * testsuite/gas/elf/bignum.d: New test driver file.
3933 * testsuite/gas/elf/elf.exp: Run the new test.
3934
4bde3cdd
UD
39352016-03-15 Ulrich Drepper <drepper@gmail.com>
3936
3937 * doc/c-i386.texi (Register Naming): Update to details of the
abe051ba 3938 latest architecture version.
4bde3cdd 3939
a9f02af8
MG
39402016-03-10 Mickael Guene <mickael.guene@st.com>
3941
3942 PR gas/19744
3943 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3944 (do_mov): Likewise.
3945 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3946 (do_t_mov_cmp): Likewise.
3947 (do_t_add_sub): Protect against bad relocations usage.
3948 (do_t_mov_cmp): Likewise.
5dafb246
AM
3949 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3950 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3951 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3952 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
a9f02af8 3953
aa8a0863
TS
39542016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3955
3956 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3957 do_alignment.
3958 (do_neon_ld_st_lane): Likewise.
3959 (do_neon_ld_dup): Likewise.
3960
72f3b6aa
CZ
39612016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3962
3963 * testsuite/gas/arc/inline-data-1.d: New file.
3964 * testsuite/gas/arc/inline-data-1.s: New file.
3965
5f474010
TP
39662016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3967
3968 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3969 * doc/c-arm.texi: Add cortex-r8.
3970
f86f5863
TS
39712016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3972
3973 * config/tc-arc.c: Add const qualifiers.
3974 * config/tc-h8300.c (md_begin): Likewise.
3975 * config/tc-ia64.c (print_prmask): Likewise.
3976 * config/tc-msp430.c (msp430_operands): Likewise.
3977 * config/tc-nds32.c (struct suffix_name): Likewise.
3978 (struct nds32_parse_option_table): Likewise.
3979 (struct nds32_set_option_table): Likewise.
3980 (do_pseudo_pushpopm): Likewise.
3981 (do_pseudo_pushpop_stack): Likewise.
3982 (nds32_relax_relocs): Likewise.
3983 (nds32_flag): Likewise.
3984 (struct nds32_hint_map): Likewise.
3985 (nds32_find_reloc_table): Likewise.
3986 (nds32_match_hint_insn): Likewise.
3987 * config/tc-s390.c: Likewise.
3988 * config/tc-sh.c (get_specific): Likewise.
3989 * config/tc-tic30.c: Likewise.
3990 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3991 (tic4x_indirect_parse): Likewise.
3992 * config/tc-vax.c (vax_cons): Likewise.
3993 * config/tc-z80.c (struct reg_entry): Likewise.
3994 * config/tc-epiphany.c (md_assemble): Adjust.
3995 (epiphany_assemble): New function.
3996 (epiphany_elf_section_rtn): Call do_align directly.
3997 (epiphany_elf_section_text): Likewise.
3998 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3999 (ip2k_elf_section_text): Likewise.
4000 * read.c (do_align): Make it not static.
4001 * read.h (do_align): New prototype.
4002
9411fd44
MW
40032016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4004
4005 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
4006 for ARMv8.1 AdvSIMD use.
4007 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
4008 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
4009
643afb90
MW
40102016-03-04 Matthew Wahab <matthew.wahab@arm.com>
4011
4012 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
4013 feature.
4014 (record_feature_use): New.
4015 (mark_feature_used): Use record_feature_use.
4016 (do_neon_qrdmlah): New.
4017 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
4018 variants.
4019 (arm_extensions): Put into alphabetical order. Re-indent "simd"
4020 and "rdma" entries. Fix the incorrect merge value for "+rdma".
4021 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
4022 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
4023 Make source file explicit.
4024 * testsuite/gas/arm/armv8-a+rdma.l: New.
4025 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
4026 directives. Fix white-space.
4027 * testsuite/gas/arm/armv8_1-a+simd.d: New.
4028
25aa3689
L
40292016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4030
4031 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
4032
841fdfcd
CZ
40332016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
4034 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4035
abe051ba
AM
4036 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
4037 (tc_arc_fix_adjustable): Changed default return value to 1.
4038 * testsuite/gas/arc/j.d: Updated expected symbol
4039 * testsuite/gas/arc/jl.d: Likewise
4040 * testsuite/gas/arc/relax-avoid1.d: Likewise
4041 * testsuite/gas/arc/st.d: Likewise
841fdfcd 4042
7e458899
CZ
40432016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
4044
4045 * config/tc-arc.c: Enable code density instructions for ARC EM.
4046
11e5f1ec
L
40472016-02-26 H.J. Lu <hongjiu.lu@intel.com>
4048
4049 PR ld/19645
4050 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
4051 for ELF assemblers.
4052 * as.c (flag_use_elf_stt_common): New.
4053 (show_usage): Add --elf-stt-common=.
4054 (option_values): Add OPTION_ELF_STT_COMMON.
4055 (std_longopts): Add --elf-stt-common=.
4056 (parse_args): Handle --elf-stt-common=.
4057 * as.h (flag_use_elf_stt_common): New.
4058 * config.in: Regenerated.
4059 * configure: Likewise.
4060 * configure.ac: Add --enable-elf-stt-common and define
4061 DEFAULT_GENERATE_ELF_STT_COMMON.
4062 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
4063 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
4064 * doc/as.texinfo: Document --elf-stt-common=.
4065 * testsuite/gas/elf/common3.s: New file.
4066 * testsuite/gas/elf/common3a.d: Likewise.
4067 * testsuite/gas/elf/common3b.d: Likewise.
4068 * testsuite/gas/elf/common4.s: Likewise.
4069 * testsuite/gas/elf/common4a.d: Likewise.
4070 * testsuite/gas/elf/common4b.d: Likewise.
4071 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
4072 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
4073 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
4074 and common4b.
4075 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
4076 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
4077 --elf-stt-common=no to as.
4078 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
4079 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
4080 --elf-stt-common=no to as.
4081 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
4082 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
4083 of dw2-compress-3 and dw2-compressed-3.
4084
e0471c16
TS
40852016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4086
4087 * as.c (select_emulation_mode): Add const qualifiers.
4088 * as.h: Likewise.
4089 * config/bfin-defs.h: Likewise.
4090 * config/bfin-parse.y: Likewise.
4091 * config/rx-parse.y: Likewise.
4092 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
4093 (struct aarch64_cpu_option_table): Likewise.
4094 (struct aarch64_arch_option_table): Likewise.
4095 (struct aarch64_option_cpu_value_table): Likewise.
4096 (struct aarch64_long_option_table): Likewise.
4097 (struct aarch64_option_abi_value_table): Likewise.
4098 * config/tc-arm.c (struct reloc_entry): Likewise.
4099 (tc_gen_reloc): Likewise.
4100 (struct arm_option_table): Likewise.
4101 (struct arm_legacy_option_table): Likewise.
4102 (struct arm_cpu_option_table): Likewise.
4103 (struct arm_arch_option_table): Likewise.
4104 (struct arm_option_extension_value_table): Likewise.
4105 (struct arm_option_fpu_value_table): Likewise.
4106 (struct arm_option_value_table): Likewise.
4107 (struct arm_long_option_table): Likewise.
4108 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
4109 (struct mcu_type_s): Likewise.
4110 (struct exp_mod_s): Likewise.
4111 (avr_operand): Likewise.
4112 (avr_operands): Likewise.
4113 * config/tc-d10v.c (md_begin): Likewise.
4114 * config/tc-dlx.c: Likewise.
4115 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
4116 * config/tc-ft32.c (parse_condition): Likewise.
4117 * config/tc-h8300.c (do_a_fix_imm): Likewise.
4118 * config/tc-hppa.c (pa_ip): Likewise.
4119 (hppa_regname_to_dw2regnum): Likewise.
4120 * config/tc-i370.c (i370_elf_suffix): Likewise.
4121 * config/tc-i960.c (struct tabentry): Likewise.
4122 * config/tc-m32r.c: Likewise.
4123 * config/tc-m68k.c: Likewise.
4124 * config/tc-m68k.h: Likewise.
4125 * config/tc-mcore.c (parse_psrmod): Likewise.
4126 * config/tc-metag.c (struct metag_core_option): Likewise.
4127 (struct metag_long_option): Likewise.
4128 * config/tc-microblaze.c: Likewise.
4129 * config/tc-mips.c (macro): Likewise.
4130 * config/tc-mn10200.c: Likewise.
4131 * config/tc-mn10300.c: Likewise.
4132 * config/tc-msp430.c (struct rcodes_s): Likewise.
4133 (struct hcodes_s): Likewise.
4134 (md_parse_option): Likewise.
4135 * config/tc-ns32k.c (struct ns32k_option): Likewise.
4136 (optlist): Likewise.
4137 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
4138 (tc_ppc_regname_to_dw2regnum): Likewise.
4139 * config/tc-ppc.h: Likewise.
4140 * config/tc-rl78.c: Likewise.
4141 * config/tc-rx.c (struct cpu_type): Likewise.
4142 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
4143 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
4144 (sparc_ip): Likewise.
4145 * config/tc-spu.c (insn_fmt_string): Likewise.
4146 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4147 * config/tc-v850.c: Likewise.
4148 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
4149 (struct visium_long_option_table): Likewise.
4150 * config/tc-xgate.c: Likewise.
4151 * config/tc-z8k.c: Likewise.
4152 * read.c (add_include_dir): Likewise.
4153 * read.h: Likewise.
4154
e6e7b7c4
AB
41552016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4156
4157 * testsuite/gas/all/gas.exp: Change target pattern to cover
4158 arceb-*.
4159 * testsuite/gas/all/redef3.d: Likewise.
4160 * testsuite/gas/elf/elf.exp: Likewise.
4161
9db2f6b4
RL
41622016-02-24 Renlin Li <renlin.li@arm.com>
4163
4164 * config/tc-arm.c (BAD_FP16): New error message macro.
4165 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
4166 fp16 scalar instructions.
4167 (neon_check_type): Allow different size from key.
4168 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
4169 (try_vfp_nsyn): Likewise.
4170 (do_vfp_nsyn_mla_mls): Likewise.
4171 (do_vfp_nsyn_fma_fms): Likewise.
4172 (do_vfp_nsyn_ldm_stm): Likewise
4173 (do_vfp_nsyn_sqrt): Likewise
4174 (do_vfp_nsyn_div): Likewise
4175 (do_vfp_nsyn_nmul): Likewise.
4176 (do_vfp_nsyn_cmp): Likewise.
4177 (do_neon_shll): Likewise.
4178 (do_vfp_nsyn_cvt_fpv8): Likewise.
4179 (do_neon_cvttb_2): Likewise.
4180 (do_neon_mov): Likewise.
4181 (do_neon_rshift_round_imm): Likewise.
4182 (do_neon_ldr_str): Likewise.
4183 (do_vfp_nsyn_fpv8): Likewise.
4184 (do_vmaxnm): Likewise.
4185 (do_vrint_1): Likewise.
4186 (insns): New entry for vins, vmovx.
4187 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
4188 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
4189 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
4190 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
4191 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
4192 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
4193 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
4194
d54af2d0
RL
41952016-02-24 Renlin Li <renlin.li@arm.com>
4196
4197 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
4198 (neon_shape_class): New SC_HALF.
4199 (neon_shape_el): New SE_H.
4200 (neon_shape_el_size): New size for SE_H.
4201 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
4202 (neon_select_shape): Add SE_H support code.
4203 (el_type_of_type_chk): Use N_F_ALL.
4204 (do_vfp_nsyn_cvt): Add SE_H shape support.
4205 (do_neon_cvtz): Likewise.
4206 (do_neon_cvt_1): Likewise.
4207 (do_neon_cvttb_1): Likewise.
4208
b0c11777
RL
42092016-02-24 Renlin Li <renlin.li@arm.com>
4210
4211 * testsuite/gas/arm/copro.d: Adjust output.
4212 * testsuite/gas/arm/copro.s: Adjust co-processor num.
4213
3e309328
RL
42142016-02-24 Renlin Li <renlin.li@arm.com>
4215
4216 * testsuite/gas/arm/mask_1.d: New.
4217 * testsuite/gas/arm/mask_1.s: New.
4218
8afc7bea
RL
42192016-02-24 Renlin Li <renlin.li@arm.com>
4220
4221 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
4222 * testsuite/gas/arm/copro.d: Update.
4223
6735952f
KT
42242016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4225
4226 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
4227 * doc/c-arm.texi (ARM Options): Document cortex-a32.
4228
ed5491b9
KT
42292016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4230
abe051ba 4231 * doc/c-arm.texi (ARM Options): Document cortex-a17.
ed5491b9 4232
742e5034
L
42332016-02-23 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
4236 hpux.
4237
3b4dbbbf
TS
42382016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
4239
4240 * output-file.c (output_file_create): Make file name argument const.
4241 (output_file_close): Likewise.
4242 * output-file.h (output_file_create): Adjust.
4243 (output_file_close): Likewise.
4244 * depend.c (quote_string_for_make): Make src argument const char *.
4245 (register_dependency): Likewise.
4246 (wrap_output): Likewise.
4247 * as.h (register_dependency): Adjust.
4248 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
4249 as_where ();
4250 * symbols.c (S_SET_EXTERNAL): Likewise.
4251 * input-scrub.c (as_where): Return the file name.
4252 * as.h (as_where): Adjust prototype.
4253 * app.c (do_scrub_chars): Adjust.
4254 * cond.c (s_elseif): Likewise.
4255 (s_else): Likewise.
4256 (initialize_cframe): Likewise.
4257 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
4258 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4259 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4260 * config/tc-aarch64.c (output_info): Likewise.
4261 * config/tc-ia64.c (md_assemble): Likewise.
4262 (dot_alias): Likewise.
4263 * config/tc-m68k.c (m68k_frob_label): Likewise.
4264 * config/tc-mmix.c (s_bspec): Likewise.
4265 (mmix_handle_mmixal): Likewise.
4266 * config/tc-rx.c (rx_include): Likewise.
4267 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4268 (tic54x_adjust_symtab): Likewise.
4269 * config/tc-xtensa.c (directive_push): Likewise.
4270 (xtensa_sanity_check): Likewise.
4271 (xtensa_relax_frag): Likewise.
4272 (md_convert_frag): Likewise.
4273 (tinsn_to_slotbuf): Likewise.
4274 * dwarf2dbg.c (dwarf2_where): Likewise.
4275 * ecoff.c (add_file): Likewise.
4276 (ecoff_generate_asm_lineno): Likewise.
4277 * expr.c (make_expr_symbol): Likewise.
4278 * frags.c (frag_new): Likewise.
4279 (frag_var_init): Likewise.
4280 * listing.c (listing_newline): Likewise.
4281 * messages.c (identify): Likewise.
4282 (as_show_where): Likewise.
4283 (as_warn_internal): Likewise.
4284 (as_bad_internal): Likewise.
4285 * read.c (s_irp): Likewise.
4286 (s_macro): Likewise.
4287 (s_reloc): Likewise.
4288 * stabs.c (stabs_generate_asm_file): Likewise.
4289 (stabs_generate_asm_lineno): Likewise.
4290 (stabs_generate_asm_func): Likewise.
4291 * write.c (fix_new_internal): Likewise.
4292 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
4293 (as_warn_value_out_of_range): Adjust prototype.
4294 (as_bad_value_out_of_range): Adjust prototype.
4295 * messages.c (identify): Make file name argument const char *.
4296 (as_warn_internal): Likewise.
4297 (as_warn_where): Likewise.
4298 (as_bad_internal): Likewise.
4299 (as_bad_where): Likewise.
4300 (as_internal_value_out_of_range): Likewise.
4301 (as_warn_value_out_of_range): Likewise.
4302 (as_bad_value_out_of_range): Likewise.
4303 * as.h (found_comment_file): Change type to const char *.
4304 * cond.c (file_line::file): Likewise.
4305 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
4306 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
4307 * config/obj-som.c (obj_som_init_stab_section): Likewise.
4308 * config/tc-aarch64.c (output_info): Likewise.
4309 * config/tc-alpha.c (insert_operand): Likewise.
4310 * config/tc-arc.c (insert_operand): Likewise.
4311 * config/tc-d30v.c (check_size): Likewise.
4312 * config/tc-ia64.c (struct alias): Likewise.
4313 * config/tc-m68k.c (struct label_line): Likewise.
4314 * config/tc-mcore.c (md_apply_fix): Likewise.
4315 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
4316 * config/tc-mips.c (mips16_immed): Likewise.
4317 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
4318 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4319 * config/tc-rx.c (rx_include): Likewise.
4320 * config/tc-s390.c (s390_insert_operand): Likewise.
4321 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
4322 (tic54x_adjust_symtab): Likewise.
4323 * config/tc-tilegx.c (insert_operand): Likewise.
4324 (apply_special_operator): Likewise.
4325 * config/tc-tilepro.c (insert_operand): Likewise.
4326 * config/tc-xtensa.c (directive_push): Likewise.
4327 * ecoff.c (add_file): Likewise.
4328 (ecoff_generate_asm_lineno): Likewise.
4329 * listing.c (listing_newline): Likewise.
4330 * read.c (s_irp): Likewise.
4331 * write.c (install_reloc): Likewise.
4332 * write.h (struct fix): Likewise.
4333 * input-file.c (file_name): Change type to const char *.
4334 (saved_file::file_name): Likewise.
4335 (input_file_open): Change type of argument to const char *.
4336 * input-file.h (input_file_open): Adjust.
4337 * input-scrub.c (logical_input_file): change type to const char *.
4338 (physical_input_file): Likewise.
abe051ba 4339 (struct input_save): Adjust.
3b4dbbbf
TS
4340 (input_scrub_push): Adjust.
4341 (input_scrub_begin): Adjust.
4342 (as_where): Adjust.
4343 * input-scrub.c (input_scrub_new_file): Make file name argument const.
4344 (input_scrub_include_file): Likewise.
4345 (new_logical_line_flags): Likewise.
4346 (new_logical_line): Likewise.
4347 * as.h: Adjust.
4348 * frags.h (struct frag): Change type of fr_file to const char *.
4349 * expr.c (expr_symbol_where): Change type of file argument to
4350 const char **.
4351 * expr.h (expr_symbol_where): Likewise.
4352 * config/tc-i370.c (md_apply_fix): adjust.
4353 * config/tc-mmix.c (mmix_md_end): Likewise.
4354 * config/tc-ppc.c (md_apply_fix): Likewise.
4355 * config/tc-s390.c (md_apply_fix): Likewise.
4356 * symbols.c (report_op_error): Likewise.
4357 (resolve_symbol_value): Likewise.
4358 * config/tc-ia64.c (slot::src_file): Change type to const char *.
4359 (rsrc::file): Likewise.
4360 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
4361 const char *.
4362 (xtensa_relax_frag): Likewise.
4363 (md_convert_frag): Likewise.
4364 (tinsn_to_slotbuf): Likewise.
4365 * expr.c (expr_symbol_line): Likewise.
4366 * macro.c (define_macro): Likewise.
4367 * macro.h (macro_struct): Likewise.
4368 * messages.c (as_show_where): Likewise.
4369 * read.c (s_macro): Likewise.
4370 * stabs.c (stabs_generate_asm_file): Likewise.
4371 (generate_asm_file): Likewise.
4372 (stabs_generate_asm_lineno): Likewise.
4373 * write.h (struct reloc_list): Likewise.
4374 * input-scrub.c (as_where): Change return type to const char *.
4375 * as.h (as_wheree): Adjust.
4376
8ecb73dd
L
43772016-02-21 H.J. Lu <hongjiu.lu@intel.com>
4378
4379 * write.c (compress_debug): Move BFD compression bits setting
4380 to ...
4381 (write_object_file): Here.
4382
200cbe0f
L
43832016-02-20 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 * config/tc-i386.c (register_number): Check RegVRex.
4386 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
4387 with %zmm19 and %zmm3.
4388 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
4389 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
4390
b8ec4e87
JW
43912016-02-19 Matthew Wahab <matthew.wahab@arm.com>
4392 Jiong Wang <jiong.wang@arm.com>
4393
4394 * config/tc-arm.c (arm_ext_fp16): New.
4395 (arm_extensions): New entry for "fp16".
4396
3be64886
NC
43972016-02-19 Nick Clifton <nickc@redhat.com>
4398
4399 PR 19630
4400 * read.c (read_a_source_file): Check for assemble_one returning
4401 with input_line_pointer set to NULL.
4402
3b4dbbbf 44032016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
cd0bbe6e 4404
3d13c647
TS
4405 * listing.c (rebuffer_line): Change return type to void.
4406
cd0bbe6e
TS
4407 * symbols.c (decode_local_label_name): Make type a const char *.
4408 * listing.c (print_source): Make type of p const char *.
4409 (print_line): Make type of string const char *.
4410 (buffer_line): Return const char *.
4411 (title): Make type const char *.
4412 (subtitle): Likewise.
4413 (listing_listing): Make type of p const char *.
4414 * messages.c (as_internal_value_out_of_range): Make type of prefix
4415 const char *.
4416 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
4417 and string const char *.
4418 * read.c (_bfd_rel): Make type of name const char *.
4419 * app.c (out_string): Change type to const char *.
abe051ba 4420 (struct app_save::out_string): Likewise.
cd0bbe6e 4421
9136aa49
DG
44222016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4423 Nick Clifton <nickc@redhat.com>
4424
4425 * read.c (finish_bundle): Avoid recording a negative alignment.
4426 (do_align): Use unsigned values for n, len and max. Only create
4427 a frag if the alignment requirement is greater than the minimum
4428 byte alignment. Avoid recording a negative alignment.
4429 (s_align): Use unsigned values where appropriate.
4430 (bss_alloc): Use an unsigned value for the alignment.
4431 (sizeof_sleb128): Add a comment noting that we encode one octet
4432 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4433 (emit_leb129_expr): Abort if the emitted encoding was longer than
4434 expected.
4435 * read.h (output_leb128): Update prototype.
4436 (sizeof_leb128): Update prototype.
4437 (bss_alloc): Update prototype.
4438 * write.c (record_alignment): Use an unsigned value for the
4439 alignment. Do not record alignments less than the minimum
4440 alignment for a byte.
4441 * write.h (record_alignment): Update prototype.
4442
4111950f
MF
44432016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4444
4445 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4446 .init.literal/.fini.literal section name.
4447 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4448 list of xtensa tests.
4449 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4450 init-fini-literals test result patterns.
4451 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4452 init-fini-literals test.
4453
b27c40ec
NC
44542016-02-17 Nick Clifton <nickc@redhat.com>
4455
4456 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4457 devices.csv file as of March 2016.
4458
726c18e1
CZ
44592016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4460
4461 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4462 function.
4463 (tc_arc_regname_to_dw2regnum): Likewise.
4464 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4465 (tc_cfi_frame_initial_instructions): Likewise.
4466 (tc_regname_to_dw2regnum): Likewise.
5dafb246
AM
4467 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4468 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4469 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
726c18e1 4470
9406ee73
TS
44712016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4472
4473 * doc/internals.texi (S_IS_EXTERN): Remove.
4474
eda683bb
NC
44752016-02-16 Nick Clifton <nickc@redhat.com>
4476
4477 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4478 update.
4479
671eeb28
RL
44802016-02-16 Renlin Li <renlin.li@arm.com>
4481
4482 PR gas/19620
4483 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4484 * testsuite/gas/aarch64/movw_label.d: New.
4485 * testsuite/gas/aarch64/movw_label.s: New.
4486
804021fb 44872016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
6439ea1a 4488
58cda018 4489 PR gas/19556
6439ea1a
VK
4490 * config/rx-parse.y (MOV): Opcode generation for index
4491 register addressing mode.
4492 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4493 * testsuite/gas/rx/pr19665.s: New file.
4494 * testsuite/gas/rx/pr19665.s: New file.
4495 * testsuite/gas/rx/mov.d: Update expected output.
4496
804021fb 44972016-02-15 Nick Clifton <nickc@redhat.com>
9fb71ee4
NC
4498
4499 * doc/as.texinfo (.section): Document that numeric values can now
4500 be used for the flags and type fields of the ELF target's .section
4501 directive. Add notes about the restrictions on setting flags and
4502 types.
4503 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4504 to be given processor specific section types. Allow processor and
4505 application specific flags of a section to be set after
4506 definition.
4507 (obj_elf_parse_section_letters): Handle parsing numeric values.
4508 (obj_elf_section_type): Handle parsing numeric values.
4509 (obj_elf_section): Allow numeric type values.
4510 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4511 * testsuite/gas/elf/section10.d: New test.
4512 * testsuite/gas/elf/section10.s: Source file for new test.
4513 * testsuite/gas/elf/elf.exp: Run the new test.
4514 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4515 the description of the flags produced by readelf.
4516 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4517 * NEWS: Mention the new feature.
4518
bd5608dc
NC
45192016-02-11 Nick Clifton <nickc@redhat.com>
4520
4521 PR gas/19614
4522 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4523 until it is actually used.
4524 (cfi_set_sections): Set cfi_sections_set to true.
4525 (dot_cfi_startproc): Likewise.
4526 (dot_cfi_endproc): Likewise.
4527 (dot_cfi_fde_data): Likewise.
4528 (cfi_finish): Likewise.
4529 (dot_cfi_sections): Do not set cfi_sections_set.
4530 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4531 their own cfi section name. Also note that the directive can be
4532 reissued provided that CFI generation has not started.
4533 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4534 .cfi_endproc directives so that the redefinition of .cfi_sections
4535 will trigger the generation of the error message.
4536 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4537 number of error message.
4538
4670103e
CZ
45392016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4540 Janek van Oirschot <jvanoirs@synopsys.com>
4541
4542 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4543 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4544 Define.
4545 (arc_flags, arc_relax_type): New structure.
4546 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4547 (RELAX_TABLE_ENTRY_MAX): New define.
4548 (relaxation_state, md_relax_table, arc_relaxable_insns)
4549 (arc_num_relaxable_ins): New variable.
4550 (rlx_operand_type, arc_rlx_types): New enums.
4551 (arc_relaxable_ins): New structure.
4552 (OPTION_RELAX): New option.
4553 (arc_insn): New relax member.
4554 (arc_flags): Remove.
4555 (relax_insn_p): New function.
4556 (apply_fixups): Likewise.
4557 (relaxable_operand): Likewise.
4558 (may_relax_expr): Likewise.
4559 (relaxable_flag): Likewise.
4560 (arc_pcrel_adjust): Likewise.
4561 (md_estimate_size_before_relax): Implement.
4562 (md_convert_frag): Likewise.
4563 (md_parse_option): Handle new mrelax option.
4564 (md_show_usage): Likewise.
4565 (assemble_insn): Set relax member.
4566 (emit_insn0): New function.
4567 (emit_insn1): Likewise.
4568 (emit_insn): Handle relaxation case.
4569 * NEWS: Mention the new relaxation option.
4570 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4571 * doc/as.texinfo (Target ARC Options): Likewise.
4572 * testsuite/gas/arc/relax-avoid1.d: New file.
4573 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4574 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4575 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4576 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4577 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4578 * testsuite/gas/arc/relax-b.d: Likewise.
4579 * testsuite/gas/arc/relax-b.s: Likewise.
4580
9264d325
NC
45812016-02-08 Nick Clifton <nickc@redhat.com>
4582
4583 * config/tc-ia64.c (dot_prologue): Fix formatting.
4584
39306124
NC
45852016-02-04 Nick Clifton <nickc@redhat.com>
4586
4587 * config/obj-elf.c (obj_elf_change_section): Remove support for
4588 ARM NOREAD sections.
4589 * config/tc-arm.c (arm_elf_section_letter): Delete.
4590 * config/tc-arm.h (md_elf_section_letter): Delete.
4591 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4592 * testsuite/gas/arm/section-execute-only.d: Delete.
4593 * testsuite/gas/arm/section-execute-only.s: Delete.
4594
c1d9289f
NC
45952016-02-04 Nick Clifton <nickc@redhat.com>
4596
4597 PR target/19561
4598 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4599 to handle encoding of RRUX instruction.
4600 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4601 shift instructions.
4602 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4603
ea173078
MF
46042016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4605
4606 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4607 substitutions for BFD_RELOC_* as unsigned.
c1d9289f
NC
4608 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4609 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4610 * testsuite/gas/xtensa/loc.s: New file: loc test.
ea173078 4611
3d8efabf
KB
46122016-02-03 Kevin Buettner <kevinb@redhat.com>
4613
abe051ba 4614 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3d8efabf 4615
0cb4071e
L
46162016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4617
4618 PR gas/19520
4619 * NEWS: Mention new command line option -mrelax-relocations and
4620 new configure option --enable-x86-relax-relocations for x86
4621 target.
4622 * config.in: Regenerated.
4623 * configure.ac: Add --enable-x86-relax-relocations.
4624 (ac_default_x86_relax_relocations): New. Default to 1 except
4625 for x86 Solaris targets older than Solaris 12.
4626 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4627 * configure: Likewise.
4628 * config/tc-i386.c (generate_relax_relocations): New.
4629 (OPTION_MRELAX_RELOCATIONS): Likewise.
4630 (output_disp): Don't generate relax relocations if
4631 generate_relax_relocations is 0.
4632 (md_longopts): Add -mrelax-relocations.
4633 (md_show_usage): Likewise.
4634 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4635 * doc/c-i386.texi: Document -mrelax-relocations=.
4636 * testsuite/gas/i386/got-no-relax.d: New file.
4637 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4638 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4639 * testsuite/gas/i386/localpic.d: Likewise.
4640 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4641 * testsuite/gas/i386/reloc32.d: Likewise.
4642 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4643 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4644 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4645 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4646 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4647 x86-64-gotpcrel-no-relax.
4648
9d3fc4e1
L
46492016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4650
4651 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4652 for x86 target.
4653
ab71ce86
L
46542016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4655
4656 * NEWS: Remove duplicated marker for 2.26.
4657
46d70d04
RL
46582016-02-02 Renlin Li <renlin.li@arm.com>
4659
4660 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4661
0f99255d
AB
46622016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4663
4664 * testsuite/gas/ip2k/allinsn.d: New file.
4665 * testsuite/gas/ip2k/allinsn.s: New file.
4666 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4667
5d7a9011
AB
46682016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4669
4670 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4671 some load instructions.
4672 * testsuite/gas/epiphany/allinsn.d: Likewise.
4673 * testsuite/gas/epiphany/regression.d: Likewise.
4674
a012b298
AB
46752016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4676
4677 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4678 suffixes from instruction mnemonics in expected output.
4679 * testsuite/gas/epiphany/allinsn.d: Likewise.
4680 * testsuite/gas/epiphany/regression.d: Likewise.
4681 * testsuite/gas/epiphany/sample.d: Likewise.
4682
2f74d480
AB
46832016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4684
4685 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4686 names.
4687 * testsuite/gas/epiphany/allinsn.d: Likewise.
4688 * testsuite/gas/epiphany/sample.d: Likewise.
4689
b89807c6
AB
46902016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4691
4692 * testsuite/gas/epiphany/sample.d: Update expected output.
4693
b125bd17
CZ
46942016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4695
abe051ba
AM
4696 * config/tc-arc.c (md_apply_fix): Allow addendum.
4697 (arc_reloc_op): Allow complex expressions for tpoff.
4698 (md_apply_fix): Handle resolved TLS local symbol.
b125bd17
CZ
4699 * testsuite/gas/arc/tls-relocs1.d: New file.
4700 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4701
4f1d6205
L
47022016-02-01 Loria <Loria@phantasia.org>
4703
4704 PR target/19311
4705 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4706 efficiency and avoid an LLVM loop optimization bug.
4707
ac0d427f
NC
47082016-02-01 Nick Clifton <nickc@redhat.com>
4709
4710 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4711 message extending a negative 32-bit value into a larger signed
4712 value on a 32-bit host.
4713
348ef89a
L
47142016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4715
4716 PR gas/19532
4717 * configure.ac (compressed_debug_sections): Replace == with =.
4718 * configure: Regenerated.
4719
e4e00185
AS
47202016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4721 H.J. Lu <hongjiu.lu@intel.com>
4722
4723 * config/tc-i386.c (avoid_fence): New.
4724 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4725 is true.
4726 (OPTION_FENCE_AS_LOCK_ADD): New.
4727 (md_longopts): Add -mfence-as-lock-add.
4728 (md_parse_option): Handle -mfence-as-lock-add.
4729 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4730 * doc/c-i386.texi (-mfence-as-lock-add): Document.
ac2789d7
L
4731 * testsuite/gas/i386/i386.exp: Run new tests.
4732 * testsuite/gas/i386/fence-as-lock-add.s: New.
4733 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4734 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4735 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4736 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
e4e00185 4737
27ba7c94
L
47382016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4739
4740 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4741 * configure: Regenerated.
4742
d1982f93
L
47432016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4746 (OPTION_MOMIT_LOCK_PREFIX): This.
4747 (md_longopts): Updated.
4748 (md_parse_option): Likewise.
4749
00acd688
CM
47502016-01-25 Catherine Moore <clm@codesourcery.com>
4751
4752 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4753 if abicalls are in effect.
4754 * testsuite/gas/mips/sdata-gp.s: New test.
4755 * testsuite/gas/mips/sdata-gp.d: New expected output
4756 * testsuite/gas/mips/mips.exp: Run new test.
4757
5bc5ae88
RL
47582016-01-25 Renlin Li <renlin.li@arm.com>
4759
4760 * testsuite/gas/arm/thumb2_it_search.d: New.
4761 * testsuite/gas/arm/thumb2_it_search.s: New.
4762
61e137e2
NC
47632016-01-21 Nick Clifton <nickc@redhat.com>
4764
4765 PR gas/19454
4766 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4767 with arm-netbsdelf target.
4768 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4769
aed5fc75
NC
47702016-01-20 Nick Clifton <nickc@redhat.com>
4771
74b92a5c
NC
4772 PR 19456
4773 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4774 * testsuite/gas/arm/blx-bl-convert.d
4775 * testsuite/gas/arm/plt-1.d: Likewise.
4776 * testsuite/gas/arm/reloc-bad.d: Likewise.
4777 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4778 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4779 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4780 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4781
72e0b254
NC
4782 PR 19499
4783 * doc/as.texinfo (Errors): Correct documentation describing the
4784 interaction of .file and .line with warning and error messages.
4785
aed5fc75
NC
4786 PR 19458
4787 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4788 * testsuite/gas/arm/archv8m-main.d: Likewise.
4789 * testsuite/gas/arm/archv8m-base.d: Likewise.
4790
0bff6e2d
MW
47912016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4792
4793 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4794 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4795 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4796
91f68a68
MG
47972016-01-20 Mickael Guene <mickael.guene@st.com>
4798 Terry Guo <terry.guo@arm.com>
4799
4800 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4801 SHF_ARM_NOREAD section flag.
4802 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4803 handle letter 'y'.
4804 (arm_elf_section_letter) : Declare it.
4805 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4806 SHF_ARM_NOREAD section flag.
4807 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4808
4809 * testsuite/gas/arm/section-execute-only.s: New test case.
4810 * testsuite/gas/arm/section-execute-only.d: Expected output.
4811
100b4f2e
MR
48122016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4813
4814 * config/tc-mips.c (micromips_insn_length): Remove the mention
4815 of 48-bit microMIPS instructions.
4816
3d961d0d
AM
48172016-01-18 Alan Modra <amodra@gmail.com>
4818
4819 * configure: Regenerate.
4820
5c14705f
AM
48212016-01-17 Alan Modra <amodra@gmail.com>
4822
4823 * configure: Regenerate.
4824
b3066ae8
AM
48252016-01-17 Alan Modra <amodra@gmail.com>
4826
4827 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4828
4d82fe66
NC
48292016-01-14 Nick Clifton <nickc@redhat.com>
4830
4831 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4832 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4833 * testsuite/gas/rl78/rl78.exp: Run the new test.
4834
651657fa
MW
48352016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4836
4837 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4838 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4839
3facb0e9
MR
48402016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4841
4842 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4843
8a4c2869
YS
48442016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4845
4846 * config/tc-h8300.c (get_operand): Remove spurious condition in
4847 test for closing parenthesis.
4848
105bde57
MW
48492016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4850
4851 * config/tc-arm.c (arm_ext_v8_2): New.
4852 (insns): Add "esb".
4853 * testsuite/gas/arm/armv8_2-a.d: New.
4854 * testsuite/gas/arm/armv8_2-a.s: New.
4855
5230aa4d
AM
48562016-01-12 Alan Modra <amodra@gmail.com>
4857
4858 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4859
afa8d405
PB
48602016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4861
4862 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4863 xvcmpnesp, xvcmpnesp.>: Delete tests.
4864 * testsuite/gas/ppc/power9.s: Likewise.
4865 * testsuite/gas/ppc/vsx3.d: Likewise.
4866 * testsuite/gas/ppc/vsx3.s: Likewise.
4867
83c3256e
AS
48682016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4869
4870 PR gas/13050
4871 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4872 * testsuite/gas/m68k/p13050-1.s: New file.
4873 * testsuite/gas/m68k/p13050-2.d: New file.
4874 * testsuite/gas/m68k/p13050-2.s: New file.
4875
b05a65d0
AB
48762016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4877
4878 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4879 * testsuite/gas/arc/add.d: Likewise.
4880 * testsuite/gas/arc/and.d: Likewise.
4881 * testsuite/gas/arc/asl.d: Likewise.
4882 * testsuite/gas/arc/asr.d: Likewise.
4883 * testsuite/gas/arc/bic.d: Likewise.
4884 * testsuite/gas/arc/extb.d: Likewise.
4885 * testsuite/gas/arc/extw.d: Likewise.
4886 * testsuite/gas/arc/j.d: Likewise.
4887 * testsuite/gas/arc/jl.d: Likewise.
4888 * testsuite/gas/arc/ld2.d: Likewise.
4889 * testsuite/gas/arc/lsr.d: Likewise.
4890 * testsuite/gas/arc/mov.d: Likewise.
4891 * testsuite/gas/arc/or.d: Likewise.
4892 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4893 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4894 * testsuite/gas/arc/pic-relocs.d: Likewise.
4895 * testsuite/gas/arc/plt-relocs.d: Likewise.
4896 * testsuite/gas/arc/rlc.d: Likewise.
4897 * testsuite/gas/arc/ror.d: Likewise.
4898 * testsuite/gas/arc/rrc.d: Likewise.
4899 * testsuite/gas/arc/sbc.d: Likewise.
4900 * testsuite/gas/arc/sda-relocs.d: Likewise.
4901 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4902 * testsuite/gas/arc/sexb.d: Likewise.
4903 * testsuite/gas/arc/sexw.d: Likewise.
4904 * testsuite/gas/arc/st.d: Likewise.
4905 * testsuite/gas/arc/sub.d: Likewise.
4906 * testsuite/gas/arc/tls-relocs.d: Likewise.
4907 * testsuite/gas/arc/xor.d: Likewise.
4908
6f2750fe
AM
49092016-01-01 Alan Modra <amodra@gmail.com>
4910
4911 Update year range in copyright notice of all files.
4912
3499769a
AM
4913For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4914\f
4915Copyright (C) 2016 Free Software Foundation, Inc.
4916
4917Copying and distribution of this file, with or without modification,
4918are permitted in any medium without royalty provided the copyright
4919notice and this notice are preserved.
4920
4921Local Variables:
4922mode: change-log
4923left-margin: 8
4924fill-column: 74
4925version-control: never
4926End:
This page took 0.276038 seconds and 4 git commands to generate.