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