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