1 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
3 * config/tc-aarch64.c (output_operand_error_record): Handle
4 AARCH64_OPDE_UNTIED_OPERAND.
6 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
8 * config/tc-aarch64.c (find_best_match): Simplify, allowing an
9 instruction with all-NIL qualifiers to fail to match.
11 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
13 * config/tc-aarch64.c (parse_address_main): Remove reloc and
14 accept_reg_post_index parameters. Parse relocations and register
15 post indexes unconditionally.
16 (parse_address): Remove accept_reg_post_index parameter.
17 Update call to parse_address_main.
18 (parse_address_reloc): Delete.
19 (parse_operands): Call parse_address instead of parse_address_main.
20 Update existing callers of parse_address and make them check
21 inst.reloc.type where appropriate.
22 * testsuite/gas/aarch64/diagnostic.s: Add tests for relocations
23 in ADDR_SIMPLE, SIMD_ADDR_SIMPLE, ADDR_SIMM7 and ADDR_SIMM9 addresses.
24 Also test for invalid uses of post-index register addressing.
25 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
27 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
29 * config/tc-aarch64.c (REG_TYPE_R_Z, REG_TYPE_R_SP): New register
31 (get_reg_expected_msg): Handle them and REG_TYPE_R64_SP.
32 (aarch64_check_reg_type): Simplify.
33 (aarch64_reg_parse_32_64): Return the reg_entry instead of the
34 register number. Return the type as a qualifier rather than an
35 "isreg32" boolean. Remove reject_sp, reject_rz and isregzero
37 (parse_shifter_operand): Update call to aarch64_parse_32_64_reg.
38 Use get_reg_expected_msg.
39 (parse_address_main): Likewise. Use aarch64_check_reg_type.
40 (po_int_reg_or_fail): Replace reject_sp and reject_rz parameters
41 with a reg_type parameter. Update call to aarch64_parse_32_64_reg.
42 Use aarch64_check_reg_type to test the result.
43 (parse_operands): Update after the above changes. Parse ADDR_SIMPLE
44 addresses normally before enforcing the syntax restrictions.
45 * testsuite/gas/aarch64/diagnostic.s: Add tests for a post-index
46 zero register and for a stack pointer index.
47 * testsuite/gas/aarch64/diagnostic.l: Update accordingly.
48 Also update existing diagnostic messages after the above changes.
49 * testsuite/gas/aarch64/illegal-lse.l: Update the error message
50 for 32-bit register bases.
52 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
54 * config/tc-aarch64.c (parse_aarch64_imm_float): Remove range check.
55 (parse_operands): Check the range of 8-bit FP immediates here instead.
57 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
59 * config/tc-aarch64.c (parse_aarch64_imm_float): Report a specific
60 low-severity error for registers.
61 (parse_operands): Report an invalid floating point constant for
62 if parsing an FPIMM8 fails, and if no better error has been
64 * testsuite/gas/aarch64/diagnostic.s,
65 testsuite/gas/aarch64/diagnostic.l: Add tests for integer operands
68 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
70 * config/tc-aarch64.c (aarch64_double_precision_fmovable): Rename
72 (can_convert_double_to_float): ...this. Accept any double-precision
73 value that converts to single precision without loss of precision.
74 (parse_aarch64_imm_float): Update accordingly.
76 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
78 * config/tc-aarch64.c (parse_immediate_expression): Add a
80 (parse_constant_immediate): Likewise, and update calls.
81 (parse_aarch64_imm_float): Likewise.
82 (parse_big_immediate): Likewise.
83 (po_imm_nc_or_fail): Update accordingly, passing down a new
84 imm_reg_type variable.
85 (po_imm_of_fail): Likewise.
86 (parse_operands): Likewise.
88 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
90 * config/tc-aarch64.c (parse_neon_reg_list): Rename to...
91 (parse_vector_reg_list): ...this and take a register type
93 (parse_operands): Update accordingly.
95 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
97 * config/tc-aarch64.c (parse_neon_type_for_operand): Rename to...
98 (parse_vector_type_for_operand): ...this.
99 (parse_typed_reg): Update accordingly.
101 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
103 * config/tc-aarch64.c (neon_type_el): Rename to...
104 (vector_type_el): ...this.
105 (parse_neon_type_for_operand): Update accordingly.
106 (parse_typed_reg): Likewise.
107 (aarch64_reg_parse): Likewise.
108 (vectype_to_qualifier): Likewise.
109 (parse_operands): Likewise.
110 (eq_neon_type_el): Likewise. Rename to...
111 (eq_vector_type_el): ...this.
112 (parse_neon_reg_list): Update accordingly.
114 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
116 * config/tc-aarch64.c (neon_el_type: Rename to...
117 (vector_el_type): ...this.
118 (neon_type_el): Update accordingly.
119 (parse_neon_type_for_operand): Likewise.
120 (vectype_to_qualifier): Likewise.
122 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
124 * config/tc-aarch64.c (parse_neon_operand_type): Delete.
125 (parse_typed_reg): Call parse_neon_type_for_operand directly.
127 2016-09-15 Claudiu Zissulescu <claziss@synopsys.com>
129 * testsuite/gas/arc/textinsnxop.d: New file.
130 * testsuite/gas/arc/textinsnxop.s: Likewise.
132 2016-09-15 Jose E. Marchesi <jose.marchesi@oracle.com>
134 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
135 dcti-couples-v9 only in ELF targets to avoid spurious failures in
136 sparc-aout and sparc-coff targets.
138 2016-09-14 Peter Bergner <bergner@vnet.ibm.com>
140 * testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
141 <addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
142 xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
143 <copy, paste.>: Update tests.
144 * testsuite/gas/ppc/power9.s: Likewise.
146 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
148 * config/tc-sparc.c (sparc_ip): Print the instruction arguments
149 in "architecture mismatch" error messages.
151 2016-09-14 Jose E. Marchesi <jose.marchesi@oracle.com>
153 * config/tc-sparc.c (md_assemble): Detect and warning on
154 unpredictable DCTI couples in certain arches.
155 (dcti_couples_detect): New global.
156 (md_longopts): Add command line option -dcti-couples-detect.
157 (md_show_usage): Document -dcti-couples-detect.
158 (md_parse_option): Handle OPTION_DCTI_COUPLES_DETECT.
159 * testsuite/gas/sparc/sparc.exp (gas_64_check): Run
160 dcti-couples-v8, dcti-couples-v9 and dcti-couples-v9c tests.
161 * testsuite/gas/sparc/dcti-couples.s: New file.
162 * testsuite/gas/sparc/dcti-couples-v9c.d: Likewise.
163 * testsuite/gas/sparc/dcti-couples-v8.d: Likewise.
164 * testsuite/gas/sparc/dcti-couples-v9.d: Likewise.
165 * testsuite/gas/sparc/dcti-couples-v9c.l: Likewise.
166 * testsuite/gas/sparc/dcti-couples-v8.l: Likewise.
167 * doc/as.texinfo (Overview): Document --dcti-couples-detect.
168 * doc/c-sparc.texi (Sparc-Opts): Likewise.
170 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
172 * testsuite/gas/arc/tls-relocs2.d: New file.
173 * testsuite/gas/arc/tls-relocs2.s: Likewise.
174 * config/tc-arc.c (tokenize_arguments): Accept offsets when base
177 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
179 * config/tc-s390.c (s390_parse_cpu): Support alternate arch
181 * doc/as.texinfo: Document new arch strings.
182 * doc/c-s390.texi: Likewise.
184 2016-09-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
186 * config/tc-s390.c: Set all facitily bits by default
188 2016-09-12 Patrick Steuer <steuer@linux.vnet.ibm.com>
190 * testsuite/gas/s390/zarch-z196.d: Adjust testcase.
192 2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
194 * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
197 2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
199 * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
200 (set_cpu_arch): Updated.
201 (md_parse_option): Likewise.
202 * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5. Remove
203 iamcu-inval-2 and iamcu-inval-3.
204 * testsuite/gas/i386/iamcu-4.d: New file.
205 * testsuite/gas/i386/iamcu-4.s: Likewise.
206 * testsuite/gas/i386/iamcu-5.d: Likewise.
207 * testsuite/gas/i386/iamcu-5.s: Likewise.
208 * testsuite/gas/i386/iamcu-inval-2.l: Removed.
209 * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
210 * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
211 * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
213 2016-09-07 Richard Earnshaw <rearnsha@arm.com>
215 * config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
216 ARMv8-A CPUs except xgene1.
218 2016-08-31 Alan Modra <amodra@gmail.com>
220 * config/tc-ppc.c (md_assemble): Set sh_flags for VLE. Test
221 ppc_cpu rather than calling ppc_mach to determine VLE mode.
222 (ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.
224 2016-08-26 Jose E. Marchesi <jose.marchesi@oracle.com>
226 * testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
228 * testsuite/gas/sparc/crypto.s: Likewise.
230 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
232 * config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
233 PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
234 their lowecase counterpart special registers. Write register
236 * testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
237 operation, special register and then case. Use different register for
238 each operation. Add tests for new special registers.
239 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
241 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
242 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
244 2016-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
246 * config/tc-arm.c (v7m_psrs): Remove msp_s, MSP_S, psp_s and PSP_S
248 * testsuite/gas/arm/archv8m-cmse-msr.s: Remove test for above special
250 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
251 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
252 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
254 2016-08-24 H.J. Lu <hongjiu.lu@intel.com>
256 * config/tc-i386.c (cpu_arch): Add .ptwrite.
257 * doc/c-i386.texi: Document ptwrite and .ptwrite.
258 * testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
259 x86-64-ptwrite and x86-64-ptwrite-intel.
260 * testsuite/gas/i386/ptwrite-intel.d: New file.
261 * testsuite/gas/i386/ptwrite.d: Likewise.
262 * testsuite/gas/i386/ptwrite.s: Likewise.
263 * testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
264 * testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
265 * testsuite/gas/i386/x86-64-ptwrite.s: Likewise.
267 2016-08-19 Tamar Christina <tamar.christina@arm.com>
269 * config/tc-arm.c (do_co_reg2c): Added constraint.
270 * testsuite/gas/arm/dest-unpredictable.s: New.
271 * testsuite/gas/arm/dest-unpredictable.l: New.
272 * testsuite/gas/arm/dest-unpredictable.d: New.
274 2016-08-19 Nick Clifton <nickc@redhat.com>
276 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected
277 ordering of sections.
278 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
279 * testsuite/gas/ia64/alias-ilp32.d: Likewise.
280 * testsuite/gas/ia64/alias.d: Likewise.
281 * testsuite/gas/ia64/group-1.d: Likewise.
282 * testsuite/gas/ia64/group-2.d: Likewise.
283 * testsuite/gas/ia64/secname-ilp32.d: Likewise.
284 * testsuite/gas/ia64/secname.d: Likewise.
285 * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
286 * testsuite/gas/ia64/unwind.d: Likewise.
287 * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
288 * testsuite/gas/ia64/xdata.d: Likewise.
289 * testsuite/gas/mmix/bspec-1.d: Likewise.
290 * testsuite/gas/mmix/bspec-2.d: Likewise.
291 * testsuite/gas/mmix/byte-1.d: Likewise.
292 * testsuite/gas/mmix/loc-1.d: Likewise.
293 * testsuite/gas/mmix/loc-2.d: Likewise.
294 * testsuite/gas/mmix/loc-3.d: Likewise.
295 * testsuite/gas/mmix/loc-4.d: Likewise.
296 * testsuite/gas/mmix/loc-5.d: Likewise.
297 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
299 2016-08-11 Richard Sandiford <richard.sandiford@arm.com>
301 * config/tc-aarch64.c (parse_aarch64_imm_float): Reject -0.0.
302 * testsuite/gas/aarch64/illegal.s, testsuite/gas/aarch64/illegal.l:
303 Add tests for -0.0. Add an end-of-file comment.
305 2016-08-05 Nick Clifton <nickc@redhat.com>
308 * config/tc-arm.c (do_vfp_nsyn_push): Check that no more than 16
309 registers are pushed.
310 (do_vfp_nsyn_pop): Check that no more than 16 registers are
312 * testsuite/gas/arm/pr20429.s: New test.
313 * testsuite/gas/arm/pr20429.d: New test driver.
314 * testsuite/gas/arm/pr20429.1: Expected error output.
317 * config/tc-aarch64.c (s_ltorg): Change the mapping state after
319 (aarch64_init): Treat rs_align frags in code sections as
320 containing code, not data.
321 * testsuite/gas/aarch64/pr20364.s: New test.
322 * testsuite/gas/aarch64/pr20364.d: New test driver.
324 2016-08-04 Stefan Trleman <stefan.teleman@oracle.com>
327 * config/tc-sparc.c (cons_fix_new_sparc): Prevent the generation
328 of 64-bit relocation types when assembling for a 32-bit Solaris
331 2016-07-27 Jose E. Marchesi <jose.marchesi@oracle.com>
333 * testsuite/gas/sparc/sparc.exp: Use is_elf_format to discriminate
335 Run natural, natural-32, pr4587, ticc-imm-reg, v8-movwr-imm,
336 pause, save-args, cbcond, cfr, crypto edge, flush, hpcvis3, ima,
337 ld_st_fsr, ldtw_sttw, ldd_std, ldx_stx, ldx_efsr, mwait, mcdper,
338 sparc5vis4, xcrypto, v9branch1 and imm-plus-rreg only in ELF
340 (sparc_elf_setup): Delete.
341 * testsuite/gas/sparc/save-args.d: Fix a copy-paste typo in the
344 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
346 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `nods' flag.
347 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16)
348 (RELAX_MICROMIPS_MARK_TOOFAR16, RELAX_MICROMIPS_CLEAR_TOOFAR16)
349 (RELAX_MICROMIPS_TOOFAR32, RELAX_MICROMIPS_MARK_TOOFAR32)
350 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Shift bits.
351 (get_append_method): Also return APPEND_ADD_COMPACT for
352 microMIPS instructions.
353 (find_altered_mips16_opcode): Exclude macros from matching.
355 (find_altered_opcode): ... to this new function.
356 (find_altered_micromips_opcode): New function.
357 (frag_branch_delay_slot_size): Likewise.
358 (append_insn): Handle microMIPS branch/jump compaction.
359 (macro_start): Likewise.
360 (relaxed_micromips_32bit_branch_length): Likewise.
361 (md_convert_frag): Likewise.
362 * testsuite/gas/mips/micromips.s: Add conditional explicit NOPs
363 for delay slot filling.
364 * testsuite/gas/mips/micromips-b16.s: Add explicit NOPs for
366 * testsuite/gas/mips/micromips-size-1.s: Likewise.
367 * testsuite/gas/mips/micromips.l: Adjust line numbers.
368 * testsuite/gas/mips/micromips-warn.l: Likewise.
369 * testsuite/gas/mips/micromips-size-1.l: Likewise.
370 * testsuite/gas/mips/micromips.d: Adjust padding.
371 * testsuite/gas/mips/micromips-trap.d: Likewise.
372 * testsuite/gas/mips/micromips-insn32.d: Likewise.
373 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
374 * testsuite/gas/mips/micromips@beq.d: Update patterns for
375 branch/jump compaction.
376 * testsuite/gas/mips/micromips@bge.d: Likewise.
377 * testsuite/gas/mips/micromips@bgeu.d: Likewise.
378 * testsuite/gas/mips/micromips@blt.d: Likewise.
379 * testsuite/gas/mips/micromips@bltu.d: Likewise.
380 * testsuite/gas/mips/micromips@branch-misc-4.d: Likewise.
381 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Likewise.
382 * testsuite/gas/mips/micromips@branch-misc-5.d: Likewise.
383 * testsuite/gas/mips/micromips@branch-misc-5pic.d: Likewise.
384 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Likewise.
385 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
386 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
387 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d:
389 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d:
391 * testsuite/gas/mips/micromips@loc-swap.d: Likewise.
392 * testsuite/gas/mips/micromips@loc-swap-dis.d: Likewise.
393 * testsuite/gas/mips/micromips@relax.d: Likewise.
394 * testsuite/gas/mips/micromips@relax-at.d: Likewise.
395 * testsuite/gas/mips/micromips@relax-swap3.d: Likewise.
396 * testsuite/gas/mips/branch-extern-2.d: Likewise.
397 * testsuite/gas/mips/branch-extern-4.d: Likewise.
398 * testsuite/gas/mips/branch-section-2.d: Likewise.
399 * testsuite/gas/mips/branch-section-4.d: Likewise.
400 * testsuite/gas/mips/branch-weak-2.d: Likewise.
401 * testsuite/gas/mips/branch-weak-5.d: Likewise.
402 * testsuite/gas/mips/micromips-branch-absolute.d: Likewise.
403 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
404 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
405 * testsuite/gas/mips/micromips-branch-absolute-addend.d:
407 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
409 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
411 * testsuite/gas/mips/micromips-compact.d: New test.
412 * testsuite/gas/mips/mips.exp: Run the new test.
414 2016-07-27 Graham Markall <graham.markall@embecosm.com>
416 * config/tc-arc.c: Add new global arc_addrtype_hash.
417 Define O_colon and O_addrtype.
418 (debug_exp): Add O_colon and O_addrtype.
419 (tokenize_arguments): Handle colon and address type
421 (declare_addrtype): New function.
422 (md_begin): Initialise arc_addrtype_hash.
423 (arc_parse_name): Add lookup of address types.
424 (assemble_insn): Handle colons and address types by
426 * testsuite/gas/arc/nps400-8.s: New file.
427 * testsuite/gas/arc/nps400-8.d: New file.
428 * testsuite/gas/arc/nps400-8.s: Add PMU instruction tests.
429 * testsuite/gas/arc/nps400-8.d: Add expected PMU
432 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
434 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Add `insn32' flag.
435 (RELAX_MICROMIPS_INSN32): New macro.
436 (RELAX_MICROMIPS_UNCOND, RELAX_MICROMIPS_COMPACT)
437 (RELAX_MICROMIPS_LINK, RELAX_MICROMIPS_RELAX32)
438 (RELAX_MICROMIPS_TOOFAR16, RELAX_MICROMIPS_MARK_TOOFAR16)
439 (RELAX_MICROMIPS_CLEAR_TOOFAR16, RELAX_MICROMIPS_TOOFAR32)
440 (RELAX_MICROMIPS_MARK_TOOFAR32, RELAX_MICROMIPS_CLEAR_TOOFAR32):
442 (append_insn): Record `mips_opts.insn32' with relaxed microMIPS
444 (relaxed_micromips_32bit_branch_length): Handle the `insn32'
446 (md_convert_frag): Likewise.
447 * testsuite/gas/mips/micromips-branch-relax.s: Add `insn32'
449 * testsuite/gas/mips/micromips-branch-relax.l: Update line
451 * testsuite/gas/mips/micromips-branch-relax-pic.l: Likewise.
452 * testsuite/gas/mips/micromips-branch-relax-insn32.d: New test.
453 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.d: New
455 * testsuite/gas/mips/micromips-branch-relax-insn32.l: New
457 * testsuite/gas/mips/micromips-branch-relax-insn32-pic.l: New
459 * testsuite/gas/mips/mips.exp: Run the new tests.
461 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
463 * configure: Regenerated.
465 2016-07-20 Claudiu Zissulescu <claziss@synopsys.com>
467 * testsuite/gas/arc/dsp.d: New file.
468 * testsuite/gas/arc/dsp.s: Likewise.
469 * testsuite/gas/arc/fpu.d: Likewise.
470 * testsuite/gas/arc/fpu.s: Likewise.
471 * testsuite/gas/arc/ext2op.d: Add specific disassembler option.
472 * testsuite/gas/arc/ext3op.d: Likewise.
473 * testsuite/gas/arc/tdpfp.d: Likewise.
474 * testsuite/gas/arc/tfpuda.d: Likewise.
476 2016-07-20 Maciej W. Rozycki <macro@imgtec.com>
478 * config/tc-mips.c (mips_force_relocation): Remove
479 R_MIPS_PC26_S2 and R_MIPS_PC21_S2.
481 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
483 * config/tc-mips.c (mips_force_relocation, mips_fix_adjustable):
484 Adjust comments for BAL to JALX linker conversion.
485 (fix_bad_cross_mode_branch_p): Accept cross-mode BAL.
486 * testsuite/gas/mips/unaligned-branch-1.l: Update error messages
488 * testsuite/gas/mips/unaligned-branch-micromips-1.l: Likewise.
489 * testsuite/gas/mips/branch-local-4.d: New test.
490 * testsuite/gas/mips/branch-local-n32-4.d: New test.
491 * testsuite/gas/mips/branch-local-n64-4.d: New test.
492 * testsuite/gas/mips/branch-addend.d: New test.
493 * testsuite/gas/mips/branch-addend-n32.d: New test.
494 * testsuite/gas/mips/branch-addend-n64.d: New test.
495 * testsuite/gas/mips/branch-local-4.s: New test source.
496 * testsuite/gas/mips/branch-addend.s: New test source.
497 * testsuite/gas/mips/mips.exp: Run the new tests.
499 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
501 * config/tc-mips.c (mips_force_relocation): Also retain branch
502 relocations against MIPS16 and microMIPS symbols.
503 (fix_bad_cross_mode_jump_p): New function.
504 (fix_bad_same_mode_jalx_p): Likewise.
505 (fix_bad_misaligned_jump_p): Likewise.
506 (fix_bad_cross_mode_branch_p): Likewise.
507 (fix_bad_misaligned_branch_p): Likewise.
508 (fix_validate_branch): Likewise.
509 (md_apply_fix) <BFD_RELOC_MIPS_JMP, BFD_RELOC_MIPS16_JMP>
510 <BFD_RELOC_MICROMIPS_JMP>: Separate from BFD_RELOC_MIPS_SHIFT5,
511 etc. Verify the ISA mode and alignment of the jump target.
512 <BFD_RELOC_MIPS_21_PCREL_S2>: Replace the inline alignment check
513 with a call to `fix_validate_branch'.
514 <BFD_RELOC_MIPS_26_PCREL_S2>: Likewise.
515 <BFD_RELOC_16_PCREL_S2>: Likewise.
516 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
517 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Retain the original addend.
518 Verify the ISA mode and alignment of the branch target.
519 (md_convert_frag): Verify the ISA mode and alignment of resolved
520 MIPS16 branch targets.
521 * testsuite/gas/mips/branch-misc-1.s: Annotate non-instruction
522 branch targets with `.insn'.
523 * testsuite/gas/mips/branch-misc-5.s: Likewise.
524 * testsuite/gas/mips/micromips@branch-misc-5-64.d: Update
526 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: Likewise.
527 * testsuite/gas/mips/micromips-branch-relax.s: Annotate
528 non-instruction branch target with `.insn'.
529 * testsuite/gas/mips/micromips.s: Replace microMIPS JALX targets
530 with external symbols.
531 * testsuite/gas/mips/micromips-insn32.d: Update accordingly.
532 * testsuite/gas/mips/micromips-noinsn32.d: Likewise.
533 * testsuite/gas/mips/micromips-trap.d: Likewise.
534 * testsuite/gas/mips/micromips.d: Likewise.
535 * testsuite/gas/mips/mips16.s: Annotate non-instruction branch
536 targets with `.insn'.
537 * testsuite/gas/mips/mips16.d: Update accordingly.
538 * testsuite/gas/mips/mips16-64.d: Likewise.
539 * testsuite/gas/mips/mips16-dwarf2.s: Annotate non-instruction
540 branch target with `.insn'.
541 * testsuite/gas/mips/relax-swap3.s: Likewise.
542 * testsuite/gas/mips/branch-local-2.l: New list test.
543 * testsuite/gas/mips/branch-local-3.l: New list test.
544 * testsuite/gas/mips/branch-local-n32-2.l: New list test.
545 * testsuite/gas/mips/branch-local-n32-3.l: New list test.
546 * testsuite/gas/mips/branch-local-n64-2.l: New list test.
547 * testsuite/gas/mips/branch-local-n64-3.l: New list test.
548 * testsuite/gas/mips/unaligned-jump-1.l: New list test.
549 * testsuite/gas/mips/unaligned-jump-2.l: New list test.
550 * testsuite/gas/mips/unaligned-jump-3.d: New test.
551 * testsuite/gas/mips/unaligned-jump-mips16-1.l: New list test.
552 * testsuite/gas/mips/unaligned-jump-mips16-2.l: New list test.
553 * testsuite/gas/mips/unaligned-jump-mips16-3.d: New test.
554 * testsuite/gas/mips/unaligned-jump-micromips-1.l: New list
556 * testsuite/gas/mips/unaligned-jump-micromips-2.l: New list
558 * testsuite/gas/mips/unaligned-jump-micromips-3.d: New test.
559 * testsuite/gas/mips/unaligned-branch-1.l: New list test.
560 * testsuite/gas/mips/unaligned-branch-2.l: New list test.
561 * testsuite/gas/mips/unaligned-branch-3.d: New test.
562 * testsuite/gas/mips/unaligned-branch-r6-1.l: New list test.
563 * testsuite/gas/mips/unaligned-branch-r6-2.l: New list test.
564 * testsuite/gas/mips/unaligned-branch-r6-3.l: New list test.
565 * testsuite/gas/mips/unaligned-branch-r6-4.l: New list test.
566 * testsuite/gas/mips/unaligned-branch-r6-5.d: New test.
567 * testsuite/gas/mips/unaligned-branch-r6-6.d: New test.
568 * testsuite/gas/mips/unaligned-branch-mips16-1.l: New list test.
569 * testsuite/gas/mips/unaligned-branch-mips16-2.l: New list test.
570 * testsuite/gas/mips/unaligned-branch-mips16-3.d: New test.
571 * testsuite/gas/mips/unaligned-branch-micromips-1.l: New list
573 * testsuite/gas/mips/unaligned-branch-micromips-2.l: New list
575 * testsuite/gas/mips/unaligned-branch-micromips-3.d: New test.
576 * testsuite/gas/mips/branch-local-2.s: New test source.
577 * testsuite/gas/mips/branch-local-3.s: New test source.
578 * testsuite/gas/mips/branch-local-n32-2.s: New test source.
579 * testsuite/gas/mips/branch-local-n32-3.s: New test source.
580 * testsuite/gas/mips/branch-local-n64-2.s: New test source.
581 * testsuite/gas/mips/branch-local-n64-3.s: New test source.
582 * testsuite/gas/mips/unaligned-jump-1.s: New test source.
583 * testsuite/gas/mips/unaligned-jump-2.s: New test source.
584 * testsuite/gas/mips/unaligned-jump-mips16-1.s: New test source.
585 * testsuite/gas/mips/unaligned-jump-mips16-2.s: New test source.
586 * testsuite/gas/mips/unaligned-jump-micromips-1.s: New test
588 * testsuite/gas/mips/unaligned-jump-micromips-2.s: New test
590 * testsuite/gas/mips/unaligned-branch-1.s: New test source.
591 * testsuite/gas/mips/unaligned-branch-2.s: New test source.
592 * testsuite/gas/mips/unaligned-branch-r6-1.s: New test source.
593 * testsuite/gas/mips/unaligned-branch-r6-2.s: New test source.
594 * testsuite/gas/mips/unaligned-branch-r6-3.s: New test source.
595 * testsuite/gas/mips/unaligned-branch-r6-4.s: New test source.
596 * testsuite/gas/mips/unaligned-branch-mips16-1.s: New test
598 * testsuite/gas/mips/unaligned-branch-mips16-2.s: New test
600 * testsuite/gas/mips/unaligned-branch-micromips-1.s: New test
602 * testsuite/gas/mips/unaligned-branch-micromips-2.s: New test
604 * testsuite/gas/mips/mips.exp: Run the new tests.
606 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
608 * config/tc-nds32.c (struct nds32_pseudo_opcode): Make pseudo_val
610 (do_pseudo_b): Adjust.
611 (do_pseudo_bal): Likewise.
612 (do_pseudo_bge): Likewise.
613 (do_pseudo_bges): Likewise.
614 (do_pseudo_bgt): Likewise.
615 (do_pseudo_bgts): Likewise.
616 (do_pseudo_ble): Likewise.
617 (do_pseudo_bles): Likewise.
618 (do_pseudo_blt): Likewise.
619 (do_pseudo_blts): Likewise.
620 (do_pseudo_br): Likewise.
621 (do_pseudo_bral): Likewise.
622 (do_pseudo_la): Likewise.
623 (do_pseudo_li): Likewise.
624 (do_pseudo_ls_bhw): Likewise.
625 (do_pseudo_ls_bhwp): Likewise.
626 (do_pseudo_ls_bhwpc): Likewise.
627 (do_pseudo_ls_bhwi): Likewise.
628 (do_pseudo_move): Likewise.
629 (do_pseudo_neg): Likewise.
630 (do_pseudo_not): Likewise.
631 (do_pseudo_pushpopm): Likewise.
632 (do_pseudo_pushpop): Likewise.
633 (do_pseudo_v3push): Likewise.
634 (do_pseudo_v3pop): Likewise.
635 (do_pseudo_pushpop_stack): Likewise.
636 (do_pseudo_push_bhwd): Likewise.
637 (do_pseudo_pop_bhwd): Likewise.
638 (do_pseudo_pusha): Likewise.
639 (do_pseudo_pushi): Likewise.
641 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
643 * config/tc-sparc.c (struct pop_entry): Make the type of reloc
644 bfd_reloc_code_real_type.
646 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
648 * config/tc-sparc.c (pop_table): Remove sentinel.
649 (NUM_PERC_ENTRIES): Use ARRAY_SIZE on pop_table.
652 2016-07-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
654 * config/tc-z8k.c (newfix): Make type of type argument
655 bfd_reloc_code_real_type.
656 (apply_fix): Likewise.
658 2016-07-16 Alan Modra <amodra@gmail.com>
660 * config/tc-epiphany.c: Don't include libbfd.h.
661 * config/tc-frv.c: Likewise.
662 * config/tc-ip2k.c: Likewise.
663 * config/tc-iq2000.c: Likewise.
664 * config/tc-m32c.c: Likewise.
665 * config/tc-mep.c: Likewise.
666 * config/tc-mt.c: Likewise.
667 * config/tc-nios2.c: Likewise.
669 2016-07-16 Alan Modra <amodra@gmail.com>
671 * config/bfin-parse.y: Don't include libbfd.h.
672 * config/tc-bfin.c: Likewise.
673 * config/tc-rl78.c: Likewise.
674 * config/tc-rx.c: Likewise.
675 * config/tc-metag.c: Likewise.
676 (create_dspreg_htabs, create_scond_htab): Use gas_assert not BFD_ASSERT.
677 * Makefile.am: Update dependencies.
678 * Makefile.in: Regenerate.
680 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
682 * config/tc-mips.h (TC_FORCE_RELOCATION_ABS): New macro.
683 (mips_force_relocation_abs): New prototype.
684 * config/tc-mips.c (mips_force_relocation_abs): New function.
685 * testsuite/gas/mips/branch-absolute.d: Adjust dump patterns.
686 * testsuite/gas/mips/mips16-branch-absolute.d: Likewise.
687 * testsuite/gas/mips/micromips-branch-absolute-n32.d: Likewise.
688 * testsuite/gas/mips/micromips-branch-absolute-n64.d: Likewise.
689 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d:
691 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d:
693 * testsuite/gas/mips/branch-absolute-addend.d: New test.
694 * testsuite/gas/mips/mips16-branch-absolute-addend.d: New test.
695 * testsuite/gas/mips/micromips-branch-absolute-addend.d: New
697 * testsuite/gas/mips/mips.exp: Run the new tests.
699 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
701 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS16_16_PCREL_S1>
702 <BFD_RELOC_MICROMIPS_7_PCREL_S1, BFD_RELOC_MICROMIPS_10_PCREL_S1>
703 <BFD_RELOC_MICROMIPS_16_PCREL_S1>: Keep the ISA bit in the
705 * testsuite/gas/mips/mips16-branch-absolute.s: Set the ISA bit
706 in `bar', export `foo'.
707 * testsuite/gas/mips/mips16-branch-absolute.d: Adjust
709 * testsuite/gas/mips/mips16-branch-absolute-n32.d: Likewise.
710 * testsuite/gas/mips/mips16-branch-absolute-n64.d: Likewise.
711 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d:
713 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d:
716 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
718 * testsuite/gas/mips/mips16-branch-absolute.d: Update patterns.
719 * testsuite/gas/mips/branch-absolute.d: New test.
720 * testsuite/gas/mips/branch-absolute-n32.d: New test.
721 * testsuite/gas/mips/branch-absolute-n64.d: New test.
722 * testsuite/gas/mips/branch-absolute-addend-n32.d: New test.
723 * testsuite/gas/mips/branch-absolute-addend-n64.d: New test.
724 * testsuite/gas/mips/mips16-branch-absolute-n32.d: New test.
725 * testsuite/gas/mips/mips16-branch-absolute-n64.d: New test.
726 * testsuite/gas/mips/mips16-branch-absolute-addend-n32.d: New
728 * testsuite/gas/mips/mips16-branch-absolute-addend-n64.d: New
730 * testsuite/gas/mips/micromips-branch-absolute.d: New test.
731 * testsuite/gas/mips/micromips-branch-absolute-n32.d: New test.
732 * testsuite/gas/mips/micromips-branch-absolute-n64.d: New test.
733 * testsuite/gas/mips/micromips-branch-absolute-addend-n32.d: New
735 * testsuite/gas/mips/micromips-branch-absolute-addend-n64.d: New
737 * testsuite/gas/mips/branch-absolute.s: New test source.
738 * testsuite/gas/mips/branch-absolute-addend.s: New test source.
739 * testsuite/gas/mips/mips16-branch-absolute-addend.s: New test
741 * testsuite/gas/mips/micromips-branch-absolute.s: New test
743 * testsuite/gas/mips/micromips-branch-absolute-addend.s: New
745 * testsuite/gas/mips/mips.exp: Run the new tests.
747 2016-07-13 Maciej W. Rozycki <macro@imgtec.com>
749 * testsuite/gas/mips/nal-1.d: New test.
750 * testsuite/gas/mips/mipsr6@nal-1.d: New test.
751 * testsuite/gas/mips/nal-2.d: New test.
752 * testsuite/gas/mips/mipsr6@nal-2.d: New test.
753 * testsuite/gas/mips/nal.s: New test source.
754 * testsuite/gas/mips/mips.exp: Run the new tests.
756 2016-07-12 Jose E. Marchesi <jose.marchesi@oracle.com>
758 * testsuite/gas/sparc/ldtxa.s: New file.
759 * testsuite/gas/sparc/ldtxa.d: Likewise.
760 * testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
762 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
764 * config/tc-arc.c (arc_reloc_op_tag): Allow complex ops for dtpoff.
765 (tc_gen_reloc): Remove passing DTPOFF base info into reloc addendum
766 as it is no longer needed.
768 2016-07-08 Maciej W. Rozycki <macro@imgtec.com>
770 * config/tc-mips.c (append_insn): Remove extraneous
773 2016-07-04 Jan Beulich <jbeulich@suse.com>
775 * config/tc-i386.c (check_qword_reg): Correct register kind
777 * testsuite/gas/i386/x86-64-suffix-bad.s: Add q-suffix with
778 16-bit register cases.
779 * testsuite/gas/i386/x86-64-suffix-bad.l: Adjust expectations.
782 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
784 * testsuite/gas/mips/ecoff@ld.d: Remove test.
785 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
786 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
787 * testsuite/gas/mips/ecoff@sd.d: Remove test.
788 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
789 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
791 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
792 * testsuite/gas/mips/bge.d: Likewise.
793 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
794 * testsuite/gas/mips/bgeu.d: Likewise.
795 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
796 * testsuite/gas/mips/blt.d: Likewise.
797 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
798 * testsuite/gas/mips/bltu.d: Likewise.
799 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
800 * testsuite/gas/mips/branch-likely.d: Likewise.
801 * testsuite/gas/mips/la.d: Likewise.
802 * testsuite/gas/mips/lb.d: Likewise.
803 * testsuite/gas/mips/lifloat.d: Likewise.
804 * testsuite/gas/mips/sb.d: Likewise.
805 * testsuite/gas/mips/uld.d: Likewise.
806 * testsuite/gas/mips/ulh.d: Likewise.
807 * testsuite/gas/mips/ulw.d: Likewise.
808 * testsuite/gas/mips/usd.d: Likewise.
809 * testsuite/gas/mips/ush.d: Likewise.
810 * testsuite/gas/mips/usw.d: Likewise.
812 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
814 * testsuite/gas/mips/branch-misc-2.s: Move non
815 locally-defined-global symbol tests...
816 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
817 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
818 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
819 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
820 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
821 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
822 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
823 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
824 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
825 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
826 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
827 * testsuite/gas/mips/branch-misc-5.d: New test.
828 * testsuite/gas/mips/branch-misc-5pic.d: New test.
829 * testsuite/gas/mips/branch-misc-5-64.d: New test.
830 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
831 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
832 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
833 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
834 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
835 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
836 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
837 * testsuite/gas/mips/mips.exp: Run the new tests.
839 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
841 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
843 * testsuite/gas/mips/beq.d: Update accordingly.
844 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
845 * testsuite/gas/mips/micromips@beq.d: Likewise.
847 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
849 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
850 tests to NewABI targets.
852 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
854 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
857 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
859 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
861 (aarch64_features): Initialize require fields.
862 (aarch64_parse_features): Handle dependencies.
863 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
864 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
865 * testsuite/gas/aarch64/illegal-nofp16.s: New.
866 * testsuite/gas/aarch64/illegal-nofp16.l: New.
867 * testsuite/gas/aarch64/illegal-nofp16.d: New.
869 2016-07-01 Nick Clifton <nickc@redhat.com>
871 * macro.c (macro_expand_body): Use a buffer big enough to hold an
872 extremely large integer.
874 2016-07-01 Jan Beulich <jbeulich@suse.com>
876 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
878 2016-07-01 Tristan Gingold <gingold@adacore.com>
880 * NEWS: Add marker for 2.27.
882 2016-07-01 Jan Beulich <jbeulich@suse.com>
884 * tc-i386.c (i386_index_check): Add special checks for bndmk,
886 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
887 as well as scaling by other than 1 tests.
888 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
890 2016-07-01 Jan Beulich <jbeulich@suse.com>
892 * tc-i386.c (md_assemble): Alter address size checking for MPX
894 * testsuite/gas/i386/mpx-inval-2.s: New.
895 * testsuite/gas/i386/mpx-inval-2.l: New.
896 * testsuite/gas/i386/i386.exp: Run new test.
898 2016-07-01 Jan Beulich <jbeulich@suse.com>
901 * config/tc-i386.c (match_template): Add char parameter,
902 consumed in Intel mode for an extra suffix check.
903 (md_assemble): New local variable mnem_suffix.
904 * testsuite/gas/i386/suffix-bad.s: New.
905 * testsuite/gas/i386/suffix-bad.l: New.
906 * testsuite/gas/i386/i386.exp: Run new test (twice).
908 2016-07-01 Jan Beulich <jbeulich@suse.com>
910 * testsuite/gas/i386/movz.s: New.
911 * testsuite/gas/i386/movz32.d: New.
912 * testsuite/gas/i386/movz64.d: New.
913 * testsuite/gas/i386/i386.exp: Run new tests.
915 2016-07-01 Jan Beulich <jbeulich@suse.com>
917 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
918 (md_assemble): Free first memory operand string.
919 (i386_index_check): Use repprefixok to distingush xlat from
920 other (real) string ops.
921 (maybe_adjust_templates): New.
922 (i386_att_operand). Call it. Store first memory operand string.
923 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
924 * testsuite/gas/i386/intel-movs.s: New.
925 * testsuite/gas/i386/intel-movs32.d: New.
926 * testsuite/gas/i386/intel-movs64.d: New.
927 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
928 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
930 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
932 * config/tc-mips.c (get_append_method): Fix a comment typo.
934 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
935 Maciej W. Rozycki <macro@imgtec.com>
937 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
938 case MIPS16 handling.
939 * testsuite/gas/mips/branch-swap-3.d: New test.
940 * testsuite/gas/mips/branch-swap-4.d: New test.
941 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
942 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
943 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
944 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
945 * testsuite/gas/mips/branch-swap-3.s: New test source.
946 * testsuite/gas/mips/mips.exp: Run the new tests.
948 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
950 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
953 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
956 * write.c (subsegs_finish_section): Force no section padding to
957 alignment on failed assembly, always set last frag's alignment
959 * testsuite/gas/all/pr20312.l: New list test.
960 * testsuite/gas/all/pr20312.s: New test source.
961 * testsuite/gas/all/gas.exp: Run the new test
963 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
965 * config.in (TARGET_WITH_CPU): Undefine.
966 * configure.ac: Add --with-cpu support, and define in config.h.
967 * configure: Regenerate.
968 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
969 * NEWS: Mention new configure option.
971 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
973 * testsuite/gas/arm/armv8_2+rdma.d: New.
975 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
977 * NEWS: Mention --enable-compressed-debug-sections=gas is the
978 default for Linux/x86 targets.
979 * configure.tgt (ac_default_compressed_debug_sections): Default
980 to yes for Linux/x86 targets.
982 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
984 * write.c: Remove "libbfd.h" inclusion.
986 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
988 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
991 2016-06-28 Alan Modra <amodra@gmail.com>
994 * testsuite/gas/elf/section11.s: Don't start directives in first column.
996 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
998 * testsuite/gas/aarch64/diagnostic.s,
999 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
1001 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1003 * config/tc-mips.c (mips16_reloc_p): Handle
1004 BFD_RELOC_MIPS16_16_PCREL_S1.
1005 (b_reloc_p): Likewise.
1006 (limited_pcrel_reloc_p): Likewise.
1007 (md_pcrel_from): Likewise.
1008 (md_apply_fix): Likewise.
1009 (tc_gen_reloc): Likewise.
1010 (md_convert_frag): Likewise.
1011 (mips_fix_adjustable): Update comment.
1012 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
1013 output, add dump patterns.
1014 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
1015 output, add dump patterns.
1016 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
1017 output, add dump patterns.
1018 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
1019 output, add dump patterns.
1020 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
1021 output, add dump patterns.
1022 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
1023 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
1024 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
1025 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
1026 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
1027 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
1028 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
1029 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
1030 * testsuite/gas/mips/branch-weak-6.d: New test.
1031 * testsuite/gas/mips/branch-weak-7.d: New test.
1032 * testsuite/gas/mips/mips.exp: Run the new tests.
1034 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
1036 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
1037 cfi_add_CFA_def_cfa to generate default CFA with offset
1038 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
1040 2016-06-27 Nick Clifton <nickc@redhat.com>
1043 * as.h (do_not_pad_sections_to_alignment): New global variable.
1044 * as.c (show_usage): Add --no-pad-sections.
1045 (parse_args): Likewise.
1046 * write.c (size_seg): Skip padding the end of the section if
1047 requested from the command line.
1048 (SUB_SEGMENT_ALIGN): Likewise.
1049 * doc/as.texinfo: Document the new option.
1050 * NEWS: Mention the new feature.
1051 * testsuite/gas/elf/section11.s: New test.
1052 * testsuite/gas/elf/section11.d: New test driver.
1053 * testsuite/gas/elf/elf.exp: Run the new test.
1055 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1057 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
1058 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
1060 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1062 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
1064 (map_suffix_reloc_to_operator): Likewise.
1065 (map_operator_to_reloc): Likewise.
1067 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1069 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
1070 element in relax_table.
1072 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1074 * config/tc-aarch64.c: Make the type of reg_entry::type
1077 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1079 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
1080 (md_parse_option): Adjust.
1081 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
1082 with iteration from 0 to ARRAY_SIZE.
1083 * config/tc-mcore.c (md_begin): Likewise.
1084 * config/tc-visium.c (visium_parse_arch): Likewise.
1086 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1088 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
1089 and simplify accordingly.
1090 (tic54x_include): Adjust.
1091 (tic54x_mlib): Likewise.
1093 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1095 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
1097 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
1099 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
1100 unchanged with relaxed MIPS16 instructions.
1101 (mips16_extended_frag): Adjust accordingly. Return 1 right
1102 away if a relocation will be required for the symbol requested.
1103 Remove dead first relaxation pass code.
1104 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
1105 (md_convert_frag): Adjust symbol value calculation. Raise an
1106 error if a relocation is required for the symbol requested.
1107 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
1109 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
1110 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
1111 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
1112 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
1113 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
1114 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
1115 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
1116 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
1117 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
1118 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
1119 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
1120 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
1121 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
1122 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
1123 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
1124 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
1125 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
1126 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
1127 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
1128 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
1129 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
1130 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
1131 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
1132 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
1133 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
1134 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
1135 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
1136 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
1137 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
1138 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
1139 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
1140 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
1141 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
1142 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
1143 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
1144 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
1145 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
1146 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
1147 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
1148 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
1149 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
1150 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
1151 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
1152 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
1153 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
1154 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
1155 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
1156 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
1157 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
1158 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
1159 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
1160 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
1161 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
1162 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
1163 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
1164 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
1165 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
1166 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
1167 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
1168 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
1169 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
1170 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
1171 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
1172 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
1173 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
1174 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
1175 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
1176 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
1177 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
1178 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
1179 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
1180 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
1181 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
1182 * testsuite/gas/mips/mips.exp: Run the new tests.
1184 2016-06-24 Alan Modra <amodra@gmail.com>
1186 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
1188 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
1190 * config/tc-mips.c (b_reloc_p): New function.
1191 (mips_fix_adjustable): Also keep the original microMIPS symbol
1192 referred from branch relocations.
1193 * testsuite/gas/mips/branch-local-1.d: New test.
1194 * testsuite/gas/mips/branch-local-n32-1.d: New test.
1195 * testsuite/gas/mips/branch-local-n64-1.d: New test.
1196 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
1198 * testsuite/gas/mips/branch-local-1.s: New test source.
1199 * testsuite/gas/mips/mips.exp: Run the new cases.
1201 2016-06-23 Graham Markall <graham.markall@embecosm.com>
1203 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
1204 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
1205 options. Correct erroneous enabling of SPFP instructions when
1208 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
1210 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
1211 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
1212 setbool, xor3>: New tests.
1213 * testsuite/gas/ppc/power9.s: Likewise.
1215 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1217 * config/tc-xtensa.c: Include elf/xtensa.h.
1219 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1221 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
1222 <BFD_RELOC_LO16_PCREL>: New switch cases.
1223 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
1224 Move switch cases along `BFD_RELOC_MIPS_JMP'.
1225 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
1226 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
1228 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
1229 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
1230 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
1231 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
1232 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
1233 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
1234 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
1235 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
1236 * testsuite/gas/mips/mips.exp: Run the new tests.
1238 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1240 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
1241 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
1242 via `fixP->fx_addsy'.
1244 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1246 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
1247 Calculate relocation from the containing aligned doubleword.
1248 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
1249 addend from the containing aligned doubleword.
1251 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1253 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
1254 rather than `mips_opts' for the R6 ISA check.
1255 (mips_fix_adjustable): Likewise.
1256 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
1257 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
1258 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
1259 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
1260 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
1261 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
1262 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
1263 * testsuite/gas/mips/mips.exp: Run the new tests.
1265 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1267 * config/tc-arc.c (check_cpu_feature, md_parse_option):
1268 Add nps400 option and feature. Add check for nps400
1269 feature. Refactor existing checks to check subclass before
1271 (md_show_usage): Document flags for NPS-400 and add some other
1273 (cpu_type): Remove nps400 CPU type entry
1274 (check_zol): Remove bfd_mach_arc_nps400 case.
1275 (md_show_usage): Add help on -mcpu=nps400.
1276 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
1278 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
1279 -fpuda flags. Document -mcpu=nps400.
1280 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
1281 expected flags to match ARC700 instead of NPS400.
1282 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
1283 * testsuite/gas/arc/nps-400-2.d: Likewise.
1284 * testsuite/gas/arc/nps-400-3.d: Likewise.
1285 * testsuite/gas/arc/nps-400-4.d: Likewise.
1286 * testsuite/gas/arc/nps-400-5.d: Likewise.
1287 * testsuite/gas/arc/nps-400-6.d: Likewise.
1288 * testsuite/gas/arc/nps-400-7.d: Likewise.
1289 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
1290 avoid clash with cbba instruction.
1291 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1292 * testsuite/gas/arc/textinsn3op.d: Likewise.
1293 * testsuite/gas/arc/textinsn3op.s: Likewise.
1294 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
1295 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
1297 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1299 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
1300 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1302 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
1304 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
1307 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
1309 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
1311 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1313 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
1314 %hmcddfr and %hva_mask_nz.
1315 (sparc_ip): New handling of asr/privileged/hyperprivileged
1316 registers, adapted to the new form of the sparc opcodes table.
1317 * testsuite/gas/sparc/rdasr.s: New file.
1318 * testsuite/gas/sparc/rdasr.d: Likewise.
1319 * testsuite/gas/sparc/wrasr.s: Likewise.
1320 * testsuite/gas/sparc/wrasr.d: Likewise.
1321 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
1323 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
1324 registers require it.
1325 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
1326 registers and write instruction modalities.
1327 * testsuite/gas/sparc/wrpr.d: Likewise.
1328 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
1330 * testsuite/gas/sparc/rdhpr.d: Likewise.
1331 * testsuite/gas/sparc/wrhpr.s: Likewise.
1332 * testsuite/gas/sparc/wrhpr.d: Likewise.
1334 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1336 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
1337 architectures to use the right opcode architecture.
1338 (sparc_md_end): Handle v9{c,d,e,v,m}.
1339 (sparc_ip): Fix some comments.
1340 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
1341 instruction, which is v9d.
1342 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
1343 instruction from the test, as %mwait is not readable.
1344 * testsuite/gas/sparc/mwait.d: Likewise.
1345 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
1346 mismatch architecture errors.
1347 * testsuite/gas/sparc/mism-2.s: New file.
1349 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1351 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
1352 empty string to mark the end of the array.
1353 (hpriv_reg_table): Likewise.
1354 (v9a_asr_table): Likewise.
1355 (cmp_reg_entry): Handle entries with NULL names.
1357 (F_POP_PCREL): Likewise.
1358 (F_POP_TLS_CALL): Likewise.
1359 (F_POP_POSTFIX): Likewise.
1360 (struct pop_entry): New type.
1361 (pop_table): New variable.
1362 (enum pop_entry_type): New type.
1363 (struct perc_entry): Likewise.
1364 (NUM_PERC_ENTRIES): Define.
1365 (perc_table): New variable.
1366 (cmp_perc_entry): New function.
1367 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
1369 (sparc_ip): Handle entries with NULL names in priv_reg_table,
1370 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
1373 2016-06-15 Nick Clifton <nickc@redhat.com>
1375 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
1377 * config/tc-mcore.c (md_assemble): Likewise.
1378 * config/tc-mn10200.c (md_assemble): Likewise.
1379 * config/tc-moxie.c (md_assemble): Likewise.
1380 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
1381 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
1382 exception targets. Add alpha, hppa, microblaze and rl78 to list
1384 (forward): Add microblaze to list of exceptions.
1385 (fwdexp): Add alpha to list of exceptions.
1386 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
1387 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
1388 (do_930509a): Alpha sort list of exception targets. Add h8300 and
1389 mn10200 to list of exceptions.
1390 (align2): Expect to fail for nds32.
1391 (cond): Add alpha and rl78 to list of exceptions.
1392 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
1393 * testsuite/gas/all/string.d: Skip for tic4x.
1394 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
1395 target does not support ELF.
1396 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
1397 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
1398 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
1399 tests for sh-pe and sh-rtemscoff targets.
1400 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
1402 (type): Run the noifunc version for alpha-freebsd and visium.
1403 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
1404 mn10200 or moxie targets.
1405 * testsuite/gas/ft32/insn.d: Update expected disassembly.
1406 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
1408 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
1409 mcore and rx targets.
1410 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
1412 (purge): Expect to fail on the ns32k and vax.
1413 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
1414 * testsuite/gas/nds32/ls.d: Likewise.
1415 * testsuite/gas/nds32/sys-reg.d: Likewise.
1416 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
1417 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
1418 * testsuite/gas/pe/section-align-3.d: Likewise.
1419 * testsuite/gas/pe/section-exclude.d: Likewise.
1420 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
1422 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
1423 for variations in whitespace.
1424 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
1426 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
1427 Installs a 32-bit value without generating warnings on 64-bit
1429 Use the new macro to replace the .word directives.
1431 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1433 * testsuite/gas/arc/add_s.d: New file.
1434 * testsuite/gas/arc/add_s.s: New file.
1436 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1438 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
1439 * testsuite/gas/arc/nps400-6.d: Likewise.
1441 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1443 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
1445 * testsuite/gas/arc/nps400-6.d: Likewise.
1447 2016-06-14 Graham Markall <graham.markall@embecosm.com>
1449 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
1450 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
1451 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
1452 * testsuite/gas/arc/nps400-6.d: Likewise.
1454 2016-06-14 Nick Clifton <nickc@redhat.com>
1456 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
1459 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
1461 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
1462 JALR relocations on R6.
1463 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
1464 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
1465 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
1466 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
1467 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
1468 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
1470 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
1471 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
1473 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
1474 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
1476 * testsuite/gas/mips/mips.exp: Run the new tests.
1478 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
1480 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
1481 * doc/c-aarch64.texi: Document that vulcan is a valid processor
1484 2016-06-13 Nick Clifton <nickc@redhat.com>
1486 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
1487 that are not supported.
1489 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
1491 * config/tc-cr16.c (check_range): Likewise.
1492 * config/tc-nios2.c (nios2_check_overflow): Likewise.
1494 2016-06-08 Renlin Li <renlin.li@arm.com>
1496 * config/tc-aarch64.c (print_operands): Substitute size.
1497 (output_operand_error_record): Likewise.
1499 2016-06-07 Alan Modra <amodra@gmail.com>
1501 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
1502 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
1503 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
1504 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
1505 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
1506 add vle_opcodes twice.
1507 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
1509 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
1511 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
1512 (arm_ext_ras): Renamed from arm_ext_v8_2.
1513 (insns): Update for arm_ext_v8_2 renaming.
1514 (arm_extensions): Add "ras".
1515 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
1516 * testsuite/gas/arm/armv8-a+ras.d: New.
1517 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
1520 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1522 * itbl-parse.y (yyerror): Use modern argument declaration style.
1524 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1526 * config/tc-sh.c (parse_reg): Change type of mode argument to
1528 (get_operand): Adjust.
1529 (insert): Change type of how to bfd_reloc_code_real_type.
1530 (insert4): Likewise.
1531 * config/tc-sh64.c (shmedia_get_operand): Adjust.
1532 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
1534 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1536 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
1539 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
1542 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
1543 stbcx., sthcx., stwcx., stdcx.>: Add tests.
1544 * gas/testsuite/gas/ppc/e6500.d: Likewise.
1545 * gas/testsuite/gas/ppc/power8.s: Likewise.
1546 * gas/testsuite/gas/ppc/power8.d: Likewise.
1547 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
1549 * gas/testsuite/gas/ppc/power4.d: Likewise.
1551 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1554 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
1555 * testsuite/gas/i386/x86-64-branch.d: Updated.
1556 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
1557 * testsuite/gas/i386/x86-64-branch-4.l: New file.
1558 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
1560 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1562 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
1563 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
1565 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1567 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
1568 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
1570 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1572 * configure.tgt: Replace -uclibc with *.
1574 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
1576 * config/tc-arc.c (parse_opcode_flags): New function.
1577 (find_opcode_match): Move flag parsing code out to new function.
1578 Ignore operands marked IGNORE.
1579 (build_fake_opcode_hash_entry): New function.
1580 (find_special_case_long_opcode): New function.
1581 (find_special_case): Lookup long opcodes.
1582 * testsuite/gas/arc/nps400-7.d: New file.
1583 * testsuite/gas/arc/nps400-7.s: New file.
1585 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1587 * config/tc-ns32k.c: Remove definition of input_line_pointer.
1589 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1591 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
1592 sentinal with iteration to array size.
1594 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1596 * config/xtensa-relax.h: Move typedefs of enums to the enums
1599 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1601 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
1604 2016-06-01 Graham Markall <graham.markall@embecosm.com>
1606 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
1607 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
1608 * testsuite/gas/arc/nps-400-1.d: Likewise.
1610 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
1613 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
1614 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
1615 noavx512ifma and noavx512vbmi.
1616 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
1617 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
1619 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
1620 * testsuite/gas/i386/noavx512-1.l: New file.
1621 * testsuite/gas/i386/noavx512-1.s: Likewise.
1622 * testsuite/gas/i386/noavx512-2.l: Likewise.
1623 * testsuite/gas/i386/noavx512-2.s: Likewise.
1625 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1628 * config/tc-i386.c (cpu_arch): Add 687.
1629 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
1630 nosse4.1, nosse4.2, nosse4 and noavx2.
1631 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
1632 register. Check cpuregxmm instead of cpusse for XMM register.
1633 Check cpuregymm instead of cpuavx for YMM register. Check
1634 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
1635 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
1636 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
1637 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
1638 * testsuite/gas/i386/arch-10.d (as): Likewise.
1639 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
1640 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
1641 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
1643 * testsuite/gas/i386/no87-3.l: New file.
1644 * testsuite/gas/i386/no87-3.s: Likewise.
1645 * testsuite/gas/i386/noavx-3.l: Likewise.
1646 * testsuite/gas/i386/noavx-3.s: Likewise.
1647 * testsuite/gas/i386/noavx-4.d: Likewise.
1648 * testsuite/gas/i386/noavx-4.s: Likewise.
1649 * testsuite/gas/i386/nosse-4.l: Likewise.
1650 * testsuite/gas/i386/nosse-4.s: Likewise.
1651 * testsuite/gas/i386/nosse-5.d: Likewise.
1652 * testsuite/gas/i386/nosse-5.s: Likewise.
1654 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1657 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
1659 (match_template): Check Intel64/AMD64 ISA.
1661 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1664 * config/tc-i386.c (intel64): New.
1665 (cpu_flags_match): Set cpuamd64 and cpuintel64.
1666 (md_parse_option): Set intel64 instead of cpuamd64 and
1669 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1671 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
1674 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
1676 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
1677 * testsuite/gas/ppc/altivec3.s: Likewise.
1678 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
1679 * testsuite/gas/ppc/power9.s: Likewise.
1681 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
1683 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
1684 * testsuite/gas/i386/noavx-1.l: Likewise.
1685 * testsuite/gas/i386/nommx-1.l: Likewise.
1686 * testsuite/gas/i386/nosse-1.l: Likewise.
1687 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1688 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
1689 * testsuite/gas/i386/noavx-1.s: Likewise.
1690 * testsuite/gas/i386/nommx-1.s: Likewise.
1691 * testsuite/gas/i386/nosse-1.s: Likewise.
1692 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1694 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1696 * config/tc-metag.c (metag_handle_align): Make the type of noop
1699 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1701 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
1702 bfd_reloc_code_real_type.
1704 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1707 * config/tc-i386.c (cpu_flags_match): Require another match
1709 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
1710 x86-64-avx512vl-1 and x86-64-avx512vl-2.
1711 * testsuite/gas/i386/avx512vl-1.l: New file.
1712 * testsuite/gas/i386/avx512vl-1.s: Likewise.
1713 * testsuite/gas/i386/avx512vl-2.l: Likewise.
1714 * testsuite/gas/i386/avx512vl-2.s: Likewise.
1715 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
1716 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
1717 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
1718 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
1720 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1723 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
1724 * testsuite/gas/i386/x86-64-pr20141.d: New file.
1725 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
1727 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1729 * config/tc-i386.c (arch_entry): Remove negated.
1730 (noarch_entry): New struct.
1731 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
1733 (set_cpu_arch): Check cpu_noarch after cpu_arch.
1734 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
1736 (output_message): New function.
1737 (show_arch): Use it. Handle cpu_noarch.
1738 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
1739 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
1740 * testsuite/gas/i386/noavx-1.l: New file.
1741 * testsuite/gas/i386/noavx-1.s: Likewise.
1742 * testsuite/gas/i386/noavx-2.s: Likewise.
1743 * testsuite/gas/i386/noavx-2.l: Likewise.
1744 * testsuite/gas/i386/nommx-1.s: Likewise.
1745 * testsuite/gas/i386/nommx-1.l: Likewise.
1746 * testsuite/gas/i386/nommx-2.s: Likewise.
1747 * testsuite/gas/i386/nommx-2.l: Likewise.
1748 * testsuite/gas/i386/nommx-3.s: Likewise.
1749 * testsuite/gas/i386/nommx-3.l: Likewise.
1750 * testsuite/gas/i386/nosse-1.s: Likewise.
1751 * testsuite/gas/i386/nosse-1.l: Likewise.
1752 * testsuite/gas/i386/nosse-2.s: Likewise.
1753 * testsuite/gas/i386/nosse-2.l: Likewise.
1754 * testsuite/gas/i386/nosse-3.s: Likewise.
1755 * testsuite/gas/i386/nosse-3.l: Likewise.
1757 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
1760 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
1761 instruction if supported by the currently selected fpu variant.
1762 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
1763 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
1765 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1767 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
1768 jump relocations against MIPS16 or microMIPS symbols on RELA
1770 * testsuite/gas/mips/jalx-local.d: New test.
1771 * testsuite/gas/mips/jalx-local-n32.d: New test.
1772 * testsuite/gas/mips/jalx-local-n64.d: New test.
1773 * testsuite/gas/mips/jalx-local.s: New test source.
1774 * testsuite/gas/mips/mips.exp: Run the new tests.
1776 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1778 * config/tc-mips.c (md_apply_fix)
1779 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1782 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1784 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1785 operator to operatorT.
1786 (map_suffix_reloc_to_operator): Change return type to operatorT.
1788 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1790 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1792 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1794 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1795 handler_charp to const char *.
1797 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1799 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1800 (ft32_target_format): Likewise.
1801 (TARGET_FORMAT): Adjust.
1803 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1805 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1806 (ia64_frob_label): Likewise.
1808 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1810 * config/tc-cr16.c (check_range): Make type of retval op_err.
1811 * config/tc-crx.c: Likewise.
1813 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1815 * config/tc-arc.c (md_begin): Add XY registers.
1816 (cpu_types): Code density is default off for ARC EM.
1818 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1820 * config/tc-arc.c (attributes_t): Renamed attribute class to
1822 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1824 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1826 * configuse.tgt: Add entry for arm-phoenix.
1828 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1830 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1832 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1834 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1836 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1838 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1839 (md_begin): Likewise.
1840 (encode_condition): Likewise.
1841 (encode_cc3): Likewise.
1842 (encode_cc2): Likewise.
1843 (encode_operand): Likewise.
1844 (tic54x_undefined_symbol): Likewise.
1846 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1848 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1850 * doc/c-mips.texi: Document p6600 -march option.
1852 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1855 * config/tc-i386.c (md_apply_fix): Preserve addend for
1856 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1857 * testsuite/gas/i386/addend.d: New file.
1858 * testsuite/gas/i386/addend.s: Likewise.
1859 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1860 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1861 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1862 * testsuite/gas/i386/reloc32.d: Updated.
1864 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1866 * config/tc-mips.c (append_insn): Correct the encoding of a
1867 constant argument for microMIPS JALX.
1868 (tc_gen_reloc): Correct the encoding of an in-place addend for
1870 * testsuite/gas/mips/jalx-addend.d: New test.
1871 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1872 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1873 * testsuite/gas/mips/jalx-imm.d: New test.
1874 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1875 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1876 * testsuite/gas/mips/jalx-addend.s: New test source.
1877 * testsuite/gas/mips/jalx-imm.s: New test source.
1878 * testsuite/gas/mips/mips.exp: Run the new tests.
1880 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1882 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1885 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1887 * config/tc-arc.c (find_opcode_match): Remove casting away of
1889 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1891 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1893 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1895 (md_convert_frag): Likewise.
1897 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1899 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1900 cached opcode to NULL when we reach a non-matching opcode.
1901 * testsuite/gas/arc/asm-errors-2.d: New file.
1902 * testsuite/gas/arc/asm-errors-2.err: New file.
1903 * testsuite/gas/arc/asm-errors-2.s: New file.
1905 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1907 * config/tc-arc.c (tokenize_arguments): Add checks for array
1909 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1910 * testsuite/gas/arc/asm-errors.err: Update expected results.
1912 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1914 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1915 int to enum rx_cpu_types.
1917 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1919 * config/tc-dlx.c (struct machine_it): change the type of a field from
1920 int to bfd_reloc_code_real_type.
1921 * config/tc-tic4x.c: Likewise.
1923 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1925 * config/tc-v850.c (v850_target_arch): change type to enum
1927 * config/tc-v850.h (v850_target_arch): Likewise.
1929 2016-05-18 Alan Modra <amodra@gmail.com>
1931 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1932 allowed negative range.
1933 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1934 * testsuite/gas/ppc/power9.d: Update.
1936 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1938 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1939 disassembling and stop skipping targets.
1940 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1941 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1942 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1943 instruction for targets that have stronger alignment requirement.
1944 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1945 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1946 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1947 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1948 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1949 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1950 * testsuite/gas/arm/archv8m-main.d: Likewise.
1951 * testsuite/gas/arm/archv8m.s: Add label.
1952 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1953 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1954 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1956 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1958 * config/tc-m32r.c (mach_table): Make static and const.
1960 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1962 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1965 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1967 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1969 * config/tc-msp430.c (md_begin): Likewise.
1971 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1973 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1974 bfd_reloc_code_real_type where appropriate.
1975 (fixup16): Likewise.
1976 (fixup8_xg): Likewise.
1978 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1980 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1982 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1984 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1985 * testsuite/gas/ppc/power9.s: Likewise.
1987 2016-05-13 Alan Modra <amodra@gmail.com>
1989 * config/obj-coff.c (weak_uniquify): Delete unused var.
1991 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1993 * app.c (app_push): Use XNEW and related macros.
1994 * as.c (parse_args): Likewise.
1995 * cgen.c (make_right_shifted_expr): Likewise.
1996 (gas_cgen_tc_gen_reloc): Likewise.
1997 * config/bfin-defs.h: Likewise.
1998 * config/bfin-parse.y: Likewise.
1999 * config/obj-coff.c (stack_init): Likewise.
2000 (stack_push): Likewise.
2001 (coff_obj_symbol_new_hook): Likewise.
2002 (coff_obj_symbol_clone_hook): Likewise.
2003 (add_lineno): Likewise.
2004 (coff_frob_symbol): Likewise.
2005 * config/obj-elf.c (obj_elf_section_name): Likewise.
2006 (build_group_lists): Likewise.
2007 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
2008 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
2009 * config/tc-aarch64.c (insert_reg_alias): Likewise.
2010 (find_or_make_literal_pool): Likewise.
2011 (add_to_lit_pool): Likewise.
2012 (fill_instruction_hash_table): Likewise.
2013 * config/tc-alpha.c (load_expression): Likewise.
2014 (emit_jsrjmp): Likewise.
2015 (s_alpha_ent): Likewise.
2016 (s_alpha_end): Likewise.
2017 (s_alpha_linkage): Likewise.
2018 (md_begin): Likewise.
2019 (tc_gen_reloc): Likewise.
2020 * config/tc-arc.c (arc_insert_opcode): Likewise.
2021 (arc_extcorereg): Likewise.
2022 * config/tc-bfin.c: Likewise.
2023 * config/tc-cr16.c: Likewise.
2024 * config/tc-cris.c: Likewise.
2025 * config/tc-crx.c (preprocess_reglist): Likewise.
2026 * config/tc-d10v.c: Likewise.
2027 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
2028 (frv_tomcat_shuffle): Likewise.
2029 * config/tc-h8300.c: Likewise.
2030 * config/tc-i370.c (i370_macro): Likewise.
2031 * config/tc-i386.c (lex_got): Likewise.
2032 (md_parse_option): Likewise.
2033 * config/tc-ia64.c (alloc_record): Likewise.
2034 (set_imask): Likewise.
2035 (save_prologue_count): Likewise.
2036 (dot_proc): Likewise.
2037 (dot_endp): Likewise.
2038 (ia64_frob_label): Likewise.
2039 (add_qp_imply): Likewise.
2040 (add_qp_mutex): Likewise.
2041 (mark_resource): Likewise.
2042 (dot_alias): Likewise.
2043 * config/tc-m68hc11.c: Likewise.
2044 * config/tc-m68k.c (m68k_frob_label): Likewise.
2046 (mri_control_label): Likewise.
2047 (push_mri_control): Likewise.
2048 (build_mri_control_operand): Likewise.
2049 (s_mri_else): Likewise.
2050 (s_mri_break): Likewise.
2051 (s_mri_next): Likewise.
2052 (s_mri_for): Likewise.
2053 (s_mri_endw): Likewise.
2054 * config/tc-metag.c (create_mnemonic_htab): Likewise.
2055 * config/tc-microblaze.c: Likewise.
2056 * config/tc-mmix.c (s_loc): Likewise.
2057 * config/tc-nds32.c (nds32_relax_hint): Likewise.
2058 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
2059 * config/tc-rl78.c: Likewise.
2060 * config/tc-rx.c (rx_include): Likewise.
2061 * config/tc-sh.c: Likewise.
2062 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
2063 * config/tc-sparc.c: Likewise.
2064 * config/tc-spu.c: Likewise.
2065 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
2066 (tic6x_start_unwind_section): Likewise.
2067 * config/tc-tilegx.c: Likewise.
2068 * config/tc-tilepro.c: Likewise.
2069 * config/tc-v850.c: Likewise.
2070 * config/tc-visium.c: Likewise.
2071 * config/tc-xgate.c: Likewise.
2072 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
2073 (new_resource_table): Likewise.
2074 (resize_resource_table): Likewise.
2075 (xtensa_create_trampoline_frag): Likewise.
2076 (xtensa_maybe_create_literal_pool_frag): Likewise.
2077 (cache_literal_section): Likewise.
2078 * config/xtensa-relax.c (append_transition): Likewise.
2079 (append_condition): Likewise.
2080 (append_value_condition): Likewise.
2081 (append_constant_value_condition): Likewise.
2082 (append_literal_op): Likewise.
2083 (append_label_op): Likewise.
2084 (append_constant_op): Likewise.
2085 (append_field_op): Likewise.
2086 (append_user_fn_field_op): Likewise.
2087 (enter_opname_n): Likewise.
2088 (enter_opname): Likewise.
2089 (split_string): Likewise.
2090 (parse_insn_templ): Likewise.
2091 (clone_req_or_option_list): Likewise.
2092 (clone_req_option_list): Likewise.
2093 (parse_option_cond): Likewise.
2094 (parse_insn_pattern): Likewise.
2095 (parse_insn_repl): Likewise.
2096 (build_transition): Likewise.
2097 (build_transition_table): Likewise.
2098 * dw2gencfi.c (alloc_fde_entry): Likewise.
2099 (alloc_cfi_insn_data): Likewise.
2100 (cfi_add_CFA_remember_state): Likewise.
2101 (dot_cfi_escape): Likewise.
2102 (dot_cfi_fde_data): Likewise.
2103 (select_cie_for_fde): Likewise.
2104 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
2105 * ecoff.c (ecoff_add_bytes): Likewise.
2106 (ecoff_build_debug): Likewise.
2107 * input-scrub.c (input_scrub_push): Likewise.
2108 (input_scrub_begin): Likewise.
2109 (input_scrub_next_buffer): Likewise.
2110 * itbl-ops.c (append_insns_as_macros): Likewise.
2111 (alloc_entry): Likewise.
2112 (alloc_field): Likewise.
2113 * listing.c (listing_newline): Likewise.
2114 (listing_listing): Likewise.
2115 * macro.c (get_any_string): Likewise.
2116 (delete_macro): Likewise.
2117 * stabs.c (generate_asm_file): Likewise.
2118 (stabs_generate_asm_lineno): Likewise.
2119 * subsegs.c (subseg_change): Likewise.
2120 (subseg_get): Likewise.
2121 * symbols.c (define_dollar_label): Likewise.
2122 (symbol_relc_make_sym): Likewise.
2123 * write.c (write_relocs): Likewise.
2125 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2127 * config/obj-coff.c (obj_coff_def): Simplify string copying.
2128 (weak_name2altname): Likewise.
2129 (weak_uniquify): Likewise.
2130 (obj_coff_section): Likewise.
2131 (obj_coff_init_stab_section): Likewise.
2132 * config/obj-elf.c (obj_elf_section_name): Likewise.
2133 (obj_elf_init_stab_section): Likewise.
2134 * config/obj-evax.c (evax_shorten_name): Likewise.
2135 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
2136 * config/tc-aarch64.c (create_register_alias): Likewise.
2137 * config/tc-alpha.c (load_expression): Likewise.
2138 (s_alpha_file): Likewise.
2139 (s_alpha_section_name): Likewise.
2140 (tc_gen_reloc): Likewise.
2141 * config/tc-arc.c (md_assemble): Likewise.
2142 * config/tc-arm.c (create_neon_reg_alias): Likewise.
2143 (start_unwind_section): Likewise.
2144 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
2145 (hppa_elf_mark_end_of_function): Likewise.
2146 * config/tc-nios2.c (nios2_modify_arg): Likewise.
2147 (nios2_negate_arg): Likewise.
2148 * config/tc-rx.c (rx_section): Likewise.
2149 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
2150 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
2151 * config/tc-tic54x.c (tic54x_include): Likewise.
2152 (tic54x_macro_info): Likewise.
2153 (subsym_get_arg): Likewise.
2154 (subsym_substitute): Likewise.
2155 (tic54x_start_line_hook): Likewise.
2156 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
2157 (xg_reverse_shift_count): Likewise.
2158 * config/xtensa-relax.c (enter_opname_n): Likewise.
2159 (split_string): Likewise.
2160 * dwarf2dbg.c (get_filenum): Likewise.
2161 (process_entries): Likewise.
2162 * expr.c (operand): Likewise.
2163 * itbl-ops.c (alloc_entry): Likewise.
2164 * listing.c (listing_message): Likewise.
2165 (listing_title): Likewise.
2166 * macro.c (check_macro): Likewise.
2167 * stabs.c (s_xstab): Likewise.
2168 * symbols.c (symbol_relc_make_expr): Likewise.
2169 * write.c (compress_debug): Likewise.
2171 2016-05-12 Nick Clifton <nickc@redhat.com>
2174 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
2176 2016-05-11 Nick Clifton <nickc@redhat.com>
2179 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
2180 big endian ARM configurations.
2182 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
2183 Matthew Fortune <matthew.fortune@imgtec.com>
2185 * config/tc-mips.c (options): Add OPTION_DSPR3 and
2187 (md_longopts): Likewise.
2188 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
2189 (mips_ases): Define availability for DSPr3.
2190 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
2191 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
2192 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
2194 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
2195 .set nodspr3. Fix -mdspr2 formatting.
2196 * testsuite/gas/mips/mips32-dspr3.d: New file.
2197 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
2198 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
2200 2016-05-11 Nick Clifton <nickc@redhat.com>
2203 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
2204 to the pool uses O_constant.
2205 * testsuite/gas/arm/pr20068.s: New test.
2206 * testsuite/gas/arm/pr20068.d: Test driver.
2208 2016-05-11 Nick Clifton <nickc@redhat.com>
2210 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
2211 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2212 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2213 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2214 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2215 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2216 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2217 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2218 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2220 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2222 * testsuite/gas/i386/i386.exp: Run RDPID tests.
2223 * testsuite/gas/i386/prefix.d: Adjust.
2224 * testsuite/gas/i386/rdpid.s: New test.
2225 * testsuite/gas/i386/rdpid.d: Ditto.
2226 * testsuite/gas/i386/rdpid-intel.d: Ditto.
2227 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
2228 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
2229 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
2231 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
2233 * config/tc-i386.c (cpu_arch): Add RDPID.
2234 * doc/c-i386.texi: Document RDPID.
2236 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2238 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
2239 set branch type of a symbol.
2241 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2243 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
2244 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
2246 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
2247 (aeabi_set_public_attributes): Memorize the feature bits of the
2248 architecture selected for Tag_CPU_arch. Use it to set
2249 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
2250 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
2251 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
2252 * testsuite/gas/arm/arch7em-bad-1.d: This.
2253 * testsuite/gas/arm/arch7em-bad-2.d: New file.
2254 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
2255 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
2256 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
2257 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
2258 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
2259 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
2260 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
2262 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2264 * config/tc-arm.c (struct arm_option_extension_value_table): Make
2265 allowed_archs an array with 2 entries.
2266 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
2267 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
2268 (arm_extensions): Use separate entries in allowed_archs when several
2269 archs are allowed to use an extension and change ARCH_ANY in
2270 ARM_ARCH_NONE in allowed_archs.
2271 (arm_parse_extension): Check that, for each allowed_archs entry, all
2272 bits are set in the current architecture, ignoring ARM_ANY entries.
2273 (s_arm_arch_extension): Likewise.
2275 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2277 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
2278 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
2279 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
2280 shared with a non M profile architecture.
2281 (do_rn): New function.
2282 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
2284 (v7m_psrs): Add ARMv8-M security extensions new special registers.
2285 (insns): Add ARMv8-M Security Extensions instructions.
2286 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
2287 arm_ext_v8m_m to decide the profile and the Thumb ISA.
2288 * testsuite/gas/arm/archv8m-cmse.s: New file.
2289 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
2290 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
2291 * testsuite/gas/arm/any-cmse.d: Likewise.
2292 * testsuite/gas/arm/any-cmse-main.d: Likewise.
2293 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
2294 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
2295 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
2296 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
2297 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
2299 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2301 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
2302 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
2304 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2306 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
2307 (fpu_arch_vfp_v3): Likewise.
2308 (fpu_arch_neon_v1): Likewise.
2309 (arm_arch_full): Likewise.
2310 (parse_neon_el_struct_list): Initialize fields of firsttype.
2312 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
2314 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
2315 (arc_extinsn): Handle new introduced syntax.
2316 * testsuite/gas/arc/textinsn1op.d: New file.
2317 * testsuite/gas/arc/textinsn1op.s: Likewise.
2318 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
2320 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2322 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
2323 DW_LNS_fixed_advance_pc.
2325 2016-04-27 Alan Modra <amodra@gmail.com>
2327 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
2328 (xmemdup0): New inline function.
2330 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
2332 * config/tc-mips.c (code_option_type): New enum.
2333 (parse_code_option): Return status indicating option type.
2334 (s_mipsset): Update `parse_code_option' call site accordingly.
2335 Always set register sizes from the ISA with ISA overrides.
2336 (s_module): Update `parse_code_option' call site.
2337 * testsuite/gas/mips/isa-override-1.d: New test.
2338 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
2339 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
2340 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
2341 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
2342 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
2343 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
2344 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
2345 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
2346 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
2347 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
2348 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
2349 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
2350 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
2351 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
2352 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
2353 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
2354 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
2355 * testsuite/gas/mips/isa-override-2.l: New list test.
2356 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
2357 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
2358 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
2359 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
2360 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
2361 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
2362 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
2363 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
2364 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
2365 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
2366 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
2368 * testsuite/gas/mips/isa-override-1.s: New test source.
2369 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
2370 * testsuite/gas/mips/isa-override-2.s: New test source.
2371 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
2372 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
2373 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
2374 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
2375 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
2376 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
2377 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
2378 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
2379 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
2380 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
2381 * testsuite/gas/mips/mips.exp: Run the new tests.
2383 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2386 * config/tc-bfin.c: Likewise.
2387 * config/tc-ia64.c: Likewise.
2388 * config/tc-mep.c: Likewise.
2389 * config/tc-metag.c: Likewise.
2390 * config/tc-nios2.c: Likewise.
2391 * config/tc-rl78.c: Likewise.
2393 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
2395 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
2396 -mcpu. Add cross reference to .cpu directive from -mcpu option.
2397 (ARC Directives): Add NPS400 to .cpu directive list.
2399 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
2401 * config/tc-aarch64.c (aarch64_features): Add "ras".
2402 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
2403 * testsuite/gas/aarch64/armv8-ras-1.d: New.
2404 * testsuite/gas/aarch64/armv8-ras-1.s: New.
2405 * testsuite/gas/aarch64/illegal-ras-1.d: New.
2406 * testsuite/gas/aarch64/illegal-ras-1.s: New.
2408 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2410 * testsuite/gas/arc/nps400-6.d: New file.
2411 * testsuite/gas/arc/nps400-6.s: New file.
2413 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
2415 * testsuite/gas/arc/nps400-4.d: New file.
2416 * testsuite/gas/arc/nps400-4.s: New file.
2417 * testsuite/gas/arc/nps400-5.d: New file.
2418 * testsuite/gas/arc/nps400-5.s: New file.
2420 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
2422 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
2425 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
2427 Revert prevous change.
2428 * config/tc-arc.c (arc_option): Make .cpu directive
2429 case-sensitive again.
2431 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2433 * config/tc-arc.c (arc_option): Make .cpu directive
2436 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
2438 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
2440 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2442 * config/tc-mips.c (md_begin): Remove useless assignment.
2444 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2446 * Makefile.in: Regenerated with automake 1.11.6.
2447 * aclocal.m4: Likewise.
2448 * doc/Makefile.in: Likewise.
2450 2016-04-15 Alan Modra <amodra@gmail.com>
2452 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
2454 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2456 * config/tc-nios2.c (nios2_as_options): Make file static.
2457 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
2458 * config/tc-sparc.c (native_op_table): Likewise.
2460 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2462 * config/tc-m32c.c (M32C_Macros): Remove.
2463 * config/tc-msp430.c (option_numbers): Likewise.
2465 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2467 * testsuite/gas/arc/nps400-3.d: New file.
2468 * testsuite/gas/arc/nps400-3.s: New file.
2470 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2472 * testsuite/gas/arc/add_s-err.s: Update target pattern.
2473 * testsuite/gas/arc/warn.s: Likewise.
2474 * testsuite/gas/elf/elf.exp: Run test for arc.
2476 2016-04-14 Nick Clifton <nickc@redhat.com>
2479 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
2480 sections possibly having the SHF_STRINGS flag bit set.
2481 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
2483 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2485 * config/tc-arc.c (mach_type_specified_p): Change type to
2487 (arc_option): Set private flags when parsing cpu pseudo-op.
2488 (md_parse_option): Set mach_type_specified_p to TRUE.
2490 2016-04-13 Nick Clifton <nickc@redhat.com>
2493 * testsuite/gas/v850/pr19937.s: New test.
2494 * testsuite/gas/v850/pr19937.d: New test control file.
2495 * testsuite/gas/v850/basic.exp: Run the new test.
2497 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2498 Andrew Bennett <andrew.bennett@imgtec.com>
2500 * config/tc-mips.c (relaxed_branch_length): Use the long
2501 sequence where the target is a weak symbol.
2502 (relaxed_micromips_32bit_branch_length): Likewise.
2503 (relaxed_micromips_16bit_branch_length): Likewise.
2504 * testsuite/gas/mips/branch-weak-1.d: New test.
2505 * testsuite/gas/mips/branch-weak-2.d: New test.
2506 * testsuite/gas/mips/branch-weak-3.d: New test.
2507 * testsuite/gas/mips/branch-weak-4.d: New test.
2508 * testsuite/gas/mips/branch-weak-5.d: New test.
2509 * testsuite/gas/mips/branch-weak.l: New stderr output.
2510 * testsuite/gas/mips/branch-weak.s: New test source.
2511 * testsuite/gas/mips/mips.exp: Run the new tests.
2513 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
2515 * config/tc-mips.c (relaxed_branch_length): Use the long
2516 sequence where the distance cannot be determined.
2517 (relaxed_micromips_32bit_branch_length): Likewise.
2518 * testsuite/gas/mips/branch-extern-1.d: New test.
2519 * testsuite/gas/mips/branch-extern-2.d: New test.
2520 * testsuite/gas/mips/branch-extern-3.d: New test.
2521 * testsuite/gas/mips/branch-extern-4.d: New test.
2522 * testsuite/gas/mips/branch-extern.l: New stderr output.
2523 * testsuite/gas/mips/branch-extern.s: New test source.
2524 * testsuite/gas/mips/branch-section-1.d: New test.
2525 * testsuite/gas/mips/branch-section-2.d: New test.
2526 * testsuite/gas/mips/branch-section-3.d: New test.
2527 * testsuite/gas/mips/branch-section-4.d: New test.
2528 * testsuite/gas/mips/branch-section.l: New stderr output.
2529 * testsuite/gas/mips/branch-section.s: New test source.
2530 * testsuite/gas/mips/mips.exp: Run the new tests.
2532 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2534 * testsuite/gas/arc/textauxregister.d: New file.
2535 * testsuite/gas/arc/textauxregister.s: Likewise.
2536 * testsuite/gas/arc/textcondcode.d: Likewise.
2537 * testsuite/gas/arc/textcondcode.s: Likewise.
2538 * testsuite/gas/arc/textcoreregister.d: Likewise.
2539 * testsuite/gas/arc/textcoreregister.s: Likewise.
2540 * testsuite/gas/arc/textpseudoop.d: Likewise.
2541 * testsuite/gas/arc/textpseudoop.s: Likewise.
2542 * testsuite/gas/arc/ld2.d: Update test.
2543 * testsuite/gas/arc/st.d: Likewise.
2544 * testsuite/gas/arc/taux.d: Likewise.
2545 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
2546 .extCoreRegister and .extAuxRegister documentation.
2547 * config/tc-arc.c (arc_extcorereg): New function.
2548 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
2549 .extAuxRegister pseudo-ops.
2550 (extRegister_t): New type.
2551 (ext_condcode, arc_aux_hash): New global variable.
2552 (find_opcode_match): Check for extensions.
2553 (preprocess_operands): Likewise.
2554 (md_begin): Add aux registers in a hash.
2555 (assemble_insn): Update use arc_flags member.
2556 (tokenize_extregister): New function.
2557 (create_extcore_section): Likewise.
2558 * config/tc-arc.h (arc_flags): Delete code, add flgp.
2560 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2562 * testsuite/gas/arc/noargs_a7.d: New file.
2563 * testsuite/gas/arc/noargs_a7.s: Likewise.
2564 * testsuite/gas/arc/noargs_hs.d: Likewise.
2565 * testsuite/gas/arc/noargs_hs.s: Likewise.
2567 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2569 * testsuite/gas/arc/textinsn-errors.d: New File.
2570 * testsuite/gas/arc/textinsn-errors.err: Likewise.
2571 * testsuite/gas/arc/textinsn-errors.s: Likewise.
2572 * testsuite/gas/arc/textinsn2op.d: Likewise.
2573 * testsuite/gas/arc/textinsn2op.s: Likewise.
2574 * testsuite/gas/arc/textinsn2op01.d: Likewise.
2575 * testsuite/gas/arc/textinsn2op01.s: Likewise.
2576 * testsuite/gas/arc/textinsn3op.d: Likewise.
2577 * testsuite/gas/arc/textinsn3op.s: Likewise.
2578 * doc/c-arc.texi (ARC Directives): Add .extInstruction
2580 * config/tc-arc.c (arcext_section): New variable.
2581 (arc_extinsn): New function.
2582 (md_pseudo_table): Add .extInstruction pseudo op.
2583 (attributes_t): New type.
2584 (suffixclass, syntaxclass, syntaxclassmod): New constant
2586 (find_opcode_match): Remove arc_num_opcodes.
2587 (md_begin): Likewise.
2588 (tokenize_extinsn): New function.
2589 (arc_set_ext_seg): Likewise.
2590 (create_extinst_section): Likewise.
2592 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
2594 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
2595 (arc_adjust_symtab): New function.
2596 * config/tc-arc.h (ARC_FLAG_AUX): Define.
2597 (obj_adjust_symtab): Likewise.
2598 * testsuite/gas/arc/taux.d: New file.
2599 * testsuite/gas/arc/taux.s: Likewise.
2601 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2603 * config/tc-mips.c (s_option): Sanitize `.option picX'
2605 * testsuite/gas/mips/option-pic-1.d: New test.
2606 * testsuite/gas/mips/option-pic-2.l: New list test.
2607 * testsuite/gas/mips/option-pic-1.s: New test source.
2608 * testsuite/gas/mips/option-pic-2.s: New test source.
2609 * testsuite/gas/mips/mips.exp: Run the new tests.
2611 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2613 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
2615 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
2616 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
2617 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
2618 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
2619 * testsuite/gas/mips/mips.exp: Run the new tests.
2621 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2623 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
2625 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2627 * messages.c (as_bad): Fix a typo in description.
2629 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2631 * config/tc-mips.c (mips_check_options): Unify messages.
2633 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
2635 * config/tc-mips.c (mips_check_options): Use `opts->isa'
2638 2016-04-08 Nick Clifton <nickc@redhat.com>
2641 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
2642 COFF and AOUT sparc targets.
2644 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2646 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
2647 * testsuite/gas/arc/nps400-2.d: New file.
2648 * testsuite/gas/arc/nps400-2.s: New file.
2650 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2652 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
2654 (arc_opcode_hash_entry_iterator_init): New function.
2655 (arc_opcode_hash_entry_iterator_next): New function.
2656 (find_opcode_match): Iterate over all arc_opcode entries
2657 referenced by the arc_opcode_hash_entry passed in as a parameter.
2659 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2661 * config/tc-arc.c (arc_find_opcode): Now returns
2662 arc_opcode_hash_entry pointer.
2663 (find_opcode_match): Update argument type, extract arc_opcode from
2664 incoming arc_opcode_hash_entry.
2665 (find_special_case_pseudo): Update return type.
2666 (find_special_case_flag): Update return type.
2667 (find_special_case): Update return type.
2668 (assemble_tokens): Lookup arc_opcode_hash_entry based on
2669 instruction mnemonic, then use find_opcode_match to identify
2670 specific arc_opcode.
2672 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2674 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
2675 (arc_find_opcode): New function.
2676 (find_special_case_pseudo): Use arc_find_opcode.
2677 (find_special_case_flag): Likewise.
2678 (assemble_tokens): Likewise.
2679 (md_begin): Build hash using struct arc_opcode_hash_entry.
2681 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
2683 * config/tc-arc.c (arc_option): Prepare string for automatic
2685 (declare_register): Likewise.
2687 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
2689 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
2690 Correct entry for RDMA. Alpha sort entries.
2692 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2694 * config/tc-arc.c (tokenize_flags): Allow greater range of
2695 characters into flag names.
2697 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2699 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
2701 (preprocess_operands): Delete.
2702 (assemble_tokens): Remove call to preprocess_operands.
2704 2016-04-07 Nick Clifton <nickc@redhat.com>
2707 * config/tc-sparc.c (sparc_ip): Report an error if the expression
2708 inside a %-macro could not be fully parsed.
2709 * expr.c (integer_constant): Accept and ignore U suffixes to
2711 (operand): When a missing closing parenthesis is encountered,
2712 report the character that was found instead.
2713 * testsuite/gas/mips/tls-ill.l: Update expected error message.
2714 * testsuite/gas/sparc/pr19910-1.d: New test driver.
2715 * testsuite/gas/sparc/pr19910-1.s: New test.
2716 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
2717 * testsuite/gas/sparc/pr19910-2.s: New test.
2718 * testsuite/gas/sparc/sparc.exp: Run the new tests.
2720 2016-04-06 Nick Clifton <nickc@redhat.com>
2722 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
2723 an EINT instruction. Warn/fix as necessary.
2724 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
2725 * testsuite/gas/msp430/bad.l: Update expected messages.
2727 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2729 * testsuite/gas/arc/nps400-1.d: Update expected results.
2730 * testsuite/gas/arc/nps400-1.s: Additional test cases.
2732 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2734 * config/tc-arc.c (is_code_density_p): Compare directly the
2736 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
2737 (check_cpu_feature): New function.
2738 (find_opcode_match): Use check_cpu_feature function.
2739 (preprocess_operands): Likewise.
2740 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
2741 * testsuite/gas/arc/tdpfp.d: New file.
2742 * testsuite/gas/arc/tfpuda.d: Likewise.
2743 * testsuite/gas/arc/tfpx.s: Likewise.
2745 2016-04-05 Jiong Wang <jiong.wang@arm.com>
2747 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
2748 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
2749 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
2750 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
2751 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
2752 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
2753 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
2754 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
2756 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
2758 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
2760 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
2761 JUMP instructions type.
2762 * testsuite/gas/arc/relocs-errors.d: New file.
2763 * testsuite/gas/arc/relocs-errors.err: Likewise.
2764 * testsuite/gas/arc/relocs-errors.s: Likewise.
2766 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2769 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
2770 only if i.disp_encoding != disp_encoding_32bit.
2771 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
2772 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
2773 * gas/testsuite/gas/i386/disp32.d: Updated.
2774 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
2776 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2779 * testsuite/gas/i386/i386.exp: Run pr19498.
2780 * testsuite/gas/i386/pr19498.d: New file.
2781 * testsuite/gas/i386/pr19498.s: Likewise.
2783 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2785 * config/tc-arc.h: Include 'opcode/arc.h'.
2786 (MAX_INSN_ARGS): Delete.
2787 (MAX_INSN_FLGS): Delete.
2789 2016-04-04 Alan Modra <amodra@gmail.com>
2792 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2793 from function on all paths that set sy_resolving.
2795 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2797 * app.c (app_push): use XNEW macro.
2799 * config/obj-elf.c (obj_elf_change_section): Likewise.
2800 (elf_copy_symbol_attributes): Likewise.
2801 (obj_elf_size): Likewise.
2802 (build_group_lists): Likewise.
2803 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2804 (md_assemble): Likewise.
2805 (tc_gen_reloc): Likewise.
2806 (get_upper_str): Likewise.
2807 (aarch64_parse_features): Likewise.
2808 * config/tc-arm.c (insert_reg_alias): Likewise.
2809 (insert_neon_reg_alias): Likewise.
2810 (find_or_make_literal_pool): Likewise.
2811 (s_arm_elf_cons): Likewise.
2812 (add_unwind_opcode): Likewise.
2813 (arm_parse_extension): Likewise.
2814 * config/tc-avr.c (create_record_for_frag): Likewise.
2815 * config/tc-crx.c: Likewise.
2816 * config/tc-d30v.c: Likewise.
2817 * config/tc-dlx.c (s_proc): Likewise.
2818 * config/tc-ft32.c: Likewise.
2819 * config/tc-h8300.c: Likewise.
2820 * config/tc-hppa.c (pa_proc): Likewise.
2821 (create_new_space): Likewise.
2822 (create_new_subspace): Likewise.
2823 * config/tc-i860.c: Likewise.
2824 * config/tc-i960.c: Likewise.
2825 * config/tc-ia64.c: Likewise.
2826 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2827 (iq2000_record_hi16): Likewise.
2828 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2829 * config/tc-m32r.c (debug_sym): Likewise.
2830 (m32r_record_hi16): Likewise.
2831 * config/tc-m68k.c (m68k_ip): Likewise.
2832 (md_begin): Likewise.
2833 * config/tc-mcore.c: Likewise.
2834 * config/tc-microblaze.c (check_got): Likewise.
2835 * config/tc-mips.c (append_insn): Likewise.
2836 (s_mipsset): Likewise.
2837 (mips_record_label): Likewise.
2838 (s_mips_end): Likewise.
2839 * config/tc-mmix.c (mmix_frob_file): Likewise.
2840 * config/tc-mn10200.c: Likewise.
2841 * config/tc-mn10300.c: Likewise.
2842 * config/tc-moxie.c: Likewise.
2843 * config/tc-msp430.c: Likewise.
2844 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2845 * config/tc-ns32k.c: Likewise.
2846 * config/tc-or1k.c: Likewise.
2847 * config/tc-pdp11.c: Likewise.
2848 * config/tc-pj.c (fake_opcode): Likewise.
2849 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2850 (ppc_macro): Likewise.
2851 (ppc_dwsect): Likewise.
2852 (ppc_machine): Likewise.
2853 * config/tc-rl78.c (rl78_frag_init): Likewise.
2854 * config/tc-rx.c (rx_frag_init): Likewise.
2855 * config/tc-s390.c (s390_lit_suffix): Likewise.
2856 (s390_machine): Likewise.
2857 (s390_machinemode): Likewise.
2858 * config/tc-score.c (s3_insert_reg): Likewise.
2859 (s3_gen_reloc): Likewise.
2860 * config/tc-score7.c (s7_insert_reg): Likewise.
2861 (s7_gen_reloc): Likewise.
2862 * config/tc-tic30.c (tic30_operand): Likewise.
2863 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2864 * config/tc-tic54x.c (stag_add_field): Likewise.
2865 (tic54x_struct): Likewise.
2866 (tic54x_space): Likewise.
2867 (tic54x_field): Likewise.
2868 (tic54x_mlib): Likewise.
2869 (subsym_substitute): Likewise.
2870 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2871 * config/tc-vax.c: Likewise.
2872 * config/tc-xc16x.c: Likewise.
2873 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2874 (directive_push): Likewise.
2875 (xtensa_begin_directive): Likewise.
2876 (tokenize_arguments): Likewise.
2877 (xtensa_add_literal_sym): Likewise.
2878 (new_resource_table): Likewise.
2879 (resize_resource_table): Likewise.
2880 (emit_single_op): Likewise.
2881 (xtensa_create_trampoline_frag): Likewise.
2882 (xtensa_maybe_create_literal_pool_frag): Likewise.
2883 (xtensa_add_config_info): Likewise.
2884 (xtensa_realloc_fixup_cache): Likewise.
2885 (add_subseg_info): Likewise.
2886 (cache_literal_section): Likewise.
2887 (add_xt_block_frags): Likewise.
2888 (add_xt_prop_frags): Likewise.
2889 (init_op_placement_info_table): Likewise.
2890 (build_section_rename): Likewise.
2891 * config/tc-z80.c: Likewise.
2892 * config/tc-z8k.c: Likewise.
2893 * depend.c (register_dependency): Likewise.
2894 * dwarf2dbg.c (get_line_subseg): Likewise.
2895 (dwarf2_gen_line_info_1): Likewise.
2896 (get_filenum): Likewise.
2897 * ecoff.c (allocate_scope): Likewise.
2898 (allocate_vlinks): Likewise.
2899 (allocate_shash): Likewise.
2900 (allocate_thash): Likewise.
2901 (allocate_tag): Likewise.
2902 (allocate_forward): Likewise.
2903 (allocate_thead): Likewise.
2904 (allocate_lineno_list): Likewise.
2905 * expr.c (make_expr_symbol): Likewise.
2906 * hash.c (hash_new_sized): Likewise.
2907 * input-file.c (input_file_push): Likewise.
2908 * listing.c (file_info): Likewise.
2909 (listing_newline): Likewise.
2910 * macro.c (new_formal): Likewise.
2911 (define_macro): Likewise.
2912 * remap.c (add_debug_prefix_map): Likewise.
2913 * symbols.c (symbol_find_noref): Likewise.
2914 (define_dollar_label): Likewise.
2915 (fb_label_instance_inc): Likewise.
2916 (symbol_relc_make_value): Likewise.
2918 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2920 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2921 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2922 (ppc_znop): Likewise.
2923 (ppc_pe_section): Likewise.
2924 (ppc_frob_symbol): Likewise.
2925 * config/tc-tic30.c (tic30_operand): Likewise.
2926 * config/tc-tic4x.c (tic4x_sect): Likewise.
2927 (tic4x_usect): Likewise.
2929 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2931 * config/tc-alpha.c: Const qualify FLT_CHARS.
2932 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2933 * config/tc-cris.h: Likewise.
2935 * config/tc-mmix.c (md_atof): Adjust comment.
2936 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2937 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2939 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2941 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2942 * config/tc-score7.c (s7_gen_reloc): Likewise.
2944 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2946 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2947 bfd_reloc_code_real_type.
2949 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2951 * config/bfin-parse.y (current_inputline): Remove definition.
2952 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2954 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2956 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2959 2016-04-02 Alan Modra <amodra@gmail.com>
2962 * read.c (assign_symbol): Consume rest of line after an error
2963 rather than continuing to process the line.
2965 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2967 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2968 (MAX_FLAG_NAME_LENGTH): ...this.
2969 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2970 * config/tc-arc.c (tokenize_flags): Likewise.
2972 2016-04-01 Alan Modra <amodra@gmail.com>
2974 * cgen.c (weak_operand_overflow_check): Return const char*.
2975 * messages.c (as_internal_value_out_of_range): Formatting.
2976 (as_warn_value_out_of_range): Consify prefix param.
2977 (as_bad_value_out_of_range): Likewise.
2978 * read.c (s_errwarn): Constify msg..
2979 (s_float_space, float_cons): ..and err.
2980 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2981 ieee_md_atof, vax_md_atof): Update prototypes.
2982 * tc.h (md_atof): Update prototype.
2983 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2984 * config/atof-vax.c (vax_md_atof): Likewise.
2985 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2986 * config/tc-aarch64.c (md_atof): Return const char*.
2987 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2988 (s_alpha_comm): Constify sec_name.
2989 (section_name): Constify.
2990 (s_alpha_section): Consify name..
2991 (alpha_elf_section_letter): ..and ptr_msg param..
2992 (md_atof): ..and return.
2993 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2994 * config/tc-arc.c (md_atof): Return const char*.
2995 * config/tc-arm.c (md_atof): Likewise.
2996 * config/tc-avr.c (md_atof): Likewise.
2997 * config/tc-bfin.c (md_atof): Likewise.
2998 * config/tc-cr16.c (md_atof): Likewise.
2999 * config/tc-cris.c (md_atof): Likewise.
3000 * config/tc-crx.c (md_atof): Likewise.
3001 * config/tc-d10v.c (md_atof): Likewise.
3002 * config/tc-d30v.c (md_atof): Likewise.
3003 * config/tc-dlx.c (md_atof): Likewise.
3004 * config/tc-epiphany.c (md_atof): Likewise.
3005 * config/tc-fr30.c (md_atof): Likewise.
3006 * config/tc-frv.c (md_atof): Likewise.
3007 * config/tc-ft32.c (md_atof): Likewise.
3008 * config/tc-h8300.c (md_atof): Likewise.
3009 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
3010 (struct default_space_dict): Likewise.
3011 (create_new_space): Constify name param.
3012 (create_new_subspace): Likewise.
3013 (is_defined_space, is_defined_subspace): Likewise.
3014 (pa_parse_space_stmt): Constify space_name param.
3015 (md_atof): Return const char*.
3016 (pa_spaces_begin): Constify name.
3017 * config/tc-i370.c (md_atof): Return const char*.
3018 * config/tc-i386.c (md_atof): Likewise.
3019 (x86_64_section_letter): Constify ptr_msg param.
3020 * config/tc-i386.h (x86_64_section_letter): Update prototype.
3021 * config/tc-i860.c (struct i860_it): Constify error.
3022 (md_atof): Return const char*.
3023 * config/tc-i960.c (md_atof): Likewise.
3024 * config/tc-ia64.c (md_atof): Likewise.
3025 (ia64_elf_section_letter): Constify ptr_msg param.
3026 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
3027 * config/tc-ip2k.c (md_atof): Return const char*.
3028 * config/tc-iq2000.c (md_atof): Likewise.
3029 * config/tc-lm32.c (md_atof): Likewise.
3030 * config/tc-m32c.c (md_atof): Likewise.
3031 * config/tc-m32r.c (md_atof): Likewise.
3032 * config/tc-m68hc11.c (md_atof): Likewise.
3033 * config/tc-m68k.c (md_atof): Likewise.
3034 * config/tc-mcore.c (md_atof): Likewise.
3035 * config/tc-mep.c (md_atof): Likewise.
3036 (mep_elf_section_letter): Constify ptr_msg param.
3037 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
3038 * config/tc-metag.c (md_atof): Return const char*.
3039 * config/tc-microblaze.c (md_atof): Likewise.
3040 * config/tc-microblaze.h (md_atof): Delete prototype.
3041 * config/tc-mips.c (mips_parse_argument_token): Constify err.
3042 (md_atof): Return const char*.
3043 * config/tc-mmix.c (md_atof): Likewise.
3044 * config/tc-mn10200.c (md_atof): Likewise.
3045 * config/tc-mn10300.c (md_atof): Likewise.
3046 * config/tc-moxie.c (md_atof): Likewise.
3047 * config/tc-msp430.c (md_atof): Likewise.
3048 * config/tc-mt.c (md_atof): Likewise.
3049 * config/tc-nds32.c (md_atof): Likewise.
3050 * config/tc-nios2.c (md_atof): Likewise.
3051 (nios2_elf_section_letter): Constify ptr_msg param.
3052 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
3053 * config/tc-ns32k.c (md_atof): Return const char*.
3054 * config/tc-or1k.c (md_atof): Likewise.
3055 * config/tc-pdp11.c (struct pdp11_code): Constify error.
3056 (md_atof): Return const char*.
3057 * config/tc-pj.c (md_atof): Likewise.
3058 * config/tc-ppc.c (md_atof): Likewise.
3059 * config/tc-rl78.c (md_atof): Likewise.
3060 * config/tc-rx.c (md_atof): Likewise.
3061 * config/tc-s390.c (md_atof): Likewise.
3062 * config/tc-score.c (s3_atof, md_atof): Likewise.
3063 * config/tc-sh.c (md_atof): Likewise.
3064 * config/tc-sparc.c (struct sparc_it): Constify error.
3065 (md_atof): Return const char*.
3066 * config/tc-spu.c (md_atof): Likewise.
3067 * config/tc-tic30.c (md_atof): Likewise.
3068 * config/tc-tic4x.c (md_atof): Likewise.
3069 * config/tc-tic54x.c (md_atof): Likewise.
3070 * config/tc-tic6x.c (md_atof): Likewise.
3071 * config/tc-tilegx.c (md_atof): Likewise.
3072 * config/tc-tilepro.c (md_atof): Likewise.
3073 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
3074 * config/tc-vax.c (md_atof): Likewise.
3075 * config/tc-visium.c (md_atof): Likewise.
3076 * config/tc-xc16x.c (md_atof): Likewise.
3077 * config/tc-xgate.c (md_atof): Likewise.
3078 * config/tc-xstormy16.c (md_atof): Likewise.
3079 * config/tc-xtensa.c (md_atof): Likewise.
3080 * config/tc-z80.c (md_atof): Likewise.
3081 * config/tc-z8k.c (md_atof): Likewise.
3083 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3085 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
3087 (xtensa_section_rename): Make argument type const char *.
3088 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
3090 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3092 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
3095 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3097 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
3099 (m32c_indirect_operand): Likewise.
3100 * config/tc-nds32.c (do_pseudo_b): Likewise.
3101 (do_pseudo_bal): Likewise.
3102 (do_pseudo_ls_bhw): Likewise.
3104 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3106 * as.c (parse_args): Cast literal to char * when assigning to optarg.
3108 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3110 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
3112 * config/tc-sparc.c (s_register): Cast a literal to char * in
3115 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3117 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
3119 * config/tc-m32r.c (expand_debug_syms): Likewise.
3120 * config/tc-msp430.c (msp430_dstoperand): Likewise.
3121 * config/tc-z80.c (md_begin): Likewise.
3122 * stabs.c (stabs_generate_asm_func): Likewise.
3124 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3126 * cgen.c: Modernize the way functions declare arguments.
3127 * config/tc-bfin.c: Likewise.
3128 * config/tc-pdp11.c: Likewise.
3129 * literal.c: Likewise.
3131 * stabs.c: Likewise.
3133 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3135 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
3136 variables unsigned char[].
3137 * config/tc-alpha.c (alpha_handle_align): Likewise.
3138 * config/tc-arm.c (arm_handle_align): Likewise.
3139 * config/tc-z80.c: Likewise.
3141 2016-03-30 Nick Clifton <nickc@redhat.com>
3144 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
3147 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3149 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
3150 * testsuite/gas/elf/elf.exp: Likewise.
3151 * testsuite/gas/all/redef3.d: Allow execution for ARC.
3153 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
3155 * testsuite/gas/arc/warn.exp: Fix matching pattern.
3157 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
3159 * testsuite/gas/arc/ext2op.d: New file.
3160 * testsuite/gas/arc/ext2op.s: Likewise.
3161 * testsuite/gas/arc/ext3op.d: Likewise.
3162 * testsuite/gas/arc/ext3op.s: Likewise.
3164 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3166 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
3168 * config/tc-alpha.c (md_parse_option): Likewise.
3169 * config/tc-arc.c (md_parse_option): Likewise.
3170 * config/tc-arm.c (struct arm_long_option_table): Likewise.
3171 (md_parse_option): Likewise.
3172 * config/tc-avr.c (md_parse_option): Likewise.
3173 * config/tc-bfin.c (md_parse_option): Likewise.
3174 * config/tc-cr16.c (md_parse_option): Likewise.
3175 * config/tc-cris.c (s_cris_arch): Likewise.
3176 (md_parse_option): Likewise.
3177 * config/tc-crx.c (md_parse_option): Likewise.
3178 * config/tc-d10v.c (md_parse_option): Likewise.
3179 * config/tc-d30v.c (md_parse_option): Likewise.
3180 * config/tc-dlx.c (md_parse_option): Likewise.
3181 * config/tc-epiphany.c (md_parse_option): Likewise.
3182 * config/tc-fr30.c (md_parse_option): Likewise.
3183 * config/tc-frv.c (md_parse_option): Likewise.
3184 * config/tc-ft32.c (md_parse_option): Likewise.
3185 * config/tc-h8300.c (md_parse_option): Likewise.
3186 * config/tc-hppa.c (md_parse_option): Likewise.
3187 * config/tc-i370.c (md_parse_option): Likewise.
3188 * config/tc-i386.c (md_parse_option): Likewise.
3189 * config/tc-i860.c (md_parse_option): Likewise.
3190 * config/tc-i960.c (md_parse_option): Likewise.
3191 * config/tc-ia64.c (md_parse_option): Likewise.
3192 * config/tc-ip2k.c (md_parse_option): Likewise.
3193 * config/tc-iq2000.c (md_parse_option): Likewise.
3194 * config/tc-lm32.c (md_parse_option): Likewise.
3195 * config/tc-m32c.c (md_parse_option): Likewise.
3196 * config/tc-m32r.c (md_parse_option): Likewise.
3197 * config/tc-m68hc11.c (md_parse_option): Likewise.
3198 * config/tc-m68k.c (md_parse_option): Likewise.
3199 * config/tc-mcore.c (md_parse_option): Likewise.
3200 * config/tc-mep.c (md_parse_option): Likewise.
3201 * config/tc-metag.c (struct metag_long_option): Likewise.
3202 (md_parse_option): Likewise.
3203 * config/tc-microblaze.c (md_parse_option): Likewise.
3204 * config/tc-microblaze.h (md_parse_option): Remove prototype.
3205 * config/tc-mips.c (md_parse_option): Adjust.
3206 * config/tc-mmix.c (md_parse_option): Likewise.
3207 * config/tc-mn10200.c (md_parse_option): Likewise.
3208 * config/tc-mn10300.c (md_parse_option): Likewise.
3209 * config/tc-moxie.c (md_parse_option): Likewise.
3210 * config/tc-msp430.c (md_parse_option): Likewise.
3211 * config/tc-mt.c (md_parse_option): Likewise.
3212 * config/tc-nds32.c (md_parse_option): Likewise.
3213 * config/tc-nds32.h (nds32_parse_option): Likewise.
3214 * config/tc-nios2.c (md_parse_option): Likewise.
3215 * config/tc-ns32k.c (md_parse_option): Likewise.
3216 * config/tc-or1k.c (md_parse_option): Likewise.
3217 * config/tc-pdp11.c (md_parse_option): Likewise.
3218 * config/tc-pj.c (md_parse_option): Likewise.
3219 * config/tc-ppc.c (md_parse_option): Likewise.
3220 * config/tc-rl78.c (md_parse_option): Likewise.
3221 * config/tc-rx.c (md_parse_option): Likewise.
3222 * config/tc-s390.c (s390_parse_cpu): Likewise.
3223 * config/tc-score.c (md_parse_option): Likewise.
3224 * config/tc-sh.c (md_parse_option): Likewise.
3225 * config/tc-sparc.c (md_parse_option): Likewise.
3226 * config/tc-spu.c (md_parse_option): Likewise.
3227 * config/tc-tic30.c (md_parse_option): Likewise.
3228 * config/tc-tic4x.c (md_parse_option): Likewise.
3229 * config/tc-tic54x.c (md_parse_option): Likewise.
3230 * config/tc-tic6x.c (md_parse_option): Likewise.
3231 * config/tc-tilegx.c (md_parse_option): Likewise.
3232 * config/tc-tilepro.c (md_parse_option): Likewise.
3233 * config/tc-v850.c (md_parse_option): Likewise.
3234 * config/tc-vax.c (md_parse_option): Likewise.
3235 * config/tc-visium.c (struct visium_long_option_table): Likewise.
3236 * config/tc-xc16x.c (md_parse_option): Likewise.
3237 * config/tc-xgate.c (md_parse_option): Likewise.
3238 * config/tc-xstormy16.c (md_parse_option): Likewise.
3239 * config/tc-xtensa.c (md_parse_option): Likewise.
3240 * config/tc-z80.c (md_parse_option): Likewise.
3241 * config/tc-z8k.c (md_parse_option): Likewise.
3242 * tc.h (md_parse_option): Likewise.
3244 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3246 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
3247 * config/tc-hppa.c (fix_new_hppa): Likewise.
3248 (pa_vtable_entry): Likewise.
3249 (pa_vtable_inherit): Likewise.
3250 * config/tc-m68k.c (md_begin): Likewise.
3252 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3254 * config/obj-elf.c (obj_elf_section_name): Return const char *.
3255 * config/obj-elf.h (obj_elf_section_name): Adjust.
3256 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
3257 (aarch64_parse_cpu): Likewise.
3258 (aarch64_parse_arch): Likewise.
3259 * config/tc-arm.c (arm_parse_extension): Likewise.
3260 (arm_parse_cpu): Likewise.
3261 (arm_parse_arch): Likewise.
3262 * config/tc-nds32.c: Likewise.
3263 * config/xtensa-relax.c (parse_special_fn): Likewise.
3264 * stabs.c (generate_asm_file): Likewise.
3266 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3268 * config/tc-cr16.c (cr16_assemble): New function.
3269 (md_assemble): Call cr16_assemble.
3271 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3273 * as.c (parse_args): Adjust.
3274 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
3275 * config/obj-elf.c (elf_frob_symbol): Adjust.
3277 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
3279 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
3280 registers to be in the 16..31 range.
3282 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3284 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
3287 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3289 * config/tc-visium.c (md_atof): Localize the string returned on
3292 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3294 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
3295 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
3296 * config/tc-m68hc11.c (md_begin): Likewise.
3297 (print_opcode_list): Likewise.
3298 * config/tc-msp430.c (msp430_section): Likewise.
3299 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
3300 (s3_build_dependency_insn_hsh): Likewise.
3301 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
3302 (s7_build_dependency_insn_hsh): Likewise.
3303 * config/tc-tic4x.c: Likewise.
3304 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3305 (subsym_get_arg): Likewise.
3306 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
3307 (get_directive): Likewise.
3308 (cache_literal_section): Likewise.
3309 * config/xtensa-relax.c: Likewise.
3310 * symbols.c (symbol_create): Likewise.
3311 (local_symbol_make): Likewise.
3312 (symbol_relc_make_expr): Likewise.
3314 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3316 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
3319 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3321 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
3324 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3326 * config/tc-ia64.c (ia64_do_align): Remove.
3327 (ia64_cons_align): Call do_align () directly.
3328 (dot_proc): Likewise.
3329 (stmt_float_cons): Likewise.
3331 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3333 * listing.c (listing_message): Use XNEW style allocation macros.
3334 * read.c (read_a_source_file): Likewise.
3335 (read_symbol_name): Likewise.
3336 (s_mri_common): Likewise.
3337 (assign_symbol): Likewise.
3338 (s_reloc): Likewise.
3339 (emit_expr_with_reloc): Likewise.
3340 (s_incbin): Likewise.
3341 (s_include): Likewise.
3342 * sb.c (sb_build): Likewise.
3343 (sb_check): Likewise.
3345 2016-03-22 Alan Modra <amodra@gmail.com>
3347 * write.c (record_alignment): Revert 2016-02-18 change.
3349 2016-03-22 Alan Modra <amodra@gmail.com>
3351 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
3352 (emit_jsrjmp, tc_gen_reloc): Likewise.
3353 * config/tc-i370.c (i370_macro): Likewise.
3355 2016-03-22 Nick Clifton <nickc@redhat.com>
3357 * configure: Regenerate.
3359 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3361 * testsuite/gas/arc/nps400-0.d: New file.
3362 * testsuite/gas/arc/nps400-0.s: New file.
3363 * testsuite/gas/arc/nps400-1.d: New file.
3364 * testsuite/gas/arc/nps400-1.s: New file.
3366 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3368 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
3369 declarations to start of block. Reset code on all flags before
3370 attempting to match them. Handle multiple hits on the same flag.
3372 * testsuite/gas/arc/asm-errors.d: New file.
3373 * testsuite/gas/arc/asm-errors.err: New file.
3374 * testsuite/gas/arc/asm-errors.s: New file.
3376 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3378 * config/tc-arc.c (cpu_types): Add nps400 entry.
3379 (check_zol): Handle nps400.
3381 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3383 * config/tc-arc.c (arc_select_cpu): Remove use of
3386 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3388 * config/tc-arc.c (arc_target): Delay initialisation until
3390 (arc_target_name): Likewise.
3391 (arc_features): Likewise.
3392 (arc_mach_type): Likewise.
3393 (cpu_types): Remove "all" entry.
3394 (arc_select_cpu): New function, most of the content is from...
3395 (md_parse_option): ... here. Call new arc_select_cpu.
3396 (md_begin): Call arc_select_cpu if needed, default is now arc700.
3398 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
3400 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
3401 * testsuite/gas/arc/inline-data-2.d: New file.
3403 2016-03-21 Nick Clifton <nickc@redhat.com>
3405 * atof-generic.c: Replace use of alloca with call to xmalloc.
3407 * dwarf2dbg.c: Likewise.
3408 * macro.c: Likewise.
3409 * remap.c: Likewise.
3410 * stabs.c: Likewise.
3411 * symbols.c: Likewise.
3412 * config/obj-elf.c: Likewise.
3413 * config/tc-aarch64.c: Likewise.
3414 * config/tc-arc.c: Likewise.
3415 * config/tc-arm.c: Likewise.
3416 * config/tc-avr.c: Likewise.
3417 * config/tc-ia64.c: Likewise.
3418 * config/tc-mips.c: Likewise.
3419 * config/tc-msp430.c: Likewise.
3420 * config/tc-nds32.c: Likewise.
3421 * config/tc-ppc.c: Likewise.
3422 * config/tc-sh.c: Likewise.
3423 * config/tc-tic30.c: Likewise.
3424 * config/tc-tic54x.c: Likewise.
3425 * config/tc-xstormy16.c: Likewise.
3426 * config/te-vms.c: Likewise.
3427 * configure: Regenerate.
3429 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3431 * tc-i386.c (f32_1): Change type to unsigned char[].
3451 (jump_31): Likewise.
3452 (f32_patt): Likewise.
3453 (f16_patt): Likewise.
3462 (alt_patt): Likewise.
3464 2016-03-18 Nick Clifton <nickc@redhat.com>
3466 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
3467 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
3468 .tlsdescldr and .xword directives.
3471 * testsuite/gas/aarch64/pr19721.s: New test source file.
3472 * testsuite/gas/aarch64/pr19721.d: New test driver file.
3474 * doc/as.texinfo: Place the target specific command line options
3475 into their own man page section.
3477 2016-03-16 Jiong Wang <jiong.wang@arm.com>
3479 * config/tc-arm.c (N_S_32): New.
3480 (N_F_16_32): Likewise.
3481 (N_SUF_32): Support N_F16.
3482 (N_IF_32): Likewise.
3483 (neon_dyadic_misc): Likewise.
3484 (do_neon_cmp): Likewise.
3485 (do_neon_cmp_inv): Likewise.
3486 (do_neon_mul): Likewise.
3487 (do_neon_fcmp_absolute): Likewise.
3488 (do_neon_step): Likewise.
3489 (do_neon_abs_neg): Likewise.
3490 (CVT_FLAVOR_VAR): Likewise.
3491 (do_neon_cvt_1): Likewise.
3492 (do_neon_recip_est): Likewise.
3493 (do_vmaxnm): Likewise.
3494 (do_vrint_1): Likewise.
3495 (neon_check_type): Check architecture support for FP16 extension.
3496 (insns): Update comments.
3497 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
3498 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
3499 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
3500 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
3502 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
3504 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
3507 2016-03-16 Nick Clifton <nickc@redhat.com>
3509 * read.c (emit_expr_with_reloc): Add code check a bignum with
3511 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
3513 * testsuite/gas/elf/bignum.s: New test source file.
3514 * testsuite/gas/elf/bignum.d: New test driver file.
3515 * testsuite/gas/elf/elf.exp: Run the new test.
3517 2016-03-15 Ulrich Drepper <drepper@gmail.com>
3519 * doc/c-i386.texi (Register Naming): Update to details of the
3520 latest architecture version.
3522 2016-03-10 Mickael Guene <mickael.guene@st.com>
3525 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
3527 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
3528 (do_t_mov_cmp): Likewise.
3529 (do_t_add_sub): Protect against bad relocations usage.
3530 (do_t_mov_cmp): Likewise.
3531 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
3532 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
3533 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
3534 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
3536 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3538 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
3540 (do_neon_ld_st_lane): Likewise.
3541 (do_neon_ld_dup): Likewise.
3543 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
3545 * testsuite/gas/arc/inline-data-1.d: New file.
3546 * testsuite/gas/arc/inline-data-1.s: New file.
3548 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3550 * config/tc-arm.c (arm_cpus): Add cortex-r8.
3551 * doc/c-arm.texi: Add cortex-r8.
3553 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3555 * config/tc-arc.c: Add const qualifiers.
3556 * config/tc-h8300.c (md_begin): Likewise.
3557 * config/tc-ia64.c (print_prmask): Likewise.
3558 * config/tc-msp430.c (msp430_operands): Likewise.
3559 * config/tc-nds32.c (struct suffix_name): Likewise.
3560 (struct nds32_parse_option_table): Likewise.
3561 (struct nds32_set_option_table): Likewise.
3562 (do_pseudo_pushpopm): Likewise.
3563 (do_pseudo_pushpop_stack): Likewise.
3564 (nds32_relax_relocs): Likewise.
3565 (nds32_flag): Likewise.
3566 (struct nds32_hint_map): Likewise.
3567 (nds32_find_reloc_table): Likewise.
3568 (nds32_match_hint_insn): Likewise.
3569 * config/tc-s390.c: Likewise.
3570 * config/tc-sh.c (get_specific): Likewise.
3571 * config/tc-tic30.c: Likewise.
3572 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
3573 (tic4x_indirect_parse): Likewise.
3574 * config/tc-vax.c (vax_cons): Likewise.
3575 * config/tc-z80.c (struct reg_entry): Likewise.
3576 * config/tc-epiphany.c (md_assemble): Adjust.
3577 (epiphany_assemble): New function.
3578 (epiphany_elf_section_rtn): Call do_align directly.
3579 (epiphany_elf_section_text): Likewise.
3580 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
3581 (ip2k_elf_section_text): Likewise.
3582 * read.c (do_align): Make it not static.
3583 * read.h (do_align): New prototype.
3585 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3587 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
3588 for ARMv8.1 AdvSIMD use.
3589 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
3590 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
3592 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
3594 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
3596 (record_feature_use): New.
3597 (mark_feature_used): Use record_feature_use.
3598 (do_neon_qrdmlah): New.
3599 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
3601 (arm_extensions): Put into alphabetical order. Re-indent "simd"
3602 and "rdma" entries. Fix the incorrect merge value for "+rdma".
3603 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
3604 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
3605 Make source file explicit.
3606 * testsuite/gas/arm/armv8-a+rdma.l: New.
3607 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
3608 directives. Fix white-space.
3609 * testsuite/gas/arm/armv8_1-a+simd.d: New.
3611 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
3613 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
3615 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
3616 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3618 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
3619 (tc_arc_fix_adjustable): Changed default return value to 1.
3620 * testsuite/gas/arc/j.d: Updated expected symbol
3621 * testsuite/gas/arc/jl.d: Likewise
3622 * testsuite/gas/arc/relax-avoid1.d: Likewise
3623 * testsuite/gas/arc/st.d: Likewise
3625 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3627 * config/tc-arc.c: Enable code density instructions for ARC EM.
3629 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3632 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
3634 * as.c (flag_use_elf_stt_common): New.
3635 (show_usage): Add --elf-stt-common=.
3636 (option_values): Add OPTION_ELF_STT_COMMON.
3637 (std_longopts): Add --elf-stt-common=.
3638 (parse_args): Handle --elf-stt-common=.
3639 * as.h (flag_use_elf_stt_common): New.
3640 * config.in: Regenerated.
3641 * configure: Likewise.
3642 * configure.ac: Add --enable-elf-stt-common and define
3643 DEFAULT_GENERATE_ELF_STT_COMMON.
3644 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
3645 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
3646 * doc/as.texinfo: Document --elf-stt-common=.
3647 * testsuite/gas/elf/common3.s: New file.
3648 * testsuite/gas/elf/common3a.d: Likewise.
3649 * testsuite/gas/elf/common3b.d: Likewise.
3650 * testsuite/gas/elf/common4.s: Likewise.
3651 * testsuite/gas/elf/common4a.d: Likewise.
3652 * testsuite/gas/elf/common4b.d: Likewise.
3653 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
3654 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
3655 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
3657 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
3658 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
3659 --elf-stt-common=no to as.
3660 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
3661 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
3662 --elf-stt-common=no to as.
3663 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
3664 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
3665 of dw2-compress-3 and dw2-compressed-3.
3667 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3669 * as.c (select_emulation_mode): Add const qualifiers.
3671 * config/bfin-defs.h: Likewise.
3672 * config/bfin-parse.y: Likewise.
3673 * config/rx-parse.y: Likewise.
3674 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
3675 (struct aarch64_cpu_option_table): Likewise.
3676 (struct aarch64_arch_option_table): Likewise.
3677 (struct aarch64_option_cpu_value_table): Likewise.
3678 (struct aarch64_long_option_table): Likewise.
3679 (struct aarch64_option_abi_value_table): Likewise.
3680 * config/tc-arm.c (struct reloc_entry): Likewise.
3681 (tc_gen_reloc): Likewise.
3682 (struct arm_option_table): Likewise.
3683 (struct arm_legacy_option_table): Likewise.
3684 (struct arm_cpu_option_table): Likewise.
3685 (struct arm_arch_option_table): Likewise.
3686 (struct arm_option_extension_value_table): Likewise.
3687 (struct arm_option_fpu_value_table): Likewise.
3688 (struct arm_option_value_table): Likewise.
3689 (struct arm_long_option_table): Likewise.
3690 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
3691 (struct mcu_type_s): Likewise.
3692 (struct exp_mod_s): Likewise.
3693 (avr_operand): Likewise.
3694 (avr_operands): Likewise.
3695 * config/tc-d10v.c (md_begin): Likewise.
3696 * config/tc-dlx.c: Likewise.
3697 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
3698 * config/tc-ft32.c (parse_condition): Likewise.
3699 * config/tc-h8300.c (do_a_fix_imm): Likewise.
3700 * config/tc-hppa.c (pa_ip): Likewise.
3701 (hppa_regname_to_dw2regnum): Likewise.
3702 * config/tc-i370.c (i370_elf_suffix): Likewise.
3703 * config/tc-i960.c (struct tabentry): Likewise.
3704 * config/tc-m32r.c: Likewise.
3705 * config/tc-m68k.c: Likewise.
3706 * config/tc-m68k.h: Likewise.
3707 * config/tc-mcore.c (parse_psrmod): Likewise.
3708 * config/tc-metag.c (struct metag_core_option): Likewise.
3709 (struct metag_long_option): Likewise.
3710 * config/tc-microblaze.c: Likewise.
3711 * config/tc-mips.c (macro): Likewise.
3712 * config/tc-mn10200.c: Likewise.
3713 * config/tc-mn10300.c: Likewise.
3714 * config/tc-msp430.c (struct rcodes_s): Likewise.
3715 (struct hcodes_s): Likewise.
3716 (md_parse_option): Likewise.
3717 * config/tc-ns32k.c (struct ns32k_option): Likewise.
3718 (optlist): Likewise.
3719 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
3720 (tc_ppc_regname_to_dw2regnum): Likewise.
3721 * config/tc-ppc.h: Likewise.
3722 * config/tc-rl78.c: Likewise.
3723 * config/tc-rx.c (struct cpu_type): Likewise.
3724 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
3725 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
3726 (sparc_ip): Likewise.
3727 * config/tc-spu.c (insn_fmt_string): Likewise.
3728 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3729 * config/tc-v850.c: Likewise.
3730 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
3731 (struct visium_long_option_table): Likewise.
3732 * config/tc-xgate.c: Likewise.
3733 * config/tc-z8k.c: Likewise.
3734 * read.c (add_include_dir): Likewise.
3737 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3739 * testsuite/gas/all/gas.exp: Change target pattern to cover
3741 * testsuite/gas/all/redef3.d: Likewise.
3742 * testsuite/gas/elf/elf.exp: Likewise.
3744 2016-02-24 Renlin Li <renlin.li@arm.com>
3746 * config/tc-arm.c (BAD_FP16): New error message macro.
3747 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
3748 fp16 scalar instructions.
3749 (neon_check_type): Allow different size from key.
3750 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
3751 (try_vfp_nsyn): Likewise.
3752 (do_vfp_nsyn_mla_mls): Likewise.
3753 (do_vfp_nsyn_fma_fms): Likewise.
3754 (do_vfp_nsyn_ldm_stm): Likewise
3755 (do_vfp_nsyn_sqrt): Likewise
3756 (do_vfp_nsyn_div): Likewise
3757 (do_vfp_nsyn_nmul): Likewise.
3758 (do_vfp_nsyn_cmp): Likewise.
3759 (do_neon_shll): Likewise.
3760 (do_vfp_nsyn_cvt_fpv8): Likewise.
3761 (do_neon_cvttb_2): Likewise.
3762 (do_neon_mov): Likewise.
3763 (do_neon_rshift_round_imm): Likewise.
3764 (do_neon_ldr_str): Likewise.
3765 (do_vfp_nsyn_fpv8): Likewise.
3766 (do_vmaxnm): Likewise.
3767 (do_vrint_1): Likewise.
3768 (insns): New entry for vins, vmovx.
3769 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
3770 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
3771 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
3772 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
3773 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
3774 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
3775 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
3777 2016-02-24 Renlin Li <renlin.li@arm.com>
3779 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
3780 (neon_shape_class): New SC_HALF.
3781 (neon_shape_el): New SE_H.
3782 (neon_shape_el_size): New size for SE_H.
3783 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3784 (neon_select_shape): Add SE_H support code.
3785 (el_type_of_type_chk): Use N_F_ALL.
3786 (do_vfp_nsyn_cvt): Add SE_H shape support.
3787 (do_neon_cvtz): Likewise.
3788 (do_neon_cvt_1): Likewise.
3789 (do_neon_cvttb_1): Likewise.
3791 2016-02-24 Renlin Li <renlin.li@arm.com>
3793 * testsuite/gas/arm/copro.d: Adjust output.
3794 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3796 2016-02-24 Renlin Li <renlin.li@arm.com>
3798 * testsuite/gas/arm/mask_1.d: New.
3799 * testsuite/gas/arm/mask_1.s: New.
3801 2016-02-24 Renlin Li <renlin.li@arm.com>
3803 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3804 * testsuite/gas/arm/copro.d: Update.
3806 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3808 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3809 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3811 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3813 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3815 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3817 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3820 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3822 * output-file.c (output_file_create): Make file name argument const.
3823 (output_file_close): Likewise.
3824 * output-file.h (output_file_create): Adjust.
3825 (output_file_close): Likewise.
3826 * depend.c (quote_string_for_make): Make src argument const char *.
3827 (register_dependency): Likewise.
3828 (wrap_output): Likewise.
3829 * as.h (register_dependency): Adjust.
3830 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3832 * symbols.c (S_SET_EXTERNAL): Likewise.
3833 * input-scrub.c (as_where): Return the file name.
3834 * as.h (as_where): Adjust prototype.
3835 * app.c (do_scrub_chars): Adjust.
3836 * cond.c (s_elseif): Likewise.
3838 (initialize_cframe): Likewise.
3839 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3840 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3841 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3842 * config/tc-aarch64.c (output_info): Likewise.
3843 * config/tc-ia64.c (md_assemble): Likewise.
3844 (dot_alias): Likewise.
3845 * config/tc-m68k.c (m68k_frob_label): Likewise.
3846 * config/tc-mmix.c (s_bspec): Likewise.
3847 (mmix_handle_mmixal): Likewise.
3848 * config/tc-rx.c (rx_include): Likewise.
3849 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3850 (tic54x_adjust_symtab): Likewise.
3851 * config/tc-xtensa.c (directive_push): Likewise.
3852 (xtensa_sanity_check): Likewise.
3853 (xtensa_relax_frag): Likewise.
3854 (md_convert_frag): Likewise.
3855 (tinsn_to_slotbuf): Likewise.
3856 * dwarf2dbg.c (dwarf2_where): Likewise.
3857 * ecoff.c (add_file): Likewise.
3858 (ecoff_generate_asm_lineno): Likewise.
3859 * expr.c (make_expr_symbol): Likewise.
3860 * frags.c (frag_new): Likewise.
3861 (frag_var_init): Likewise.
3862 * listing.c (listing_newline): Likewise.
3863 * messages.c (identify): Likewise.
3864 (as_show_where): Likewise.
3865 (as_warn_internal): Likewise.
3866 (as_bad_internal): Likewise.
3867 * read.c (s_irp): Likewise.
3868 (s_macro): Likewise.
3869 (s_reloc): Likewise.
3870 * stabs.c (stabs_generate_asm_file): Likewise.
3871 (stabs_generate_asm_lineno): Likewise.
3872 (stabs_generate_asm_func): Likewise.
3873 * write.c (fix_new_internal): Likewise.
3874 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3875 (as_warn_value_out_of_range): Adjust prototype.
3876 (as_bad_value_out_of_range): Adjust prototype.
3877 * messages.c (identify): Make file name argument const char *.
3878 (as_warn_internal): Likewise.
3879 (as_warn_where): Likewise.
3880 (as_bad_internal): Likewise.
3881 (as_bad_where): Likewise.
3882 (as_internal_value_out_of_range): Likewise.
3883 (as_warn_value_out_of_range): Likewise.
3884 (as_bad_value_out_of_range): Likewise.
3885 * as.h (found_comment_file): Change type to const char *.
3886 * cond.c (file_line::file): Likewise.
3887 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3888 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3889 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3890 * config/tc-aarch64.c (output_info): Likewise.
3891 * config/tc-alpha.c (insert_operand): Likewise.
3892 * config/tc-arc.c (insert_operand): Likewise.
3893 * config/tc-d30v.c (check_size): Likewise.
3894 * config/tc-ia64.c (struct alias): Likewise.
3895 * config/tc-m68k.c (struct label_line): Likewise.
3896 * config/tc-mcore.c (md_apply_fix): Likewise.
3897 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3898 * config/tc-mips.c (mips16_immed): Likewise.
3899 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3900 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3901 * config/tc-rx.c (rx_include): Likewise.
3902 * config/tc-s390.c (s390_insert_operand): Likewise.
3903 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3904 (tic54x_adjust_symtab): Likewise.
3905 * config/tc-tilegx.c (insert_operand): Likewise.
3906 (apply_special_operator): Likewise.
3907 * config/tc-tilepro.c (insert_operand): Likewise.
3908 * config/tc-xtensa.c (directive_push): Likewise.
3909 * ecoff.c (add_file): Likewise.
3910 (ecoff_generate_asm_lineno): Likewise.
3911 * listing.c (listing_newline): Likewise.
3912 * read.c (s_irp): Likewise.
3913 * write.c (install_reloc): Likewise.
3914 * write.h (struct fix): Likewise.
3915 * input-file.c (file_name): Change type to const char *.
3916 (saved_file::file_name): Likewise.
3917 (input_file_open): Change type of argument to const char *.
3918 * input-file.h (input_file_open): Adjust.
3919 * input-scrub.c (logical_input_file): change type to const char *.
3920 (physical_input_file): Likewise.
3921 (struct input_save): Adjust.
3922 (input_scrub_push): Adjust.
3923 (input_scrub_begin): Adjust.
3925 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3926 (input_scrub_include_file): Likewise.
3927 (new_logical_line_flags): Likewise.
3928 (new_logical_line): Likewise.
3930 * frags.h (struct frag): Change type of fr_file to const char *.
3931 * expr.c (expr_symbol_where): Change type of file argument to
3933 * expr.h (expr_symbol_where): Likewise.
3934 * config/tc-i370.c (md_apply_fix): adjust.
3935 * config/tc-mmix.c (mmix_md_end): Likewise.
3936 * config/tc-ppc.c (md_apply_fix): Likewise.
3937 * config/tc-s390.c (md_apply_fix): Likewise.
3938 * symbols.c (report_op_error): Likewise.
3939 (resolve_symbol_value): Likewise.
3940 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3941 (rsrc::file): Likewise.
3942 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3944 (xtensa_relax_frag): Likewise.
3945 (md_convert_frag): Likewise.
3946 (tinsn_to_slotbuf): Likewise.
3947 * expr.c (expr_symbol_line): Likewise.
3948 * macro.c (define_macro): Likewise.
3949 * macro.h (macro_struct): Likewise.
3950 * messages.c (as_show_where): Likewise.
3951 * read.c (s_macro): Likewise.
3952 * stabs.c (stabs_generate_asm_file): Likewise.
3953 (generate_asm_file): Likewise.
3954 (stabs_generate_asm_lineno): Likewise.
3955 * write.h (struct reloc_list): Likewise.
3956 * input-scrub.c (as_where): Change return type to const char *.
3957 * as.h (as_wheree): Adjust.
3959 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3961 * write.c (compress_debug): Move BFD compression bits setting
3963 (write_object_file): Here.
3965 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3967 * config/tc-i386.c (register_number): Check RegVRex.
3968 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3969 with %zmm19 and %zmm3.
3970 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3971 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3973 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3974 Jiong Wang <jiong.wang@arm.com>
3976 * config/tc-arm.c (arm_ext_fp16): New.
3977 (arm_extensions): New entry for "fp16".
3979 2016-02-19 Nick Clifton <nickc@redhat.com>
3982 * read.c (read_a_source_file): Check for assemble_one returning
3983 with input_line_pointer set to NULL.
3985 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3987 * listing.c (rebuffer_line): Change return type to void.
3989 * symbols.c (decode_local_label_name): Make type a const char *.
3990 * listing.c (print_source): Make type of p const char *.
3991 (print_line): Make type of string const char *.
3992 (buffer_line): Return const char *.
3993 (title): Make type const char *.
3994 (subtitle): Likewise.
3995 (listing_listing): Make type of p const char *.
3996 * messages.c (as_internal_value_out_of_range): Make type of prefix
3998 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3999 and string const char *.
4000 * read.c (_bfd_rel): Make type of name const char *.
4001 * app.c (out_string): Change type to const char *.
4002 (struct app_save::out_string): Likewise.
4004 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
4005 Nick Clifton <nickc@redhat.com>
4007 * read.c (finish_bundle): Avoid recording a negative alignment.
4008 (do_align): Use unsigned values for n, len and max. Only create
4009 a frag if the alignment requirement is greater than the minimum
4010 byte alignment. Avoid recording a negative alignment.
4011 (s_align): Use unsigned values where appropriate.
4012 (bss_alloc): Use an unsigned value for the alignment.
4013 (sizeof_sleb128): Add a comment noting that we encode one octet
4014 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
4015 (emit_leb129_expr): Abort if the emitted encoding was longer than
4017 * read.h (output_leb128): Update prototype.
4018 (sizeof_leb128): Update prototype.
4019 (bss_alloc): Update prototype.
4020 * write.c (record_alignment): Use an unsigned value for the
4021 alignment. Do not record alignments less than the minimum
4022 alignment for a byte.
4023 * write.h (record_alignment): Update prototype.
4025 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4027 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
4028 .init.literal/.fini.literal section name.
4029 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
4030 list of xtensa tests.
4031 * testsuite/gas/xtensa/init-fini-literals.d: New file:
4032 init-fini-literals test result patterns.
4033 * testsuite/gas/xtensa/init-fini-literals.s: New file:
4034 init-fini-literals test.
4036 2016-02-17 Nick Clifton <nickc@redhat.com>
4038 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
4039 devices.csv file as of March 2016.
4041 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
4043 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
4045 (tc_arc_regname_to_dw2regnum): Likewise.
4046 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
4047 (tc_cfi_frame_initial_instructions): Likewise.
4048 (tc_regname_to_dw2regnum): Likewise.
4049 * testsuite/gas/cfi/cfi-arc-1.d: New file.
4050 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
4051 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
4053 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
4055 * doc/internals.texi (S_IS_EXTERN): Remove.
4057 2016-02-16 Nick Clifton <nickc@redhat.com>
4059 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
4062 2016-02-16 Renlin Li <renlin.li@arm.com>
4065 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
4066 * testsuite/gas/aarch64/movw_label.d: New.
4067 * testsuite/gas/aarch64/movw_label.s: New.
4069 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
4072 * config/rx-parse.y (MOV): Opcode generation for index
4073 register addressing mode.
4074 * testsuite/gas/rx/rx.exp: Updated for new testcase.
4075 * testsuite/gas/rx/pr19665.s: New file.
4076 * testsuite/gas/rx/pr19665.s: New file.
4077 * testsuite/gas/rx/mov.d: Update expected output.
4079 2016-02-15 Nick Clifton <nickc@redhat.com>
4081 * doc/as.texinfo (.section): Document that numeric values can now
4082 be used for the flags and type fields of the ELF target's .section
4083 directive. Add notes about the restrictions on setting flags and
4085 * config/obj-elf.c (obj_elf_change_section): Allow known sections
4086 to be given processor specific section types. Allow processor and
4087 application specific flags of a section to be set after
4089 (obj_elf_parse_section_letters): Handle parsing numeric values.
4090 (obj_elf_section_type): Handle parsing numeric values.
4091 (obj_elf_section): Allow numeric type values.
4092 * config/obj-elf.h (obj_elf_change_section): Update prototype.
4093 * testsuite/gas/elf/section10.d: New test.
4094 * testsuite/gas/elf/section10.s: Source file for new test.
4095 * testsuite/gas/elf/elf.exp: Run the new test.
4096 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
4097 the description of the flags produced by readelf.
4098 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
4099 * NEWS: Mention the new feature.
4101 2016-02-11 Nick Clifton <nickc@redhat.com>
4104 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
4105 until it is actually used.
4106 (cfi_set_sections): Set cfi_sections_set to true.
4107 (dot_cfi_startproc): Likewise.
4108 (dot_cfi_endproc): Likewise.
4109 (dot_cfi_fde_data): Likewise.
4110 (cfi_finish): Likewise.
4111 (dot_cfi_sections): Do not set cfi_sections_set.
4112 * doc/as.texinfo (.cfi_sections): Note that targets can provide
4113 their own cfi section name. Also note that the directive can be
4114 reissued provided that CFI generation has not started.
4115 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
4116 .cfi_endproc directives so that the redefinition of .cfi_sections
4117 will trigger the generation of the error message.
4118 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
4119 number of error message.
4121 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
4122 Janek van Oirschot <jvanoirs@synopsys.com>
4124 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
4125 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
4127 (arc_flags, arc_relax_type): New structure.
4128 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
4129 (RELAX_TABLE_ENTRY_MAX): New define.
4130 (relaxation_state, md_relax_table, arc_relaxable_insns)
4131 (arc_num_relaxable_ins): New variable.
4132 (rlx_operand_type, arc_rlx_types): New enums.
4133 (arc_relaxable_ins): New structure.
4134 (OPTION_RELAX): New option.
4135 (arc_insn): New relax member.
4136 (arc_flags): Remove.
4137 (relax_insn_p): New function.
4138 (apply_fixups): Likewise.
4139 (relaxable_operand): Likewise.
4140 (may_relax_expr): Likewise.
4141 (relaxable_flag): Likewise.
4142 (arc_pcrel_adjust): Likewise.
4143 (md_estimate_size_before_relax): Implement.
4144 (md_convert_frag): Likewise.
4145 (md_parse_option): Handle new mrelax option.
4146 (md_show_usage): Likewise.
4147 (assemble_insn): Set relax member.
4148 (emit_insn0): New function.
4149 (emit_insn1): Likewise.
4150 (emit_insn): Handle relaxation case.
4151 * NEWS: Mention the new relaxation option.
4152 * doc/c-arc.texi (ARC Options): Document new mrelax option.
4153 * doc/as.texinfo (Target ARC Options): Likewise.
4154 * testsuite/gas/arc/relax-avoid1.d: New file.
4155 * testsuite/gas/arc/relax-avoid1.s: Likewise.
4156 * testsuite/gas/arc/relax-avoid2.d: Likewise.
4157 * testsuite/gas/arc/relax-avoid2.s: Likewise.
4158 * testsuite/gas/arc/relax-avoid3.d: Likewise.
4159 * testsuite/gas/arc/relax-avoid3.s: Likewise.
4160 * testsuite/gas/arc/relax-b.d: Likewise.
4161 * testsuite/gas/arc/relax-b.s: Likewise.
4163 2016-02-08 Nick Clifton <nickc@redhat.com>
4165 * config/tc-ia64.c (dot_prologue): Fix formatting.
4167 2016-02-04 Nick Clifton <nickc@redhat.com>
4169 * config/obj-elf.c (obj_elf_change_section): Remove support for
4170 ARM NOREAD sections.
4171 * config/tc-arm.c (arm_elf_section_letter): Delete.
4172 * config/tc-arm.h (md_elf_section_letter): Delete.
4173 * doc/c-arm.texi (ARM Section Attribute): Delete section.
4174 * testsuite/gas/arm/section-execute-only.d: Delete.
4175 * testsuite/gas/arm/section-execute-only.s: Delete.
4177 2016-02-04 Nick Clifton <nickc@redhat.com>
4180 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
4181 to handle encoding of RRUX instruction.
4182 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
4184 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
4186 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
4188 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
4189 substitutions for BFD_RELOC_* as unsigned.
4190 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
4191 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
4192 * testsuite/gas/xtensa/loc.s: New file: loc test.
4194 2016-02-03 Kevin Buettner <kevinb@redhat.com>
4196 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
4198 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4201 * NEWS: Mention new command line option -mrelax-relocations and
4202 new configure option --enable-x86-relax-relocations for x86
4204 * config.in: Regenerated.
4205 * configure.ac: Add --enable-x86-relax-relocations.
4206 (ac_default_x86_relax_relocations): New. Default to 1 except
4207 for x86 Solaris targets older than Solaris 12.
4208 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
4209 * configure: Likewise.
4210 * config/tc-i386.c (generate_relax_relocations): New.
4211 (OPTION_MRELAX_RELOCATIONS): Likewise.
4212 (output_disp): Don't generate relax relocations if
4213 generate_relax_relocations is 0.
4214 (md_longopts): Add -mrelax-relocations.
4215 (md_show_usage): Likewise.
4216 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
4217 * doc/c-i386.texi: Document -mrelax-relocations=.
4218 * testsuite/gas/i386/got-no-relax.d: New file.
4219 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
4220 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
4221 * testsuite/gas/i386/localpic.d: Likewise.
4222 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
4223 * testsuite/gas/i386/reloc32.d: Likewise.
4224 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
4225 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
4226 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
4227 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
4228 * testsuite/gas/i386/i386.exp: Run got-no-relax and
4229 x86-64-gotpcrel-no-relax.
4231 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4233 * NEWS: Mention new command line option -mfence-as-lock-add=yes
4236 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
4238 * NEWS: Remove duplicated marker for 2.26.
4240 2016-02-02 Renlin Li <renlin.li@arm.com>
4242 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
4244 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4246 * testsuite/gas/ip2k/allinsn.d: New file.
4247 * testsuite/gas/ip2k/allinsn.s: New file.
4248 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
4250 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4252 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
4253 some load instructions.
4254 * testsuite/gas/epiphany/allinsn.d: Likewise.
4255 * testsuite/gas/epiphany/regression.d: Likewise.
4257 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4259 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
4260 suffixes from instruction mnemonics in expected output.
4261 * testsuite/gas/epiphany/allinsn.d: Likewise.
4262 * testsuite/gas/epiphany/regression.d: Likewise.
4263 * testsuite/gas/epiphany/sample.d: Likewise.
4265 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4267 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
4269 * testsuite/gas/epiphany/allinsn.d: Likewise.
4270 * testsuite/gas/epiphany/sample.d: Likewise.
4272 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
4274 * testsuite/gas/epiphany/sample.d: Update expected output.
4276 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4278 * config/tc-arc.c (md_apply_fix): Allow addendum.
4279 (arc_reloc_op): Allow complex expressions for tpoff.
4280 (md_apply_fix): Handle resolved TLS local symbol.
4281 * testsuite/gas/arc/tls-relocs1.d: New file.
4282 * testsuite/gas/arc/tls-relocs1.s: Likewise.
4284 2016-02-01 Loria <Loria@phantasia.org>
4287 * config/tc-arm.c (encode_arm_immediate): Recode to improve
4288 efficiency and avoid an LLVM loop optimization bug.
4290 2016-02-01 Nick Clifton <nickc@redhat.com>
4292 * config/tc-microblaze.c (parse_imm): Fix compile time warning
4293 message extending a negative 32-bit value into a larger signed
4294 value on a 32-bit host.
4296 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
4299 * configure.ac (compressed_debug_sections): Replace == with =.
4300 * configure: Regenerated.
4302 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
4303 H.J. Lu <hongjiu.lu@intel.com>
4305 * config/tc-i386.c (avoid_fence): New.
4306 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
4308 (OPTION_FENCE_AS_LOCK_ADD): New.
4309 (md_longopts): Add -mfence-as-lock-add.
4310 (md_parse_option): Handle -mfence-as-lock-add.
4311 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
4312 * doc/c-i386.texi (-mfence-as-lock-add): Document.
4313 * testsuite/gas/i386/i386.exp: Run new tests.
4314 * testsuite/gas/i386/fence-as-lock-add.s: New.
4315 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
4316 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
4317 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
4318 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
4320 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
4322 * configure.ac (compressed_debug_sections): Remove trailing `]'.
4323 * configure: Regenerated.
4325 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
4327 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
4328 (OPTION_MOMIT_LOCK_PREFIX): This.
4329 (md_longopts): Updated.
4330 (md_parse_option): Likewise.
4332 2016-01-25 Catherine Moore <clm@codesourcery.com>
4334 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
4335 if abicalls are in effect.
4336 * testsuite/gas/mips/sdata-gp.s: New test.
4337 * testsuite/gas/mips/sdata-gp.d: New expected output
4338 * testsuite/gas/mips/mips.exp: Run new test.
4340 2016-01-25 Renlin Li <renlin.li@arm.com>
4342 * testsuite/gas/arm/thumb2_it_search.d: New.
4343 * testsuite/gas/arm/thumb2_it_search.s: New.
4345 2016-01-21 Nick Clifton <nickc@redhat.com>
4348 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
4349 with arm-netbsdelf target.
4350 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
4352 2016-01-20 Nick Clifton <nickc@redhat.com>
4355 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
4356 * testsuite/gas/arm/blx-bl-convert.d
4357 * testsuite/gas/arm/plt-1.d: Likewise.
4358 * testsuite/gas/arm/reloc-bad.d: Likewise.
4359 * testsuite/gas/arm/thumb-w-good.d: Likewise.
4360 * testsuite/gas/arm/thumb2_pool.d: Likewise.
4361 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
4362 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
4365 * doc/as.texinfo (Errors): Correct documentation describing the
4366 interaction of .file and .line with warning and error messages.
4369 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
4370 * testsuite/gas/arm/archv8m-main.d: Likewise.
4371 * testsuite/gas/arm/archv8m-base.d: Likewise.
4373 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
4375 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
4376 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
4377 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
4379 2016-01-20 Mickael Guene <mickael.guene@st.com>
4380 Terry Guo <terry.guo@arm.com>
4382 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
4383 SHF_ARM_NOREAD section flag.
4384 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
4386 (arm_elf_section_letter) : Declare it.
4387 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
4388 SHF_ARM_NOREAD section flag.
4389 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
4391 * testsuite/gas/arm/section-execute-only.s: New test case.
4392 * testsuite/gas/arm/section-execute-only.d: Expected output.
4394 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
4396 * config/tc-mips.c (micromips_insn_length): Remove the mention
4397 of 48-bit microMIPS instructions.
4399 2016-01-18 Alan Modra <amodra@gmail.com>
4401 * configure: Regenerate.
4403 2016-01-17 Alan Modra <amodra@gmail.com>
4405 * configure: Regenerate.
4407 2016-01-17 Alan Modra <amodra@gmail.com>
4409 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
4411 2016-01-14 Nick Clifton <nickc@redhat.com>
4413 * testsuite/gas/rl78/sp-relative-movw.s: New test.
4414 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
4415 * testsuite/gas/rl78/rl78.exp: Run the new test.
4417 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
4419 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
4420 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
4422 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
4424 * config/tc-nios2.c (output_movia): Preset `code' to 0.
4426 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
4428 * config/tc-h8300.c (get_operand): Remove spurious condition in
4429 test for closing parenthesis.
4431 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
4433 * config/tc-arm.c (arm_ext_v8_2): New.
4435 * testsuite/gas/arm/armv8_2-a.d: New.
4436 * testsuite/gas/arm/armv8_2-a.s: New.
4438 2016-01-12 Alan Modra <amodra@gmail.com>
4440 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
4442 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
4444 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
4445 xvcmpnesp, xvcmpnesp.>: Delete tests.
4446 * testsuite/gas/ppc/power9.s: Likewise.
4447 * testsuite/gas/ppc/vsx3.d: Likewise.
4448 * testsuite/gas/ppc/vsx3.s: Likewise.
4450 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
4453 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
4454 * testsuite/gas/m68k/p13050-1.s: New file.
4455 * testsuite/gas/m68k/p13050-2.d: New file.
4456 * testsuite/gas/m68k/p13050-2.s: New file.
4458 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4460 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
4461 * testsuite/gas/arc/add.d: Likewise.
4462 * testsuite/gas/arc/and.d: Likewise.
4463 * testsuite/gas/arc/asl.d: Likewise.
4464 * testsuite/gas/arc/asr.d: Likewise.
4465 * testsuite/gas/arc/bic.d: Likewise.
4466 * testsuite/gas/arc/extb.d: Likewise.
4467 * testsuite/gas/arc/extw.d: Likewise.
4468 * testsuite/gas/arc/j.d: Likewise.
4469 * testsuite/gas/arc/jl.d: Likewise.
4470 * testsuite/gas/arc/ld2.d: Likewise.
4471 * testsuite/gas/arc/lsr.d: Likewise.
4472 * testsuite/gas/arc/mov.d: Likewise.
4473 * testsuite/gas/arc/or.d: Likewise.
4474 * testsuite/gas/arc/pcl-relocs.d: Likewise.
4475 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
4476 * testsuite/gas/arc/pic-relocs.d: Likewise.
4477 * testsuite/gas/arc/plt-relocs.d: Likewise.
4478 * testsuite/gas/arc/rlc.d: Likewise.
4479 * testsuite/gas/arc/ror.d: Likewise.
4480 * testsuite/gas/arc/rrc.d: Likewise.
4481 * testsuite/gas/arc/sbc.d: Likewise.
4482 * testsuite/gas/arc/sda-relocs.d: Likewise.
4483 * testsuite/gas/arc/sda-relocs2.d: Likewise.
4484 * testsuite/gas/arc/sexb.d: Likewise.
4485 * testsuite/gas/arc/sexw.d: Likewise.
4486 * testsuite/gas/arc/st.d: Likewise.
4487 * testsuite/gas/arc/sub.d: Likewise.
4488 * testsuite/gas/arc/tls-relocs.d: Likewise.
4489 * testsuite/gas/arc/xor.d: Likewise.
4491 2016-01-01 Alan Modra <amodra@gmail.com>
4493 Update year range in copyright notice of all files.
4495 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
4497 Copyright (C) 2016 Free Software Foundation, Inc.
4499 Copying and distribution of this file, with or without modification,
4500 are permitted in any medium without royalty provided the copyright
4501 notice and this notice are preserved.
4507 version-control: never