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