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