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