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