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