1 2016-06-23 Graham Markall <graham.markall@embecosm.com>
3 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
4 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
5 options. Correct erroneous enabling of SPFP instructions when
8 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
10 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
11 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
12 setbool, xor3>: New tests.
13 * testsuite/gas/ppc/power9.s: Likewise.
15 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
17 * config/tc-xtensa.c: Include elf/xtensa.h.
19 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
21 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
22 <BFD_RELOC_LO16_PCREL>: New switch cases.
23 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
24 Move switch cases along `BFD_RELOC_MIPS_JMP'.
25 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
26 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
28 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
29 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
30 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
31 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
32 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
33 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
34 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
35 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
36 * testsuite/gas/mips/mips.exp: Run the new tests.
38 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
40 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
41 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
44 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
46 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
47 Calculate relocation from the containing aligned doubleword.
48 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
49 addend from the containing aligned doubleword.
51 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
53 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
54 rather than `mips_opts' for the R6 ISA check.
55 (mips_fix_adjustable): Likewise.
56 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
57 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
58 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
59 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
60 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
61 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
62 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
63 * testsuite/gas/mips/mips.exp: Run the new tests.
65 2016-06-21 Graham Markall <graham.markall@embecosm.com>
67 * config/tc-arc.c (check_cpu_feature, md_parse_option):
68 Add nps400 option and feature. Add check for nps400
69 feature. Refactor existing checks to check subclass before
71 (md_show_usage): Document flags for NPS-400 and add some other
73 (cpu_type): Remove nps400 CPU type entry
74 (check_zol): Remove bfd_mach_arc_nps400 case.
75 (md_show_usage): Add help on -mcpu=nps400.
76 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
78 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
79 -fpuda flags. Document -mcpu=nps400.
80 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
81 expected flags to match ARC700 instead of NPS400.
82 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
83 * testsuite/gas/arc/nps-400-2.d: Likewise.
84 * testsuite/gas/arc/nps-400-3.d: Likewise.
85 * testsuite/gas/arc/nps-400-4.d: Likewise.
86 * testsuite/gas/arc/nps-400-5.d: Likewise.
87 * testsuite/gas/arc/nps-400-6.d: Likewise.
88 * testsuite/gas/arc/nps-400-7.d: Likewise.
89 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
90 avoid clash with cbba instruction.
91 * testsuite/gas/arc/textinsn2op01.d: Likewise.
92 * testsuite/gas/arc/textinsn3op.d: Likewise.
93 * testsuite/gas/arc/textinsn3op.s: Likewise.
94 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
95 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
97 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
99 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
100 * testsuite/gas/mips/r6-64-n64.d: Likewise.
102 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
104 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
107 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
109 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
111 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
113 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
114 %hmcddfr and %hva_mask_nz.
115 (sparc_ip): New handling of asr/privileged/hyperprivileged
116 registers, adapted to the new form of the sparc opcodes table.
117 * testsuite/gas/sparc/rdasr.s: New file.
118 * testsuite/gas/sparc/rdasr.d: Likewise.
119 * testsuite/gas/sparc/wrasr.s: Likewise.
120 * testsuite/gas/sparc/wrasr.d: Likewise.
121 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
123 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
124 registers require it.
125 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
126 registers and write instruction modalities.
127 * testsuite/gas/sparc/wrpr.d: Likewise.
128 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
130 * testsuite/gas/sparc/rdhpr.d: Likewise.
131 * testsuite/gas/sparc/wrhpr.s: Likewise.
132 * testsuite/gas/sparc/wrhpr.d: Likewise.
134 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
136 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
137 architectures to use the right opcode architecture.
138 (sparc_md_end): Handle v9{c,d,e,v,m}.
139 (sparc_ip): Fix some comments.
140 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
141 instruction, which is v9d.
142 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
143 instruction from the test, as %mwait is not readable.
144 * testsuite/gas/sparc/mwait.d: Likewise.
145 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
146 mismatch architecture errors.
147 * testsuite/gas/sparc/mism-2.s: New file.
149 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
151 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
152 empty string to mark the end of the array.
153 (hpriv_reg_table): Likewise.
154 (v9a_asr_table): Likewise.
155 (cmp_reg_entry): Handle entries with NULL names.
157 (F_POP_PCREL): Likewise.
158 (F_POP_TLS_CALL): Likewise.
159 (F_POP_POSTFIX): Likewise.
160 (struct pop_entry): New type.
161 (pop_table): New variable.
162 (enum pop_entry_type): New type.
163 (struct perc_entry): Likewise.
164 (NUM_PERC_ENTRIES): Define.
165 (perc_table): New variable.
166 (cmp_perc_entry): New function.
167 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
169 (sparc_ip): Handle entries with NULL names in priv_reg_table,
170 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
173 2016-06-15 Nick Clifton <nickc@redhat.com>
175 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
177 * config/tc-mcore.c (md_assemble): Likewise.
178 * config/tc-mn10200.c (md_assemble): Likewise.
179 * config/tc-moxie.c (md_assemble): Likewise.
180 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
181 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
182 exception targets. Add alpha, hppa, microblaze and rl78 to list
184 (forward): Add microblaze to list of exceptions.
185 (fwdexp): Add alpha to list of exceptions.
186 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
187 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
188 (do_930509a): Alpha sort list of exception targets. Add h8300 and
189 mn10200 to list of exceptions.
190 (align2): Expect to fail for nds32.
191 (cond): Add alpha and rl78 to list of exceptions.
192 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
193 * testsuite/gas/all/string.d: Skip for tic4x.
194 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
195 target does not support ELF.
196 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
197 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
198 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
199 tests for sh-pe and sh-rtemscoff targets.
200 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
202 (type): Run the noifunc version for alpha-freebsd and visium.
203 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
204 mn10200 or moxie targets.
205 * testsuite/gas/ft32/insn.d: Update expected disassembly.
206 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
208 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
209 mcore and rx targets.
210 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
212 (purge): Expect to fail on the ns32k and vax.
213 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
214 * testsuite/gas/nds32/ls.d: Likewise.
215 * testsuite/gas/nds32/sys-reg.d: Likewise.
216 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
217 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
218 * testsuite/gas/pe/section-align-3.d: Likewise.
219 * testsuite/gas/pe/section-exclude.d: Likewise.
220 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
222 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
223 for variations in whitespace.
224 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
226 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
227 Installs a 32-bit value without generating warnings on 64-bit
229 Use the new macro to replace the .word directives.
231 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
233 * testsuite/gas/arc/add_s.d: New file.
234 * testsuite/gas/arc/add_s.s: New file.
236 2016-06-14 Graham Markall <graham.markall@embecosm.com>
238 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
239 * testsuite/gas/arc/nps400-6.d: Likewise.
241 2016-06-14 Graham Markall <graham.markall@embecosm.com>
243 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
245 * testsuite/gas/arc/nps400-6.d: Likewise.
247 2016-06-14 Graham Markall <graham.markall@embecosm.com>
249 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
250 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
251 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
252 * testsuite/gas/arc/nps400-6.d: Likewise.
254 2016-06-14 Nick Clifton <nickc@redhat.com>
256 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
259 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
261 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
262 JALR relocations on R6.
263 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
264 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
265 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
266 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
267 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
268 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
270 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
271 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
273 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
274 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
276 * testsuite/gas/mips/mips.exp: Run the new tests.
278 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
280 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
281 * doc/c-aarch64.texi: Document that vulcan is a valid processor
284 2016-06-13 Nick Clifton <nickc@redhat.com>
286 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
287 that are not supported.
289 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
291 * config/tc-cr16.c (check_range): Likewise.
292 * config/tc-nios2.c (nios2_check_overflow): Likewise.
294 2016-06-08 Renlin Li <renlin.li@arm.com>
296 * config/tc-aarch64.c (print_operands): Substitute size.
297 (output_operand_error_record): Likewise.
299 2016-06-07 Alan Modra <amodra@gmail.com>
301 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
302 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
303 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
304 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
305 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
306 add vle_opcodes twice.
307 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
309 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
311 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
312 (arm_ext_ras): Renamed from arm_ext_v8_2.
313 (insns): Update for arm_ext_v8_2 renaming.
314 (arm_extensions): Add "ras".
315 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
316 * testsuite/gas/arm/armv8-a+ras.d: New.
317 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
320 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
322 * itbl-parse.y (yyerror): Use modern argument declaration style.
324 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
326 * config/tc-sh.c (parse_reg): Change type of mode argument to
328 (get_operand): Adjust.
329 (insert): Change type of how to bfd_reloc_code_real_type.
331 * config/tc-sh64.c (shmedia_get_operand): Adjust.
332 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
334 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
336 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
339 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
342 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
343 stbcx., sthcx., stwcx., stdcx.>: Add tests.
344 * gas/testsuite/gas/ppc/e6500.d: Likewise.
345 * gas/testsuite/gas/ppc/power8.s: Likewise.
346 * gas/testsuite/gas/ppc/power8.d: Likewise.
347 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
349 * gas/testsuite/gas/ppc/power4.d: Likewise.
351 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
354 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
355 * testsuite/gas/i386/x86-64-branch.d: Updated.
356 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
357 * testsuite/gas/i386/x86-64-branch-4.l: New file.
358 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
360 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
362 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
363 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
365 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
367 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
368 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
370 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
372 * configure.tgt: Replace -uclibc with *.
374 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
376 * config/tc-arc.c (parse_opcode_flags): New function.
377 (find_opcode_match): Move flag parsing code out to new function.
378 Ignore operands marked IGNORE.
379 (build_fake_opcode_hash_entry): New function.
380 (find_special_case_long_opcode): New function.
381 (find_special_case): Lookup long opcodes.
382 * testsuite/gas/arc/nps400-7.d: New file.
383 * testsuite/gas/arc/nps400-7.s: New file.
385 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
387 * config/tc-ns32k.c: Remove definition of input_line_pointer.
389 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
391 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
392 sentinal with iteration to array size.
394 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
396 * config/xtensa-relax.h: Move typedefs of enums to the enums
399 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
401 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
404 2016-06-01 Graham Markall <graham.markall@embecosm.com>
406 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
407 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
408 * testsuite/gas/arc/nps-400-1.d: Likewise.
410 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
413 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
414 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
415 noavx512ifma and noavx512vbmi.
416 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
417 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
419 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
420 * testsuite/gas/i386/noavx512-1.l: New file.
421 * testsuite/gas/i386/noavx512-1.s: Likewise.
422 * testsuite/gas/i386/noavx512-2.l: Likewise.
423 * testsuite/gas/i386/noavx512-2.s: Likewise.
425 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
428 * config/tc-i386.c (cpu_arch): Add 687.
429 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
430 nosse4.1, nosse4.2, nosse4 and noavx2.
431 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
432 register. Check cpuregxmm instead of cpusse for XMM register.
433 Check cpuregymm instead of cpuavx for YMM register. Check
434 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
435 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
436 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
437 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
438 * testsuite/gas/i386/arch-10.d (as): Likewise.
439 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
440 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
441 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
443 * testsuite/gas/i386/no87-3.l: New file.
444 * testsuite/gas/i386/no87-3.s: Likewise.
445 * testsuite/gas/i386/noavx-3.l: Likewise.
446 * testsuite/gas/i386/noavx-3.s: Likewise.
447 * testsuite/gas/i386/noavx-4.d: Likewise.
448 * testsuite/gas/i386/noavx-4.s: Likewise.
449 * testsuite/gas/i386/nosse-4.l: Likewise.
450 * testsuite/gas/i386/nosse-4.s: Likewise.
451 * testsuite/gas/i386/nosse-5.d: Likewise.
452 * testsuite/gas/i386/nosse-5.s: Likewise.
454 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
457 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
459 (match_template): Check Intel64/AMD64 ISA.
461 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
464 * config/tc-i386.c (intel64): New.
465 (cpu_flags_match): Set cpuamd64 and cpuintel64.
466 (md_parse_option): Set intel64 instead of cpuamd64 and
469 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
471 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
474 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
476 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
477 * testsuite/gas/ppc/altivec3.s: Likewise.
478 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
479 * testsuite/gas/ppc/power9.s: Likewise.
481 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
483 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
484 * testsuite/gas/i386/noavx-1.l: Likewise.
485 * testsuite/gas/i386/nommx-1.l: Likewise.
486 * testsuite/gas/i386/nosse-1.l: Likewise.
487 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
488 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
489 * testsuite/gas/i386/noavx-1.s: Likewise.
490 * testsuite/gas/i386/nommx-1.s: Likewise.
491 * testsuite/gas/i386/nosse-1.s: Likewise.
492 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
494 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
496 * config/tc-metag.c (metag_handle_align): Make the type of noop
499 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
501 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
502 bfd_reloc_code_real_type.
504 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
507 * config/tc-i386.c (cpu_flags_match): Require another match
509 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
510 x86-64-avx512vl-1 and x86-64-avx512vl-2.
511 * testsuite/gas/i386/avx512vl-1.l: New file.
512 * testsuite/gas/i386/avx512vl-1.s: Likewise.
513 * testsuite/gas/i386/avx512vl-2.l: Likewise.
514 * testsuite/gas/i386/avx512vl-2.s: Likewise.
515 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
516 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
517 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
518 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
520 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
523 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
524 * testsuite/gas/i386/x86-64-pr20141.d: New file.
525 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
527 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
529 * config/tc-i386.c (arch_entry): Remove negated.
530 (noarch_entry): New struct.
531 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
533 (set_cpu_arch): Check cpu_noarch after cpu_arch.
534 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
536 (output_message): New function.
537 (show_arch): Use it. Handle cpu_noarch.
538 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
539 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
540 * testsuite/gas/i386/noavx-1.l: New file.
541 * testsuite/gas/i386/noavx-1.s: Likewise.
542 * testsuite/gas/i386/noavx-2.s: Likewise.
543 * testsuite/gas/i386/noavx-2.l: Likewise.
544 * testsuite/gas/i386/nommx-1.s: Likewise.
545 * testsuite/gas/i386/nommx-1.l: Likewise.
546 * testsuite/gas/i386/nommx-2.s: Likewise.
547 * testsuite/gas/i386/nommx-2.l: Likewise.
548 * testsuite/gas/i386/nommx-3.s: Likewise.
549 * testsuite/gas/i386/nommx-3.l: Likewise.
550 * testsuite/gas/i386/nosse-1.s: Likewise.
551 * testsuite/gas/i386/nosse-1.l: Likewise.
552 * testsuite/gas/i386/nosse-2.s: Likewise.
553 * testsuite/gas/i386/nosse-2.l: Likewise.
554 * testsuite/gas/i386/nosse-3.s: Likewise.
555 * testsuite/gas/i386/nosse-3.l: Likewise.
557 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
560 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
561 instruction if supported by the currently selected fpu variant.
562 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
563 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
565 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
567 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
568 jump relocations against MIPS16 or microMIPS symbols on RELA
570 * testsuite/gas/mips/jalx-local.d: New test.
571 * testsuite/gas/mips/jalx-local-n32.d: New test.
572 * testsuite/gas/mips/jalx-local-n64.d: New test.
573 * testsuite/gas/mips/jalx-local.s: New test source.
574 * testsuite/gas/mips/mips.exp: Run the new tests.
576 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
578 * config/tc-mips.c (md_apply_fix)
579 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
582 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
584 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
585 operator to operatorT.
586 (map_suffix_reloc_to_operator): Change return type to operatorT.
588 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
590 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
592 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
594 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
595 handler_charp to const char *.
597 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
599 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
600 (ft32_target_format): Likewise.
601 (TARGET_FORMAT): Adjust.
603 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
605 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
606 (ia64_frob_label): Likewise.
608 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
610 * config/tc-cr16.c (check_range): Make type of retval op_err.
611 * config/tc-crx.c: Likewise.
613 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
615 * config/tc-arc.c (md_begin): Add XY registers.
616 (cpu_types): Code density is default off for ARC EM.
618 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
620 * config/tc-arc.c (attributes_t): Renamed attribute class to
622 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
624 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
626 * configuse.tgt: Add entry for arm-phoenix.
628 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
630 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
632 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
634 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
636 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
638 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
639 (md_begin): Likewise.
640 (encode_condition): Likewise.
641 (encode_cc3): Likewise.
642 (encode_cc2): Likewise.
643 (encode_operand): Likewise.
644 (tic54x_undefined_symbol): Likewise.
646 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
648 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
650 * doc/c-mips.texi: Document p6600 -march option.
652 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
655 * config/tc-i386.c (md_apply_fix): Preserve addend for
656 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
657 * testsuite/gas/i386/addend.d: New file.
658 * testsuite/gas/i386/addend.s: Likewise.
659 * testsuite/gas/i386/x86-64-addend.d: Likewise.
660 * testsuite/gas/i386/x86-64-addend.s: Likewise.
661 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
662 * testsuite/gas/i386/reloc32.d: Updated.
664 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
666 * config/tc-mips.c (append_insn): Correct the encoding of a
667 constant argument for microMIPS JALX.
668 (tc_gen_reloc): Correct the encoding of an in-place addend for
670 * testsuite/gas/mips/jalx-addend.d: New test.
671 * testsuite/gas/mips/jalx-addend-n32.d: New test.
672 * testsuite/gas/mips/jalx-addend-n64.d: New test.
673 * testsuite/gas/mips/jalx-imm.d: New test.
674 * testsuite/gas/mips/jalx-imm-n32.d: New test.
675 * testsuite/gas/mips/jalx-imm-n64.d: New test.
676 * testsuite/gas/mips/jalx-addend.s: New test source.
677 * testsuite/gas/mips/jalx-imm.s: New test source.
678 * testsuite/gas/mips/mips.exp: Run the new tests.
680 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
682 * config/tc-mips.c: Correct tab-after-space formatting mistakes
685 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
687 * config/tc-arc.c (find_opcode_match): Remove casting away of
689 * config/tc-arc.h (struct arc_flags): Make flgp field const.
691 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
693 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
695 (md_convert_frag): Likewise.
697 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
699 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
700 cached opcode to NULL when we reach a non-matching opcode.
701 * testsuite/gas/arc/asm-errors-2.d: New file.
702 * testsuite/gas/arc/asm-errors-2.err: New file.
703 * testsuite/gas/arc/asm-errors-2.s: New file.
705 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
707 * config/tc-arc.c (tokenize_arguments): Add checks for array
709 * testsuite/gas/arc/asm-errors.s: Addition test line added.
710 * testsuite/gas/arc/asm-errors.err: Update expected results.
712 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
714 * config/tc-rx.c (struct cpu_type): Change the type of a field from
715 int to enum rx_cpu_types.
717 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
719 * config/tc-dlx.c (struct machine_it): change the type of a field from
720 int to bfd_reloc_code_real_type.
721 * config/tc-tic4x.c: Likewise.
723 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
725 * config/tc-v850.c (v850_target_arch): change type to enum
727 * config/tc-v850.h (v850_target_arch): Likewise.
729 2016-05-18 Alan Modra <amodra@gmail.com>
731 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
732 allowed negative range.
733 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
734 * testsuite/gas/ppc/power9.d: Update.
736 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
738 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
739 disassembling and stop skipping targets.
740 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
741 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
742 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
743 instruction for targets that have stronger alignment requirement.
744 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
745 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
746 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
747 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
748 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
749 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
750 * testsuite/gas/arm/archv8m-main.d: Likewise.
751 * testsuite/gas/arm/archv8m.s: Add label.
752 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
753 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
754 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
756 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
758 * config/tc-m32r.c (mach_table): Make static and const.
760 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
762 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
765 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
767 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
769 * config/tc-msp430.c (md_begin): Likewise.
771 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
773 * config/tc-m68hc11.c (fixup8): Change variables type from int to
774 bfd_reloc_code_real_type where appropriate.
776 (fixup8_xg): Likewise.
778 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
780 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
782 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
784 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
785 * testsuite/gas/ppc/power9.s: Likewise.
787 2016-05-13 Alan Modra <amodra@gmail.com>
789 * config/obj-coff.c (weak_uniquify): Delete unused var.
791 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
793 * app.c (app_push): Use XNEW and related macros.
794 * as.c (parse_args): Likewise.
795 * cgen.c (make_right_shifted_expr): Likewise.
796 (gas_cgen_tc_gen_reloc): Likewise.
797 * config/bfin-defs.h: Likewise.
798 * config/bfin-parse.y: Likewise.
799 * config/obj-coff.c (stack_init): Likewise.
800 (stack_push): Likewise.
801 (coff_obj_symbol_new_hook): Likewise.
802 (coff_obj_symbol_clone_hook): Likewise.
803 (add_lineno): Likewise.
804 (coff_frob_symbol): Likewise.
805 * config/obj-elf.c (obj_elf_section_name): Likewise.
806 (build_group_lists): Likewise.
807 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
808 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
809 * config/tc-aarch64.c (insert_reg_alias): Likewise.
810 (find_or_make_literal_pool): Likewise.
811 (add_to_lit_pool): Likewise.
812 (fill_instruction_hash_table): Likewise.
813 * config/tc-alpha.c (load_expression): Likewise.
814 (emit_jsrjmp): Likewise.
815 (s_alpha_ent): Likewise.
816 (s_alpha_end): Likewise.
817 (s_alpha_linkage): Likewise.
818 (md_begin): Likewise.
819 (tc_gen_reloc): Likewise.
820 * config/tc-arc.c (arc_insert_opcode): Likewise.
821 (arc_extcorereg): Likewise.
822 * config/tc-bfin.c: Likewise.
823 * config/tc-cr16.c: Likewise.
824 * config/tc-cris.c: Likewise.
825 * config/tc-crx.c (preprocess_reglist): Likewise.
826 * config/tc-d10v.c: Likewise.
827 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
828 (frv_tomcat_shuffle): Likewise.
829 * config/tc-h8300.c: Likewise.
830 * config/tc-i370.c (i370_macro): Likewise.
831 * config/tc-i386.c (lex_got): Likewise.
832 (md_parse_option): Likewise.
833 * config/tc-ia64.c (alloc_record): Likewise.
834 (set_imask): Likewise.
835 (save_prologue_count): Likewise.
836 (dot_proc): Likewise.
837 (dot_endp): Likewise.
838 (ia64_frob_label): Likewise.
839 (add_qp_imply): Likewise.
840 (add_qp_mutex): Likewise.
841 (mark_resource): Likewise.
842 (dot_alias): Likewise.
843 * config/tc-m68hc11.c: Likewise.
844 * config/tc-m68k.c (m68k_frob_label): Likewise.
846 (mri_control_label): Likewise.
847 (push_mri_control): Likewise.
848 (build_mri_control_operand): Likewise.
849 (s_mri_else): Likewise.
850 (s_mri_break): Likewise.
851 (s_mri_next): Likewise.
852 (s_mri_for): Likewise.
853 (s_mri_endw): Likewise.
854 * config/tc-metag.c (create_mnemonic_htab): Likewise.
855 * config/tc-microblaze.c: Likewise.
856 * config/tc-mmix.c (s_loc): Likewise.
857 * config/tc-nds32.c (nds32_relax_hint): Likewise.
858 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
859 * config/tc-rl78.c: Likewise.
860 * config/tc-rx.c (rx_include): Likewise.
861 * config/tc-sh.c: Likewise.
862 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
863 * config/tc-sparc.c: Likewise.
864 * config/tc-spu.c: Likewise.
865 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
866 (tic6x_start_unwind_section): Likewise.
867 * config/tc-tilegx.c: Likewise.
868 * config/tc-tilepro.c: Likewise.
869 * config/tc-v850.c: Likewise.
870 * config/tc-visium.c: Likewise.
871 * config/tc-xgate.c: Likewise.
872 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
873 (new_resource_table): Likewise.
874 (resize_resource_table): Likewise.
875 (xtensa_create_trampoline_frag): Likewise.
876 (xtensa_maybe_create_literal_pool_frag): Likewise.
877 (cache_literal_section): Likewise.
878 * config/xtensa-relax.c (append_transition): Likewise.
879 (append_condition): Likewise.
880 (append_value_condition): Likewise.
881 (append_constant_value_condition): Likewise.
882 (append_literal_op): Likewise.
883 (append_label_op): Likewise.
884 (append_constant_op): Likewise.
885 (append_field_op): Likewise.
886 (append_user_fn_field_op): Likewise.
887 (enter_opname_n): Likewise.
888 (enter_opname): Likewise.
889 (split_string): Likewise.
890 (parse_insn_templ): Likewise.
891 (clone_req_or_option_list): Likewise.
892 (clone_req_option_list): Likewise.
893 (parse_option_cond): Likewise.
894 (parse_insn_pattern): Likewise.
895 (parse_insn_repl): Likewise.
896 (build_transition): Likewise.
897 (build_transition_table): Likewise.
898 * dw2gencfi.c (alloc_fde_entry): Likewise.
899 (alloc_cfi_insn_data): Likewise.
900 (cfi_add_CFA_remember_state): Likewise.
901 (dot_cfi_escape): Likewise.
902 (dot_cfi_fde_data): Likewise.
903 (select_cie_for_fde): Likewise.
904 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
905 * ecoff.c (ecoff_add_bytes): Likewise.
906 (ecoff_build_debug): Likewise.
907 * input-scrub.c (input_scrub_push): Likewise.
908 (input_scrub_begin): Likewise.
909 (input_scrub_next_buffer): Likewise.
910 * itbl-ops.c (append_insns_as_macros): Likewise.
911 (alloc_entry): Likewise.
912 (alloc_field): Likewise.
913 * listing.c (listing_newline): Likewise.
914 (listing_listing): Likewise.
915 * macro.c (get_any_string): Likewise.
916 (delete_macro): Likewise.
917 * stabs.c (generate_asm_file): Likewise.
918 (stabs_generate_asm_lineno): Likewise.
919 * subsegs.c (subseg_change): Likewise.
920 (subseg_get): Likewise.
921 * symbols.c (define_dollar_label): Likewise.
922 (symbol_relc_make_sym): Likewise.
923 * write.c (write_relocs): Likewise.
925 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
927 * config/obj-coff.c (obj_coff_def): Simplify string copying.
928 (weak_name2altname): Likewise.
929 (weak_uniquify): Likewise.
930 (obj_coff_section): Likewise.
931 (obj_coff_init_stab_section): Likewise.
932 * config/obj-elf.c (obj_elf_section_name): Likewise.
933 (obj_elf_init_stab_section): Likewise.
934 * config/obj-evax.c (evax_shorten_name): Likewise.
935 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
936 * config/tc-aarch64.c (create_register_alias): Likewise.
937 * config/tc-alpha.c (load_expression): Likewise.
938 (s_alpha_file): Likewise.
939 (s_alpha_section_name): Likewise.
940 (tc_gen_reloc): Likewise.
941 * config/tc-arc.c (md_assemble): Likewise.
942 * config/tc-arm.c (create_neon_reg_alias): Likewise.
943 (start_unwind_section): Likewise.
944 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
945 (hppa_elf_mark_end_of_function): Likewise.
946 * config/tc-nios2.c (nios2_modify_arg): Likewise.
947 (nios2_negate_arg): Likewise.
948 * config/tc-rx.c (rx_section): Likewise.
949 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
950 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
951 * config/tc-tic54x.c (tic54x_include): Likewise.
952 (tic54x_macro_info): Likewise.
953 (subsym_get_arg): Likewise.
954 (subsym_substitute): Likewise.
955 (tic54x_start_line_hook): Likewise.
956 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
957 (xg_reverse_shift_count): Likewise.
958 * config/xtensa-relax.c (enter_opname_n): Likewise.
959 (split_string): Likewise.
960 * dwarf2dbg.c (get_filenum): Likewise.
961 (process_entries): Likewise.
962 * expr.c (operand): Likewise.
963 * itbl-ops.c (alloc_entry): Likewise.
964 * listing.c (listing_message): Likewise.
965 (listing_title): Likewise.
966 * macro.c (check_macro): Likewise.
967 * stabs.c (s_xstab): Likewise.
968 * symbols.c (symbol_relc_make_expr): Likewise.
969 * write.c (compress_debug): Likewise.
971 2016-05-12 Nick Clifton <nickc@redhat.com>
974 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
976 2016-05-11 Nick Clifton <nickc@redhat.com>
979 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
980 big endian ARM configurations.
982 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
983 Matthew Fortune <matthew.fortune@imgtec.com>
985 * config/tc-mips.c (options): Add OPTION_DSPR3 and
987 (md_longopts): Likewise.
988 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
989 (mips_ases): Define availability for DSPr3.
990 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
991 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
992 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
994 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
995 .set nodspr3. Fix -mdspr2 formatting.
996 * testsuite/gas/mips/mips32-dspr3.d: New file.
997 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
998 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1000 2016-05-11 Nick Clifton <nickc@redhat.com>
1003 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1004 to the pool uses O_constant.
1005 * testsuite/gas/arm/pr20068.s: New test.
1006 * testsuite/gas/arm/pr20068.d: Test driver.
1008 2016-05-11 Nick Clifton <nickc@redhat.com>
1010 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1011 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1012 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1013 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1014 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1015 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1016 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1017 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1018 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1020 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1022 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1023 * testsuite/gas/i386/prefix.d: Adjust.
1024 * testsuite/gas/i386/rdpid.s: New test.
1025 * testsuite/gas/i386/rdpid.d: Ditto.
1026 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1027 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1028 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1029 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1031 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1033 * config/tc-i386.c (cpu_arch): Add RDPID.
1034 * doc/c-i386.texi: Document RDPID.
1036 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1038 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1039 set branch type of a symbol.
1041 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1043 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1044 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1046 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1047 (aeabi_set_public_attributes): Memorize the feature bits of the
1048 architecture selected for Tag_CPU_arch. Use it to set
1049 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1050 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1051 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1052 * testsuite/gas/arm/arch7em-bad-1.d: This.
1053 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1054 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1055 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1056 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1057 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1058 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1059 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1060 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1062 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1064 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1065 allowed_archs an array with 2 entries.
1066 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1067 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1068 (arm_extensions): Use separate entries in allowed_archs when several
1069 archs are allowed to use an extension and change ARCH_ANY in
1070 ARM_ARCH_NONE in allowed_archs.
1071 (arm_parse_extension): Check that, for each allowed_archs entry, all
1072 bits are set in the current architecture, ignoring ARM_ANY entries.
1073 (s_arm_arch_extension): Likewise.
1075 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1077 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1078 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1079 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1080 shared with a non M profile architecture.
1081 (do_rn): New function.
1082 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1084 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1085 (insns): Add ARMv8-M Security Extensions instructions.
1086 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1087 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1088 * testsuite/gas/arm/archv8m-cmse.s: New file.
1089 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1090 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1091 * testsuite/gas/arm/any-cmse.d: Likewise.
1092 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1093 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1094 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1095 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1096 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1097 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1099 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1101 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1102 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1104 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1106 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1107 (fpu_arch_vfp_v3): Likewise.
1108 (fpu_arch_neon_v1): Likewise.
1109 (arm_arch_full): Likewise.
1110 (parse_neon_el_struct_list): Initialize fields of firsttype.
1112 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1114 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1115 (arc_extinsn): Handle new introduced syntax.
1116 * testsuite/gas/arc/textinsn1op.d: New file.
1117 * testsuite/gas/arc/textinsn1op.s: Likewise.
1118 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1120 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1122 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1123 DW_LNS_fixed_advance_pc.
1125 2016-04-27 Alan Modra <amodra@gmail.com>
1127 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1128 (xmemdup0): New inline function.
1130 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1132 * config/tc-mips.c (code_option_type): New enum.
1133 (parse_code_option): Return status indicating option type.
1134 (s_mipsset): Update `parse_code_option' call site accordingly.
1135 Always set register sizes from the ISA with ISA overrides.
1136 (s_module): Update `parse_code_option' call site.
1137 * testsuite/gas/mips/isa-override-1.d: New test.
1138 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1139 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1140 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1141 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1142 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1143 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1144 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1145 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1146 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1147 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1148 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1149 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1150 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1151 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1152 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1153 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1154 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1155 * testsuite/gas/mips/isa-override-2.l: New list test.
1156 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1157 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1158 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1159 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1160 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1161 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1162 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1163 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1164 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1165 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1166 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1168 * testsuite/gas/mips/isa-override-1.s: New test source.
1169 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1170 * testsuite/gas/mips/isa-override-2.s: New test source.
1171 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1172 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1173 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1174 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1175 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1176 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1177 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1178 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1179 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1180 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1181 * testsuite/gas/mips/mips.exp: Run the new tests.
1183 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1186 * config/tc-bfin.c: Likewise.
1187 * config/tc-ia64.c: Likewise.
1188 * config/tc-mep.c: Likewise.
1189 * config/tc-metag.c: Likewise.
1190 * config/tc-nios2.c: Likewise.
1191 * config/tc-rl78.c: Likewise.
1193 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1195 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1196 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1197 (ARC Directives): Add NPS400 to .cpu directive list.
1199 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1201 * config/tc-aarch64.c (aarch64_features): Add "ras".
1202 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1203 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1204 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1205 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1206 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1208 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1210 * testsuite/gas/arc/nps400-6.d: New file.
1211 * testsuite/gas/arc/nps400-6.s: New file.
1213 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1215 * testsuite/gas/arc/nps400-4.d: New file.
1216 * testsuite/gas/arc/nps400-4.s: New file.
1217 * testsuite/gas/arc/nps400-5.d: New file.
1218 * testsuite/gas/arc/nps400-5.s: New file.
1220 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1222 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1225 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1227 Revert prevous change.
1228 * config/tc-arc.c (arc_option): Make .cpu directive
1229 case-sensitive again.
1231 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1233 * config/tc-arc.c (arc_option): Make .cpu directive
1236 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1238 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1240 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1242 * config/tc-mips.c (md_begin): Remove useless assignment.
1244 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1246 * Makefile.in: Regenerated with automake 1.11.6.
1247 * aclocal.m4: Likewise.
1248 * doc/Makefile.in: Likewise.
1250 2016-04-15 Alan Modra <amodra@gmail.com>
1252 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1254 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1256 * config/tc-nios2.c (nios2_as_options): Make file static.
1257 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1258 * config/tc-sparc.c (native_op_table): Likewise.
1260 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1262 * config/tc-m32c.c (M32C_Macros): Remove.
1263 * config/tc-msp430.c (option_numbers): Likewise.
1265 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1267 * testsuite/gas/arc/nps400-3.d: New file.
1268 * testsuite/gas/arc/nps400-3.s: New file.
1270 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1272 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1273 * testsuite/gas/arc/warn.s: Likewise.
1274 * testsuite/gas/elf/elf.exp: Run test for arc.
1276 2016-04-14 Nick Clifton <nickc@redhat.com>
1279 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1280 sections possibly having the SHF_STRINGS flag bit set.
1281 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1283 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1285 * config/tc-arc.c (mach_type_specified_p): Change type to
1287 (arc_option): Set private flags when parsing cpu pseudo-op.
1288 (md_parse_option): Set mach_type_specified_p to TRUE.
1290 2016-04-13 Nick Clifton <nickc@redhat.com>
1293 * testsuite/gas/v850/pr19937.s: New test.
1294 * testsuite/gas/v850/pr19937.d: New test control file.
1295 * testsuite/gas/v850/basic.exp: Run the new test.
1297 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1298 Andrew Bennett <andrew.bennett@imgtec.com>
1300 * config/tc-mips.c (relaxed_branch_length): Use the long
1301 sequence where the target is a weak symbol.
1302 (relaxed_micromips_32bit_branch_length): Likewise.
1303 (relaxed_micromips_16bit_branch_length): Likewise.
1304 * testsuite/gas/mips/branch-weak-1.d: New test.
1305 * testsuite/gas/mips/branch-weak-2.d: New test.
1306 * testsuite/gas/mips/branch-weak-3.d: New test.
1307 * testsuite/gas/mips/branch-weak-4.d: New test.
1308 * testsuite/gas/mips/branch-weak-5.d: New test.
1309 * testsuite/gas/mips/branch-weak.l: New stderr output.
1310 * testsuite/gas/mips/branch-weak.s: New test source.
1311 * testsuite/gas/mips/mips.exp: Run the new tests.
1313 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1315 * config/tc-mips.c (relaxed_branch_length): Use the long
1316 sequence where the distance cannot be determined.
1317 (relaxed_micromips_32bit_branch_length): Likewise.
1318 * testsuite/gas/mips/branch-extern-1.d: New test.
1319 * testsuite/gas/mips/branch-extern-2.d: New test.
1320 * testsuite/gas/mips/branch-extern-3.d: New test.
1321 * testsuite/gas/mips/branch-extern-4.d: New test.
1322 * testsuite/gas/mips/branch-extern.l: New stderr output.
1323 * testsuite/gas/mips/branch-extern.s: New test source.
1324 * testsuite/gas/mips/branch-section-1.d: New test.
1325 * testsuite/gas/mips/branch-section-2.d: New test.
1326 * testsuite/gas/mips/branch-section-3.d: New test.
1327 * testsuite/gas/mips/branch-section-4.d: New test.
1328 * testsuite/gas/mips/branch-section.l: New stderr output.
1329 * testsuite/gas/mips/branch-section.s: New test source.
1330 * testsuite/gas/mips/mips.exp: Run the new tests.
1332 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1334 * testsuite/gas/arc/textauxregister.d: New file.
1335 * testsuite/gas/arc/textauxregister.s: Likewise.
1336 * testsuite/gas/arc/textcondcode.d: Likewise.
1337 * testsuite/gas/arc/textcondcode.s: Likewise.
1338 * testsuite/gas/arc/textcoreregister.d: Likewise.
1339 * testsuite/gas/arc/textcoreregister.s: Likewise.
1340 * testsuite/gas/arc/textpseudoop.d: Likewise.
1341 * testsuite/gas/arc/textpseudoop.s: Likewise.
1342 * testsuite/gas/arc/ld2.d: Update test.
1343 * testsuite/gas/arc/st.d: Likewise.
1344 * testsuite/gas/arc/taux.d: Likewise.
1345 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1346 .extCoreRegister and .extAuxRegister documentation.
1347 * config/tc-arc.c (arc_extcorereg): New function.
1348 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1349 .extAuxRegister pseudo-ops.
1350 (extRegister_t): New type.
1351 (ext_condcode, arc_aux_hash): New global variable.
1352 (find_opcode_match): Check for extensions.
1353 (preprocess_operands): Likewise.
1354 (md_begin): Add aux registers in a hash.
1355 (assemble_insn): Update use arc_flags member.
1356 (tokenize_extregister): New function.
1357 (create_extcore_section): Likewise.
1358 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1360 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1362 * testsuite/gas/arc/noargs_a7.d: New file.
1363 * testsuite/gas/arc/noargs_a7.s: Likewise.
1364 * testsuite/gas/arc/noargs_hs.d: Likewise.
1365 * testsuite/gas/arc/noargs_hs.s: Likewise.
1367 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1369 * testsuite/gas/arc/textinsn-errors.d: New File.
1370 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1371 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1372 * testsuite/gas/arc/textinsn2op.d: Likewise.
1373 * testsuite/gas/arc/textinsn2op.s: Likewise.
1374 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1375 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1376 * testsuite/gas/arc/textinsn3op.d: Likewise.
1377 * testsuite/gas/arc/textinsn3op.s: Likewise.
1378 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1380 * config/tc-arc.c (arcext_section): New variable.
1381 (arc_extinsn): New function.
1382 (md_pseudo_table): Add .extInstruction pseudo op.
1383 (attributes_t): New type.
1384 (suffixclass, syntaxclass, syntaxclassmod): New constant
1386 (find_opcode_match): Remove arc_num_opcodes.
1387 (md_begin): Likewise.
1388 (tokenize_extinsn): New function.
1389 (arc_set_ext_seg): Likewise.
1390 (create_extinst_section): Likewise.
1392 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1394 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1395 (arc_adjust_symtab): New function.
1396 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1397 (obj_adjust_symtab): Likewise.
1398 * testsuite/gas/arc/taux.d: New file.
1399 * testsuite/gas/arc/taux.s: Likewise.
1401 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1403 * config/tc-mips.c (s_option): Sanitize `.option picX'
1405 * testsuite/gas/mips/option-pic-1.d: New test.
1406 * testsuite/gas/mips/option-pic-2.l: New list test.
1407 * testsuite/gas/mips/option-pic-1.s: New test source.
1408 * testsuite/gas/mips/option-pic-2.s: New test source.
1409 * testsuite/gas/mips/mips.exp: Run the new tests.
1411 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1413 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1415 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1416 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1417 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1418 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1419 * testsuite/gas/mips/mips.exp: Run the new tests.
1421 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1423 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1425 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1427 * messages.c (as_bad): Fix a typo in description.
1429 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1431 * config/tc-mips.c (mips_check_options): Unify messages.
1433 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1435 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1438 2016-04-08 Nick Clifton <nickc@redhat.com>
1441 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1442 COFF and AOUT sparc targets.
1444 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1446 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1447 * testsuite/gas/arc/nps400-2.d: New file.
1448 * testsuite/gas/arc/nps400-2.s: New file.
1450 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1452 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1454 (arc_opcode_hash_entry_iterator_init): New function.
1455 (arc_opcode_hash_entry_iterator_next): New function.
1456 (find_opcode_match): Iterate over all arc_opcode entries
1457 referenced by the arc_opcode_hash_entry passed in as a parameter.
1459 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1461 * config/tc-arc.c (arc_find_opcode): Now returns
1462 arc_opcode_hash_entry pointer.
1463 (find_opcode_match): Update argument type, extract arc_opcode from
1464 incoming arc_opcode_hash_entry.
1465 (find_special_case_pseudo): Update return type.
1466 (find_special_case_flag): Update return type.
1467 (find_special_case): Update return type.
1468 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1469 instruction mnemonic, then use find_opcode_match to identify
1470 specific arc_opcode.
1472 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1474 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1475 (arc_find_opcode): New function.
1476 (find_special_case_pseudo): Use arc_find_opcode.
1477 (find_special_case_flag): Likewise.
1478 (assemble_tokens): Likewise.
1479 (md_begin): Build hash using struct arc_opcode_hash_entry.
1481 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1483 * config/tc-arc.c (arc_option): Prepare string for automatic
1485 (declare_register): Likewise.
1487 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1489 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1490 Correct entry for RDMA. Alpha sort entries.
1492 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1494 * config/tc-arc.c (tokenize_flags): Allow greater range of
1495 characters into flag names.
1497 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1501 (preprocess_operands): Delete.
1502 (assemble_tokens): Remove call to preprocess_operands.
1504 2016-04-07 Nick Clifton <nickc@redhat.com>
1507 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1508 inside a %-macro could not be fully parsed.
1509 * expr.c (integer_constant): Accept and ignore U suffixes to
1511 (operand): When a missing closing parenthesis is encountered,
1512 report the character that was found instead.
1513 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1514 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1515 * testsuite/gas/sparc/pr19910-1.s: New test.
1516 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1517 * testsuite/gas/sparc/pr19910-2.s: New test.
1518 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1520 2016-04-06 Nick Clifton <nickc@redhat.com>
1522 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1523 an EINT instruction. Warn/fix as necessary.
1524 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1525 * testsuite/gas/msp430/bad.l: Update expected messages.
1527 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1529 * testsuite/gas/arc/nps400-1.d: Update expected results.
1530 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1532 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1534 * config/tc-arc.c (is_code_density_p): Compare directly the
1536 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1537 (check_cpu_feature): New function.
1538 (find_opcode_match): Use check_cpu_feature function.
1539 (preprocess_operands): Likewise.
1540 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1541 * testsuite/gas/arc/tdpfp.d: New file.
1542 * testsuite/gas/arc/tfpuda.d: Likewise.
1543 * testsuite/gas/arc/tfpx.s: Likewise.
1545 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1547 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1548 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1549 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1550 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1551 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1552 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1553 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1554 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1556 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1558 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1560 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1561 JUMP instructions type.
1562 * testsuite/gas/arc/relocs-errors.d: New file.
1563 * testsuite/gas/arc/relocs-errors.err: Likewise.
1564 * testsuite/gas/arc/relocs-errors.s: Likewise.
1566 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1569 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1570 only if i.disp_encoding != disp_encoding_32bit.
1571 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1572 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1573 * gas/testsuite/gas/i386/disp32.d: Updated.
1574 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1576 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1579 * testsuite/gas/i386/i386.exp: Run pr19498.
1580 * testsuite/gas/i386/pr19498.d: New file.
1581 * testsuite/gas/i386/pr19498.s: Likewise.
1583 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1585 * config/tc-arc.h: Include 'opcode/arc.h'.
1586 (MAX_INSN_ARGS): Delete.
1587 (MAX_INSN_FLGS): Delete.
1589 2016-04-04 Alan Modra <amodra@gmail.com>
1592 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1593 from function on all paths that set sy_resolving.
1595 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1597 * app.c (app_push): use XNEW macro.
1599 * config/obj-elf.c (obj_elf_change_section): Likewise.
1600 (elf_copy_symbol_attributes): Likewise.
1601 (obj_elf_size): Likewise.
1602 (build_group_lists): Likewise.
1603 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1604 (md_assemble): Likewise.
1605 (tc_gen_reloc): Likewise.
1606 (get_upper_str): Likewise.
1607 (aarch64_parse_features): Likewise.
1608 * config/tc-arm.c (insert_reg_alias): Likewise.
1609 (insert_neon_reg_alias): Likewise.
1610 (find_or_make_literal_pool): Likewise.
1611 (s_arm_elf_cons): Likewise.
1612 (add_unwind_opcode): Likewise.
1613 (arm_parse_extension): Likewise.
1614 * config/tc-avr.c (create_record_for_frag): Likewise.
1615 * config/tc-crx.c: Likewise.
1616 * config/tc-d30v.c: Likewise.
1617 * config/tc-dlx.c (s_proc): Likewise.
1618 * config/tc-ft32.c: Likewise.
1619 * config/tc-h8300.c: Likewise.
1620 * config/tc-hppa.c (pa_proc): Likewise.
1621 (create_new_space): Likewise.
1622 (create_new_subspace): Likewise.
1623 * config/tc-i860.c: Likewise.
1624 * config/tc-i960.c: Likewise.
1625 * config/tc-ia64.c: Likewise.
1626 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1627 (iq2000_record_hi16): Likewise.
1628 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1629 * config/tc-m32r.c (debug_sym): Likewise.
1630 (m32r_record_hi16): Likewise.
1631 * config/tc-m68k.c (m68k_ip): Likewise.
1632 (md_begin): Likewise.
1633 * config/tc-mcore.c: Likewise.
1634 * config/tc-microblaze.c (check_got): Likewise.
1635 * config/tc-mips.c (append_insn): Likewise.
1636 (s_mipsset): Likewise.
1637 (mips_record_label): Likewise.
1638 (s_mips_end): Likewise.
1639 * config/tc-mmix.c (mmix_frob_file): Likewise.
1640 * config/tc-mn10200.c: Likewise.
1641 * config/tc-mn10300.c: Likewise.
1642 * config/tc-moxie.c: Likewise.
1643 * config/tc-msp430.c: Likewise.
1644 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1645 * config/tc-ns32k.c: Likewise.
1646 * config/tc-or1k.c: Likewise.
1647 * config/tc-pdp11.c: Likewise.
1648 * config/tc-pj.c (fake_opcode): Likewise.
1649 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1650 (ppc_macro): Likewise.
1651 (ppc_dwsect): Likewise.
1652 (ppc_machine): Likewise.
1653 * config/tc-rl78.c (rl78_frag_init): Likewise.
1654 * config/tc-rx.c (rx_frag_init): Likewise.
1655 * config/tc-s390.c (s390_lit_suffix): Likewise.
1656 (s390_machine): Likewise.
1657 (s390_machinemode): Likewise.
1658 * config/tc-score.c (s3_insert_reg): Likewise.
1659 (s3_gen_reloc): Likewise.
1660 * config/tc-score7.c (s7_insert_reg): Likewise.
1661 (s7_gen_reloc): Likewise.
1662 * config/tc-tic30.c (tic30_operand): Likewise.
1663 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1664 * config/tc-tic54x.c (stag_add_field): Likewise.
1665 (tic54x_struct): Likewise.
1666 (tic54x_space): Likewise.
1667 (tic54x_field): Likewise.
1668 (tic54x_mlib): Likewise.
1669 (subsym_substitute): Likewise.
1670 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1671 * config/tc-vax.c: Likewise.
1672 * config/tc-xc16x.c: Likewise.
1673 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1674 (directive_push): Likewise.
1675 (xtensa_begin_directive): Likewise.
1676 (tokenize_arguments): Likewise.
1677 (xtensa_add_literal_sym): Likewise.
1678 (new_resource_table): Likewise.
1679 (resize_resource_table): Likewise.
1680 (emit_single_op): Likewise.
1681 (xtensa_create_trampoline_frag): Likewise.
1682 (xtensa_maybe_create_literal_pool_frag): Likewise.
1683 (xtensa_add_config_info): Likewise.
1684 (xtensa_realloc_fixup_cache): Likewise.
1685 (add_subseg_info): Likewise.
1686 (cache_literal_section): Likewise.
1687 (add_xt_block_frags): Likewise.
1688 (add_xt_prop_frags): Likewise.
1689 (init_op_placement_info_table): Likewise.
1690 (build_section_rename): Likewise.
1691 * config/tc-z80.c: Likewise.
1692 * config/tc-z8k.c: Likewise.
1693 * depend.c (register_dependency): Likewise.
1694 * dwarf2dbg.c (get_line_subseg): Likewise.
1695 (dwarf2_gen_line_info_1): Likewise.
1696 (get_filenum): Likewise.
1697 * ecoff.c (allocate_scope): Likewise.
1698 (allocate_vlinks): Likewise.
1699 (allocate_shash): Likewise.
1700 (allocate_thash): Likewise.
1701 (allocate_tag): Likewise.
1702 (allocate_forward): Likewise.
1703 (allocate_thead): Likewise.
1704 (allocate_lineno_list): Likewise.
1705 * expr.c (make_expr_symbol): Likewise.
1706 * hash.c (hash_new_sized): Likewise.
1707 * input-file.c (input_file_push): Likewise.
1708 * listing.c (file_info): Likewise.
1709 (listing_newline): Likewise.
1710 * macro.c (new_formal): Likewise.
1711 (define_macro): Likewise.
1712 * remap.c (add_debug_prefix_map): Likewise.
1713 * symbols.c (symbol_find_noref): Likewise.
1714 (define_dollar_label): Likewise.
1715 (fb_label_instance_inc): Likewise.
1716 (symbol_relc_make_value): Likewise.
1718 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1720 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
1721 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
1722 (ppc_znop): Likewise.
1723 (ppc_pe_section): Likewise.
1724 (ppc_frob_symbol): Likewise.
1725 * config/tc-tic30.c (tic30_operand): Likewise.
1726 * config/tc-tic4x.c (tic4x_sect): Likewise.
1727 (tic4x_usect): Likewise.
1729 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1731 * config/tc-alpha.c: Const qualify FLT_CHARS.
1732 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
1733 * config/tc-cris.h: Likewise.
1735 * config/tc-mmix.c (md_atof): Adjust comment.
1736 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
1737 * tc.h: Declare FLT_CHARS and EXP_CHARS.
1739 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1741 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
1742 * config/tc-score7.c (s7_gen_reloc): Likewise.
1744 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1746 * config/tc-arm.c (do_t_branch): Change the type of reloc to
1747 bfd_reloc_code_real_type.
1749 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1751 * config/bfin-parse.y (current_inputline): Remove definition.
1752 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
1754 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1756 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
1759 2016-04-02 Alan Modra <amodra@gmail.com>
1762 * read.c (assign_symbol): Consume rest of line after an error
1763 rather than continuing to process the line.
1765 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1767 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
1768 (MAX_FLAG_NAME_LENGTH): ...this.
1769 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
1770 * config/tc-arc.c (tokenize_flags): Likewise.
1772 2016-04-01 Alan Modra <amodra@gmail.com>
1774 * cgen.c (weak_operand_overflow_check): Return const char*.
1775 * messages.c (as_internal_value_out_of_range): Formatting.
1776 (as_warn_value_out_of_range): Consify prefix param.
1777 (as_bad_value_out_of_range): Likewise.
1778 * read.c (s_errwarn): Constify msg..
1779 (s_float_space, float_cons): ..and err.
1780 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
1781 ieee_md_atof, vax_md_atof): Update prototypes.
1782 * tc.h (md_atof): Update prototype.
1783 * config/atof-ieee.c (ieee_md_atof): Return const char*.
1784 * config/atof-vax.c (vax_md_atof): Likewise.
1785 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
1786 * config/tc-aarch64.c (md_atof): Return const char*.
1787 * config/tc-alpha.c (s_alpha_section_name): Likewise.
1788 (s_alpha_comm): Constify sec_name.
1789 (section_name): Constify.
1790 (s_alpha_section): Consify name..
1791 (alpha_elf_section_letter): ..and ptr_msg param..
1792 (md_atof): ..and return.
1793 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
1794 * config/tc-arc.c (md_atof): Return const char*.
1795 * config/tc-arm.c (md_atof): Likewise.
1796 * config/tc-avr.c (md_atof): Likewise.
1797 * config/tc-bfin.c (md_atof): Likewise.
1798 * config/tc-cr16.c (md_atof): Likewise.
1799 * config/tc-cris.c (md_atof): Likewise.
1800 * config/tc-crx.c (md_atof): Likewise.
1801 * config/tc-d10v.c (md_atof): Likewise.
1802 * config/tc-d30v.c (md_atof): Likewise.
1803 * config/tc-dlx.c (md_atof): Likewise.
1804 * config/tc-epiphany.c (md_atof): Likewise.
1805 * config/tc-fr30.c (md_atof): Likewise.
1806 * config/tc-frv.c (md_atof): Likewise.
1807 * config/tc-ft32.c (md_atof): Likewise.
1808 * config/tc-h8300.c (md_atof): Likewise.
1809 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
1810 (struct default_space_dict): Likewise.
1811 (create_new_space): Constify name param.
1812 (create_new_subspace): Likewise.
1813 (is_defined_space, is_defined_subspace): Likewise.
1814 (pa_parse_space_stmt): Constify space_name param.
1815 (md_atof): Return const char*.
1816 (pa_spaces_begin): Constify name.
1817 * config/tc-i370.c (md_atof): Return const char*.
1818 * config/tc-i386.c (md_atof): Likewise.
1819 (x86_64_section_letter): Constify ptr_msg param.
1820 * config/tc-i386.h (x86_64_section_letter): Update prototype.
1821 * config/tc-i860.c (struct i860_it): Constify error.
1822 (md_atof): Return const char*.
1823 * config/tc-i960.c (md_atof): Likewise.
1824 * config/tc-ia64.c (md_atof): Likewise.
1825 (ia64_elf_section_letter): Constify ptr_msg param.
1826 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
1827 * config/tc-ip2k.c (md_atof): Return const char*.
1828 * config/tc-iq2000.c (md_atof): Likewise.
1829 * config/tc-lm32.c (md_atof): Likewise.
1830 * config/tc-m32c.c (md_atof): Likewise.
1831 * config/tc-m32r.c (md_atof): Likewise.
1832 * config/tc-m68hc11.c (md_atof): Likewise.
1833 * config/tc-m68k.c (md_atof): Likewise.
1834 * config/tc-mcore.c (md_atof): Likewise.
1835 * config/tc-mep.c (md_atof): Likewise.
1836 (mep_elf_section_letter): Constify ptr_msg param.
1837 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
1838 * config/tc-metag.c (md_atof): Return const char*.
1839 * config/tc-microblaze.c (md_atof): Likewise.
1840 * config/tc-microblaze.h (md_atof): Delete prototype.
1841 * config/tc-mips.c (mips_parse_argument_token): Constify err.
1842 (md_atof): Return const char*.
1843 * config/tc-mmix.c (md_atof): Likewise.
1844 * config/tc-mn10200.c (md_atof): Likewise.
1845 * config/tc-mn10300.c (md_atof): Likewise.
1846 * config/tc-moxie.c (md_atof): Likewise.
1847 * config/tc-msp430.c (md_atof): Likewise.
1848 * config/tc-mt.c (md_atof): Likewise.
1849 * config/tc-nds32.c (md_atof): Likewise.
1850 * config/tc-nios2.c (md_atof): Likewise.
1851 (nios2_elf_section_letter): Constify ptr_msg param.
1852 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
1853 * config/tc-ns32k.c (md_atof): Return const char*.
1854 * config/tc-or1k.c (md_atof): Likewise.
1855 * config/tc-pdp11.c (struct pdp11_code): Constify error.
1856 (md_atof): Return const char*.
1857 * config/tc-pj.c (md_atof): Likewise.
1858 * config/tc-ppc.c (md_atof): Likewise.
1859 * config/tc-rl78.c (md_atof): Likewise.
1860 * config/tc-rx.c (md_atof): Likewise.
1861 * config/tc-s390.c (md_atof): Likewise.
1862 * config/tc-score.c (s3_atof, md_atof): Likewise.
1863 * config/tc-sh.c (md_atof): Likewise.
1864 * config/tc-sparc.c (struct sparc_it): Constify error.
1865 (md_atof): Return const char*.
1866 * config/tc-spu.c (md_atof): Likewise.
1867 * config/tc-tic30.c (md_atof): Likewise.
1868 * config/tc-tic4x.c (md_atof): Likewise.
1869 * config/tc-tic54x.c (md_atof): Likewise.
1870 * config/tc-tic6x.c (md_atof): Likewise.
1871 * config/tc-tilegx.c (md_atof): Likewise.
1872 * config/tc-tilepro.c (md_atof): Likewise.
1873 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
1874 * config/tc-vax.c (md_atof): Likewise.
1875 * config/tc-visium.c (md_atof): Likewise.
1876 * config/tc-xc16x.c (md_atof): Likewise.
1877 * config/tc-xgate.c (md_atof): Likewise.
1878 * config/tc-xstormy16.c (md_atof): Likewise.
1879 * config/tc-xtensa.c (md_atof): Likewise.
1880 * config/tc-z80.c (md_atof): Likewise.
1881 * config/tc-z8k.c (md_atof): Likewise.
1883 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1885 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
1887 (xtensa_section_rename): Make argument type const char *.
1888 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
1890 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1892 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
1895 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1897 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
1899 (m32c_indirect_operand): Likewise.
1900 * config/tc-nds32.c (do_pseudo_b): Likewise.
1901 (do_pseudo_bal): Likewise.
1902 (do_pseudo_ls_bhw): Likewise.
1904 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1906 * as.c (parse_args): Cast literal to char * when assigning to optarg.
1908 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1910 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
1912 * config/tc-sparc.c (s_register): Cast a literal to char * in
1915 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1917 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
1919 * config/tc-m32r.c (expand_debug_syms): Likewise.
1920 * config/tc-msp430.c (msp430_dstoperand): Likewise.
1921 * config/tc-z80.c (md_begin): Likewise.
1922 * stabs.c (stabs_generate_asm_func): Likewise.
1924 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1926 * cgen.c: Modernize the way functions declare arguments.
1927 * config/tc-bfin.c: Likewise.
1928 * config/tc-pdp11.c: Likewise.
1929 * literal.c: Likewise.
1931 * stabs.c: Likewise.
1933 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1935 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
1936 variables unsigned char[].
1937 * config/tc-alpha.c (alpha_handle_align): Likewise.
1938 * config/tc-arm.c (arm_handle_align): Likewise.
1939 * config/tc-z80.c: Likewise.
1941 2016-03-30 Nick Clifton <nickc@redhat.com>
1944 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
1947 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1949 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
1950 * testsuite/gas/elf/elf.exp: Likewise.
1951 * testsuite/gas/all/redef3.d: Allow execution for ARC.
1953 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
1955 * testsuite/gas/arc/warn.exp: Fix matching pattern.
1957 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
1959 * testsuite/gas/arc/ext2op.d: New file.
1960 * testsuite/gas/arc/ext2op.s: Likewise.
1961 * testsuite/gas/arc/ext3op.d: Likewise.
1962 * testsuite/gas/arc/ext3op.s: Likewise.
1964 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1966 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
1968 * config/tc-alpha.c (md_parse_option): Likewise.
1969 * config/tc-arc.c (md_parse_option): Likewise.
1970 * config/tc-arm.c (struct arm_long_option_table): Likewise.
1971 (md_parse_option): Likewise.
1972 * config/tc-avr.c (md_parse_option): Likewise.
1973 * config/tc-bfin.c (md_parse_option): Likewise.
1974 * config/tc-cr16.c (md_parse_option): Likewise.
1975 * config/tc-cris.c (s_cris_arch): Likewise.
1976 (md_parse_option): Likewise.
1977 * config/tc-crx.c (md_parse_option): Likewise.
1978 * config/tc-d10v.c (md_parse_option): Likewise.
1979 * config/tc-d30v.c (md_parse_option): Likewise.
1980 * config/tc-dlx.c (md_parse_option): Likewise.
1981 * config/tc-epiphany.c (md_parse_option): Likewise.
1982 * config/tc-fr30.c (md_parse_option): Likewise.
1983 * config/tc-frv.c (md_parse_option): Likewise.
1984 * config/tc-ft32.c (md_parse_option): Likewise.
1985 * config/tc-h8300.c (md_parse_option): Likewise.
1986 * config/tc-hppa.c (md_parse_option): Likewise.
1987 * config/tc-i370.c (md_parse_option): Likewise.
1988 * config/tc-i386.c (md_parse_option): Likewise.
1989 * config/tc-i860.c (md_parse_option): Likewise.
1990 * config/tc-i960.c (md_parse_option): Likewise.
1991 * config/tc-ia64.c (md_parse_option): Likewise.
1992 * config/tc-ip2k.c (md_parse_option): Likewise.
1993 * config/tc-iq2000.c (md_parse_option): Likewise.
1994 * config/tc-lm32.c (md_parse_option): Likewise.
1995 * config/tc-m32c.c (md_parse_option): Likewise.
1996 * config/tc-m32r.c (md_parse_option): Likewise.
1997 * config/tc-m68hc11.c (md_parse_option): Likewise.
1998 * config/tc-m68k.c (md_parse_option): Likewise.
1999 * config/tc-mcore.c (md_parse_option): Likewise.
2000 * config/tc-mep.c (md_parse_option): Likewise.
2001 * config/tc-metag.c (struct metag_long_option): Likewise.
2002 (md_parse_option): Likewise.
2003 * config/tc-microblaze.c (md_parse_option): Likewise.
2004 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2005 * config/tc-mips.c (md_parse_option): Adjust.
2006 * config/tc-mmix.c (md_parse_option): Likewise.
2007 * config/tc-mn10200.c (md_parse_option): Likewise.
2008 * config/tc-mn10300.c (md_parse_option): Likewise.
2009 * config/tc-moxie.c (md_parse_option): Likewise.
2010 * config/tc-msp430.c (md_parse_option): Likewise.
2011 * config/tc-mt.c (md_parse_option): Likewise.
2012 * config/tc-nds32.c (md_parse_option): Likewise.
2013 * config/tc-nds32.h (nds32_parse_option): Likewise.
2014 * config/tc-nios2.c (md_parse_option): Likewise.
2015 * config/tc-ns32k.c (md_parse_option): Likewise.
2016 * config/tc-or1k.c (md_parse_option): Likewise.
2017 * config/tc-pdp11.c (md_parse_option): Likewise.
2018 * config/tc-pj.c (md_parse_option): Likewise.
2019 * config/tc-ppc.c (md_parse_option): Likewise.
2020 * config/tc-rl78.c (md_parse_option): Likewise.
2021 * config/tc-rx.c (md_parse_option): Likewise.
2022 * config/tc-s390.c (s390_parse_cpu): Likewise.
2023 * config/tc-score.c (md_parse_option): Likewise.
2024 * config/tc-sh.c (md_parse_option): Likewise.
2025 * config/tc-sparc.c (md_parse_option): Likewise.
2026 * config/tc-spu.c (md_parse_option): Likewise.
2027 * config/tc-tic30.c (md_parse_option): Likewise.
2028 * config/tc-tic4x.c (md_parse_option): Likewise.
2029 * config/tc-tic54x.c (md_parse_option): Likewise.
2030 * config/tc-tic6x.c (md_parse_option): Likewise.
2031 * config/tc-tilegx.c (md_parse_option): Likewise.
2032 * config/tc-tilepro.c (md_parse_option): Likewise.
2033 * config/tc-v850.c (md_parse_option): Likewise.
2034 * config/tc-vax.c (md_parse_option): Likewise.
2035 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2036 * config/tc-xc16x.c (md_parse_option): Likewise.
2037 * config/tc-xgate.c (md_parse_option): Likewise.
2038 * config/tc-xstormy16.c (md_parse_option): Likewise.
2039 * config/tc-xtensa.c (md_parse_option): Likewise.
2040 * config/tc-z80.c (md_parse_option): Likewise.
2041 * config/tc-z8k.c (md_parse_option): Likewise.
2042 * tc.h (md_parse_option): Likewise.
2044 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2046 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2047 * config/tc-hppa.c (fix_new_hppa): Likewise.
2048 (pa_vtable_entry): Likewise.
2049 (pa_vtable_inherit): Likewise.
2050 * config/tc-m68k.c (md_begin): Likewise.
2052 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2054 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2055 * config/obj-elf.h (obj_elf_section_name): Adjust.
2056 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2057 (aarch64_parse_cpu): Likewise.
2058 (aarch64_parse_arch): Likewise.
2059 * config/tc-arm.c (arm_parse_extension): Likewise.
2060 (arm_parse_cpu): Likewise.
2061 (arm_parse_arch): Likewise.
2062 * config/tc-nds32.c: Likewise.
2063 * config/xtensa-relax.c (parse_special_fn): Likewise.
2064 * stabs.c (generate_asm_file): Likewise.
2066 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2068 * config/tc-cr16.c (cr16_assemble): New function.
2069 (md_assemble): Call cr16_assemble.
2071 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2073 * as.c (parse_args): Adjust.
2074 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2075 * config/obj-elf.c (elf_frob_symbol): Adjust.
2077 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2079 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2080 registers to be in the 16..31 range.
2082 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2084 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2087 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2089 * config/tc-visium.c (md_atof): Localize the string returned on
2092 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2094 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2095 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2096 * config/tc-m68hc11.c (md_begin): Likewise.
2097 (print_opcode_list): Likewise.
2098 * config/tc-msp430.c (msp430_section): Likewise.
2099 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2100 (s3_build_dependency_insn_hsh): Likewise.
2101 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2102 (s7_build_dependency_insn_hsh): Likewise.
2103 * config/tc-tic4x.c: Likewise.
2104 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2105 (subsym_get_arg): Likewise.
2106 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2107 (get_directive): Likewise.
2108 (cache_literal_section): Likewise.
2109 * config/xtensa-relax.c: Likewise.
2110 * symbols.c (symbol_create): Likewise.
2111 (local_symbol_make): Likewise.
2112 (symbol_relc_make_expr): Likewise.
2114 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2116 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2119 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2121 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2124 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2126 * config/tc-ia64.c (ia64_do_align): Remove.
2127 (ia64_cons_align): Call do_align () directly.
2128 (dot_proc): Likewise.
2129 (stmt_float_cons): Likewise.
2131 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2133 * listing.c (listing_message): Use XNEW style allocation macros.
2134 * read.c (read_a_source_file): Likewise.
2135 (read_symbol_name): Likewise.
2136 (s_mri_common): Likewise.
2137 (assign_symbol): Likewise.
2138 (s_reloc): Likewise.
2139 (emit_expr_with_reloc): Likewise.
2140 (s_incbin): Likewise.
2141 (s_include): Likewise.
2142 * sb.c (sb_build): Likewise.
2143 (sb_check): Likewise.
2145 2016-03-22 Alan Modra <amodra@gmail.com>
2147 * write.c (record_alignment): Revert 2016-02-18 change.
2149 2016-03-22 Alan Modra <amodra@gmail.com>
2151 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2152 (emit_jsrjmp, tc_gen_reloc): Likewise.
2153 * config/tc-i370.c (i370_macro): Likewise.
2155 2016-03-22 Nick Clifton <nickc@redhat.com>
2157 * configure: Regenerate.
2159 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2161 * testsuite/gas/arc/nps400-0.d: New file.
2162 * testsuite/gas/arc/nps400-0.s: New file.
2163 * testsuite/gas/arc/nps400-1.d: New file.
2164 * testsuite/gas/arc/nps400-1.s: New file.
2166 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2168 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2169 declarations to start of block. Reset code on all flags before
2170 attempting to match them. Handle multiple hits on the same flag.
2172 * testsuite/gas/arc/asm-errors.d: New file.
2173 * testsuite/gas/arc/asm-errors.err: New file.
2174 * testsuite/gas/arc/asm-errors.s: New file.
2176 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2178 * config/tc-arc.c (cpu_types): Add nps400 entry.
2179 (check_zol): Handle nps400.
2181 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2183 * config/tc-arc.c (arc_select_cpu): Remove use of
2186 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2188 * config/tc-arc.c (arc_target): Delay initialisation until
2190 (arc_target_name): Likewise.
2191 (arc_features): Likewise.
2192 (arc_mach_type): Likewise.
2193 (cpu_types): Remove "all" entry.
2194 (arc_select_cpu): New function, most of the content is from...
2195 (md_parse_option): ... here. Call new arc_select_cpu.
2196 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2198 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2200 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2201 * testsuite/gas/arc/inline-data-2.d: New file.
2203 2016-03-21 Nick Clifton <nickc@redhat.com>
2205 * atof-generic.c: Replace use of alloca with call to xmalloc.
2207 * dwarf2dbg.c: Likewise.
2208 * macro.c: Likewise.
2209 * remap.c: Likewise.
2210 * stabs.c: Likewise.
2211 * symbols.c: Likewise.
2212 * config/obj-elf.c: Likewise.
2213 * config/tc-aarch64.c: Likewise.
2214 * config/tc-arc.c: Likewise.
2215 * config/tc-arm.c: Likewise.
2216 * config/tc-avr.c: Likewise.
2217 * config/tc-ia64.c: Likewise.
2218 * config/tc-mips.c: Likewise.
2219 * config/tc-msp430.c: Likewise.
2220 * config/tc-nds32.c: Likewise.
2221 * config/tc-ppc.c: Likewise.
2222 * config/tc-sh.c: Likewise.
2223 * config/tc-tic30.c: Likewise.
2224 * config/tc-tic54x.c: Likewise.
2225 * config/tc-xstormy16.c: Likewise.
2226 * config/te-vms.c: Likewise.
2227 * configure: Regenerate.
2229 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2231 * tc-i386.c (f32_1): Change type to unsigned char[].
2251 (jump_31): Likewise.
2252 (f32_patt): Likewise.
2253 (f16_patt): Likewise.
2262 (alt_patt): Likewise.
2264 2016-03-18 Nick Clifton <nickc@redhat.com>
2266 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2267 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2268 .tlsdescldr and .xword directives.
2271 * testsuite/gas/aarch64/pr19721.s: New test source file.
2272 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2274 * doc/as.texinfo: Place the target specific command line options
2275 into their own man page section.
2277 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2279 * config/tc-arm.c (N_S_32): New.
2280 (N_F_16_32): Likewise.
2281 (N_SUF_32): Support N_F16.
2282 (N_IF_32): Likewise.
2283 (neon_dyadic_misc): Likewise.
2284 (do_neon_cmp): Likewise.
2285 (do_neon_cmp_inv): Likewise.
2286 (do_neon_mul): Likewise.
2287 (do_neon_fcmp_absolute): Likewise.
2288 (do_neon_step): Likewise.
2289 (do_neon_abs_neg): Likewise.
2290 (CVT_FLAVOR_VAR): Likewise.
2291 (do_neon_cvt_1): Likewise.
2292 (do_neon_recip_est): Likewise.
2293 (do_vmaxnm): Likewise.
2294 (do_vrint_1): Likewise.
2295 (neon_check_type): Check architecture support for FP16 extension.
2296 (insns): Update comments.
2297 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2298 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2299 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2300 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2302 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2304 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2307 2016-03-16 Nick Clifton <nickc@redhat.com>
2309 * read.c (emit_expr_with_reloc): Add code check a bignum with
2311 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2313 * testsuite/gas/elf/bignum.s: New test source file.
2314 * testsuite/gas/elf/bignum.d: New test driver file.
2315 * testsuite/gas/elf/elf.exp: Run the new test.
2317 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2319 * doc/c-i386.texi (Register Naming): Update to details of the
2320 latest architecture version.
2322 2016-03-10 Mickael Guene <mickael.guene@st.com>
2325 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2327 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2328 (do_t_mov_cmp): Likewise.
2329 (do_t_add_sub): Protect against bad relocations usage.
2330 (do_t_mov_cmp): Likewise.
2331 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2332 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2333 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2334 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2336 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2338 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2340 (do_neon_ld_st_lane): Likewise.
2341 (do_neon_ld_dup): Likewise.
2343 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2345 * testsuite/gas/arc/inline-data-1.d: New file.
2346 * testsuite/gas/arc/inline-data-1.s: New file.
2348 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2350 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2351 * doc/c-arm.texi: Add cortex-r8.
2353 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2355 * config/tc-arc.c: Add const qualifiers.
2356 * config/tc-h8300.c (md_begin): Likewise.
2357 * config/tc-ia64.c (print_prmask): Likewise.
2358 * config/tc-msp430.c (msp430_operands): Likewise.
2359 * config/tc-nds32.c (struct suffix_name): Likewise.
2360 (struct nds32_parse_option_table): Likewise.
2361 (struct nds32_set_option_table): Likewise.
2362 (do_pseudo_pushpopm): Likewise.
2363 (do_pseudo_pushpop_stack): Likewise.
2364 (nds32_relax_relocs): Likewise.
2365 (nds32_flag): Likewise.
2366 (struct nds32_hint_map): Likewise.
2367 (nds32_find_reloc_table): Likewise.
2368 (nds32_match_hint_insn): Likewise.
2369 * config/tc-s390.c: Likewise.
2370 * config/tc-sh.c (get_specific): Likewise.
2371 * config/tc-tic30.c: Likewise.
2372 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2373 (tic4x_indirect_parse): Likewise.
2374 * config/tc-vax.c (vax_cons): Likewise.
2375 * config/tc-z80.c (struct reg_entry): Likewise.
2376 * config/tc-epiphany.c (md_assemble): Adjust.
2377 (epiphany_assemble): New function.
2378 (epiphany_elf_section_rtn): Call do_align directly.
2379 (epiphany_elf_section_text): Likewise.
2380 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2381 (ip2k_elf_section_text): Likewise.
2382 * read.c (do_align): Make it not static.
2383 * read.h (do_align): New prototype.
2385 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2387 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2388 for ARMv8.1 AdvSIMD use.
2389 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2390 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2392 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2394 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2396 (record_feature_use): New.
2397 (mark_feature_used): Use record_feature_use.
2398 (do_neon_qrdmlah): New.
2399 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2401 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2402 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2403 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2404 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2405 Make source file explicit.
2406 * testsuite/gas/arm/armv8-a+rdma.l: New.
2407 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2408 directives. Fix white-space.
2409 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2411 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2413 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2415 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2416 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2418 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2419 (tc_arc_fix_adjustable): Changed default return value to 1.
2420 * testsuite/gas/arc/j.d: Updated expected symbol
2421 * testsuite/gas/arc/jl.d: Likewise
2422 * testsuite/gas/arc/relax-avoid1.d: Likewise
2423 * testsuite/gas/arc/st.d: Likewise
2425 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2427 * config/tc-arc.c: Enable code density instructions for ARC EM.
2429 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2432 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2434 * as.c (flag_use_elf_stt_common): New.
2435 (show_usage): Add --elf-stt-common=.
2436 (option_values): Add OPTION_ELF_STT_COMMON.
2437 (std_longopts): Add --elf-stt-common=.
2438 (parse_args): Handle --elf-stt-common=.
2439 * as.h (flag_use_elf_stt_common): New.
2440 * config.in: Regenerated.
2441 * configure: Likewise.
2442 * configure.ac: Add --enable-elf-stt-common and define
2443 DEFAULT_GENERATE_ELF_STT_COMMON.
2444 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2445 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2446 * doc/as.texinfo: Document --elf-stt-common=.
2447 * testsuite/gas/elf/common3.s: New file.
2448 * testsuite/gas/elf/common3a.d: Likewise.
2449 * testsuite/gas/elf/common3b.d: Likewise.
2450 * testsuite/gas/elf/common4.s: Likewise.
2451 * testsuite/gas/elf/common4a.d: Likewise.
2452 * testsuite/gas/elf/common4b.d: Likewise.
2453 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2454 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2455 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2457 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2458 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2459 --elf-stt-common=no to as.
2460 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2461 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2462 --elf-stt-common=no to as.
2463 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2464 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2465 of dw2-compress-3 and dw2-compressed-3.
2467 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2469 * as.c (select_emulation_mode): Add const qualifiers.
2471 * config/bfin-defs.h: Likewise.
2472 * config/bfin-parse.y: Likewise.
2473 * config/rx-parse.y: Likewise.
2474 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2475 (struct aarch64_cpu_option_table): Likewise.
2476 (struct aarch64_arch_option_table): Likewise.
2477 (struct aarch64_option_cpu_value_table): Likewise.
2478 (struct aarch64_long_option_table): Likewise.
2479 (struct aarch64_option_abi_value_table): Likewise.
2480 * config/tc-arm.c (struct reloc_entry): Likewise.
2481 (tc_gen_reloc): Likewise.
2482 (struct arm_option_table): Likewise.
2483 (struct arm_legacy_option_table): Likewise.
2484 (struct arm_cpu_option_table): Likewise.
2485 (struct arm_arch_option_table): Likewise.
2486 (struct arm_option_extension_value_table): Likewise.
2487 (struct arm_option_fpu_value_table): Likewise.
2488 (struct arm_option_value_table): Likewise.
2489 (struct arm_long_option_table): Likewise.
2490 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2491 (struct mcu_type_s): Likewise.
2492 (struct exp_mod_s): Likewise.
2493 (avr_operand): Likewise.
2494 (avr_operands): Likewise.
2495 * config/tc-d10v.c (md_begin): Likewise.
2496 * config/tc-dlx.c: Likewise.
2497 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2498 * config/tc-ft32.c (parse_condition): Likewise.
2499 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2500 * config/tc-hppa.c (pa_ip): Likewise.
2501 (hppa_regname_to_dw2regnum): Likewise.
2502 * config/tc-i370.c (i370_elf_suffix): Likewise.
2503 * config/tc-i960.c (struct tabentry): Likewise.
2504 * config/tc-m32r.c: Likewise.
2505 * config/tc-m68k.c: Likewise.
2506 * config/tc-m68k.h: Likewise.
2507 * config/tc-mcore.c (parse_psrmod): Likewise.
2508 * config/tc-metag.c (struct metag_core_option): Likewise.
2509 (struct metag_long_option): Likewise.
2510 * config/tc-microblaze.c: Likewise.
2511 * config/tc-mips.c (macro): Likewise.
2512 * config/tc-mn10200.c: Likewise.
2513 * config/tc-mn10300.c: Likewise.
2514 * config/tc-msp430.c (struct rcodes_s): Likewise.
2515 (struct hcodes_s): Likewise.
2516 (md_parse_option): Likewise.
2517 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2518 (optlist): Likewise.
2519 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2520 (tc_ppc_regname_to_dw2regnum): Likewise.
2521 * config/tc-ppc.h: Likewise.
2522 * config/tc-rl78.c: Likewise.
2523 * config/tc-rx.c (struct cpu_type): Likewise.
2524 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2525 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2526 (sparc_ip): Likewise.
2527 * config/tc-spu.c (insn_fmt_string): Likewise.
2528 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2529 * config/tc-v850.c: Likewise.
2530 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2531 (struct visium_long_option_table): Likewise.
2532 * config/tc-xgate.c: Likewise.
2533 * config/tc-z8k.c: Likewise.
2534 * read.c (add_include_dir): Likewise.
2537 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2539 * testsuite/gas/all/gas.exp: Change target pattern to cover
2541 * testsuite/gas/all/redef3.d: Likewise.
2542 * testsuite/gas/elf/elf.exp: Likewise.
2544 2016-02-24 Renlin Li <renlin.li@arm.com>
2546 * config/tc-arm.c (BAD_FP16): New error message macro.
2547 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2548 fp16 scalar instructions.
2549 (neon_check_type): Allow different size from key.
2550 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2551 (try_vfp_nsyn): Likewise.
2552 (do_vfp_nsyn_mla_mls): Likewise.
2553 (do_vfp_nsyn_fma_fms): Likewise.
2554 (do_vfp_nsyn_ldm_stm): Likewise
2555 (do_vfp_nsyn_sqrt): Likewise
2556 (do_vfp_nsyn_div): Likewise
2557 (do_vfp_nsyn_nmul): Likewise.
2558 (do_vfp_nsyn_cmp): Likewise.
2559 (do_neon_shll): Likewise.
2560 (do_vfp_nsyn_cvt_fpv8): Likewise.
2561 (do_neon_cvttb_2): Likewise.
2562 (do_neon_mov): Likewise.
2563 (do_neon_rshift_round_imm): Likewise.
2564 (do_neon_ldr_str): Likewise.
2565 (do_vfp_nsyn_fpv8): Likewise.
2566 (do_vmaxnm): Likewise.
2567 (do_vrint_1): Likewise.
2568 (insns): New entry for vins, vmovx.
2569 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2570 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2571 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2572 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2573 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2574 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2575 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2577 2016-02-24 Renlin Li <renlin.li@arm.com>
2579 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2580 (neon_shape_class): New SC_HALF.
2581 (neon_shape_el): New SE_H.
2582 (neon_shape_el_size): New size for SE_H.
2583 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2584 (neon_select_shape): Add SE_H support code.
2585 (el_type_of_type_chk): Use N_F_ALL.
2586 (do_vfp_nsyn_cvt): Add SE_H shape support.
2587 (do_neon_cvtz): Likewise.
2588 (do_neon_cvt_1): Likewise.
2589 (do_neon_cvttb_1): Likewise.
2591 2016-02-24 Renlin Li <renlin.li@arm.com>
2593 * testsuite/gas/arm/copro.d: Adjust output.
2594 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2596 2016-02-24 Renlin Li <renlin.li@arm.com>
2598 * testsuite/gas/arm/mask_1.d: New.
2599 * testsuite/gas/arm/mask_1.s: New.
2601 2016-02-24 Renlin Li <renlin.li@arm.com>
2603 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2604 * testsuite/gas/arm/copro.d: Update.
2606 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2608 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2609 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2611 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2613 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2615 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2617 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2620 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2622 * output-file.c (output_file_create): Make file name argument const.
2623 (output_file_close): Likewise.
2624 * output-file.h (output_file_create): Adjust.
2625 (output_file_close): Likewise.
2626 * depend.c (quote_string_for_make): Make src argument const char *.
2627 (register_dependency): Likewise.
2628 (wrap_output): Likewise.
2629 * as.h (register_dependency): Adjust.
2630 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2632 * symbols.c (S_SET_EXTERNAL): Likewise.
2633 * input-scrub.c (as_where): Return the file name.
2634 * as.h (as_where): Adjust prototype.
2635 * app.c (do_scrub_chars): Adjust.
2636 * cond.c (s_elseif): Likewise.
2638 (initialize_cframe): Likewise.
2639 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2640 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2641 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2642 * config/tc-aarch64.c (output_info): Likewise.
2643 * config/tc-ia64.c (md_assemble): Likewise.
2644 (dot_alias): Likewise.
2645 * config/tc-m68k.c (m68k_frob_label): Likewise.
2646 * config/tc-mmix.c (s_bspec): Likewise.
2647 (mmix_handle_mmixal): Likewise.
2648 * config/tc-rx.c (rx_include): Likewise.
2649 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2650 (tic54x_adjust_symtab): Likewise.
2651 * config/tc-xtensa.c (directive_push): Likewise.
2652 (xtensa_sanity_check): Likewise.
2653 (xtensa_relax_frag): Likewise.
2654 (md_convert_frag): Likewise.
2655 (tinsn_to_slotbuf): Likewise.
2656 * dwarf2dbg.c (dwarf2_where): Likewise.
2657 * ecoff.c (add_file): Likewise.
2658 (ecoff_generate_asm_lineno): Likewise.
2659 * expr.c (make_expr_symbol): Likewise.
2660 * frags.c (frag_new): Likewise.
2661 (frag_var_init): Likewise.
2662 * listing.c (listing_newline): Likewise.
2663 * messages.c (identify): Likewise.
2664 (as_show_where): Likewise.
2665 (as_warn_internal): Likewise.
2666 (as_bad_internal): Likewise.
2667 * read.c (s_irp): Likewise.
2668 (s_macro): Likewise.
2669 (s_reloc): Likewise.
2670 * stabs.c (stabs_generate_asm_file): Likewise.
2671 (stabs_generate_asm_lineno): Likewise.
2672 (stabs_generate_asm_func): Likewise.
2673 * write.c (fix_new_internal): Likewise.
2674 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2675 (as_warn_value_out_of_range): Adjust prototype.
2676 (as_bad_value_out_of_range): Adjust prototype.
2677 * messages.c (identify): Make file name argument const char *.
2678 (as_warn_internal): Likewise.
2679 (as_warn_where): Likewise.
2680 (as_bad_internal): Likewise.
2681 (as_bad_where): Likewise.
2682 (as_internal_value_out_of_range): Likewise.
2683 (as_warn_value_out_of_range): Likewise.
2684 (as_bad_value_out_of_range): Likewise.
2685 * as.h (found_comment_file): Change type to const char *.
2686 * cond.c (file_line::file): Likewise.
2687 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2688 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2689 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2690 * config/tc-aarch64.c (output_info): Likewise.
2691 * config/tc-alpha.c (insert_operand): Likewise.
2692 * config/tc-arc.c (insert_operand): Likewise.
2693 * config/tc-d30v.c (check_size): Likewise.
2694 * config/tc-ia64.c (struct alias): Likewise.
2695 * config/tc-m68k.c (struct label_line): Likewise.
2696 * config/tc-mcore.c (md_apply_fix): Likewise.
2697 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2698 * config/tc-mips.c (mips16_immed): Likewise.
2699 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2700 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2701 * config/tc-rx.c (rx_include): Likewise.
2702 * config/tc-s390.c (s390_insert_operand): Likewise.
2703 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2704 (tic54x_adjust_symtab): Likewise.
2705 * config/tc-tilegx.c (insert_operand): Likewise.
2706 (apply_special_operator): Likewise.
2707 * config/tc-tilepro.c (insert_operand): Likewise.
2708 * config/tc-xtensa.c (directive_push): Likewise.
2709 * ecoff.c (add_file): Likewise.
2710 (ecoff_generate_asm_lineno): Likewise.
2711 * listing.c (listing_newline): Likewise.
2712 * read.c (s_irp): Likewise.
2713 * write.c (install_reloc): Likewise.
2714 * write.h (struct fix): Likewise.
2715 * input-file.c (file_name): Change type to const char *.
2716 (saved_file::file_name): Likewise.
2717 (input_file_open): Change type of argument to const char *.
2718 * input-file.h (input_file_open): Adjust.
2719 * input-scrub.c (logical_input_file): change type to const char *.
2720 (physical_input_file): Likewise.
2721 (struct input_save): Adjust.
2722 (input_scrub_push): Adjust.
2723 (input_scrub_begin): Adjust.
2725 * input-scrub.c (input_scrub_new_file): Make file name argument const.
2726 (input_scrub_include_file): Likewise.
2727 (new_logical_line_flags): Likewise.
2728 (new_logical_line): Likewise.
2730 * frags.h (struct frag): Change type of fr_file to const char *.
2731 * expr.c (expr_symbol_where): Change type of file argument to
2733 * expr.h (expr_symbol_where): Likewise.
2734 * config/tc-i370.c (md_apply_fix): adjust.
2735 * config/tc-mmix.c (mmix_md_end): Likewise.
2736 * config/tc-ppc.c (md_apply_fix): Likewise.
2737 * config/tc-s390.c (md_apply_fix): Likewise.
2738 * symbols.c (report_op_error): Likewise.
2739 (resolve_symbol_value): Likewise.
2740 * config/tc-ia64.c (slot::src_file): Change type to const char *.
2741 (rsrc::file): Likewise.
2742 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
2744 (xtensa_relax_frag): Likewise.
2745 (md_convert_frag): Likewise.
2746 (tinsn_to_slotbuf): Likewise.
2747 * expr.c (expr_symbol_line): Likewise.
2748 * macro.c (define_macro): Likewise.
2749 * macro.h (macro_struct): Likewise.
2750 * messages.c (as_show_where): Likewise.
2751 * read.c (s_macro): Likewise.
2752 * stabs.c (stabs_generate_asm_file): Likewise.
2753 (generate_asm_file): Likewise.
2754 (stabs_generate_asm_lineno): Likewise.
2755 * write.h (struct reloc_list): Likewise.
2756 * input-scrub.c (as_where): Change return type to const char *.
2757 * as.h (as_wheree): Adjust.
2759 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
2761 * write.c (compress_debug): Move BFD compression bits setting
2763 (write_object_file): Here.
2765 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2767 * config/tc-i386.c (register_number): Check RegVRex.
2768 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
2769 with %zmm19 and %zmm3.
2770 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
2771 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
2773 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
2774 Jiong Wang <jiong.wang@arm.com>
2776 * config/tc-arm.c (arm_ext_fp16): New.
2777 (arm_extensions): New entry for "fp16".
2779 2016-02-19 Nick Clifton <nickc@redhat.com>
2782 * read.c (read_a_source_file): Check for assemble_one returning
2783 with input_line_pointer set to NULL.
2785 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2787 * listing.c (rebuffer_line): Change return type to void.
2789 * symbols.c (decode_local_label_name): Make type a const char *.
2790 * listing.c (print_source): Make type of p const char *.
2791 (print_line): Make type of string const char *.
2792 (buffer_line): Return const char *.
2793 (title): Make type const char *.
2794 (subtitle): Likewise.
2795 (listing_listing): Make type of p const char *.
2796 * messages.c (as_internal_value_out_of_range): Make type of prefix
2798 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
2799 and string const char *.
2800 * read.c (_bfd_rel): Make type of name const char *.
2801 * app.c (out_string): Change type to const char *.
2802 (struct app_save::out_string): Likewise.
2804 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
2805 Nick Clifton <nickc@redhat.com>
2807 * read.c (finish_bundle): Avoid recording a negative alignment.
2808 (do_align): Use unsigned values for n, len and max. Only create
2809 a frag if the alignment requirement is greater than the minimum
2810 byte alignment. Avoid recording a negative alignment.
2811 (s_align): Use unsigned values where appropriate.
2812 (bss_alloc): Use an unsigned value for the alignment.
2813 (sizeof_sleb128): Add a comment noting that we encode one octet
2814 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
2815 (emit_leb129_expr): Abort if the emitted encoding was longer than
2817 * read.h (output_leb128): Update prototype.
2818 (sizeof_leb128): Update prototype.
2819 (bss_alloc): Update prototype.
2820 * write.c (record_alignment): Use an unsigned value for the
2821 alignment. Do not record alignments less than the minimum
2822 alignment for a byte.
2823 * write.h (record_alignment): Update prototype.
2825 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2827 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
2828 .init.literal/.fini.literal section name.
2829 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
2830 list of xtensa tests.
2831 * testsuite/gas/xtensa/init-fini-literals.d: New file:
2832 init-fini-literals test result patterns.
2833 * testsuite/gas/xtensa/init-fini-literals.s: New file:
2834 init-fini-literals test.
2836 2016-02-17 Nick Clifton <nickc@redhat.com>
2838 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
2839 devices.csv file as of March 2016.
2841 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
2843 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
2845 (tc_arc_regname_to_dw2regnum): Likewise.
2846 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
2847 (tc_cfi_frame_initial_instructions): Likewise.
2848 (tc_regname_to_dw2regnum): Likewise.
2849 * testsuite/gas/cfi/cfi-arc-1.d: New file.
2850 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
2851 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
2853 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
2855 * doc/internals.texi (S_IS_EXTERN): Remove.
2857 2016-02-16 Nick Clifton <nickc@redhat.com>
2859 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
2862 2016-02-16 Renlin Li <renlin.li@arm.com>
2865 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
2866 * testsuite/gas/aarch64/movw_label.d: New.
2867 * testsuite/gas/aarch64/movw_label.s: New.
2869 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
2872 * config/rx-parse.y (MOV): Opcode generation for index
2873 register addressing mode.
2874 * testsuite/gas/rx/rx.exp: Updated for new testcase.
2875 * testsuite/gas/rx/pr19665.s: New file.
2876 * testsuite/gas/rx/pr19665.s: New file.
2877 * testsuite/gas/rx/mov.d: Update expected output.
2879 2016-02-15 Nick Clifton <nickc@redhat.com>
2881 * doc/as.texinfo (.section): Document that numeric values can now
2882 be used for the flags and type fields of the ELF target's .section
2883 directive. Add notes about the restrictions on setting flags and
2885 * config/obj-elf.c (obj_elf_change_section): Allow known sections
2886 to be given processor specific section types. Allow processor and
2887 application specific flags of a section to be set after
2889 (obj_elf_parse_section_letters): Handle parsing numeric values.
2890 (obj_elf_section_type): Handle parsing numeric values.
2891 (obj_elf_section): Allow numeric type values.
2892 * config/obj-elf.h (obj_elf_change_section): Update prototype.
2893 * testsuite/gas/elf/section10.d: New test.
2894 * testsuite/gas/elf/section10.s: Source file for new test.
2895 * testsuite/gas/elf/elf.exp: Run the new test.
2896 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
2897 the description of the flags produced by readelf.
2898 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
2899 * NEWS: Mention the new feature.
2901 2016-02-11 Nick Clifton <nickc@redhat.com>
2904 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
2905 until it is actually used.
2906 (cfi_set_sections): Set cfi_sections_set to true.
2907 (dot_cfi_startproc): Likewise.
2908 (dot_cfi_endproc): Likewise.
2909 (dot_cfi_fde_data): Likewise.
2910 (cfi_finish): Likewise.
2911 (dot_cfi_sections): Do not set cfi_sections_set.
2912 * doc/as.texinfo (.cfi_sections): Note that targets can provide
2913 their own cfi section name. Also note that the directive can be
2914 reissued provided that CFI generation has not started.
2915 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
2916 .cfi_endproc directives so that the redefinition of .cfi_sections
2917 will trigger the generation of the error message.
2918 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
2919 number of error message.
2921 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
2922 Janek van Oirschot <jvanoirs@synopsys.com>
2924 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
2925 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
2927 (arc_flags, arc_relax_type): New structure.
2928 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
2929 (RELAX_TABLE_ENTRY_MAX): New define.
2930 (relaxation_state, md_relax_table, arc_relaxable_insns)
2931 (arc_num_relaxable_ins): New variable.
2932 (rlx_operand_type, arc_rlx_types): New enums.
2933 (arc_relaxable_ins): New structure.
2934 (OPTION_RELAX): New option.
2935 (arc_insn): New relax member.
2936 (arc_flags): Remove.
2937 (relax_insn_p): New function.
2938 (apply_fixups): Likewise.
2939 (relaxable_operand): Likewise.
2940 (may_relax_expr): Likewise.
2941 (relaxable_flag): Likewise.
2942 (arc_pcrel_adjust): Likewise.
2943 (md_estimate_size_before_relax): Implement.
2944 (md_convert_frag): Likewise.
2945 (md_parse_option): Handle new mrelax option.
2946 (md_show_usage): Likewise.
2947 (assemble_insn): Set relax member.
2948 (emit_insn0): New function.
2949 (emit_insn1): Likewise.
2950 (emit_insn): Handle relaxation case.
2951 * NEWS: Mention the new relaxation option.
2952 * doc/c-arc.texi (ARC Options): Document new mrelax option.
2953 * doc/as.texinfo (Target ARC Options): Likewise.
2954 * testsuite/gas/arc/relax-avoid1.d: New file.
2955 * testsuite/gas/arc/relax-avoid1.s: Likewise.
2956 * testsuite/gas/arc/relax-avoid2.d: Likewise.
2957 * testsuite/gas/arc/relax-avoid2.s: Likewise.
2958 * testsuite/gas/arc/relax-avoid3.d: Likewise.
2959 * testsuite/gas/arc/relax-avoid3.s: Likewise.
2960 * testsuite/gas/arc/relax-b.d: Likewise.
2961 * testsuite/gas/arc/relax-b.s: Likewise.
2963 2016-02-08 Nick Clifton <nickc@redhat.com>
2965 * config/tc-ia64.c (dot_prologue): Fix formatting.
2967 2016-02-04 Nick Clifton <nickc@redhat.com>
2969 * config/obj-elf.c (obj_elf_change_section): Remove support for
2970 ARM NOREAD sections.
2971 * config/tc-arm.c (arm_elf_section_letter): Delete.
2972 * config/tc-arm.h (md_elf_section_letter): Delete.
2973 * doc/c-arm.texi (ARM Section Attribute): Delete section.
2974 * testsuite/gas/arm/section-execute-only.d: Delete.
2975 * testsuite/gas/arm/section-execute-only.s: Delete.
2977 2016-02-04 Nick Clifton <nickc@redhat.com>
2980 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
2981 to handle encoding of RRUX instruction.
2982 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
2984 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
2986 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
2988 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
2989 substitutions for BFD_RELOC_* as unsigned.
2990 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
2991 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
2992 * testsuite/gas/xtensa/loc.s: New file: loc test.
2994 2016-02-03 Kevin Buettner <kevinb@redhat.com>
2996 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
2998 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3001 * NEWS: Mention new command line option -mrelax-relocations and
3002 new configure option --enable-x86-relax-relocations for x86
3004 * config.in: Regenerated.
3005 * configure.ac: Add --enable-x86-relax-relocations.
3006 (ac_default_x86_relax_relocations): New. Default to 1 except
3007 for x86 Solaris targets older than Solaris 12.
3008 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3009 * configure: Likewise.
3010 * config/tc-i386.c (generate_relax_relocations): New.
3011 (OPTION_MRELAX_RELOCATIONS): Likewise.
3012 (output_disp): Don't generate relax relocations if
3013 generate_relax_relocations is 0.
3014 (md_longopts): Add -mrelax-relocations.
3015 (md_show_usage): Likewise.
3016 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3017 * doc/c-i386.texi: Document -mrelax-relocations=.
3018 * testsuite/gas/i386/got-no-relax.d: New file.
3019 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3020 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3021 * testsuite/gas/i386/localpic.d: Likewise.
3022 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3023 * testsuite/gas/i386/reloc32.d: Likewise.
3024 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3025 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3026 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3027 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3028 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3029 x86-64-gotpcrel-no-relax.
3031 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3033 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3036 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3038 * NEWS: Remove duplicated marker for 2.26.
3040 2016-02-02 Renlin Li <renlin.li@arm.com>
3042 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3044 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3046 * testsuite/gas/ip2k/allinsn.d: New file.
3047 * testsuite/gas/ip2k/allinsn.s: New file.
3048 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3050 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3052 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3053 some load instructions.
3054 * testsuite/gas/epiphany/allinsn.d: Likewise.
3055 * testsuite/gas/epiphany/regression.d: Likewise.
3057 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3059 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3060 suffixes from instruction mnemonics in expected output.
3061 * testsuite/gas/epiphany/allinsn.d: Likewise.
3062 * testsuite/gas/epiphany/regression.d: Likewise.
3063 * testsuite/gas/epiphany/sample.d: Likewise.
3065 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3067 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3069 * testsuite/gas/epiphany/allinsn.d: Likewise.
3070 * testsuite/gas/epiphany/sample.d: Likewise.
3072 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3074 * testsuite/gas/epiphany/sample.d: Update expected output.
3076 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3078 * config/tc-arc.c (md_apply_fix): Allow addendum.
3079 (arc_reloc_op): Allow complex expressions for tpoff.
3080 (md_apply_fix): Handle resolved TLS local symbol.
3081 * testsuite/gas/arc/tls-relocs1.d: New file.
3082 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3084 2016-02-01 Loria <Loria@phantasia.org>
3087 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3088 efficiency and avoid an LLVM loop optimization bug.
3090 2016-02-01 Nick Clifton <nickc@redhat.com>
3092 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3093 message extending a negative 32-bit value into a larger signed
3094 value on a 32-bit host.
3096 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3099 * configure.ac (compressed_debug_sections): Replace == with =.
3100 * configure: Regenerated.
3102 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3103 H.J. Lu <hongjiu.lu@intel.com>
3105 * config/tc-i386.c (avoid_fence): New.
3106 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3108 (OPTION_FENCE_AS_LOCK_ADD): New.
3109 (md_longopts): Add -mfence-as-lock-add.
3110 (md_parse_option): Handle -mfence-as-lock-add.
3111 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3112 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3113 * testsuite/gas/i386/i386.exp: Run new tests.
3114 * testsuite/gas/i386/fence-as-lock-add.s: New.
3115 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3116 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3117 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3118 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3120 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3122 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3123 * configure: Regenerated.
3125 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3127 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3128 (OPTION_MOMIT_LOCK_PREFIX): This.
3129 (md_longopts): Updated.
3130 (md_parse_option): Likewise.
3132 2016-01-25 Catherine Moore <clm@codesourcery.com>
3134 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3135 if abicalls are in effect.
3136 * testsuite/gas/mips/sdata-gp.s: New test.
3137 * testsuite/gas/mips/sdata-gp.d: New expected output
3138 * testsuite/gas/mips/mips.exp: Run new test.
3140 2016-01-25 Renlin Li <renlin.li@arm.com>
3142 * testsuite/gas/arm/thumb2_it_search.d: New.
3143 * testsuite/gas/arm/thumb2_it_search.s: New.
3145 2016-01-21 Nick Clifton <nickc@redhat.com>
3148 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3149 with arm-netbsdelf target.
3150 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3152 2016-01-20 Nick Clifton <nickc@redhat.com>
3155 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3156 * testsuite/gas/arm/blx-bl-convert.d
3157 * testsuite/gas/arm/plt-1.d: Likewise.
3158 * testsuite/gas/arm/reloc-bad.d: Likewise.
3159 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3160 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3161 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3162 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3165 * doc/as.texinfo (Errors): Correct documentation describing the
3166 interaction of .file and .line with warning and error messages.
3169 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3170 * testsuite/gas/arm/archv8m-main.d: Likewise.
3171 * testsuite/gas/arm/archv8m-base.d: Likewise.
3173 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3175 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3176 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3177 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3179 2016-01-20 Mickael Guene <mickael.guene@st.com>
3180 Terry Guo <terry.guo@arm.com>
3182 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3183 SHF_ARM_NOREAD section flag.
3184 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3186 (arm_elf_section_letter) : Declare it.
3187 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3188 SHF_ARM_NOREAD section flag.
3189 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3191 * testsuite/gas/arm/section-execute-only.s: New test case.
3192 * testsuite/gas/arm/section-execute-only.d: Expected output.
3194 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3196 * config/tc-mips.c (micromips_insn_length): Remove the mention
3197 of 48-bit microMIPS instructions.
3199 2016-01-18 Alan Modra <amodra@gmail.com>
3201 * configure: Regenerate.
3203 2016-01-17 Alan Modra <amodra@gmail.com>
3205 * configure: Regenerate.
3207 2016-01-17 Alan Modra <amodra@gmail.com>
3209 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3211 2016-01-14 Nick Clifton <nickc@redhat.com>
3213 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3214 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3215 * testsuite/gas/rl78/rl78.exp: Run the new test.
3217 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3219 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3220 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3222 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3224 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3226 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3228 * config/tc-h8300.c (get_operand): Remove spurious condition in
3229 test for closing parenthesis.
3231 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3233 * config/tc-arm.c (arm_ext_v8_2): New.
3235 * testsuite/gas/arm/armv8_2-a.d: New.
3236 * testsuite/gas/arm/armv8_2-a.s: New.
3238 2016-01-12 Alan Modra <amodra@gmail.com>
3240 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3242 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3244 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3245 xvcmpnesp, xvcmpnesp.>: Delete tests.
3246 * testsuite/gas/ppc/power9.s: Likewise.
3247 * testsuite/gas/ppc/vsx3.d: Likewise.
3248 * testsuite/gas/ppc/vsx3.s: Likewise.
3250 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3253 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3254 * testsuite/gas/m68k/p13050-1.s: New file.
3255 * testsuite/gas/m68k/p13050-2.d: New file.
3256 * testsuite/gas/m68k/p13050-2.s: New file.
3258 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3260 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3261 * testsuite/gas/arc/add.d: Likewise.
3262 * testsuite/gas/arc/and.d: Likewise.
3263 * testsuite/gas/arc/asl.d: Likewise.
3264 * testsuite/gas/arc/asr.d: Likewise.
3265 * testsuite/gas/arc/bic.d: Likewise.
3266 * testsuite/gas/arc/extb.d: Likewise.
3267 * testsuite/gas/arc/extw.d: Likewise.
3268 * testsuite/gas/arc/j.d: Likewise.
3269 * testsuite/gas/arc/jl.d: Likewise.
3270 * testsuite/gas/arc/ld2.d: Likewise.
3271 * testsuite/gas/arc/lsr.d: Likewise.
3272 * testsuite/gas/arc/mov.d: Likewise.
3273 * testsuite/gas/arc/or.d: Likewise.
3274 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3275 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3276 * testsuite/gas/arc/pic-relocs.d: Likewise.
3277 * testsuite/gas/arc/plt-relocs.d: Likewise.
3278 * testsuite/gas/arc/rlc.d: Likewise.
3279 * testsuite/gas/arc/ror.d: Likewise.
3280 * testsuite/gas/arc/rrc.d: Likewise.
3281 * testsuite/gas/arc/sbc.d: Likewise.
3282 * testsuite/gas/arc/sda-relocs.d: Likewise.
3283 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3284 * testsuite/gas/arc/sexb.d: Likewise.
3285 * testsuite/gas/arc/sexw.d: Likewise.
3286 * testsuite/gas/arc/st.d: Likewise.
3287 * testsuite/gas/arc/sub.d: Likewise.
3288 * testsuite/gas/arc/tls-relocs.d: Likewise.
3289 * testsuite/gas/arc/xor.d: Likewise.
3291 2016-01-01 Alan Modra <amodra@gmail.com>
3293 Update year range in copyright notice of all files.
3295 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3297 Copyright (C) 2016 Free Software Foundation, Inc.
3299 Copying and distribution of this file, with or without modification,
3300 are permitted in any medium without royalty provided the copyright
3301 notice and this notice are preserved.
3307 version-control: never