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