1 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
4 architectures to use the right opcode architecture.
5 (sparc_md_end): Handle v9{c,d,e,v,m}.
6 (sparc_ip): Fix some comments.
7 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
8 instruction, which is v9d.
9 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
10 instruction from the test, as %mwait is not readable.
11 * testsuite/gas/sparc/mwait.d: Likewise.
12 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
13 mismatch architecture errors.
14 * testsuite/gas/sparc/mism-2.s: New file.
16 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
19 empty string to mark the end of the array.
20 (hpriv_reg_table): Likewise.
21 (v9a_asr_table): Likewise.
22 (cmp_reg_entry): Handle entries with NULL names.
24 (F_POP_PCREL): Likewise.
25 (F_POP_TLS_CALL): Likewise.
26 (F_POP_POSTFIX): Likewise.
27 (struct pop_entry): New type.
28 (pop_table): New variable.
29 (enum pop_entry_type): New type.
30 (struct perc_entry): Likewise.
31 (NUM_PERC_ENTRIES): Define.
32 (perc_table): New variable.
33 (cmp_perc_entry): New function.
34 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
36 (sparc_ip): Handle entries with NULL names in priv_reg_table,
37 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
40 2016-06-15 Nick Clifton <nickc@redhat.com>
42 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
44 * config/tc-mcore.c (md_assemble): Likewise.
45 * config/tc-mn10200.c (md_assemble): Likewise.
46 * config/tc-moxie.c (md_assemble): Likewise.
47 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
48 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
49 exception targets. Add alpha, hppa, microblaze and rl78 to list
51 (forward): Add microblaze to list of exceptions.
52 (fwdexp): Add alpha to list of exceptions.
53 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
54 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
55 (do_930509a): Alpha sort list of exception targets. Add h8300 and
56 mn10200 to list of exceptions.
57 (align2): Expect to fail for nds32.
58 (cond): Add alpha and rl78 to list of exceptions.
59 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
60 * testsuite/gas/all/string.d: Skip for tic4x.
61 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
62 target does not support ELF.
63 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
64 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
65 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
66 tests for sh-pe and sh-rtemscoff targets.
67 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
69 (type): Run the noifunc version for alpha-freebsd and visium.
70 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
71 mn10200 or moxie targets.
72 * testsuite/gas/ft32/insn.d: Update expected disassembly.
73 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
75 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
77 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
79 (purge): Expect to fail on the ns32k and vax.
80 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
81 * testsuite/gas/nds32/ls.d: Likewise.
82 * testsuite/gas/nds32/sys-reg.d: Likewise.
83 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
84 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
85 * testsuite/gas/pe/section-align-3.d: Likewise.
86 * testsuite/gas/pe/section-exclude.d: Likewise.
87 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
89 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
90 for variations in whitespace.
91 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
93 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
94 Installs a 32-bit value without generating warnings on 64-bit
96 Use the new macro to replace the .word directives.
98 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
100 * testsuite/gas/arc/add_s.d: New file.
101 * testsuite/gas/arc/add_s.s: New file.
103 2016-06-14 Graham Markall <graham.markall@embecosm.com>
105 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
106 * testsuite/gas/arc/nps400-6.d: Likewise.
108 2016-06-14 Graham Markall <graham.markall@embecosm.com>
110 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
112 * testsuite/gas/arc/nps400-6.d: Likewise.
114 2016-06-14 Graham Markall <graham.markall@embecosm.com>
116 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
117 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
118 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
119 * testsuite/gas/arc/nps400-6.d: Likewise.
121 2016-06-14 Nick Clifton <nickc@redhat.com>
123 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
126 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
128 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
129 JALR relocations on R6.
130 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
131 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
132 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
133 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
134 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
135 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
137 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
138 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
140 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
141 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
143 * testsuite/gas/mips/mips.exp: Run the new tests.
145 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
147 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
148 * doc/c-aarch64.texi: Document that vulcan is a valid processor
151 2016-06-13 Nick Clifton <nickc@redhat.com>
153 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
154 that are not supported.
156 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
158 * config/tc-cr16.c (check_range): Likewise.
159 * config/tc-nios2.c (nios2_check_overflow): Likewise.
161 2016-06-08 Renlin Li <renlin.li@arm.com>
163 * config/tc-aarch64.c (print_operands): Substitute size.
164 (output_operand_error_record): Likewise.
166 2016-06-07 Alan Modra <amodra@gmail.com>
168 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
169 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
170 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
171 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
172 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
173 add vle_opcodes twice.
174 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
176 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
178 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
179 (arm_ext_ras): Renamed from arm_ext_v8_2.
180 (insns): Update for arm_ext_v8_2 renaming.
181 (arm_extensions): Add "ras".
182 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
183 * testsuite/gas/arm/armv8-a+ras.d: New.
184 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
187 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
189 * itbl-parse.y (yyerror): Use modern argument declaration style.
191 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
193 * config/tc-sh.c (parse_reg): Change type of mode argument to
195 (get_operand): Adjust.
196 (insert): Change type of how to bfd_reloc_code_real_type.
198 * config/tc-sh64.c (shmedia_get_operand): Adjust.
199 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
201 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
203 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
206 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
209 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
210 stbcx., sthcx., stwcx., stdcx.>: Add tests.
211 * gas/testsuite/gas/ppc/e6500.d: Likewise.
212 * gas/testsuite/gas/ppc/power8.s: Likewise.
213 * gas/testsuite/gas/ppc/power8.d: Likewise.
214 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
216 * gas/testsuite/gas/ppc/power4.d: Likewise.
218 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
221 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
222 * testsuite/gas/i386/x86-64-branch.d: Updated.
223 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
224 * testsuite/gas/i386/x86-64-branch-4.l: New file.
225 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
227 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
229 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
230 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
232 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
234 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
235 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
237 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
239 * configure.tgt: Replace -uclibc with *.
241 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
243 * config/tc-arc.c (parse_opcode_flags): New function.
244 (find_opcode_match): Move flag parsing code out to new function.
245 Ignore operands marked IGNORE.
246 (build_fake_opcode_hash_entry): New function.
247 (find_special_case_long_opcode): New function.
248 (find_special_case): Lookup long opcodes.
249 * testsuite/gas/arc/nps400-7.d: New file.
250 * testsuite/gas/arc/nps400-7.s: New file.
252 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
254 * config/tc-ns32k.c: Remove definition of input_line_pointer.
256 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
258 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
259 sentinal with iteration to array size.
261 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
263 * config/xtensa-relax.h: Move typedefs of enums to the enums
266 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
268 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
271 2016-06-01 Graham Markall <graham.markall@embecosm.com>
273 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
274 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
275 * testsuite/gas/arc/nps-400-1.d: Likewise.
277 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
280 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
281 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
282 noavx512ifma and noavx512vbmi.
283 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
284 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
286 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
287 * testsuite/gas/i386/noavx512-1.l: New file.
288 * testsuite/gas/i386/noavx512-1.s: Likewise.
289 * testsuite/gas/i386/noavx512-2.l: Likewise.
290 * testsuite/gas/i386/noavx512-2.s: Likewise.
292 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
295 * config/tc-i386.c (cpu_arch): Add 687.
296 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
297 nosse4.1, nosse4.2, nosse4 and noavx2.
298 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
299 register. Check cpuregxmm instead of cpusse for XMM register.
300 Check cpuregymm instead of cpuavx for YMM register. Check
301 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
302 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
303 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
304 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
305 * testsuite/gas/i386/arch-10.d (as): Likewise.
306 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
307 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
308 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
310 * testsuite/gas/i386/no87-3.l: New file.
311 * testsuite/gas/i386/no87-3.s: Likewise.
312 * testsuite/gas/i386/noavx-3.l: Likewise.
313 * testsuite/gas/i386/noavx-3.s: Likewise.
314 * testsuite/gas/i386/noavx-4.d: Likewise.
315 * testsuite/gas/i386/noavx-4.s: Likewise.
316 * testsuite/gas/i386/nosse-4.l: Likewise.
317 * testsuite/gas/i386/nosse-4.s: Likewise.
318 * testsuite/gas/i386/nosse-5.d: Likewise.
319 * testsuite/gas/i386/nosse-5.s: Likewise.
321 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
324 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
326 (match_template): Check Intel64/AMD64 ISA.
328 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
331 * config/tc-i386.c (intel64): New.
332 (cpu_flags_match): Set cpuamd64 and cpuintel64.
333 (md_parse_option): Set intel64 instead of cpuamd64 and
336 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
338 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
341 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
343 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
344 * testsuite/gas/ppc/altivec3.s: Likewise.
345 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
346 * testsuite/gas/ppc/power9.s: Likewise.
348 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
350 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
351 * testsuite/gas/i386/noavx-1.l: Likewise.
352 * testsuite/gas/i386/nommx-1.l: Likewise.
353 * testsuite/gas/i386/nosse-1.l: Likewise.
354 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
355 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
356 * testsuite/gas/i386/noavx-1.s: Likewise.
357 * testsuite/gas/i386/nommx-1.s: Likewise.
358 * testsuite/gas/i386/nosse-1.s: Likewise.
359 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
361 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
363 * config/tc-metag.c (metag_handle_align): Make the type of noop
366 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
368 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
369 bfd_reloc_code_real_type.
371 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
374 * config/tc-i386.c (cpu_flags_match): Require another match
376 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
377 x86-64-avx512vl-1 and x86-64-avx512vl-2.
378 * testsuite/gas/i386/avx512vl-1.l: New file.
379 * testsuite/gas/i386/avx512vl-1.s: Likewise.
380 * testsuite/gas/i386/avx512vl-2.l: Likewise.
381 * testsuite/gas/i386/avx512vl-2.s: Likewise.
382 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
383 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
384 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
385 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
387 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
390 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
391 * testsuite/gas/i386/x86-64-pr20141.d: New file.
392 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
394 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
396 * config/tc-i386.c (arch_entry): Remove negated.
397 (noarch_entry): New struct.
398 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
400 (set_cpu_arch): Check cpu_noarch after cpu_arch.
401 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
403 (output_message): New function.
404 (show_arch): Use it. Handle cpu_noarch.
405 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
406 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
407 * testsuite/gas/i386/noavx-1.l: New file.
408 * testsuite/gas/i386/noavx-1.s: Likewise.
409 * testsuite/gas/i386/noavx-2.s: Likewise.
410 * testsuite/gas/i386/noavx-2.l: Likewise.
411 * testsuite/gas/i386/nommx-1.s: Likewise.
412 * testsuite/gas/i386/nommx-1.l: Likewise.
413 * testsuite/gas/i386/nommx-2.s: Likewise.
414 * testsuite/gas/i386/nommx-2.l: Likewise.
415 * testsuite/gas/i386/nommx-3.s: Likewise.
416 * testsuite/gas/i386/nommx-3.l: Likewise.
417 * testsuite/gas/i386/nosse-1.s: Likewise.
418 * testsuite/gas/i386/nosse-1.l: Likewise.
419 * testsuite/gas/i386/nosse-2.s: Likewise.
420 * testsuite/gas/i386/nosse-2.l: Likewise.
421 * testsuite/gas/i386/nosse-3.s: Likewise.
422 * testsuite/gas/i386/nosse-3.l: Likewise.
424 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
427 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
428 instruction if supported by the currently selected fpu variant.
429 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
430 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
432 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
434 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
435 jump relocations against MIPS16 or microMIPS symbols on RELA
437 * testsuite/gas/mips/jalx-local.d: New test.
438 * testsuite/gas/mips/jalx-local-n32.d: New test.
439 * testsuite/gas/mips/jalx-local-n64.d: New test.
440 * testsuite/gas/mips/jalx-local.s: New test source.
441 * testsuite/gas/mips/mips.exp: Run the new tests.
443 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
445 * config/tc-mips.c (md_apply_fix)
446 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
449 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
451 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
452 operator to operatorT.
453 (map_suffix_reloc_to_operator): Change return type to operatorT.
455 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
457 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
459 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
461 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
462 handler_charp to const char *.
464 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
466 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
467 (ft32_target_format): Likewise.
468 (TARGET_FORMAT): Adjust.
470 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
472 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
473 (ia64_frob_label): Likewise.
475 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
477 * config/tc-cr16.c (check_range): Make type of retval op_err.
478 * config/tc-crx.c: Likewise.
480 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
482 * config/tc-arc.c (md_begin): Add XY registers.
483 (cpu_types): Code density is default off for ARC EM.
485 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
487 * config/tc-arc.c (attributes_t): Renamed attribute class to
489 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
491 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
493 * configuse.tgt: Add entry for arm-phoenix.
495 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
497 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
499 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
501 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
503 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
505 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
506 (md_begin): Likewise.
507 (encode_condition): Likewise.
508 (encode_cc3): Likewise.
509 (encode_cc2): Likewise.
510 (encode_operand): Likewise.
511 (tic54x_undefined_symbol): Likewise.
513 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
515 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
517 * doc/c-mips.texi: Document p6600 -march option.
519 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
522 * config/tc-i386.c (md_apply_fix): Preserve addend for
523 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
524 * testsuite/gas/i386/addend.d: New file.
525 * testsuite/gas/i386/addend.s: Likewise.
526 * testsuite/gas/i386/x86-64-addend.d: Likewise.
527 * testsuite/gas/i386/x86-64-addend.s: Likewise.
528 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
529 * testsuite/gas/i386/reloc32.d: Updated.
531 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
533 * config/tc-mips.c (append_insn): Correct the encoding of a
534 constant argument for microMIPS JALX.
535 (tc_gen_reloc): Correct the encoding of an in-place addend for
537 * testsuite/gas/mips/jalx-addend.d: New test.
538 * testsuite/gas/mips/jalx-addend-n32.d: New test.
539 * testsuite/gas/mips/jalx-addend-n64.d: New test.
540 * testsuite/gas/mips/jalx-imm.d: New test.
541 * testsuite/gas/mips/jalx-imm-n32.d: New test.
542 * testsuite/gas/mips/jalx-imm-n64.d: New test.
543 * testsuite/gas/mips/jalx-addend.s: New test source.
544 * testsuite/gas/mips/jalx-imm.s: New test source.
545 * testsuite/gas/mips/mips.exp: Run the new tests.
547 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
549 * config/tc-mips.c: Correct tab-after-space formatting mistakes
552 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
554 * config/tc-arc.c (find_opcode_match): Remove casting away of
556 * config/tc-arc.h (struct arc_flags): Make flgp field const.
558 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
560 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
562 (md_convert_frag): Likewise.
564 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
566 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
567 cached opcode to NULL when we reach a non-matching opcode.
568 * testsuite/gas/arc/asm-errors-2.d: New file.
569 * testsuite/gas/arc/asm-errors-2.err: New file.
570 * testsuite/gas/arc/asm-errors-2.s: New file.
572 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
574 * config/tc-arc.c (tokenize_arguments): Add checks for array
576 * testsuite/gas/arc/asm-errors.s: Addition test line added.
577 * testsuite/gas/arc/asm-errors.err: Update expected results.
579 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
581 * config/tc-rx.c (struct cpu_type): Change the type of a field from
582 int to enum rx_cpu_types.
584 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
586 * config/tc-dlx.c (struct machine_it): change the type of a field from
587 int to bfd_reloc_code_real_type.
588 * config/tc-tic4x.c: Likewise.
590 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
592 * config/tc-v850.c (v850_target_arch): change type to enum
594 * config/tc-v850.h (v850_target_arch): Likewise.
596 2016-05-18 Alan Modra <amodra@gmail.com>
598 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
599 allowed negative range.
600 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
601 * testsuite/gas/ppc/power9.d: Update.
603 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
605 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
606 disassembling and stop skipping targets.
607 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
608 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
609 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
610 instruction for targets that have stronger alignment requirement.
611 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
612 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
613 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
614 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
615 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
616 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
617 * testsuite/gas/arm/archv8m-main.d: Likewise.
618 * testsuite/gas/arm/archv8m.s: Add label.
619 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
620 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
621 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
623 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
625 * config/tc-m32r.c (mach_table): Make static and const.
627 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
629 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
632 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
634 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
636 * config/tc-msp430.c (md_begin): Likewise.
638 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
640 * config/tc-m68hc11.c (fixup8): Change variables type from int to
641 bfd_reloc_code_real_type where appropriate.
643 (fixup8_xg): Likewise.
645 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
647 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
649 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
651 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
652 * testsuite/gas/ppc/power9.s: Likewise.
654 2016-05-13 Alan Modra <amodra@gmail.com>
656 * config/obj-coff.c (weak_uniquify): Delete unused var.
658 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
660 * app.c (app_push): Use XNEW and related macros.
661 * as.c (parse_args): Likewise.
662 * cgen.c (make_right_shifted_expr): Likewise.
663 (gas_cgen_tc_gen_reloc): Likewise.
664 * config/bfin-defs.h: Likewise.
665 * config/bfin-parse.y: Likewise.
666 * config/obj-coff.c (stack_init): Likewise.
667 (stack_push): Likewise.
668 (coff_obj_symbol_new_hook): Likewise.
669 (coff_obj_symbol_clone_hook): Likewise.
670 (add_lineno): Likewise.
671 (coff_frob_symbol): Likewise.
672 * config/obj-elf.c (obj_elf_section_name): Likewise.
673 (build_group_lists): Likewise.
674 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
675 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
676 * config/tc-aarch64.c (insert_reg_alias): Likewise.
677 (find_or_make_literal_pool): Likewise.
678 (add_to_lit_pool): Likewise.
679 (fill_instruction_hash_table): Likewise.
680 * config/tc-alpha.c (load_expression): Likewise.
681 (emit_jsrjmp): Likewise.
682 (s_alpha_ent): Likewise.
683 (s_alpha_end): Likewise.
684 (s_alpha_linkage): Likewise.
685 (md_begin): Likewise.
686 (tc_gen_reloc): Likewise.
687 * config/tc-arc.c (arc_insert_opcode): Likewise.
688 (arc_extcorereg): Likewise.
689 * config/tc-bfin.c: Likewise.
690 * config/tc-cr16.c: Likewise.
691 * config/tc-cris.c: Likewise.
692 * config/tc-crx.c (preprocess_reglist): Likewise.
693 * config/tc-d10v.c: Likewise.
694 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
695 (frv_tomcat_shuffle): Likewise.
696 * config/tc-h8300.c: Likewise.
697 * config/tc-i370.c (i370_macro): Likewise.
698 * config/tc-i386.c (lex_got): Likewise.
699 (md_parse_option): Likewise.
700 * config/tc-ia64.c (alloc_record): Likewise.
701 (set_imask): Likewise.
702 (save_prologue_count): Likewise.
703 (dot_proc): Likewise.
704 (dot_endp): Likewise.
705 (ia64_frob_label): Likewise.
706 (add_qp_imply): Likewise.
707 (add_qp_mutex): Likewise.
708 (mark_resource): Likewise.
709 (dot_alias): Likewise.
710 * config/tc-m68hc11.c: Likewise.
711 * config/tc-m68k.c (m68k_frob_label): Likewise.
713 (mri_control_label): Likewise.
714 (push_mri_control): Likewise.
715 (build_mri_control_operand): Likewise.
716 (s_mri_else): Likewise.
717 (s_mri_break): Likewise.
718 (s_mri_next): Likewise.
719 (s_mri_for): Likewise.
720 (s_mri_endw): Likewise.
721 * config/tc-metag.c (create_mnemonic_htab): Likewise.
722 * config/tc-microblaze.c: Likewise.
723 * config/tc-mmix.c (s_loc): Likewise.
724 * config/tc-nds32.c (nds32_relax_hint): Likewise.
725 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
726 * config/tc-rl78.c: Likewise.
727 * config/tc-rx.c (rx_include): Likewise.
728 * config/tc-sh.c: Likewise.
729 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
730 * config/tc-sparc.c: Likewise.
731 * config/tc-spu.c: Likewise.
732 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
733 (tic6x_start_unwind_section): Likewise.
734 * config/tc-tilegx.c: Likewise.
735 * config/tc-tilepro.c: Likewise.
736 * config/tc-v850.c: Likewise.
737 * config/tc-visium.c: Likewise.
738 * config/tc-xgate.c: Likewise.
739 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
740 (new_resource_table): Likewise.
741 (resize_resource_table): Likewise.
742 (xtensa_create_trampoline_frag): Likewise.
743 (xtensa_maybe_create_literal_pool_frag): Likewise.
744 (cache_literal_section): Likewise.
745 * config/xtensa-relax.c (append_transition): Likewise.
746 (append_condition): Likewise.
747 (append_value_condition): Likewise.
748 (append_constant_value_condition): Likewise.
749 (append_literal_op): Likewise.
750 (append_label_op): Likewise.
751 (append_constant_op): Likewise.
752 (append_field_op): Likewise.
753 (append_user_fn_field_op): Likewise.
754 (enter_opname_n): Likewise.
755 (enter_opname): Likewise.
756 (split_string): Likewise.
757 (parse_insn_templ): Likewise.
758 (clone_req_or_option_list): Likewise.
759 (clone_req_option_list): Likewise.
760 (parse_option_cond): Likewise.
761 (parse_insn_pattern): Likewise.
762 (parse_insn_repl): Likewise.
763 (build_transition): Likewise.
764 (build_transition_table): Likewise.
765 * dw2gencfi.c (alloc_fde_entry): Likewise.
766 (alloc_cfi_insn_data): Likewise.
767 (cfi_add_CFA_remember_state): Likewise.
768 (dot_cfi_escape): Likewise.
769 (dot_cfi_fde_data): Likewise.
770 (select_cie_for_fde): Likewise.
771 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
772 * ecoff.c (ecoff_add_bytes): Likewise.
773 (ecoff_build_debug): Likewise.
774 * input-scrub.c (input_scrub_push): Likewise.
775 (input_scrub_begin): Likewise.
776 (input_scrub_next_buffer): Likewise.
777 * itbl-ops.c (append_insns_as_macros): Likewise.
778 (alloc_entry): Likewise.
779 (alloc_field): Likewise.
780 * listing.c (listing_newline): Likewise.
781 (listing_listing): Likewise.
782 * macro.c (get_any_string): Likewise.
783 (delete_macro): Likewise.
784 * stabs.c (generate_asm_file): Likewise.
785 (stabs_generate_asm_lineno): Likewise.
786 * subsegs.c (subseg_change): Likewise.
787 (subseg_get): Likewise.
788 * symbols.c (define_dollar_label): Likewise.
789 (symbol_relc_make_sym): Likewise.
790 * write.c (write_relocs): Likewise.
792 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
794 * config/obj-coff.c (obj_coff_def): Simplify string copying.
795 (weak_name2altname): Likewise.
796 (weak_uniquify): Likewise.
797 (obj_coff_section): Likewise.
798 (obj_coff_init_stab_section): Likewise.
799 * config/obj-elf.c (obj_elf_section_name): Likewise.
800 (obj_elf_init_stab_section): Likewise.
801 * config/obj-evax.c (evax_shorten_name): Likewise.
802 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
803 * config/tc-aarch64.c (create_register_alias): Likewise.
804 * config/tc-alpha.c (load_expression): Likewise.
805 (s_alpha_file): Likewise.
806 (s_alpha_section_name): Likewise.
807 (tc_gen_reloc): Likewise.
808 * config/tc-arc.c (md_assemble): Likewise.
809 * config/tc-arm.c (create_neon_reg_alias): Likewise.
810 (start_unwind_section): Likewise.
811 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
812 (hppa_elf_mark_end_of_function): Likewise.
813 * config/tc-nios2.c (nios2_modify_arg): Likewise.
814 (nios2_negate_arg): Likewise.
815 * config/tc-rx.c (rx_section): Likewise.
816 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
817 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
818 * config/tc-tic54x.c (tic54x_include): Likewise.
819 (tic54x_macro_info): Likewise.
820 (subsym_get_arg): Likewise.
821 (subsym_substitute): Likewise.
822 (tic54x_start_line_hook): Likewise.
823 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
824 (xg_reverse_shift_count): Likewise.
825 * config/xtensa-relax.c (enter_opname_n): Likewise.
826 (split_string): Likewise.
827 * dwarf2dbg.c (get_filenum): Likewise.
828 (process_entries): Likewise.
829 * expr.c (operand): Likewise.
830 * itbl-ops.c (alloc_entry): Likewise.
831 * listing.c (listing_message): Likewise.
832 (listing_title): Likewise.
833 * macro.c (check_macro): Likewise.
834 * stabs.c (s_xstab): Likewise.
835 * symbols.c (symbol_relc_make_expr): Likewise.
836 * write.c (compress_debug): Likewise.
838 2016-05-12 Nick Clifton <nickc@redhat.com>
841 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
843 2016-05-11 Nick Clifton <nickc@redhat.com>
846 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
847 big endian ARM configurations.
849 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
850 Matthew Fortune <matthew.fortune@imgtec.com>
852 * config/tc-mips.c (options): Add OPTION_DSPR3 and
854 (md_longopts): Likewise.
855 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
856 (mips_ases): Define availability for DSPr3.
857 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
858 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
859 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
861 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
862 .set nodspr3. Fix -mdspr2 formatting.
863 * testsuite/gas/mips/mips32-dspr3.d: New file.
864 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
865 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
867 2016-05-11 Nick Clifton <nickc@redhat.com>
870 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
871 to the pool uses O_constant.
872 * testsuite/gas/arm/pr20068.s: New test.
873 * testsuite/gas/arm/pr20068.d: Test driver.
875 2016-05-11 Nick Clifton <nickc@redhat.com>
877 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
878 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
879 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
880 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
881 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
882 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
883 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
884 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
885 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
887 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
889 * testsuite/gas/i386/i386.exp: Run RDPID tests.
890 * testsuite/gas/i386/prefix.d: Adjust.
891 * testsuite/gas/i386/rdpid.s: New test.
892 * testsuite/gas/i386/rdpid.d: Ditto.
893 * testsuite/gas/i386/rdpid-intel.d: Ditto.
894 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
895 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
896 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
898 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
900 * config/tc-i386.c (cpu_arch): Add RDPID.
901 * doc/c-i386.texi: Document RDPID.
903 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
905 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
906 set branch type of a symbol.
908 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
910 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
911 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
913 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
914 (aeabi_set_public_attributes): Memorize the feature bits of the
915 architecture selected for Tag_CPU_arch. Use it to set
916 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
917 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
918 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
919 * testsuite/gas/arm/arch7em-bad-1.d: This.
920 * testsuite/gas/arm/arch7em-bad-2.d: New file.
921 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
922 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
923 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
924 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
925 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
926 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
927 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
929 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
931 * config/tc-arm.c (struct arm_option_extension_value_table): Make
932 allowed_archs an array with 2 entries.
933 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
934 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
935 (arm_extensions): Use separate entries in allowed_archs when several
936 archs are allowed to use an extension and change ARCH_ANY in
937 ARM_ARCH_NONE in allowed_archs.
938 (arm_parse_extension): Check that, for each allowed_archs entry, all
939 bits are set in the current architecture, ignoring ARM_ANY entries.
940 (s_arm_arch_extension): Likewise.
942 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
944 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
945 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
946 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
947 shared with a non M profile architecture.
948 (do_rn): New function.
949 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
951 (v7m_psrs): Add ARMv8-M security extensions new special registers.
952 (insns): Add ARMv8-M Security Extensions instructions.
953 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
954 arm_ext_v8m_m to decide the profile and the Thumb ISA.
955 * testsuite/gas/arm/archv8m-cmse.s: New file.
956 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
957 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
958 * testsuite/gas/arm/any-cmse.d: Likewise.
959 * testsuite/gas/arm/any-cmse-main.d: Likewise.
960 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
961 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
962 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
963 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
964 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
966 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
968 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
969 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
971 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
973 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
974 (fpu_arch_vfp_v3): Likewise.
975 (fpu_arch_neon_v1): Likewise.
976 (arm_arch_full): Likewise.
977 (parse_neon_el_struct_list): Initialize fields of firsttype.
979 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
981 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
982 (arc_extinsn): Handle new introduced syntax.
983 * testsuite/gas/arc/textinsn1op.d: New file.
984 * testsuite/gas/arc/textinsn1op.s: Likewise.
985 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
987 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
989 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
990 DW_LNS_fixed_advance_pc.
992 2016-04-27 Alan Modra <amodra@gmail.com>
994 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
995 (xmemdup0): New inline function.
997 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
999 * config/tc-mips.c (code_option_type): New enum.
1000 (parse_code_option): Return status indicating option type.
1001 (s_mipsset): Update `parse_code_option' call site accordingly.
1002 Always set register sizes from the ISA with ISA overrides.
1003 (s_module): Update `parse_code_option' call site.
1004 * testsuite/gas/mips/isa-override-1.d: New test.
1005 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1006 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1007 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1008 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1009 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1010 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1011 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1012 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1013 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1014 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1015 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1016 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1017 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1018 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1019 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1020 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1021 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1022 * testsuite/gas/mips/isa-override-2.l: New list test.
1023 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1024 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1025 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1026 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1027 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1028 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1029 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1030 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1031 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1032 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1033 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1035 * testsuite/gas/mips/isa-override-1.s: New test source.
1036 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1037 * testsuite/gas/mips/isa-override-2.s: New test source.
1038 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1039 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1040 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1041 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1042 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1043 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1044 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1045 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1046 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1047 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1048 * testsuite/gas/mips/mips.exp: Run the new tests.
1050 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1053 * config/tc-bfin.c: Likewise.
1054 * config/tc-ia64.c: Likewise.
1055 * config/tc-mep.c: Likewise.
1056 * config/tc-metag.c: Likewise.
1057 * config/tc-nios2.c: Likewise.
1058 * config/tc-rl78.c: Likewise.
1060 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1062 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1063 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1064 (ARC Directives): Add NPS400 to .cpu directive list.
1066 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1068 * config/tc-aarch64.c (aarch64_features): Add "ras".
1069 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1070 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1071 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1072 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1073 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1075 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1077 * testsuite/gas/arc/nps400-6.d: New file.
1078 * testsuite/gas/arc/nps400-6.s: New file.
1080 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * testsuite/gas/arc/nps400-4.d: New file.
1083 * testsuite/gas/arc/nps400-4.s: New file.
1084 * testsuite/gas/arc/nps400-5.d: New file.
1085 * testsuite/gas/arc/nps400-5.s: New file.
1087 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1089 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1092 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1094 Revert prevous change.
1095 * config/tc-arc.c (arc_option): Make .cpu directive
1096 case-sensitive again.
1098 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1100 * config/tc-arc.c (arc_option): Make .cpu directive
1103 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1105 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1107 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1109 * config/tc-mips.c (md_begin): Remove useless assignment.
1111 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1113 * Makefile.in: Regenerated with automake 1.11.6.
1114 * aclocal.m4: Likewise.
1115 * doc/Makefile.in: Likewise.
1117 2016-04-15 Alan Modra <amodra@gmail.com>
1119 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1121 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1123 * config/tc-nios2.c (nios2_as_options): Make file static.
1124 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1125 * config/tc-sparc.c (native_op_table): Likewise.
1127 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1129 * config/tc-m32c.c (M32C_Macros): Remove.
1130 * config/tc-msp430.c (option_numbers): Likewise.
1132 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1134 * testsuite/gas/arc/nps400-3.d: New file.
1135 * testsuite/gas/arc/nps400-3.s: New file.
1137 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1139 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1140 * testsuite/gas/arc/warn.s: Likewise.
1141 * testsuite/gas/elf/elf.exp: Run test for arc.
1143 2016-04-14 Nick Clifton <nickc@redhat.com>
1146 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1147 sections possibly having the SHF_STRINGS flag bit set.
1148 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1150 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1152 * config/tc-arc.c (mach_type_specified_p): Change type to
1154 (arc_option): Set private flags when parsing cpu pseudo-op.
1155 (md_parse_option): Set mach_type_specified_p to TRUE.
1157 2016-04-13 Nick Clifton <nickc@redhat.com>
1160 * testsuite/gas/v850/pr19937.s: New test.
1161 * testsuite/gas/v850/pr19937.d: New test control file.
1162 * testsuite/gas/v850/basic.exp: Run the new test.
1164 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1165 Andrew Bennett <andrew.bennett@imgtec.com>
1167 * config/tc-mips.c (relaxed_branch_length): Use the long
1168 sequence where the target is a weak symbol.
1169 (relaxed_micromips_32bit_branch_length): Likewise.
1170 (relaxed_micromips_16bit_branch_length): Likewise.
1171 * testsuite/gas/mips/branch-weak-1.d: New test.
1172 * testsuite/gas/mips/branch-weak-2.d: New test.
1173 * testsuite/gas/mips/branch-weak-3.d: New test.
1174 * testsuite/gas/mips/branch-weak-4.d: New test.
1175 * testsuite/gas/mips/branch-weak-5.d: New test.
1176 * testsuite/gas/mips/branch-weak.l: New stderr output.
1177 * testsuite/gas/mips/branch-weak.s: New test source.
1178 * testsuite/gas/mips/mips.exp: Run the new tests.
1180 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1182 * config/tc-mips.c (relaxed_branch_length): Use the long
1183 sequence where the distance cannot be determined.
1184 (relaxed_micromips_32bit_branch_length): Likewise.
1185 * testsuite/gas/mips/branch-extern-1.d: New test.
1186 * testsuite/gas/mips/branch-extern-2.d: New test.
1187 * testsuite/gas/mips/branch-extern-3.d: New test.
1188 * testsuite/gas/mips/branch-extern-4.d: New test.
1189 * testsuite/gas/mips/branch-extern.l: New stderr output.
1190 * testsuite/gas/mips/branch-extern.s: New test source.
1191 * testsuite/gas/mips/branch-section-1.d: New test.
1192 * testsuite/gas/mips/branch-section-2.d: New test.
1193 * testsuite/gas/mips/branch-section-3.d: New test.
1194 * testsuite/gas/mips/branch-section-4.d: New test.
1195 * testsuite/gas/mips/branch-section.l: New stderr output.
1196 * testsuite/gas/mips/branch-section.s: New test source.
1197 * testsuite/gas/mips/mips.exp: Run the new tests.
1199 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1201 * testsuite/gas/arc/textauxregister.d: New file.
1202 * testsuite/gas/arc/textauxregister.s: Likewise.
1203 * testsuite/gas/arc/textcondcode.d: Likewise.
1204 * testsuite/gas/arc/textcondcode.s: Likewise.
1205 * testsuite/gas/arc/textcoreregister.d: Likewise.
1206 * testsuite/gas/arc/textcoreregister.s: Likewise.
1207 * testsuite/gas/arc/textpseudoop.d: Likewise.
1208 * testsuite/gas/arc/textpseudoop.s: Likewise.
1209 * testsuite/gas/arc/ld2.d: Update test.
1210 * testsuite/gas/arc/st.d: Likewise.
1211 * testsuite/gas/arc/taux.d: Likewise.
1212 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1213 .extCoreRegister and .extAuxRegister documentation.
1214 * config/tc-arc.c (arc_extcorereg): New function.
1215 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1216 .extAuxRegister pseudo-ops.
1217 (extRegister_t): New type.
1218 (ext_condcode, arc_aux_hash): New global variable.
1219 (find_opcode_match): Check for extensions.
1220 (preprocess_operands): Likewise.
1221 (md_begin): Add aux registers in a hash.
1222 (assemble_insn): Update use arc_flags member.
1223 (tokenize_extregister): New function.
1224 (create_extcore_section): Likewise.
1225 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1227 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1229 * testsuite/gas/arc/noargs_a7.d: New file.
1230 * testsuite/gas/arc/noargs_a7.s: Likewise.
1231 * testsuite/gas/arc/noargs_hs.d: Likewise.
1232 * testsuite/gas/arc/noargs_hs.s: Likewise.
1234 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1236 * testsuite/gas/arc/textinsn-errors.d: New File.
1237 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1238 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1239 * testsuite/gas/arc/textinsn2op.d: Likewise.
1240 * testsuite/gas/arc/textinsn2op.s: Likewise.
1241 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1242 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1243 * testsuite/gas/arc/textinsn3op.d: Likewise.
1244 * testsuite/gas/arc/textinsn3op.s: Likewise.
1245 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1247 * config/tc-arc.c (arcext_section): New variable.
1248 (arc_extinsn): New function.
1249 (md_pseudo_table): Add .extInstruction pseudo op.
1250 (attributes_t): New type.
1251 (suffixclass, syntaxclass, syntaxclassmod): New constant
1253 (find_opcode_match): Remove arc_num_opcodes.
1254 (md_begin): Likewise.
1255 (tokenize_extinsn): New function.
1256 (arc_set_ext_seg): Likewise.
1257 (create_extinst_section): Likewise.
1259 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1261 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1262 (arc_adjust_symtab): New function.
1263 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1264 (obj_adjust_symtab): Likewise.
1265 * testsuite/gas/arc/taux.d: New file.
1266 * testsuite/gas/arc/taux.s: Likewise.
1268 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1270 * config/tc-mips.c (s_option): Sanitize `.option picX'
1272 * testsuite/gas/mips/option-pic-1.d: New test.
1273 * testsuite/gas/mips/option-pic-2.l: New list test.
1274 * testsuite/gas/mips/option-pic-1.s: New test source.
1275 * testsuite/gas/mips/option-pic-2.s: New test source.
1276 * testsuite/gas/mips/mips.exp: Run the new tests.
1278 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1280 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1282 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1283 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1284 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1285 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1286 * testsuite/gas/mips/mips.exp: Run the new tests.
1288 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1290 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1292 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1294 * messages.c (as_bad): Fix a typo in description.
1296 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1298 * config/tc-mips.c (mips_check_options): Unify messages.
1300 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1302 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1305 2016-04-08 Nick Clifton <nickc@redhat.com>
1308 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1309 COFF and AOUT sparc targets.
1311 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1313 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1314 * testsuite/gas/arc/nps400-2.d: New file.
1315 * testsuite/gas/arc/nps400-2.s: New file.
1317 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1319 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1321 (arc_opcode_hash_entry_iterator_init): New function.
1322 (arc_opcode_hash_entry_iterator_next): New function.
1323 (find_opcode_match): Iterate over all arc_opcode entries
1324 referenced by the arc_opcode_hash_entry passed in as a parameter.
1326 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1328 * config/tc-arc.c (arc_find_opcode): Now returns
1329 arc_opcode_hash_entry pointer.
1330 (find_opcode_match): Update argument type, extract arc_opcode from
1331 incoming arc_opcode_hash_entry.
1332 (find_special_case_pseudo): Update return type.
1333 (find_special_case_flag): Update return type.
1334 (find_special_case): Update return type.
1335 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1336 instruction mnemonic, then use find_opcode_match to identify
1337 specific arc_opcode.
1339 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1341 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1342 (arc_find_opcode): New function.
1343 (find_special_case_pseudo): Use arc_find_opcode.
1344 (find_special_case_flag): Likewise.
1345 (assemble_tokens): Likewise.
1346 (md_begin): Build hash using struct arc_opcode_hash_entry.
1348 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1350 * config/tc-arc.c (arc_option): Prepare string for automatic
1352 (declare_register): Likewise.
1354 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1356 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1357 Correct entry for RDMA. Alpha sort entries.
1359 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1361 * config/tc-arc.c (tokenize_flags): Allow greater range of
1362 characters into flag names.
1364 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1366 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1368 (preprocess_operands): Delete.
1369 (assemble_tokens): Remove call to preprocess_operands.
1371 2016-04-07 Nick Clifton <nickc@redhat.com>
1374 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1375 inside a %-macro could not be fully parsed.
1376 * expr.c (integer_constant): Accept and ignore U suffixes to
1378 (operand): When a missing closing parenthesis is encountered,
1379 report the character that was found instead.
1380 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1381 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1382 * testsuite/gas/sparc/pr19910-1.s: New test.
1383 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1384 * testsuite/gas/sparc/pr19910-2.s: New test.
1385 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1387 2016-04-06 Nick Clifton <nickc@redhat.com>
1389 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1390 an EINT instruction. Warn/fix as necessary.
1391 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1392 * testsuite/gas/msp430/bad.l: Update expected messages.
1394 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1396 * testsuite/gas/arc/nps400-1.d: Update expected results.
1397 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1399 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1401 * config/tc-arc.c (is_code_density_p): Compare directly the
1403 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1404 (check_cpu_feature): New function.
1405 (find_opcode_match): Use check_cpu_feature function.
1406 (preprocess_operands): Likewise.
1407 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1408 * testsuite/gas/arc/tdpfp.d: New file.
1409 * testsuite/gas/arc/tfpuda.d: Likewise.
1410 * testsuite/gas/arc/tfpx.s: Likewise.
1412 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1414 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1415 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1416 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1417 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1418 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1419 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1420 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1421 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1423 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1425 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1427 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1428 JUMP instructions type.
1429 * testsuite/gas/arc/relocs-errors.d: New file.
1430 * testsuite/gas/arc/relocs-errors.err: Likewise.
1431 * testsuite/gas/arc/relocs-errors.s: Likewise.
1433 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1436 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1437 only if i.disp_encoding != disp_encoding_32bit.
1438 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1439 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1440 * gas/testsuite/gas/i386/disp32.d: Updated.
1441 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1443 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1446 * testsuite/gas/i386/i386.exp: Run pr19498.
1447 * testsuite/gas/i386/pr19498.d: New file.
1448 * testsuite/gas/i386/pr19498.s: Likewise.
1450 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1452 * config/tc-arc.h: Include 'opcode/arc.h'.
1453 (MAX_INSN_ARGS): Delete.
1454 (MAX_INSN_FLGS): Delete.
1456 2016-04-04 Alan Modra <amodra@gmail.com>
1459 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1460 from function on all paths that set sy_resolving.
1462 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1464 * app.c (app_push): use XNEW macro.
1466 * config/obj-elf.c (obj_elf_change_section): Likewise.
1467 (elf_copy_symbol_attributes): Likewise.
1468 (obj_elf_size): Likewise.
1469 (build_group_lists): Likewise.
1470 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1471 (md_assemble): Likewise.
1472 (tc_gen_reloc): Likewise.
1473 (get_upper_str): Likewise.
1474 (aarch64_parse_features): Likewise.
1475 * config/tc-arm.c (insert_reg_alias): Likewise.
1476 (insert_neon_reg_alias): Likewise.
1477 (find_or_make_literal_pool): Likewise.
1478 (s_arm_elf_cons): Likewise.
1479 (add_unwind_opcode): Likewise.
1480 (arm_parse_extension): Likewise.
1481 * config/tc-avr.c (create_record_for_frag): Likewise.
1482 * config/tc-crx.c: Likewise.
1483 * config/tc-d30v.c: Likewise.
1484 * config/tc-dlx.c (s_proc): Likewise.
1485 * config/tc-ft32.c: Likewise.
1486 * config/tc-h8300.c: Likewise.
1487 * config/tc-hppa.c (pa_proc): Likewise.
1488 (create_new_space): Likewise.
1489 (create_new_subspace): Likewise.
1490 * config/tc-i860.c: Likewise.
1491 * config/tc-i960.c: Likewise.
1492 * config/tc-ia64.c: Likewise.
1493 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1494 (iq2000_record_hi16): Likewise.
1495 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1496 * config/tc-m32r.c (debug_sym): Likewise.
1497 (m32r_record_hi16): Likewise.
1498 * config/tc-m68k.c (m68k_ip): Likewise.
1499 (md_begin): Likewise.
1500 * config/tc-mcore.c: Likewise.
1501 * config/tc-microblaze.c (check_got): Likewise.
1502 * config/tc-mips.c (append_insn): Likewise.
1503 (s_mipsset): Likewise.
1504 (mips_record_label): Likewise.
1505 (s_mips_end): Likewise.
1506 * config/tc-mmix.c (mmix_frob_file): Likewise.
1507 * config/tc-mn10200.c: Likewise.
1508 * config/tc-mn10300.c: Likewise.
1509 * config/tc-moxie.c: Likewise.
1510 * config/tc-msp430.c: Likewise.
1511 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1512 * config/tc-ns32k.c: Likewise.
1513 * config/tc-or1k.c: Likewise.
1514 * config/tc-pdp11.c: Likewise.
1515 * config/tc-pj.c (fake_opcode): Likewise.
1516 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1517 (ppc_macro): Likewise.
1518 (ppc_dwsect): Likewise.
1519 (ppc_machine): Likewise.
1520 * config/tc-rl78.c (rl78_frag_init): Likewise.
1521 * config/tc-rx.c (rx_frag_init): Likewise.
1522 * config/tc-s390.c (s390_lit_suffix): Likewise.
1523 (s390_machine): Likewise.
1524 (s390_machinemode): Likewise.
1525 * config/tc-score.c (s3_insert_reg): Likewise.
1526 (s3_gen_reloc): Likewise.
1527 * config/tc-score7.c (s7_insert_reg): Likewise.
1528 (s7_gen_reloc): Likewise.
1529 * config/tc-tic30.c (tic30_operand): Likewise.
1530 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1531 * config/tc-tic54x.c (stag_add_field): Likewise.
1532 (tic54x_struct): Likewise.
1533 (tic54x_space): Likewise.
1534 (tic54x_field): Likewise.
1535 (tic54x_mlib): Likewise.
1536 (subsym_substitute): Likewise.
1537 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1538 * config/tc-vax.c: Likewise.
1539 * config/tc-xc16x.c: Likewise.
1540 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1541 (directive_push): Likewise.
1542 (xtensa_begin_directive): Likewise.
1543 (tokenize_arguments): Likewise.
1544 (xtensa_add_literal_sym): Likewise.
1545 (new_resource_table): Likewise.
1546 (resize_resource_table): Likewise.
1547 (emit_single_op): Likewise.
1548 (xtensa_create_trampoline_frag): Likewise.
1549 (xtensa_maybe_create_literal_pool_frag): Likewise.
1550 (xtensa_add_config_info): Likewise.
1551 (xtensa_realloc_fixup_cache): Likewise.
1552 (add_subseg_info): Likewise.
1553 (cache_literal_section): Likewise.
1554 (add_xt_block_frags): Likewise.
1555 (add_xt_prop_frags): Likewise.
1556 (init_op_placement_info_table): Likewise.
1557 (build_section_rename): Likewise.
1558 * config/tc-z80.c: Likewise.
1559 * config/tc-z8k.c: Likewise.
1560 * depend.c (register_dependency): Likewise.
1561 * dwarf2dbg.c (get_line_subseg): Likewise.
1562 (dwarf2_gen_line_info_1): Likewise.
1563 (get_filenum): Likewise.
1564 * ecoff.c (allocate_scope): Likewise.
1565 (allocate_vlinks): Likewise.
1566 (allocate_shash): Likewise.
1567 (allocate_thash): Likewise.
1568 (allocate_tag): Likewise.
1569 (allocate_forward): Likewise.
1570 (allocate_thead): Likewise.
1571 (allocate_lineno_list): Likewise.
1572 * expr.c (make_expr_symbol): Likewise.
1573 * hash.c (hash_new_sized): Likewise.
1574 * input-file.c (input_file_push): Likewise.
1575 * listing.c (file_info): Likewise.
1576 (listing_newline): Likewise.
1577 * macro.c (new_formal): Likewise.
1578 (define_macro): Likewise.
1579 * remap.c (add_debug_prefix_map): Likewise.
1580 * symbols.c (symbol_find_noref): Likewise.
1581 (define_dollar_label): Likewise.
1582 (fb_label_instance_inc): Likewise.
1583 (symbol_relc_make_value): Likewise.
1585 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1587 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1588 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1589 (ppc_znop): Likewise.
1590 (ppc_pe_section): Likewise.
1591 (ppc_frob_symbol): Likewise.
1592 * config/tc-tic30.c (tic30_operand): Likewise.
1593 * config/tc-tic4x.c (tic4x_sect): Likewise.
1594 (tic4x_usect): Likewise.
1596 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1598 * config/tc-alpha.c: Const qualify FLT_CHARS.
1599 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1600 * config/tc-cris.h: Likewise.
1602 * config/tc-mmix.c (md_atof): Adjust comment.
1603 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1604 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1606 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1608 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1609 * config/tc-score7.c (s7_gen_reloc): Likewise.
1611 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1613 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1614 bfd_reloc_code_real_type.
1616 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1618 * config/bfin-parse.y (current_inputline): Remove definition.
1619 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1621 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1623 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1626 2016-04-02 Alan Modra <amodra@gmail.com>
1629 * read.c (assign_symbol): Consume rest of line after an error
1630 rather than continuing to process the line.
1632 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1634 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1635 (MAX_FLAG_NAME_LENGTH): ...this.
1636 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1637 * config/tc-arc.c (tokenize_flags): Likewise.
1639 2016-04-01 Alan Modra <amodra@gmail.com>
1641 * cgen.c (weak_operand_overflow_check): Return const char*.
1642 * messages.c (as_internal_value_out_of_range): Formatting.
1643 (as_warn_value_out_of_range): Consify prefix param.
1644 (as_bad_value_out_of_range): Likewise.
1645 * read.c (s_errwarn): Constify msg..
1646 (s_float_space, float_cons): ..and err.
1647 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1648 ieee_md_atof, vax_md_atof): Update prototypes.
1649 * tc.h (md_atof): Update prototype.
1650 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1651 * config/atof-vax.c (vax_md_atof): Likewise.
1652 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1653 * config/tc-aarch64.c (md_atof): Return const char*.
1654 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1655 (s_alpha_comm): Constify sec_name.
1656 (section_name): Constify.
1657 (s_alpha_section): Consify name..
1658 (alpha_elf_section_letter): ..and ptr_msg param..
1659 (md_atof): ..and return.
1660 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1661 * config/tc-arc.c (md_atof): Return const char*.
1662 * config/tc-arm.c (md_atof): Likewise.
1663 * config/tc-avr.c (md_atof): Likewise.
1664 * config/tc-bfin.c (md_atof): Likewise.
1665 * config/tc-cr16.c (md_atof): Likewise.
1666 * config/tc-cris.c (md_atof): Likewise.
1667 * config/tc-crx.c (md_atof): Likewise.
1668 * config/tc-d10v.c (md_atof): Likewise.
1669 * config/tc-d30v.c (md_atof): Likewise.
1670 * config/tc-dlx.c (md_atof): Likewise.
1671 * config/tc-epiphany.c (md_atof): Likewise.
1672 * config/tc-fr30.c (md_atof): Likewise.
1673 * config/tc-frv.c (md_atof): Likewise.
1674 * config/tc-ft32.c (md_atof): Likewise.
1675 * config/tc-h8300.c (md_atof): Likewise.
1676 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1677 (struct default_space_dict): Likewise.
1678 (create_new_space): Constify name param.
1679 (create_new_subspace): Likewise.
1680 (is_defined_space, is_defined_subspace): Likewise.
1681 (pa_parse_space_stmt): Constify space_name param.
1682 (md_atof): Return const char*.
1683 (pa_spaces_begin): Constify name.
1684 * config/tc-i370.c (md_atof): Return const char*.
1685 * config/tc-i386.c (md_atof): Likewise.
1686 (x86_64_section_letter): Constify ptr_msg param.
1687 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1688 * config/tc-i860.c (struct i860_it): Constify error.
1689 (md_atof): Return const char*.
1690 * config/tc-i960.c (md_atof): Likewise.
1691 * config/tc-ia64.c (md_atof): Likewise.
1692 (ia64_elf_section_letter): Constify ptr_msg param.
1693 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1694 * config/tc-ip2k.c (md_atof): Return const char*.
1695 * config/tc-iq2000.c (md_atof): Likewise.
1696 * config/tc-lm32.c (md_atof): Likewise.
1697 * config/tc-m32c.c (md_atof): Likewise.
1698 * config/tc-m32r.c (md_atof): Likewise.
1699 * config/tc-m68hc11.c (md_atof): Likewise.
1700 * config/tc-m68k.c (md_atof): Likewise.
1701 * config/tc-mcore.c (md_atof): Likewise.
1702 * config/tc-mep.c (md_atof): Likewise.
1703 (mep_elf_section_letter): Constify ptr_msg param.
1704 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1705 * config/tc-metag.c (md_atof): Return const char*.
1706 * config/tc-microblaze.c (md_atof): Likewise.
1707 * config/tc-microblaze.h (md_atof): Delete prototype.
1708 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1709 (md_atof): Return const char*.
1710 * config/tc-mmix.c (md_atof): Likewise.
1711 * config/tc-mn10200.c (md_atof): Likewise.
1712 * config/tc-mn10300.c (md_atof): Likewise.
1713 * config/tc-moxie.c (md_atof): Likewise.
1714 * config/tc-msp430.c (md_atof): Likewise.
1715 * config/tc-mt.c (md_atof): Likewise.
1716 * config/tc-nds32.c (md_atof): Likewise.
1717 * config/tc-nios2.c (md_atof): Likewise.
1718 (nios2_elf_section_letter): Constify ptr_msg param.
1719 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1720 * config/tc-ns32k.c (md_atof): Return const char*.
1721 * config/tc-or1k.c (md_atof): Likewise.
1722 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1723 (md_atof): Return const char*.
1724 * config/tc-pj.c (md_atof): Likewise.
1725 * config/tc-ppc.c (md_atof): Likewise.
1726 * config/tc-rl78.c (md_atof): Likewise.
1727 * config/tc-rx.c (md_atof): Likewise.
1728 * config/tc-s390.c (md_atof): Likewise.
1729 * config/tc-score.c (s3_atof, md_atof): Likewise.
1730 * config/tc-sh.c (md_atof): Likewise.
1731 * config/tc-sparc.c (struct sparc_it): Constify error.
1732 (md_atof): Return const char*.
1733 * config/tc-spu.c (md_atof): Likewise.
1734 * config/tc-tic30.c (md_atof): Likewise.
1735 * config/tc-tic4x.c (md_atof): Likewise.
1736 * config/tc-tic54x.c (md_atof): Likewise.
1737 * config/tc-tic6x.c (md_atof): Likewise.
1738 * config/tc-tilegx.c (md_atof): Likewise.
1739 * config/tc-tilepro.c (md_atof): Likewise.
1740 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1741 * config/tc-vax.c (md_atof): Likewise.
1742 * config/tc-visium.c (md_atof): Likewise.
1743 * config/tc-xc16x.c (md_atof): Likewise.
1744 * config/tc-xgate.c (md_atof): Likewise.
1745 * config/tc-xstormy16.c (md_atof): Likewise.
1746 * config/tc-xtensa.c (md_atof): Likewise.
1747 * config/tc-z80.c (md_atof): Likewise.
1748 * config/tc-z8k.c (md_atof): Likewise.
1750 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1752 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1754 (xtensa_section_rename): Make argument type const char *.
1755 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1757 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1759 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1762 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1764 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1766 (m32c_indirect_operand): Likewise.
1767 * config/tc-nds32.c (do_pseudo_b): Likewise.
1768 (do_pseudo_bal): Likewise.
1769 (do_pseudo_ls_bhw): Likewise.
1771 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1773 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1775 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1777 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1779 * config/tc-sparc.c (s_register): Cast a literal to char * in
1782 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1784 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1786 * config/tc-m32r.c (expand_debug_syms): Likewise.
1787 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1788 * config/tc-z80.c (md_begin): Likewise.
1789 * stabs.c (stabs_generate_asm_func): Likewise.
1791 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1793 * cgen.c: Modernize the way functions declare arguments.
1794 * config/tc-bfin.c: Likewise.
1795 * config/tc-pdp11.c: Likewise.
1796 * literal.c: Likewise.
1798 * stabs.c: Likewise.
1800 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1802 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1803 variables unsigned char[].
1804 * config/tc-alpha.c (alpha_handle_align): Likewise.
1805 * config/tc-arm.c (arm_handle_align): Likewise.
1806 * config/tc-z80.c: Likewise.
1808 2016-03-30 Nick Clifton <nickc@redhat.com>
1811 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1814 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1816 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1817 * testsuite/gas/elf/elf.exp: Likewise.
1818 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1820 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1822 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1824 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1826 * testsuite/gas/arc/ext2op.d: New file.
1827 * testsuite/gas/arc/ext2op.s: Likewise.
1828 * testsuite/gas/arc/ext3op.d: Likewise.
1829 * testsuite/gas/arc/ext3op.s: Likewise.
1831 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1833 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1835 * config/tc-alpha.c (md_parse_option): Likewise.
1836 * config/tc-arc.c (md_parse_option): Likewise.
1837 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1838 (md_parse_option): Likewise.
1839 * config/tc-avr.c (md_parse_option): Likewise.
1840 * config/tc-bfin.c (md_parse_option): Likewise.
1841 * config/tc-cr16.c (md_parse_option): Likewise.
1842 * config/tc-cris.c (s_cris_arch): Likewise.
1843 (md_parse_option): Likewise.
1844 * config/tc-crx.c (md_parse_option): Likewise.
1845 * config/tc-d10v.c (md_parse_option): Likewise.
1846 * config/tc-d30v.c (md_parse_option): Likewise.
1847 * config/tc-dlx.c (md_parse_option): Likewise.
1848 * config/tc-epiphany.c (md_parse_option): Likewise.
1849 * config/tc-fr30.c (md_parse_option): Likewise.
1850 * config/tc-frv.c (md_parse_option): Likewise.
1851 * config/tc-ft32.c (md_parse_option): Likewise.
1852 * config/tc-h8300.c (md_parse_option): Likewise.
1853 * config/tc-hppa.c (md_parse_option): Likewise.
1854 * config/tc-i370.c (md_parse_option): Likewise.
1855 * config/tc-i386.c (md_parse_option): Likewise.
1856 * config/tc-i860.c (md_parse_option): Likewise.
1857 * config/tc-i960.c (md_parse_option): Likewise.
1858 * config/tc-ia64.c (md_parse_option): Likewise.
1859 * config/tc-ip2k.c (md_parse_option): Likewise.
1860 * config/tc-iq2000.c (md_parse_option): Likewise.
1861 * config/tc-lm32.c (md_parse_option): Likewise.
1862 * config/tc-m32c.c (md_parse_option): Likewise.
1863 * config/tc-m32r.c (md_parse_option): Likewise.
1864 * config/tc-m68hc11.c (md_parse_option): Likewise.
1865 * config/tc-m68k.c (md_parse_option): Likewise.
1866 * config/tc-mcore.c (md_parse_option): Likewise.
1867 * config/tc-mep.c (md_parse_option): Likewise.
1868 * config/tc-metag.c (struct metag_long_option): Likewise.
1869 (md_parse_option): Likewise.
1870 * config/tc-microblaze.c (md_parse_option): Likewise.
1871 * config/tc-microblaze.h (md_parse_option): Remove prototype.
1872 * config/tc-mips.c (md_parse_option): Adjust.
1873 * config/tc-mmix.c (md_parse_option): Likewise.
1874 * config/tc-mn10200.c (md_parse_option): Likewise.
1875 * config/tc-mn10300.c (md_parse_option): Likewise.
1876 * config/tc-moxie.c (md_parse_option): Likewise.
1877 * config/tc-msp430.c (md_parse_option): Likewise.
1878 * config/tc-mt.c (md_parse_option): Likewise.
1879 * config/tc-nds32.c (md_parse_option): Likewise.
1880 * config/tc-nds32.h (nds32_parse_option): Likewise.
1881 * config/tc-nios2.c (md_parse_option): Likewise.
1882 * config/tc-ns32k.c (md_parse_option): Likewise.
1883 * config/tc-or1k.c (md_parse_option): Likewise.
1884 * config/tc-pdp11.c (md_parse_option): Likewise.
1885 * config/tc-pj.c (md_parse_option): Likewise.
1886 * config/tc-ppc.c (md_parse_option): Likewise.
1887 * config/tc-rl78.c (md_parse_option): Likewise.
1888 * config/tc-rx.c (md_parse_option): Likewise.
1889 * config/tc-s390.c (s390_parse_cpu): Likewise.
1890 * config/tc-score.c (md_parse_option): Likewise.
1891 * config/tc-sh.c (md_parse_option): Likewise.
1892 * config/tc-sparc.c (md_parse_option): Likewise.
1893 * config/tc-spu.c (md_parse_option): Likewise.
1894 * config/tc-tic30.c (md_parse_option): Likewise.
1895 * config/tc-tic4x.c (md_parse_option): Likewise.
1896 * config/tc-tic54x.c (md_parse_option): Likewise.
1897 * config/tc-tic6x.c (md_parse_option): Likewise.
1898 * config/tc-tilegx.c (md_parse_option): Likewise.
1899 * config/tc-tilepro.c (md_parse_option): Likewise.
1900 * config/tc-v850.c (md_parse_option): Likewise.
1901 * config/tc-vax.c (md_parse_option): Likewise.
1902 * config/tc-visium.c (struct visium_long_option_table): Likewise.
1903 * config/tc-xc16x.c (md_parse_option): Likewise.
1904 * config/tc-xgate.c (md_parse_option): Likewise.
1905 * config/tc-xstormy16.c (md_parse_option): Likewise.
1906 * config/tc-xtensa.c (md_parse_option): Likewise.
1907 * config/tc-z80.c (md_parse_option): Likewise.
1908 * config/tc-z8k.c (md_parse_option): Likewise.
1909 * tc.h (md_parse_option): Likewise.
1911 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1913 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
1914 * config/tc-hppa.c (fix_new_hppa): Likewise.
1915 (pa_vtable_entry): Likewise.
1916 (pa_vtable_inherit): Likewise.
1917 * config/tc-m68k.c (md_begin): Likewise.
1919 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1921 * config/obj-elf.c (obj_elf_section_name): Return const char *.
1922 * config/obj-elf.h (obj_elf_section_name): Adjust.
1923 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
1924 (aarch64_parse_cpu): Likewise.
1925 (aarch64_parse_arch): Likewise.
1926 * config/tc-arm.c (arm_parse_extension): Likewise.
1927 (arm_parse_cpu): Likewise.
1928 (arm_parse_arch): Likewise.
1929 * config/tc-nds32.c: Likewise.
1930 * config/xtensa-relax.c (parse_special_fn): Likewise.
1931 * stabs.c (generate_asm_file): Likewise.
1933 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1935 * config/tc-cr16.c (cr16_assemble): New function.
1936 (md_assemble): Call cr16_assemble.
1938 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1940 * as.c (parse_args): Adjust.
1941 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
1942 * config/obj-elf.c (elf_frob_symbol): Adjust.
1944 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1946 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
1947 registers to be in the 16..31 range.
1949 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1951 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
1954 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1956 * config/tc-visium.c (md_atof): Localize the string returned on
1959 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1961 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
1962 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
1963 * config/tc-m68hc11.c (md_begin): Likewise.
1964 (print_opcode_list): Likewise.
1965 * config/tc-msp430.c (msp430_section): Likewise.
1966 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
1967 (s3_build_dependency_insn_hsh): Likewise.
1968 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
1969 (s7_build_dependency_insn_hsh): Likewise.
1970 * config/tc-tic4x.c: Likewise.
1971 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
1972 (subsym_get_arg): Likewise.
1973 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
1974 (get_directive): Likewise.
1975 (cache_literal_section): Likewise.
1976 * config/xtensa-relax.c: Likewise.
1977 * symbols.c (symbol_create): Likewise.
1978 (local_symbol_make): Likewise.
1979 (symbol_relc_make_expr): Likewise.
1981 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1983 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
1986 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1988 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
1991 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1993 * config/tc-ia64.c (ia64_do_align): Remove.
1994 (ia64_cons_align): Call do_align () directly.
1995 (dot_proc): Likewise.
1996 (stmt_float_cons): Likewise.
1998 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2000 * listing.c (listing_message): Use XNEW style allocation macros.
2001 * read.c (read_a_source_file): Likewise.
2002 (read_symbol_name): Likewise.
2003 (s_mri_common): Likewise.
2004 (assign_symbol): Likewise.
2005 (s_reloc): Likewise.
2006 (emit_expr_with_reloc): Likewise.
2007 (s_incbin): Likewise.
2008 (s_include): Likewise.
2009 * sb.c (sb_build): Likewise.
2010 (sb_check): Likewise.
2012 2016-03-22 Alan Modra <amodra@gmail.com>
2014 * write.c (record_alignment): Revert 2016-02-18 change.
2016 2016-03-22 Alan Modra <amodra@gmail.com>
2018 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2019 (emit_jsrjmp, tc_gen_reloc): Likewise.
2020 * config/tc-i370.c (i370_macro): Likewise.
2022 2016-03-22 Nick Clifton <nickc@redhat.com>
2024 * configure: Regenerate.
2026 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2028 * testsuite/gas/arc/nps400-0.d: New file.
2029 * testsuite/gas/arc/nps400-0.s: New file.
2030 * testsuite/gas/arc/nps400-1.d: New file.
2031 * testsuite/gas/arc/nps400-1.s: New file.
2033 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2035 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2036 declarations to start of block. Reset code on all flags before
2037 attempting to match them. Handle multiple hits on the same flag.
2039 * testsuite/gas/arc/asm-errors.d: New file.
2040 * testsuite/gas/arc/asm-errors.err: New file.
2041 * testsuite/gas/arc/asm-errors.s: New file.
2043 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2045 * config/tc-arc.c (cpu_types): Add nps400 entry.
2046 (check_zol): Handle nps400.
2048 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2050 * config/tc-arc.c (arc_select_cpu): Remove use of
2053 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2055 * config/tc-arc.c (arc_target): Delay initialisation until
2057 (arc_target_name): Likewise.
2058 (arc_features): Likewise.
2059 (arc_mach_type): Likewise.
2060 (cpu_types): Remove "all" entry.
2061 (arc_select_cpu): New function, most of the content is from...
2062 (md_parse_option): ... here. Call new arc_select_cpu.
2063 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2065 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2067 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2068 * testsuite/gas/arc/inline-data-2.d: New file.
2070 2016-03-21 Nick Clifton <nickc@redhat.com>
2072 * atof-generic.c: Replace use of alloca with call to xmalloc.
2074 * dwarf2dbg.c: Likewise.
2075 * macro.c: Likewise.
2076 * remap.c: Likewise.
2077 * stabs.c: Likewise.
2078 * symbols.c: Likewise.
2079 * config/obj-elf.c: Likewise.
2080 * config/tc-aarch64.c: Likewise.
2081 * config/tc-arc.c: Likewise.
2082 * config/tc-arm.c: Likewise.
2083 * config/tc-avr.c: Likewise.
2084 * config/tc-ia64.c: Likewise.
2085 * config/tc-mips.c: Likewise.
2086 * config/tc-msp430.c: Likewise.
2087 * config/tc-nds32.c: Likewise.
2088 * config/tc-ppc.c: Likewise.
2089 * config/tc-sh.c: Likewise.
2090 * config/tc-tic30.c: Likewise.
2091 * config/tc-tic54x.c: Likewise.
2092 * config/tc-xstormy16.c: Likewise.
2093 * config/te-vms.c: Likewise.
2094 * configure: Regenerate.
2096 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2098 * tc-i386.c (f32_1): Change type to unsigned char[].
2118 (jump_31): Likewise.
2119 (f32_patt): Likewise.
2120 (f16_patt): Likewise.
2129 (alt_patt): Likewise.
2131 2016-03-18 Nick Clifton <nickc@redhat.com>
2133 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2134 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2135 .tlsdescldr and .xword directives.
2138 * testsuite/gas/aarch64/pr19721.s: New test source file.
2139 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2141 * doc/as.texinfo: Place the target specific command line options
2142 into their own man page section.
2144 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2146 * config/tc-arm.c (N_S_32): New.
2147 (N_F_16_32): Likewise.
2148 (N_SUF_32): Support N_F16.
2149 (N_IF_32): Likewise.
2150 (neon_dyadic_misc): Likewise.
2151 (do_neon_cmp): Likewise.
2152 (do_neon_cmp_inv): Likewise.
2153 (do_neon_mul): Likewise.
2154 (do_neon_fcmp_absolute): Likewise.
2155 (do_neon_step): Likewise.
2156 (do_neon_abs_neg): Likewise.
2157 (CVT_FLAVOR_VAR): Likewise.
2158 (do_neon_cvt_1): Likewise.
2159 (do_neon_recip_est): Likewise.
2160 (do_vmaxnm): Likewise.
2161 (do_vrint_1): Likewise.
2162 (neon_check_type): Check architecture support for FP16 extension.
2163 (insns): Update comments.
2164 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2165 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2166 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2167 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2169 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2171 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2174 2016-03-16 Nick Clifton <nickc@redhat.com>
2176 * read.c (emit_expr_with_reloc): Add code check a bignum with
2178 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2180 * testsuite/gas/elf/bignum.s: New test source file.
2181 * testsuite/gas/elf/bignum.d: New test driver file.
2182 * testsuite/gas/elf/elf.exp: Run the new test.
2184 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2186 * doc/c-i386.texi (Register Naming): Update to details of the
2187 latest architecture version.
2189 2016-03-10 Mickael Guene <mickael.guene@st.com>
2192 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2194 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2195 (do_t_mov_cmp): Likewise.
2196 (do_t_add_sub): Protect against bad relocations usage.
2197 (do_t_mov_cmp): Likewise.
2198 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2199 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2200 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2201 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2203 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2205 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2207 (do_neon_ld_st_lane): Likewise.
2208 (do_neon_ld_dup): Likewise.
2210 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2212 * testsuite/gas/arc/inline-data-1.d: New file.
2213 * testsuite/gas/arc/inline-data-1.s: New file.
2215 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2217 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2218 * doc/c-arm.texi: Add cortex-r8.
2220 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2222 * config/tc-arc.c: Add const qualifiers.
2223 * config/tc-h8300.c (md_begin): Likewise.
2224 * config/tc-ia64.c (print_prmask): Likewise.
2225 * config/tc-msp430.c (msp430_operands): Likewise.
2226 * config/tc-nds32.c (struct suffix_name): Likewise.
2227 (struct nds32_parse_option_table): Likewise.
2228 (struct nds32_set_option_table): Likewise.
2229 (do_pseudo_pushpopm): Likewise.
2230 (do_pseudo_pushpop_stack): Likewise.
2231 (nds32_relax_relocs): Likewise.
2232 (nds32_flag): Likewise.
2233 (struct nds32_hint_map): Likewise.
2234 (nds32_find_reloc_table): Likewise.
2235 (nds32_match_hint_insn): Likewise.
2236 * config/tc-s390.c: Likewise.
2237 * config/tc-sh.c (get_specific): Likewise.
2238 * config/tc-tic30.c: Likewise.
2239 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2240 (tic4x_indirect_parse): Likewise.
2241 * config/tc-vax.c (vax_cons): Likewise.
2242 * config/tc-z80.c (struct reg_entry): Likewise.
2243 * config/tc-epiphany.c (md_assemble): Adjust.
2244 (epiphany_assemble): New function.
2245 (epiphany_elf_section_rtn): Call do_align directly.
2246 (epiphany_elf_section_text): Likewise.
2247 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2248 (ip2k_elf_section_text): Likewise.
2249 * read.c (do_align): Make it not static.
2250 * read.h (do_align): New prototype.
2252 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2254 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2255 for ARMv8.1 AdvSIMD use.
2256 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2257 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2259 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2261 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2263 (record_feature_use): New.
2264 (mark_feature_used): Use record_feature_use.
2265 (do_neon_qrdmlah): New.
2266 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2268 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2269 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2270 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2271 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2272 Make source file explicit.
2273 * testsuite/gas/arm/armv8-a+rdma.l: New.
2274 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2275 directives. Fix white-space.
2276 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2278 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2280 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2282 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2283 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2285 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2286 (tc_arc_fix_adjustable): Changed default return value to 1.
2287 * testsuite/gas/arc/j.d: Updated expected symbol
2288 * testsuite/gas/arc/jl.d: Likewise
2289 * testsuite/gas/arc/relax-avoid1.d: Likewise
2290 * testsuite/gas/arc/st.d: Likewise
2292 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2294 * config/tc-arc.c: Enable code density instructions for ARC EM.
2296 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2299 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2301 * as.c (flag_use_elf_stt_common): New.
2302 (show_usage): Add --elf-stt-common=.
2303 (option_values): Add OPTION_ELF_STT_COMMON.
2304 (std_longopts): Add --elf-stt-common=.
2305 (parse_args): Handle --elf-stt-common=.
2306 * as.h (flag_use_elf_stt_common): New.
2307 * config.in: Regenerated.
2308 * configure: Likewise.
2309 * configure.ac: Add --enable-elf-stt-common and define
2310 DEFAULT_GENERATE_ELF_STT_COMMON.
2311 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2312 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2313 * doc/as.texinfo: Document --elf-stt-common=.
2314 * testsuite/gas/elf/common3.s: New file.
2315 * testsuite/gas/elf/common3a.d: Likewise.
2316 * testsuite/gas/elf/common3b.d: Likewise.
2317 * testsuite/gas/elf/common4.s: Likewise.
2318 * testsuite/gas/elf/common4a.d: Likewise.
2319 * testsuite/gas/elf/common4b.d: Likewise.
2320 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2321 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2322 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2324 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2325 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2326 --elf-stt-common=no to as.
2327 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2328 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2329 --elf-stt-common=no to as.
2330 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2331 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2332 of dw2-compress-3 and dw2-compressed-3.
2334 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2336 * as.c (select_emulation_mode): Add const qualifiers.
2338 * config/bfin-defs.h: Likewise.
2339 * config/bfin-parse.y: Likewise.
2340 * config/rx-parse.y: Likewise.
2341 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2342 (struct aarch64_cpu_option_table): Likewise.
2343 (struct aarch64_arch_option_table): Likewise.
2344 (struct aarch64_option_cpu_value_table): Likewise.
2345 (struct aarch64_long_option_table): Likewise.
2346 (struct aarch64_option_abi_value_table): Likewise.
2347 * config/tc-arm.c (struct reloc_entry): Likewise.
2348 (tc_gen_reloc): Likewise.
2349 (struct arm_option_table): Likewise.
2350 (struct arm_legacy_option_table): Likewise.
2351 (struct arm_cpu_option_table): Likewise.
2352 (struct arm_arch_option_table): Likewise.
2353 (struct arm_option_extension_value_table): Likewise.
2354 (struct arm_option_fpu_value_table): Likewise.
2355 (struct arm_option_value_table): Likewise.
2356 (struct arm_long_option_table): Likewise.
2357 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2358 (struct mcu_type_s): Likewise.
2359 (struct exp_mod_s): Likewise.
2360 (avr_operand): Likewise.
2361 (avr_operands): Likewise.
2362 * config/tc-d10v.c (md_begin): Likewise.
2363 * config/tc-dlx.c: Likewise.
2364 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2365 * config/tc-ft32.c (parse_condition): Likewise.
2366 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2367 * config/tc-hppa.c (pa_ip): Likewise.
2368 (hppa_regname_to_dw2regnum): Likewise.
2369 * config/tc-i370.c (i370_elf_suffix): Likewise.
2370 * config/tc-i960.c (struct tabentry): Likewise.
2371 * config/tc-m32r.c: Likewise.
2372 * config/tc-m68k.c: Likewise.
2373 * config/tc-m68k.h: Likewise.
2374 * config/tc-mcore.c (parse_psrmod): Likewise.
2375 * config/tc-metag.c (struct metag_core_option): Likewise.
2376 (struct metag_long_option): Likewise.
2377 * config/tc-microblaze.c: Likewise.
2378 * config/tc-mips.c (macro): Likewise.
2379 * config/tc-mn10200.c: Likewise.
2380 * config/tc-mn10300.c: Likewise.
2381 * config/tc-msp430.c (struct rcodes_s): Likewise.
2382 (struct hcodes_s): Likewise.
2383 (md_parse_option): Likewise.
2384 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2385 (optlist): Likewise.
2386 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2387 (tc_ppc_regname_to_dw2regnum): Likewise.
2388 * config/tc-ppc.h: Likewise.
2389 * config/tc-rl78.c: Likewise.
2390 * config/tc-rx.c (struct cpu_type): Likewise.
2391 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2392 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2393 (sparc_ip): Likewise.
2394 * config/tc-spu.c (insn_fmt_string): Likewise.
2395 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2396 * config/tc-v850.c: Likewise.
2397 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2398 (struct visium_long_option_table): Likewise.
2399 * config/tc-xgate.c: Likewise.
2400 * config/tc-z8k.c: Likewise.
2401 * read.c (add_include_dir): Likewise.
2404 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2406 * testsuite/gas/all/gas.exp: Change target pattern to cover
2408 * testsuite/gas/all/redef3.d: Likewise.
2409 * testsuite/gas/elf/elf.exp: Likewise.
2411 2016-02-24 Renlin Li <renlin.li@arm.com>
2413 * config/tc-arm.c (BAD_FP16): New error message macro.
2414 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2415 fp16 scalar instructions.
2416 (neon_check_type): Allow different size from key.
2417 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2418 (try_vfp_nsyn): Likewise.
2419 (do_vfp_nsyn_mla_mls): Likewise.
2420 (do_vfp_nsyn_fma_fms): Likewise.
2421 (do_vfp_nsyn_ldm_stm): Likewise
2422 (do_vfp_nsyn_sqrt): Likewise
2423 (do_vfp_nsyn_div): Likewise
2424 (do_vfp_nsyn_nmul): Likewise.
2425 (do_vfp_nsyn_cmp): Likewise.
2426 (do_neon_shll): Likewise.
2427 (do_vfp_nsyn_cvt_fpv8): Likewise.
2428 (do_neon_cvttb_2): Likewise.
2429 (do_neon_mov): Likewise.
2430 (do_neon_rshift_round_imm): Likewise.
2431 (do_neon_ldr_str): Likewise.
2432 (do_vfp_nsyn_fpv8): Likewise.
2433 (do_vmaxnm): Likewise.
2434 (do_vrint_1): Likewise.
2435 (insns): New entry for vins, vmovx.
2436 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2437 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2438 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2439 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2440 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2441 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2442 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2444 2016-02-24 Renlin Li <renlin.li@arm.com>
2446 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2447 (neon_shape_class): New SC_HALF.
2448 (neon_shape_el): New SE_H.
2449 (neon_shape_el_size): New size for SE_H.
2450 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2451 (neon_select_shape): Add SE_H support code.
2452 (el_type_of_type_chk): Use N_F_ALL.
2453 (do_vfp_nsyn_cvt): Add SE_H shape support.
2454 (do_neon_cvtz): Likewise.
2455 (do_neon_cvt_1): Likewise.
2456 (do_neon_cvttb_1): Likewise.
2458 2016-02-24 Renlin Li <renlin.li@arm.com>
2460 * testsuite/gas/arm/copro.d: Adjust output.
2461 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2463 2016-02-24 Renlin Li <renlin.li@arm.com>
2465 * testsuite/gas/arm/mask_1.d: New.
2466 * testsuite/gas/arm/mask_1.s: New.
2468 2016-02-24 Renlin Li <renlin.li@arm.com>
2470 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2471 * testsuite/gas/arm/copro.d: Update.
2473 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2475 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2476 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2478 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2480 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2482 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2484 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2487 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2489 * output-file.c (output_file_create): Make file name argument const.
2490 (output_file_close): Likewise.
2491 * output-file.h (output_file_create): Adjust.
2492 (output_file_close): Likewise.
2493 * depend.c (quote_string_for_make): Make src argument const char *.
2494 (register_dependency): Likewise.
2495 (wrap_output): Likewise.
2496 * as.h (register_dependency): Adjust.
2497 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2499 * symbols.c (S_SET_EXTERNAL): Likewise.
2500 * input-scrub.c (as_where): Return the file name.
2501 * as.h (as_where): Adjust prototype.
2502 * app.c (do_scrub_chars): Adjust.
2503 * cond.c (s_elseif): Likewise.
2505 (initialize_cframe): Likewise.
2506 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2507 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2508 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2509 * config/tc-aarch64.c (output_info): Likewise.
2510 * config/tc-ia64.c (md_assemble): Likewise.
2511 (dot_alias): Likewise.
2512 * config/tc-m68k.c (m68k_frob_label): Likewise.
2513 * config/tc-mmix.c (s_bspec): Likewise.
2514 (mmix_handle_mmixal): Likewise.
2515 * config/tc-rx.c (rx_include): Likewise.
2516 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2517 (tic54x_adjust_symtab): Likewise.
2518 * config/tc-xtensa.c (directive_push): Likewise.
2519 (xtensa_sanity_check): Likewise.
2520 (xtensa_relax_frag): Likewise.
2521 (md_convert_frag): Likewise.
2522 (tinsn_to_slotbuf): Likewise.
2523 * dwarf2dbg.c (dwarf2_where): Likewise.
2524 * ecoff.c (add_file): Likewise.
2525 (ecoff_generate_asm_lineno): Likewise.
2526 * expr.c (make_expr_symbol): Likewise.
2527 * frags.c (frag_new): Likewise.
2528 (frag_var_init): Likewise.
2529 * listing.c (listing_newline): Likewise.
2530 * messages.c (identify): Likewise.
2531 (as_show_where): Likewise.
2532 (as_warn_internal): Likewise.
2533 (as_bad_internal): Likewise.
2534 * read.c (s_irp): Likewise.
2535 (s_macro): Likewise.
2536 (s_reloc): Likewise.
2537 * stabs.c (stabs_generate_asm_file): Likewise.
2538 (stabs_generate_asm_lineno): Likewise.
2539 (stabs_generate_asm_func): Likewise.
2540 * write.c (fix_new_internal): Likewise.
2541 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2542 (as_warn_value_out_of_range): Adjust prototype.
2543 (as_bad_value_out_of_range): Adjust prototype.
2544 * messages.c (identify): Make file name argument const char *.
2545 (as_warn_internal): Likewise.
2546 (as_warn_where): Likewise.
2547 (as_bad_internal): Likewise.
2548 (as_bad_where): Likewise.
2549 (as_internal_value_out_of_range): Likewise.
2550 (as_warn_value_out_of_range): Likewise.
2551 (as_bad_value_out_of_range): Likewise.
2552 * as.h (found_comment_file): Change type to const char *.
2553 * cond.c (file_line::file): Likewise.
2554 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2555 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2556 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2557 * config/tc-aarch64.c (output_info): Likewise.
2558 * config/tc-alpha.c (insert_operand): Likewise.
2559 * config/tc-arc.c (insert_operand): Likewise.
2560 * config/tc-d30v.c (check_size): Likewise.
2561 * config/tc-ia64.c (struct alias): Likewise.
2562 * config/tc-m68k.c (struct label_line): Likewise.
2563 * config/tc-mcore.c (md_apply_fix): Likewise.
2564 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2565 * config/tc-mips.c (mips16_immed): Likewise.
2566 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2567 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2568 * config/tc-rx.c (rx_include): Likewise.
2569 * config/tc-s390.c (s390_insert_operand): Likewise.
2570 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2571 (tic54x_adjust_symtab): Likewise.
2572 * config/tc-tilegx.c (insert_operand): Likewise.
2573 (apply_special_operator): Likewise.
2574 * config/tc-tilepro.c (insert_operand): Likewise.
2575 * config/tc-xtensa.c (directive_push): Likewise.
2576 * ecoff.c (add_file): Likewise.
2577 (ecoff_generate_asm_lineno): Likewise.
2578 * listing.c (listing_newline): Likewise.
2579 * read.c (s_irp): Likewise.
2580 * write.c (install_reloc): Likewise.
2581 * write.h (struct fix): Likewise.
2582 * input-file.c (file_name): Change type to const char *.
2583 (saved_file::file_name): Likewise.
2584 (input_file_open): Change type of argument to const char *.
2585 * input-file.h (input_file_open): Adjust.
2586 * input-scrub.c (logical_input_file): change type to const char *.
2587 (physical_input_file): Likewise.
2588 (struct input_save): Adjust.
2589 (input_scrub_push): Adjust.
2590 (input_scrub_begin): Adjust.
2592 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2593 (input_scrub_include_file): Likewise.
2594 (new_logical_line_flags): Likewise.
2595 (new_logical_line): Likewise.
2597 * frags.h (struct frag): Change type of fr_file to const char *.
2598 * expr.c (expr_symbol_where): Change type of file argument to
2600 * expr.h (expr_symbol_where): Likewise.
2601 * config/tc-i370.c (md_apply_fix): adjust.
2602 * config/tc-mmix.c (mmix_md_end): Likewise.
2603 * config/tc-ppc.c (md_apply_fix): Likewise.
2604 * config/tc-s390.c (md_apply_fix): Likewise.
2605 * symbols.c (report_op_error): Likewise.
2606 (resolve_symbol_value): Likewise.
2607 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2608 (rsrc::file): Likewise.
2609 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2611 (xtensa_relax_frag): Likewise.
2612 (md_convert_frag): Likewise.
2613 (tinsn_to_slotbuf): Likewise.
2614 * expr.c (expr_symbol_line): Likewise.
2615 * macro.c (define_macro): Likewise.
2616 * macro.h (macro_struct): Likewise.
2617 * messages.c (as_show_where): Likewise.
2618 * read.c (s_macro): Likewise.
2619 * stabs.c (stabs_generate_asm_file): Likewise.
2620 (generate_asm_file): Likewise.
2621 (stabs_generate_asm_lineno): Likewise.
2622 * write.h (struct reloc_list): Likewise.
2623 * input-scrub.c (as_where): Change return type to const char *.
2624 * as.h (as_wheree): Adjust.
2626 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2628 * write.c (compress_debug): Move BFD compression bits setting
2630 (write_object_file): Here.
2632 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2634 * config/tc-i386.c (register_number): Check RegVRex.
2635 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2636 with %zmm19 and %zmm3.
2637 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2638 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2640 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2641 Jiong Wang <jiong.wang@arm.com>
2643 * config/tc-arm.c (arm_ext_fp16): New.
2644 (arm_extensions): New entry for "fp16".
2646 2016-02-19 Nick Clifton <nickc@redhat.com>
2649 * read.c (read_a_source_file): Check for assemble_one returning
2650 with input_line_pointer set to NULL.
2652 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2654 * listing.c (rebuffer_line): Change return type to void.
2656 * symbols.c (decode_local_label_name): Make type a const char *.
2657 * listing.c (print_source): Make type of p const char *.
2658 (print_line): Make type of string const char *.
2659 (buffer_line): Return const char *.
2660 (title): Make type const char *.
2661 (subtitle): Likewise.
2662 (listing_listing): Make type of p const char *.
2663 * messages.c (as_internal_value_out_of_range): Make type of prefix
2665 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2666 and string const char *.
2667 * read.c (_bfd_rel): Make type of name const char *.
2668 * app.c (out_string): Change type to const char *.
2669 (struct app_save::out_string): Likewise.
2671 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2672 Nick Clifton <nickc@redhat.com>
2674 * read.c (finish_bundle): Avoid recording a negative alignment.
2675 (do_align): Use unsigned values for n, len and max. Only create
2676 a frag if the alignment requirement is greater than the minimum
2677 byte alignment. Avoid recording a negative alignment.
2678 (s_align): Use unsigned values where appropriate.
2679 (bss_alloc): Use an unsigned value for the alignment.
2680 (sizeof_sleb128): Add a comment noting that we encode one octet
2681 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2682 (emit_leb129_expr): Abort if the emitted encoding was longer than
2684 * read.h (output_leb128): Update prototype.
2685 (sizeof_leb128): Update prototype.
2686 (bss_alloc): Update prototype.
2687 * write.c (record_alignment): Use an unsigned value for the
2688 alignment. Do not record alignments less than the minimum
2689 alignment for a byte.
2690 * write.h (record_alignment): Update prototype.
2692 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2694 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2695 .init.literal/.fini.literal section name.
2696 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2697 list of xtensa tests.
2698 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2699 init-fini-literals test result patterns.
2700 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2701 init-fini-literals test.
2703 2016-02-17 Nick Clifton <nickc@redhat.com>
2705 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2706 devices.csv file as of March 2016.
2708 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2710 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2712 (tc_arc_regname_to_dw2regnum): Likewise.
2713 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2714 (tc_cfi_frame_initial_instructions): Likewise.
2715 (tc_regname_to_dw2regnum): Likewise.
2716 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2717 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2718 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2720 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2722 * doc/internals.texi (S_IS_EXTERN): Remove.
2724 2016-02-16 Nick Clifton <nickc@redhat.com>
2726 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2729 2016-02-16 Renlin Li <renlin.li@arm.com>
2732 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2733 * testsuite/gas/aarch64/movw_label.d: New.
2734 * testsuite/gas/aarch64/movw_label.s: New.
2736 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2739 * config/rx-parse.y (MOV): Opcode generation for index
2740 register addressing mode.
2741 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2742 * testsuite/gas/rx/pr19665.s: New file.
2743 * testsuite/gas/rx/pr19665.s: New file.
2744 * testsuite/gas/rx/mov.d: Update expected output.
2746 2016-02-15 Nick Clifton <nickc@redhat.com>
2748 * doc/as.texinfo (.section): Document that numeric values can now
2749 be used for the flags and type fields of the ELF target's .section
2750 directive. Add notes about the restrictions on setting flags and
2752 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2753 to be given processor specific section types. Allow processor and
2754 application specific flags of a section to be set after
2756 (obj_elf_parse_section_letters): Handle parsing numeric values.
2757 (obj_elf_section_type): Handle parsing numeric values.
2758 (obj_elf_section): Allow numeric type values.
2759 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2760 * testsuite/gas/elf/section10.d: New test.
2761 * testsuite/gas/elf/section10.s: Source file for new test.
2762 * testsuite/gas/elf/elf.exp: Run the new test.
2763 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2764 the description of the flags produced by readelf.
2765 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2766 * NEWS: Mention the new feature.
2768 2016-02-11 Nick Clifton <nickc@redhat.com>
2771 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2772 until it is actually used.
2773 (cfi_set_sections): Set cfi_sections_set to true.
2774 (dot_cfi_startproc): Likewise.
2775 (dot_cfi_endproc): Likewise.
2776 (dot_cfi_fde_data): Likewise.
2777 (cfi_finish): Likewise.
2778 (dot_cfi_sections): Do not set cfi_sections_set.
2779 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2780 their own cfi section name. Also note that the directive can be
2781 reissued provided that CFI generation has not started.
2782 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2783 .cfi_endproc directives so that the redefinition of .cfi_sections
2784 will trigger the generation of the error message.
2785 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2786 number of error message.
2788 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2789 Janek van Oirschot <jvanoirs@synopsys.com>
2791 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2792 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2794 (arc_flags, arc_relax_type): New structure.
2795 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2796 (RELAX_TABLE_ENTRY_MAX): New define.
2797 (relaxation_state, md_relax_table, arc_relaxable_insns)
2798 (arc_num_relaxable_ins): New variable.
2799 (rlx_operand_type, arc_rlx_types): New enums.
2800 (arc_relaxable_ins): New structure.
2801 (OPTION_RELAX): New option.
2802 (arc_insn): New relax member.
2803 (arc_flags): Remove.
2804 (relax_insn_p): New function.
2805 (apply_fixups): Likewise.
2806 (relaxable_operand): Likewise.
2807 (may_relax_expr): Likewise.
2808 (relaxable_flag): Likewise.
2809 (arc_pcrel_adjust): Likewise.
2810 (md_estimate_size_before_relax): Implement.
2811 (md_convert_frag): Likewise.
2812 (md_parse_option): Handle new mrelax option.
2813 (md_show_usage): Likewise.
2814 (assemble_insn): Set relax member.
2815 (emit_insn0): New function.
2816 (emit_insn1): Likewise.
2817 (emit_insn): Handle relaxation case.
2818 * NEWS: Mention the new relaxation option.
2819 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2820 * doc/as.texinfo (Target ARC Options): Likewise.
2821 * testsuite/gas/arc/relax-avoid1.d: New file.
2822 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2823 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2824 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2825 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2826 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2827 * testsuite/gas/arc/relax-b.d: Likewise.
2828 * testsuite/gas/arc/relax-b.s: Likewise.
2830 2016-02-08 Nick Clifton <nickc@redhat.com>
2832 * config/tc-ia64.c (dot_prologue): Fix formatting.
2834 2016-02-04 Nick Clifton <nickc@redhat.com>
2836 * config/obj-elf.c (obj_elf_change_section): Remove support for
2837 ARM NOREAD sections.
2838 * config/tc-arm.c (arm_elf_section_letter): Delete.
2839 * config/tc-arm.h (md_elf_section_letter): Delete.
2840 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2841 * testsuite/gas/arm/section-execute-only.d: Delete.
2842 * testsuite/gas/arm/section-execute-only.s: Delete.
2844 2016-02-04 Nick Clifton <nickc@redhat.com>
2847 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2848 to handle encoding of RRUX instruction.
2849 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2851 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2853 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2855 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2856 substitutions for BFD_RELOC_* as unsigned.
2857 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2858 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2859 * testsuite/gas/xtensa/loc.s: New file: loc test.
2861 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2863 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2865 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2868 * NEWS: Mention new command line option -mrelax-relocations and
2869 new configure option --enable-x86-relax-relocations for x86
2871 * config.in: Regenerated.
2872 * configure.ac: Add --enable-x86-relax-relocations.
2873 (ac_default_x86_relax_relocations): New. Default to 1 except
2874 for x86 Solaris targets older than Solaris 12.
2875 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
2876 * configure: Likewise.
2877 * config/tc-i386.c (generate_relax_relocations): New.
2878 (OPTION_MRELAX_RELOCATIONS): Likewise.
2879 (output_disp): Don't generate relax relocations if
2880 generate_relax_relocations is 0.
2881 (md_longopts): Add -mrelax-relocations.
2882 (md_show_usage): Likewise.
2883 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
2884 * doc/c-i386.texi: Document -mrelax-relocations=.
2885 * testsuite/gas/i386/got-no-relax.d: New file.
2886 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
2887 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
2888 * testsuite/gas/i386/localpic.d: Likewise.
2889 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
2890 * testsuite/gas/i386/reloc32.d: Likewise.
2891 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
2892 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
2893 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
2894 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
2895 * testsuite/gas/i386/i386.exp: Run got-no-relax and
2896 x86-64-gotpcrel-no-relax.
2898 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2900 * NEWS: Mention new command line option -mfence-as-lock-add=yes
2903 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2905 * NEWS: Remove duplicated marker for 2.26.
2907 2016-02-02 Renlin Li <renlin.li@arm.com>
2909 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
2911 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2913 * testsuite/gas/ip2k/allinsn.d: New file.
2914 * testsuite/gas/ip2k/allinsn.s: New file.
2915 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
2917 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2919 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
2920 some load instructions.
2921 * testsuite/gas/epiphany/allinsn.d: Likewise.
2922 * testsuite/gas/epiphany/regression.d: Likewise.
2924 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2926 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
2927 suffixes from instruction mnemonics in expected output.
2928 * testsuite/gas/epiphany/allinsn.d: Likewise.
2929 * testsuite/gas/epiphany/regression.d: Likewise.
2930 * testsuite/gas/epiphany/sample.d: Likewise.
2932 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2934 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
2936 * testsuite/gas/epiphany/allinsn.d: Likewise.
2937 * testsuite/gas/epiphany/sample.d: Likewise.
2939 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
2941 * testsuite/gas/epiphany/sample.d: Update expected output.
2943 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2945 * config/tc-arc.c (md_apply_fix): Allow addendum.
2946 (arc_reloc_op): Allow complex expressions for tpoff.
2947 (md_apply_fix): Handle resolved TLS local symbol.
2948 * testsuite/gas/arc/tls-relocs1.d: New file.
2949 * testsuite/gas/arc/tls-relocs1.s: Likewise.
2951 2016-02-01 Loria <Loria@phantasia.org>
2954 * config/tc-arm.c (encode_arm_immediate): Recode to improve
2955 efficiency and avoid an LLVM loop optimization bug.
2957 2016-02-01 Nick Clifton <nickc@redhat.com>
2959 * config/tc-microblaze.c (parse_imm): Fix compile time warning
2960 message extending a negative 32-bit value into a larger signed
2961 value on a 32-bit host.
2963 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2966 * configure.ac (compressed_debug_sections): Replace == with =.
2967 * configure: Regenerated.
2969 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
2970 H.J. Lu <hongjiu.lu@intel.com>
2972 * config/tc-i386.c (avoid_fence): New.
2973 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
2975 (OPTION_FENCE_AS_LOCK_ADD): New.
2976 (md_longopts): Add -mfence-as-lock-add.
2977 (md_parse_option): Handle -mfence-as-lock-add.
2978 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
2979 * doc/c-i386.texi (-mfence-as-lock-add): Document.
2980 * testsuite/gas/i386/i386.exp: Run new tests.
2981 * testsuite/gas/i386/fence-as-lock-add.s: New.
2982 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
2983 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
2984 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
2985 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2987 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2989 * configure.ac (compressed_debug_sections): Remove trailing `]'.
2990 * configure: Regenerated.
2992 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
2994 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
2995 (OPTION_MOMIT_LOCK_PREFIX): This.
2996 (md_longopts): Updated.
2997 (md_parse_option): Likewise.
2999 2016-01-25 Catherine Moore <clm@codesourcery.com>
3001 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3002 if abicalls are in effect.
3003 * testsuite/gas/mips/sdata-gp.s: New test.
3004 * testsuite/gas/mips/sdata-gp.d: New expected output
3005 * testsuite/gas/mips/mips.exp: Run new test.
3007 2016-01-25 Renlin Li <renlin.li@arm.com>
3009 * testsuite/gas/arm/thumb2_it_search.d: New.
3010 * testsuite/gas/arm/thumb2_it_search.s: New.
3012 2016-01-21 Nick Clifton <nickc@redhat.com>
3015 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3016 with arm-netbsdelf target.
3017 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3019 2016-01-20 Nick Clifton <nickc@redhat.com>
3022 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3023 * testsuite/gas/arm/blx-bl-convert.d
3024 * testsuite/gas/arm/plt-1.d: Likewise.
3025 * testsuite/gas/arm/reloc-bad.d: Likewise.
3026 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3027 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3028 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3029 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3032 * doc/as.texinfo (Errors): Correct documentation describing the
3033 interaction of .file and .line with warning and error messages.
3036 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3037 * testsuite/gas/arm/archv8m-main.d: Likewise.
3038 * testsuite/gas/arm/archv8m-base.d: Likewise.
3040 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3042 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3043 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3044 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3046 2016-01-20 Mickael Guene <mickael.guene@st.com>
3047 Terry Guo <terry.guo@arm.com>
3049 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3050 SHF_ARM_NOREAD section flag.
3051 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3053 (arm_elf_section_letter) : Declare it.
3054 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3055 SHF_ARM_NOREAD section flag.
3056 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3058 * testsuite/gas/arm/section-execute-only.s: New test case.
3059 * testsuite/gas/arm/section-execute-only.d: Expected output.
3061 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3063 * config/tc-mips.c (micromips_insn_length): Remove the mention
3064 of 48-bit microMIPS instructions.
3066 2016-01-18 Alan Modra <amodra@gmail.com>
3068 * configure: Regenerate.
3070 2016-01-17 Alan Modra <amodra@gmail.com>
3072 * configure: Regenerate.
3074 2016-01-17 Alan Modra <amodra@gmail.com>
3076 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3078 2016-01-14 Nick Clifton <nickc@redhat.com>
3080 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3081 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3082 * testsuite/gas/rl78/rl78.exp: Run the new test.
3084 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3086 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3087 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3089 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3091 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3093 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3095 * config/tc-h8300.c (get_operand): Remove spurious condition in
3096 test for closing parenthesis.
3098 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3100 * config/tc-arm.c (arm_ext_v8_2): New.
3102 * testsuite/gas/arm/armv8_2-a.d: New.
3103 * testsuite/gas/arm/armv8_2-a.s: New.
3105 2016-01-12 Alan Modra <amodra@gmail.com>
3107 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3109 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3111 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3112 xvcmpnesp, xvcmpnesp.>: Delete tests.
3113 * testsuite/gas/ppc/power9.s: Likewise.
3114 * testsuite/gas/ppc/vsx3.d: Likewise.
3115 * testsuite/gas/ppc/vsx3.s: Likewise.
3117 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3120 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3121 * testsuite/gas/m68k/p13050-1.s: New file.
3122 * testsuite/gas/m68k/p13050-2.d: New file.
3123 * testsuite/gas/m68k/p13050-2.s: New file.
3125 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3127 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3128 * testsuite/gas/arc/add.d: Likewise.
3129 * testsuite/gas/arc/and.d: Likewise.
3130 * testsuite/gas/arc/asl.d: Likewise.
3131 * testsuite/gas/arc/asr.d: Likewise.
3132 * testsuite/gas/arc/bic.d: Likewise.
3133 * testsuite/gas/arc/extb.d: Likewise.
3134 * testsuite/gas/arc/extw.d: Likewise.
3135 * testsuite/gas/arc/j.d: Likewise.
3136 * testsuite/gas/arc/jl.d: Likewise.
3137 * testsuite/gas/arc/ld2.d: Likewise.
3138 * testsuite/gas/arc/lsr.d: Likewise.
3139 * testsuite/gas/arc/mov.d: Likewise.
3140 * testsuite/gas/arc/or.d: Likewise.
3141 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3142 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3143 * testsuite/gas/arc/pic-relocs.d: Likewise.
3144 * testsuite/gas/arc/plt-relocs.d: Likewise.
3145 * testsuite/gas/arc/rlc.d: Likewise.
3146 * testsuite/gas/arc/ror.d: Likewise.
3147 * testsuite/gas/arc/rrc.d: Likewise.
3148 * testsuite/gas/arc/sbc.d: Likewise.
3149 * testsuite/gas/arc/sda-relocs.d: Likewise.
3150 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3151 * testsuite/gas/arc/sexb.d: Likewise.
3152 * testsuite/gas/arc/sexw.d: Likewise.
3153 * testsuite/gas/arc/st.d: Likewise.
3154 * testsuite/gas/arc/sub.d: Likewise.
3155 * testsuite/gas/arc/tls-relocs.d: Likewise.
3156 * testsuite/gas/arc/xor.d: Likewise.
3158 2016-01-01 Alan Modra <amodra@gmail.com>
3160 Update year range in copyright notice of all files.
3162 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3164 Copyright (C) 2016 Free Software Foundation, Inc.
3166 Copying and distribution of this file, with or without modification,
3167 are permitted in any medium without royalty provided the copyright
3168 notice and this notice are preserved.
3174 version-control: never