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