1 2016-07-01 Jan Beulich <jbeulich@suse.com>
3 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
4 (md_assemble): Free first memory operand string.
5 (i386_index_check): Use repprefixok to distingush xlat from
6 other (real) string ops.
7 (maybe_adjust_templates): New.
8 (i386_att_operand). Call it. Store first memory operand string.
9 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
10 * testsuite/gas/i386/intel-movs.s: New.
11 * testsuite/gas/i386/intel-movs32.d: New.
12 * testsuite/gas/i386/intel-movs64.d: New.
13 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
14 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
16 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
18 * config/tc-mips.c (get_append_method): Fix a comment typo.
20 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
21 Maciej W. Rozycki <macro@imgtec.com>
23 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
25 * testsuite/gas/mips/branch-swap-3.d: New test.
26 * testsuite/gas/mips/branch-swap-4.d: New test.
27 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
28 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
29 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
30 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
31 * testsuite/gas/mips/branch-swap-3.s: New test source.
32 * testsuite/gas/mips/mips.exp: Run the new tests.
34 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
36 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
39 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
42 * write.c (subsegs_finish_section): Force no section padding to
43 alignment on failed assembly, always set last frag's alignment
45 * testsuite/gas/all/pr20312.l: New list test.
46 * testsuite/gas/all/pr20312.s: New test source.
47 * testsuite/gas/all/gas.exp: Run the new test
49 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
51 * config.in (TARGET_WITH_CPU): Undefine.
52 * configure.ac: Add --with-cpu support, and define in config.h.
53 * configure: Regenerate.
54 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
55 * NEWS: Mention new configure option.
57 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
59 * testsuite/gas/arm/armv8_2+rdma.d: New.
61 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
63 * NEWS: Mention --enable-compressed-debug-sections=gas is the
64 default for Linux/x86 targets.
65 * configure.tgt (ac_default_compressed_debug_sections): Default
66 to yes for Linux/x86 targets.
68 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
70 * write.c: Remove "libbfd.h" inclusion.
72 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
74 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
77 2016-06-28 Alan Modra <amodra@gmail.com>
80 * testsuite/gas/elf/section11.s: Don't start directives in first column.
82 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
84 * testsuite/gas/aarch64/diagnostic.s,
85 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
87 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
89 * config/tc-mips.c (mips16_reloc_p): Handle
90 BFD_RELOC_MIPS16_16_PCREL_S1.
91 (b_reloc_p): Likewise.
92 (limited_pcrel_reloc_p): Likewise.
93 (md_pcrel_from): Likewise.
94 (md_apply_fix): Likewise.
95 (tc_gen_reloc): Likewise.
96 (md_convert_frag): Likewise.
97 (mips_fix_adjustable): Update comment.
98 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
99 output, add dump patterns.
100 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
101 output, add dump patterns.
102 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
103 output, add dump patterns.
104 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
105 output, add dump patterns.
106 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
107 output, add dump patterns.
108 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
109 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
110 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
111 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
112 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
113 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
114 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
115 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
116 * testsuite/gas/mips/branch-weak-6.d: New test.
117 * testsuite/gas/mips/branch-weak-7.d: New test.
118 * testsuite/gas/mips/mips.exp: Run the new tests.
120 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
122 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
123 cfi_add_CFA_def_cfa to generate default CFA with offset
124 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
126 2016-06-27 Nick Clifton <nickc@redhat.com>
129 * as.h (do_not_pad_sections_to_alignment): New global variable.
130 * as.c (show_usage): Add --no-pad-sections.
131 (parse_args): Likewise.
132 * write.c (size_seg): Skip padding the end of the section if
133 requested from the command line.
134 (SUB_SEGMENT_ALIGN): Likewise.
135 * doc/as.texinfo: Document the new option.
136 * NEWS: Mention the new feature.
137 * testsuite/gas/elf/section11.s: New test.
138 * testsuite/gas/elf/section11.d: New test driver.
139 * testsuite/gas/elf/elf.exp: Run the new test.
141 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
143 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
144 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
146 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
148 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
150 (map_suffix_reloc_to_operator): Likewise.
151 (map_operator_to_reloc): Likewise.
153 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
155 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
156 element in relax_table.
158 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
160 * config/tc-aarch64.c: Make the type of reg_entry::type
163 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
165 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
166 (md_parse_option): Adjust.
167 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
168 with iteration from 0 to ARRAY_SIZE.
169 * config/tc-mcore.c (md_begin): Likewise.
170 * config/tc-visium.c (visium_parse_arch): Likewise.
172 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
174 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
175 and simplify accordingly.
176 (tic54x_include): Adjust.
177 (tic54x_mlib): Likewise.
179 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
181 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
183 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
185 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
186 unchanged with relaxed MIPS16 instructions.
187 (mips16_extended_frag): Adjust accordingly. Return 1 right
188 away if a relocation will be required for the symbol requested.
189 Remove dead first relaxation pass code.
190 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
191 (md_convert_frag): Adjust symbol value calculation. Raise an
192 error if a relocation is required for the symbol requested.
193 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
195 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
196 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
197 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
198 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
199 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
200 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
201 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
202 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
203 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
204 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
205 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
206 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
207 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
208 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
209 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
210 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
211 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
212 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
213 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
214 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
215 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
216 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
217 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
218 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
219 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
220 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
221 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
222 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
223 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
224 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
225 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
226 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
227 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
228 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
229 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
230 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
231 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
232 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
233 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
234 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
235 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
236 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
237 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
238 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
239 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
240 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
241 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
242 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
243 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
244 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
245 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
246 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
247 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
248 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
249 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
250 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
251 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
252 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
253 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
254 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
255 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
256 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
257 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
258 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
259 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
260 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
261 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
262 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
263 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
264 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
265 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
266 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
267 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
268 * testsuite/gas/mips/mips.exp: Run the new tests.
270 2016-06-24 Alan Modra <amodra@gmail.com>
272 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
274 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
276 * config/tc-mips.c (b_reloc_p): New function.
277 (mips_fix_adjustable): Also keep the original microMIPS symbol
278 referred from branch relocations.
279 * testsuite/gas/mips/branch-local-1.d: New test.
280 * testsuite/gas/mips/branch-local-n32-1.d: New test.
281 * testsuite/gas/mips/branch-local-n64-1.d: New test.
282 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
284 * testsuite/gas/mips/branch-local-1.s: New test source.
285 * testsuite/gas/mips/mips.exp: Run the new cases.
287 2016-06-23 Graham Markall <graham.markall@embecosm.com>
289 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
290 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
291 options. Correct erroneous enabling of SPFP instructions when
294 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
296 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
297 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
298 setbool, xor3>: New tests.
299 * testsuite/gas/ppc/power9.s: Likewise.
301 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
303 * config/tc-xtensa.c: Include elf/xtensa.h.
305 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
307 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
308 <BFD_RELOC_LO16_PCREL>: New switch cases.
309 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
310 Move switch cases along `BFD_RELOC_MIPS_JMP'.
311 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
312 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
314 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
315 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
316 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
317 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
318 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
319 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
320 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
321 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
322 * testsuite/gas/mips/mips.exp: Run the new tests.
324 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
326 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
327 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
328 via `fixP->fx_addsy'.
330 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
332 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
333 Calculate relocation from the containing aligned doubleword.
334 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
335 addend from the containing aligned doubleword.
337 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
339 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
340 rather than `mips_opts' for the R6 ISA check.
341 (mips_fix_adjustable): Likewise.
342 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
343 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
344 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
345 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
346 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
347 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
348 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
349 * testsuite/gas/mips/mips.exp: Run the new tests.
351 2016-06-21 Graham Markall <graham.markall@embecosm.com>
353 * config/tc-arc.c (check_cpu_feature, md_parse_option):
354 Add nps400 option and feature. Add check for nps400
355 feature. Refactor existing checks to check subclass before
357 (md_show_usage): Document flags for NPS-400 and add some other
359 (cpu_type): Remove nps400 CPU type entry
360 (check_zol): Remove bfd_mach_arc_nps400 case.
361 (md_show_usage): Add help on -mcpu=nps400.
362 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
364 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
365 -fpuda flags. Document -mcpu=nps400.
366 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
367 expected flags to match ARC700 instead of NPS400.
368 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
369 * testsuite/gas/arc/nps-400-2.d: Likewise.
370 * testsuite/gas/arc/nps-400-3.d: Likewise.
371 * testsuite/gas/arc/nps-400-4.d: Likewise.
372 * testsuite/gas/arc/nps-400-5.d: Likewise.
373 * testsuite/gas/arc/nps-400-6.d: Likewise.
374 * testsuite/gas/arc/nps-400-7.d: Likewise.
375 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
376 avoid clash with cbba instruction.
377 * testsuite/gas/arc/textinsn2op01.d: Likewise.
378 * testsuite/gas/arc/textinsn3op.d: Likewise.
379 * testsuite/gas/arc/textinsn3op.s: Likewise.
380 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
381 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
383 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
385 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
386 * testsuite/gas/mips/r6-64-n64.d: Likewise.
388 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
390 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
393 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
395 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
397 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
399 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
400 %hmcddfr and %hva_mask_nz.
401 (sparc_ip): New handling of asr/privileged/hyperprivileged
402 registers, adapted to the new form of the sparc opcodes table.
403 * testsuite/gas/sparc/rdasr.s: New file.
404 * testsuite/gas/sparc/rdasr.d: Likewise.
405 * testsuite/gas/sparc/wrasr.s: Likewise.
406 * testsuite/gas/sparc/wrasr.d: Likewise.
407 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
409 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
410 registers require it.
411 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
412 registers and write instruction modalities.
413 * testsuite/gas/sparc/wrpr.d: Likewise.
414 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
416 * testsuite/gas/sparc/rdhpr.d: Likewise.
417 * testsuite/gas/sparc/wrhpr.s: Likewise.
418 * testsuite/gas/sparc/wrhpr.d: Likewise.
420 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
422 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
423 architectures to use the right opcode architecture.
424 (sparc_md_end): Handle v9{c,d,e,v,m}.
425 (sparc_ip): Fix some comments.
426 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
427 instruction, which is v9d.
428 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
429 instruction from the test, as %mwait is not readable.
430 * testsuite/gas/sparc/mwait.d: Likewise.
431 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
432 mismatch architecture errors.
433 * testsuite/gas/sparc/mism-2.s: New file.
435 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
437 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
438 empty string to mark the end of the array.
439 (hpriv_reg_table): Likewise.
440 (v9a_asr_table): Likewise.
441 (cmp_reg_entry): Handle entries with NULL names.
443 (F_POP_PCREL): Likewise.
444 (F_POP_TLS_CALL): Likewise.
445 (F_POP_POSTFIX): Likewise.
446 (struct pop_entry): New type.
447 (pop_table): New variable.
448 (enum pop_entry_type): New type.
449 (struct perc_entry): Likewise.
450 (NUM_PERC_ENTRIES): Define.
451 (perc_table): New variable.
452 (cmp_perc_entry): New function.
453 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
455 (sparc_ip): Handle entries with NULL names in priv_reg_table,
456 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
459 2016-06-15 Nick Clifton <nickc@redhat.com>
461 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
463 * config/tc-mcore.c (md_assemble): Likewise.
464 * config/tc-mn10200.c (md_assemble): Likewise.
465 * config/tc-moxie.c (md_assemble): Likewise.
466 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
467 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
468 exception targets. Add alpha, hppa, microblaze and rl78 to list
470 (forward): Add microblaze to list of exceptions.
471 (fwdexp): Add alpha to list of exceptions.
472 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
473 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
474 (do_930509a): Alpha sort list of exception targets. Add h8300 and
475 mn10200 to list of exceptions.
476 (align2): Expect to fail for nds32.
477 (cond): Add alpha and rl78 to list of exceptions.
478 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
479 * testsuite/gas/all/string.d: Skip for tic4x.
480 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
481 target does not support ELF.
482 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
483 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
484 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
485 tests for sh-pe and sh-rtemscoff targets.
486 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
488 (type): Run the noifunc version for alpha-freebsd and visium.
489 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
490 mn10200 or moxie targets.
491 * testsuite/gas/ft32/insn.d: Update expected disassembly.
492 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
494 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
495 mcore and rx targets.
496 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
498 (purge): Expect to fail on the ns32k and vax.
499 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
500 * testsuite/gas/nds32/ls.d: Likewise.
501 * testsuite/gas/nds32/sys-reg.d: Likewise.
502 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
503 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
504 * testsuite/gas/pe/section-align-3.d: Likewise.
505 * testsuite/gas/pe/section-exclude.d: Likewise.
506 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
508 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
509 for variations in whitespace.
510 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
512 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
513 Installs a 32-bit value without generating warnings on 64-bit
515 Use the new macro to replace the .word directives.
517 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
519 * testsuite/gas/arc/add_s.d: New file.
520 * testsuite/gas/arc/add_s.s: New file.
522 2016-06-14 Graham Markall <graham.markall@embecosm.com>
524 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
525 * testsuite/gas/arc/nps400-6.d: Likewise.
527 2016-06-14 Graham Markall <graham.markall@embecosm.com>
529 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
531 * testsuite/gas/arc/nps400-6.d: Likewise.
533 2016-06-14 Graham Markall <graham.markall@embecosm.com>
535 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
536 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
537 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
538 * testsuite/gas/arc/nps400-6.d: Likewise.
540 2016-06-14 Nick Clifton <nickc@redhat.com>
542 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
545 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
547 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
548 JALR relocations on R6.
549 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
550 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
551 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
552 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
553 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
554 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
556 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
557 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
559 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
560 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
562 * testsuite/gas/mips/mips.exp: Run the new tests.
564 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
566 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
567 * doc/c-aarch64.texi: Document that vulcan is a valid processor
570 2016-06-13 Nick Clifton <nickc@redhat.com>
572 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
573 that are not supported.
575 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
577 * config/tc-cr16.c (check_range): Likewise.
578 * config/tc-nios2.c (nios2_check_overflow): Likewise.
580 2016-06-08 Renlin Li <renlin.li@arm.com>
582 * config/tc-aarch64.c (print_operands): Substitute size.
583 (output_operand_error_record): Likewise.
585 2016-06-07 Alan Modra <amodra@gmail.com>
587 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
588 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
589 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
590 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
591 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
592 add vle_opcodes twice.
593 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
595 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
597 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
598 (arm_ext_ras): Renamed from arm_ext_v8_2.
599 (insns): Update for arm_ext_v8_2 renaming.
600 (arm_extensions): Add "ras".
601 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
602 * testsuite/gas/arm/armv8-a+ras.d: New.
603 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
606 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
608 * itbl-parse.y (yyerror): Use modern argument declaration style.
610 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
612 * config/tc-sh.c (parse_reg): Change type of mode argument to
614 (get_operand): Adjust.
615 (insert): Change type of how to bfd_reloc_code_real_type.
617 * config/tc-sh64.c (shmedia_get_operand): Adjust.
618 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
620 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
622 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
625 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
628 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
629 stbcx., sthcx., stwcx., stdcx.>: Add tests.
630 * gas/testsuite/gas/ppc/e6500.d: Likewise.
631 * gas/testsuite/gas/ppc/power8.s: Likewise.
632 * gas/testsuite/gas/ppc/power8.d: Likewise.
633 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
635 * gas/testsuite/gas/ppc/power4.d: Likewise.
637 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
640 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
641 * testsuite/gas/i386/x86-64-branch.d: Updated.
642 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
643 * testsuite/gas/i386/x86-64-branch-4.l: New file.
644 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
646 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
648 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
649 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
651 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
653 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
654 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
656 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
658 * configure.tgt: Replace -uclibc with *.
660 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
662 * config/tc-arc.c (parse_opcode_flags): New function.
663 (find_opcode_match): Move flag parsing code out to new function.
664 Ignore operands marked IGNORE.
665 (build_fake_opcode_hash_entry): New function.
666 (find_special_case_long_opcode): New function.
667 (find_special_case): Lookup long opcodes.
668 * testsuite/gas/arc/nps400-7.d: New file.
669 * testsuite/gas/arc/nps400-7.s: New file.
671 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
673 * config/tc-ns32k.c: Remove definition of input_line_pointer.
675 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
677 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
678 sentinal with iteration to array size.
680 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
682 * config/xtensa-relax.h: Move typedefs of enums to the enums
685 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
687 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
690 2016-06-01 Graham Markall <graham.markall@embecosm.com>
692 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
693 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
694 * testsuite/gas/arc/nps-400-1.d: Likewise.
696 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
699 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
700 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
701 noavx512ifma and noavx512vbmi.
702 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
703 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
705 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
706 * testsuite/gas/i386/noavx512-1.l: New file.
707 * testsuite/gas/i386/noavx512-1.s: Likewise.
708 * testsuite/gas/i386/noavx512-2.l: Likewise.
709 * testsuite/gas/i386/noavx512-2.s: Likewise.
711 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
714 * config/tc-i386.c (cpu_arch): Add 687.
715 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
716 nosse4.1, nosse4.2, nosse4 and noavx2.
717 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
718 register. Check cpuregxmm instead of cpusse for XMM register.
719 Check cpuregymm instead of cpuavx for YMM register. Check
720 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
721 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
722 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
723 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
724 * testsuite/gas/i386/arch-10.d (as): Likewise.
725 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
726 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
727 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
729 * testsuite/gas/i386/no87-3.l: New file.
730 * testsuite/gas/i386/no87-3.s: Likewise.
731 * testsuite/gas/i386/noavx-3.l: Likewise.
732 * testsuite/gas/i386/noavx-3.s: Likewise.
733 * testsuite/gas/i386/noavx-4.d: Likewise.
734 * testsuite/gas/i386/noavx-4.s: Likewise.
735 * testsuite/gas/i386/nosse-4.l: Likewise.
736 * testsuite/gas/i386/nosse-4.s: Likewise.
737 * testsuite/gas/i386/nosse-5.d: Likewise.
738 * testsuite/gas/i386/nosse-5.s: Likewise.
740 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
743 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
745 (match_template): Check Intel64/AMD64 ISA.
747 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
750 * config/tc-i386.c (intel64): New.
751 (cpu_flags_match): Set cpuamd64 and cpuintel64.
752 (md_parse_option): Set intel64 instead of cpuamd64 and
755 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
757 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
760 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
762 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
763 * testsuite/gas/ppc/altivec3.s: Likewise.
764 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
765 * testsuite/gas/ppc/power9.s: Likewise.
767 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
769 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
770 * testsuite/gas/i386/noavx-1.l: Likewise.
771 * testsuite/gas/i386/nommx-1.l: Likewise.
772 * testsuite/gas/i386/nosse-1.l: Likewise.
773 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
774 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
775 * testsuite/gas/i386/noavx-1.s: Likewise.
776 * testsuite/gas/i386/nommx-1.s: Likewise.
777 * testsuite/gas/i386/nosse-1.s: Likewise.
778 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
780 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
782 * config/tc-metag.c (metag_handle_align): Make the type of noop
785 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
787 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
788 bfd_reloc_code_real_type.
790 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
793 * config/tc-i386.c (cpu_flags_match): Require another match
795 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
796 x86-64-avx512vl-1 and x86-64-avx512vl-2.
797 * testsuite/gas/i386/avx512vl-1.l: New file.
798 * testsuite/gas/i386/avx512vl-1.s: Likewise.
799 * testsuite/gas/i386/avx512vl-2.l: Likewise.
800 * testsuite/gas/i386/avx512vl-2.s: Likewise.
801 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
802 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
803 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
804 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
806 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
809 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
810 * testsuite/gas/i386/x86-64-pr20141.d: New file.
811 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
813 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
815 * config/tc-i386.c (arch_entry): Remove negated.
816 (noarch_entry): New struct.
817 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
819 (set_cpu_arch): Check cpu_noarch after cpu_arch.
820 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
822 (output_message): New function.
823 (show_arch): Use it. Handle cpu_noarch.
824 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
825 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
826 * testsuite/gas/i386/noavx-1.l: New file.
827 * testsuite/gas/i386/noavx-1.s: Likewise.
828 * testsuite/gas/i386/noavx-2.s: Likewise.
829 * testsuite/gas/i386/noavx-2.l: Likewise.
830 * testsuite/gas/i386/nommx-1.s: Likewise.
831 * testsuite/gas/i386/nommx-1.l: Likewise.
832 * testsuite/gas/i386/nommx-2.s: Likewise.
833 * testsuite/gas/i386/nommx-2.l: Likewise.
834 * testsuite/gas/i386/nommx-3.s: Likewise.
835 * testsuite/gas/i386/nommx-3.l: Likewise.
836 * testsuite/gas/i386/nosse-1.s: Likewise.
837 * testsuite/gas/i386/nosse-1.l: Likewise.
838 * testsuite/gas/i386/nosse-2.s: Likewise.
839 * testsuite/gas/i386/nosse-2.l: Likewise.
840 * testsuite/gas/i386/nosse-3.s: Likewise.
841 * testsuite/gas/i386/nosse-3.l: Likewise.
843 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
846 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
847 instruction if supported by the currently selected fpu variant.
848 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
849 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
851 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
853 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
854 jump relocations against MIPS16 or microMIPS symbols on RELA
856 * testsuite/gas/mips/jalx-local.d: New test.
857 * testsuite/gas/mips/jalx-local-n32.d: New test.
858 * testsuite/gas/mips/jalx-local-n64.d: New test.
859 * testsuite/gas/mips/jalx-local.s: New test source.
860 * testsuite/gas/mips/mips.exp: Run the new tests.
862 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
864 * config/tc-mips.c (md_apply_fix)
865 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
868 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
870 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
871 operator to operatorT.
872 (map_suffix_reloc_to_operator): Change return type to operatorT.
874 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
876 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
878 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
880 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
881 handler_charp to const char *.
883 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
885 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
886 (ft32_target_format): Likewise.
887 (TARGET_FORMAT): Adjust.
889 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
891 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
892 (ia64_frob_label): Likewise.
894 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
896 * config/tc-cr16.c (check_range): Make type of retval op_err.
897 * config/tc-crx.c: Likewise.
899 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
901 * config/tc-arc.c (md_begin): Add XY registers.
902 (cpu_types): Code density is default off for ARC EM.
904 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
906 * config/tc-arc.c (attributes_t): Renamed attribute class to
908 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
910 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
912 * configuse.tgt: Add entry for arm-phoenix.
914 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
916 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
918 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
920 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
922 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
924 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
925 (md_begin): Likewise.
926 (encode_condition): Likewise.
927 (encode_cc3): Likewise.
928 (encode_cc2): Likewise.
929 (encode_operand): Likewise.
930 (tic54x_undefined_symbol): Likewise.
932 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
934 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
936 * doc/c-mips.texi: Document p6600 -march option.
938 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
941 * config/tc-i386.c (md_apply_fix): Preserve addend for
942 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
943 * testsuite/gas/i386/addend.d: New file.
944 * testsuite/gas/i386/addend.s: Likewise.
945 * testsuite/gas/i386/x86-64-addend.d: Likewise.
946 * testsuite/gas/i386/x86-64-addend.s: Likewise.
947 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
948 * testsuite/gas/i386/reloc32.d: Updated.
950 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
952 * config/tc-mips.c (append_insn): Correct the encoding of a
953 constant argument for microMIPS JALX.
954 (tc_gen_reloc): Correct the encoding of an in-place addend for
956 * testsuite/gas/mips/jalx-addend.d: New test.
957 * testsuite/gas/mips/jalx-addend-n32.d: New test.
958 * testsuite/gas/mips/jalx-addend-n64.d: New test.
959 * testsuite/gas/mips/jalx-imm.d: New test.
960 * testsuite/gas/mips/jalx-imm-n32.d: New test.
961 * testsuite/gas/mips/jalx-imm-n64.d: New test.
962 * testsuite/gas/mips/jalx-addend.s: New test source.
963 * testsuite/gas/mips/jalx-imm.s: New test source.
964 * testsuite/gas/mips/mips.exp: Run the new tests.
966 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
968 * config/tc-mips.c: Correct tab-after-space formatting mistakes
971 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
973 * config/tc-arc.c (find_opcode_match): Remove casting away of
975 * config/tc-arc.h (struct arc_flags): Make flgp field const.
977 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
979 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
981 (md_convert_frag): Likewise.
983 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
985 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
986 cached opcode to NULL when we reach a non-matching opcode.
987 * testsuite/gas/arc/asm-errors-2.d: New file.
988 * testsuite/gas/arc/asm-errors-2.err: New file.
989 * testsuite/gas/arc/asm-errors-2.s: New file.
991 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
993 * config/tc-arc.c (tokenize_arguments): Add checks for array
995 * testsuite/gas/arc/asm-errors.s: Addition test line added.
996 * testsuite/gas/arc/asm-errors.err: Update expected results.
998 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1000 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1001 int to enum rx_cpu_types.
1003 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1005 * config/tc-dlx.c (struct machine_it): change the type of a field from
1006 int to bfd_reloc_code_real_type.
1007 * config/tc-tic4x.c: Likewise.
1009 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1011 * config/tc-v850.c (v850_target_arch): change type to enum
1013 * config/tc-v850.h (v850_target_arch): Likewise.
1015 2016-05-18 Alan Modra <amodra@gmail.com>
1017 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1018 allowed negative range.
1019 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1020 * testsuite/gas/ppc/power9.d: Update.
1022 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1024 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1025 disassembling and stop skipping targets.
1026 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1027 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1028 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1029 instruction for targets that have stronger alignment requirement.
1030 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1031 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1032 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1033 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1034 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1035 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1036 * testsuite/gas/arm/archv8m-main.d: Likewise.
1037 * testsuite/gas/arm/archv8m.s: Add label.
1038 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1039 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1040 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1042 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1044 * config/tc-m32r.c (mach_table): Make static and const.
1046 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1048 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1051 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1053 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1055 * config/tc-msp430.c (md_begin): Likewise.
1057 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1059 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1060 bfd_reloc_code_real_type where appropriate.
1061 (fixup16): Likewise.
1062 (fixup8_xg): Likewise.
1064 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1066 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1068 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1070 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1071 * testsuite/gas/ppc/power9.s: Likewise.
1073 2016-05-13 Alan Modra <amodra@gmail.com>
1075 * config/obj-coff.c (weak_uniquify): Delete unused var.
1077 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1079 * app.c (app_push): Use XNEW and related macros.
1080 * as.c (parse_args): Likewise.
1081 * cgen.c (make_right_shifted_expr): Likewise.
1082 (gas_cgen_tc_gen_reloc): Likewise.
1083 * config/bfin-defs.h: Likewise.
1084 * config/bfin-parse.y: Likewise.
1085 * config/obj-coff.c (stack_init): Likewise.
1086 (stack_push): Likewise.
1087 (coff_obj_symbol_new_hook): Likewise.
1088 (coff_obj_symbol_clone_hook): Likewise.
1089 (add_lineno): Likewise.
1090 (coff_frob_symbol): Likewise.
1091 * config/obj-elf.c (obj_elf_section_name): Likewise.
1092 (build_group_lists): Likewise.
1093 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1094 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1095 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1096 (find_or_make_literal_pool): Likewise.
1097 (add_to_lit_pool): Likewise.
1098 (fill_instruction_hash_table): Likewise.
1099 * config/tc-alpha.c (load_expression): Likewise.
1100 (emit_jsrjmp): Likewise.
1101 (s_alpha_ent): Likewise.
1102 (s_alpha_end): Likewise.
1103 (s_alpha_linkage): Likewise.
1104 (md_begin): Likewise.
1105 (tc_gen_reloc): Likewise.
1106 * config/tc-arc.c (arc_insert_opcode): Likewise.
1107 (arc_extcorereg): Likewise.
1108 * config/tc-bfin.c: Likewise.
1109 * config/tc-cr16.c: Likewise.
1110 * config/tc-cris.c: Likewise.
1111 * config/tc-crx.c (preprocess_reglist): Likewise.
1112 * config/tc-d10v.c: Likewise.
1113 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1114 (frv_tomcat_shuffle): Likewise.
1115 * config/tc-h8300.c: Likewise.
1116 * config/tc-i370.c (i370_macro): Likewise.
1117 * config/tc-i386.c (lex_got): Likewise.
1118 (md_parse_option): Likewise.
1119 * config/tc-ia64.c (alloc_record): Likewise.
1120 (set_imask): Likewise.
1121 (save_prologue_count): Likewise.
1122 (dot_proc): Likewise.
1123 (dot_endp): Likewise.
1124 (ia64_frob_label): Likewise.
1125 (add_qp_imply): Likewise.
1126 (add_qp_mutex): Likewise.
1127 (mark_resource): Likewise.
1128 (dot_alias): Likewise.
1129 * config/tc-m68hc11.c: Likewise.
1130 * config/tc-m68k.c (m68k_frob_label): Likewise.
1132 (mri_control_label): Likewise.
1133 (push_mri_control): Likewise.
1134 (build_mri_control_operand): Likewise.
1135 (s_mri_else): Likewise.
1136 (s_mri_break): Likewise.
1137 (s_mri_next): Likewise.
1138 (s_mri_for): Likewise.
1139 (s_mri_endw): Likewise.
1140 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1141 * config/tc-microblaze.c: Likewise.
1142 * config/tc-mmix.c (s_loc): Likewise.
1143 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1144 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1145 * config/tc-rl78.c: Likewise.
1146 * config/tc-rx.c (rx_include): Likewise.
1147 * config/tc-sh.c: Likewise.
1148 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1149 * config/tc-sparc.c: Likewise.
1150 * config/tc-spu.c: Likewise.
1151 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1152 (tic6x_start_unwind_section): Likewise.
1153 * config/tc-tilegx.c: Likewise.
1154 * config/tc-tilepro.c: Likewise.
1155 * config/tc-v850.c: Likewise.
1156 * config/tc-visium.c: Likewise.
1157 * config/tc-xgate.c: Likewise.
1158 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1159 (new_resource_table): Likewise.
1160 (resize_resource_table): Likewise.
1161 (xtensa_create_trampoline_frag): Likewise.
1162 (xtensa_maybe_create_literal_pool_frag): Likewise.
1163 (cache_literal_section): Likewise.
1164 * config/xtensa-relax.c (append_transition): Likewise.
1165 (append_condition): Likewise.
1166 (append_value_condition): Likewise.
1167 (append_constant_value_condition): Likewise.
1168 (append_literal_op): Likewise.
1169 (append_label_op): Likewise.
1170 (append_constant_op): Likewise.
1171 (append_field_op): Likewise.
1172 (append_user_fn_field_op): Likewise.
1173 (enter_opname_n): Likewise.
1174 (enter_opname): Likewise.
1175 (split_string): Likewise.
1176 (parse_insn_templ): Likewise.
1177 (clone_req_or_option_list): Likewise.
1178 (clone_req_option_list): Likewise.
1179 (parse_option_cond): Likewise.
1180 (parse_insn_pattern): Likewise.
1181 (parse_insn_repl): Likewise.
1182 (build_transition): Likewise.
1183 (build_transition_table): Likewise.
1184 * dw2gencfi.c (alloc_fde_entry): Likewise.
1185 (alloc_cfi_insn_data): Likewise.
1186 (cfi_add_CFA_remember_state): Likewise.
1187 (dot_cfi_escape): Likewise.
1188 (dot_cfi_fde_data): Likewise.
1189 (select_cie_for_fde): Likewise.
1190 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1191 * ecoff.c (ecoff_add_bytes): Likewise.
1192 (ecoff_build_debug): Likewise.
1193 * input-scrub.c (input_scrub_push): Likewise.
1194 (input_scrub_begin): Likewise.
1195 (input_scrub_next_buffer): Likewise.
1196 * itbl-ops.c (append_insns_as_macros): Likewise.
1197 (alloc_entry): Likewise.
1198 (alloc_field): Likewise.
1199 * listing.c (listing_newline): Likewise.
1200 (listing_listing): Likewise.
1201 * macro.c (get_any_string): Likewise.
1202 (delete_macro): Likewise.
1203 * stabs.c (generate_asm_file): Likewise.
1204 (stabs_generate_asm_lineno): Likewise.
1205 * subsegs.c (subseg_change): Likewise.
1206 (subseg_get): Likewise.
1207 * symbols.c (define_dollar_label): Likewise.
1208 (symbol_relc_make_sym): Likewise.
1209 * write.c (write_relocs): Likewise.
1211 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1213 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1214 (weak_name2altname): Likewise.
1215 (weak_uniquify): Likewise.
1216 (obj_coff_section): Likewise.
1217 (obj_coff_init_stab_section): Likewise.
1218 * config/obj-elf.c (obj_elf_section_name): Likewise.
1219 (obj_elf_init_stab_section): Likewise.
1220 * config/obj-evax.c (evax_shorten_name): Likewise.
1221 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1222 * config/tc-aarch64.c (create_register_alias): Likewise.
1223 * config/tc-alpha.c (load_expression): Likewise.
1224 (s_alpha_file): Likewise.
1225 (s_alpha_section_name): Likewise.
1226 (tc_gen_reloc): Likewise.
1227 * config/tc-arc.c (md_assemble): Likewise.
1228 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1229 (start_unwind_section): Likewise.
1230 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1231 (hppa_elf_mark_end_of_function): Likewise.
1232 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1233 (nios2_negate_arg): Likewise.
1234 * config/tc-rx.c (rx_section): Likewise.
1235 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1236 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1237 * config/tc-tic54x.c (tic54x_include): Likewise.
1238 (tic54x_macro_info): Likewise.
1239 (subsym_get_arg): Likewise.
1240 (subsym_substitute): Likewise.
1241 (tic54x_start_line_hook): Likewise.
1242 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1243 (xg_reverse_shift_count): Likewise.
1244 * config/xtensa-relax.c (enter_opname_n): Likewise.
1245 (split_string): Likewise.
1246 * dwarf2dbg.c (get_filenum): Likewise.
1247 (process_entries): Likewise.
1248 * expr.c (operand): Likewise.
1249 * itbl-ops.c (alloc_entry): Likewise.
1250 * listing.c (listing_message): Likewise.
1251 (listing_title): Likewise.
1252 * macro.c (check_macro): Likewise.
1253 * stabs.c (s_xstab): Likewise.
1254 * symbols.c (symbol_relc_make_expr): Likewise.
1255 * write.c (compress_debug): Likewise.
1257 2016-05-12 Nick Clifton <nickc@redhat.com>
1260 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1262 2016-05-11 Nick Clifton <nickc@redhat.com>
1265 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1266 big endian ARM configurations.
1268 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1269 Matthew Fortune <matthew.fortune@imgtec.com>
1271 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1273 (md_longopts): Likewise.
1274 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1275 (mips_ases): Define availability for DSPr3.
1276 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1277 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1278 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1280 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1281 .set nodspr3. Fix -mdspr2 formatting.
1282 * testsuite/gas/mips/mips32-dspr3.d: New file.
1283 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1284 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1286 2016-05-11 Nick Clifton <nickc@redhat.com>
1289 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1290 to the pool uses O_constant.
1291 * testsuite/gas/arm/pr20068.s: New test.
1292 * testsuite/gas/arm/pr20068.d: Test driver.
1294 2016-05-11 Nick Clifton <nickc@redhat.com>
1296 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1297 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1298 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1299 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1300 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1301 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1302 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1303 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1304 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1306 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1308 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1309 * testsuite/gas/i386/prefix.d: Adjust.
1310 * testsuite/gas/i386/rdpid.s: New test.
1311 * testsuite/gas/i386/rdpid.d: Ditto.
1312 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1313 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1314 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1315 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1317 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1319 * config/tc-i386.c (cpu_arch): Add RDPID.
1320 * doc/c-i386.texi: Document RDPID.
1322 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1324 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1325 set branch type of a symbol.
1327 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1329 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1330 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1332 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1333 (aeabi_set_public_attributes): Memorize the feature bits of the
1334 architecture selected for Tag_CPU_arch. Use it to set
1335 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1336 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1337 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1338 * testsuite/gas/arm/arch7em-bad-1.d: This.
1339 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1340 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1341 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1342 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1343 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1344 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1345 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1346 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1348 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1350 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1351 allowed_archs an array with 2 entries.
1352 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1353 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1354 (arm_extensions): Use separate entries in allowed_archs when several
1355 archs are allowed to use an extension and change ARCH_ANY in
1356 ARM_ARCH_NONE in allowed_archs.
1357 (arm_parse_extension): Check that, for each allowed_archs entry, all
1358 bits are set in the current architecture, ignoring ARM_ANY entries.
1359 (s_arm_arch_extension): Likewise.
1361 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1363 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1364 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1365 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1366 shared with a non M profile architecture.
1367 (do_rn): New function.
1368 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1370 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1371 (insns): Add ARMv8-M Security Extensions instructions.
1372 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1373 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1374 * testsuite/gas/arm/archv8m-cmse.s: New file.
1375 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1376 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1377 * testsuite/gas/arm/any-cmse.d: Likewise.
1378 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1379 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1380 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1381 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1382 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1383 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1385 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1387 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1388 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1390 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1392 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1393 (fpu_arch_vfp_v3): Likewise.
1394 (fpu_arch_neon_v1): Likewise.
1395 (arm_arch_full): Likewise.
1396 (parse_neon_el_struct_list): Initialize fields of firsttype.
1398 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1400 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1401 (arc_extinsn): Handle new introduced syntax.
1402 * testsuite/gas/arc/textinsn1op.d: New file.
1403 * testsuite/gas/arc/textinsn1op.s: Likewise.
1404 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1406 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1408 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1409 DW_LNS_fixed_advance_pc.
1411 2016-04-27 Alan Modra <amodra@gmail.com>
1413 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1414 (xmemdup0): New inline function.
1416 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1418 * config/tc-mips.c (code_option_type): New enum.
1419 (parse_code_option): Return status indicating option type.
1420 (s_mipsset): Update `parse_code_option' call site accordingly.
1421 Always set register sizes from the ISA with ISA overrides.
1422 (s_module): Update `parse_code_option' call site.
1423 * testsuite/gas/mips/isa-override-1.d: New test.
1424 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1425 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1426 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1427 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1428 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1429 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1430 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1431 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1432 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1433 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1434 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1435 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1436 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1437 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1438 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1439 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1440 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1441 * testsuite/gas/mips/isa-override-2.l: New list test.
1442 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1443 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1444 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1445 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1446 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1447 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1448 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1449 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1450 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1451 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1452 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1454 * testsuite/gas/mips/isa-override-1.s: New test source.
1455 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1456 * testsuite/gas/mips/isa-override-2.s: New test source.
1457 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1458 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1459 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1460 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1461 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1462 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1463 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1464 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1465 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1466 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1467 * testsuite/gas/mips/mips.exp: Run the new tests.
1469 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1472 * config/tc-bfin.c: Likewise.
1473 * config/tc-ia64.c: Likewise.
1474 * config/tc-mep.c: Likewise.
1475 * config/tc-metag.c: Likewise.
1476 * config/tc-nios2.c: Likewise.
1477 * config/tc-rl78.c: Likewise.
1479 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1481 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1482 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1483 (ARC Directives): Add NPS400 to .cpu directive list.
1485 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1487 * config/tc-aarch64.c (aarch64_features): Add "ras".
1488 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1489 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1490 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1491 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1492 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1494 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1496 * testsuite/gas/arc/nps400-6.d: New file.
1497 * testsuite/gas/arc/nps400-6.s: New file.
1499 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1501 * testsuite/gas/arc/nps400-4.d: New file.
1502 * testsuite/gas/arc/nps400-4.s: New file.
1503 * testsuite/gas/arc/nps400-5.d: New file.
1504 * testsuite/gas/arc/nps400-5.s: New file.
1506 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1508 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1511 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1513 Revert prevous change.
1514 * config/tc-arc.c (arc_option): Make .cpu directive
1515 case-sensitive again.
1517 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1519 * config/tc-arc.c (arc_option): Make .cpu directive
1522 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1524 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1526 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1528 * config/tc-mips.c (md_begin): Remove useless assignment.
1530 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1532 * Makefile.in: Regenerated with automake 1.11.6.
1533 * aclocal.m4: Likewise.
1534 * doc/Makefile.in: Likewise.
1536 2016-04-15 Alan Modra <amodra@gmail.com>
1538 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1540 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1542 * config/tc-nios2.c (nios2_as_options): Make file static.
1543 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1544 * config/tc-sparc.c (native_op_table): Likewise.
1546 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1548 * config/tc-m32c.c (M32C_Macros): Remove.
1549 * config/tc-msp430.c (option_numbers): Likewise.
1551 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1553 * testsuite/gas/arc/nps400-3.d: New file.
1554 * testsuite/gas/arc/nps400-3.s: New file.
1556 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1558 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1559 * testsuite/gas/arc/warn.s: Likewise.
1560 * testsuite/gas/elf/elf.exp: Run test for arc.
1562 2016-04-14 Nick Clifton <nickc@redhat.com>
1565 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1566 sections possibly having the SHF_STRINGS flag bit set.
1567 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1569 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1571 * config/tc-arc.c (mach_type_specified_p): Change type to
1573 (arc_option): Set private flags when parsing cpu pseudo-op.
1574 (md_parse_option): Set mach_type_specified_p to TRUE.
1576 2016-04-13 Nick Clifton <nickc@redhat.com>
1579 * testsuite/gas/v850/pr19937.s: New test.
1580 * testsuite/gas/v850/pr19937.d: New test control file.
1581 * testsuite/gas/v850/basic.exp: Run the new test.
1583 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1584 Andrew Bennett <andrew.bennett@imgtec.com>
1586 * config/tc-mips.c (relaxed_branch_length): Use the long
1587 sequence where the target is a weak symbol.
1588 (relaxed_micromips_32bit_branch_length): Likewise.
1589 (relaxed_micromips_16bit_branch_length): Likewise.
1590 * testsuite/gas/mips/branch-weak-1.d: New test.
1591 * testsuite/gas/mips/branch-weak-2.d: New test.
1592 * testsuite/gas/mips/branch-weak-3.d: New test.
1593 * testsuite/gas/mips/branch-weak-4.d: New test.
1594 * testsuite/gas/mips/branch-weak-5.d: New test.
1595 * testsuite/gas/mips/branch-weak.l: New stderr output.
1596 * testsuite/gas/mips/branch-weak.s: New test source.
1597 * testsuite/gas/mips/mips.exp: Run the new tests.
1599 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1601 * config/tc-mips.c (relaxed_branch_length): Use the long
1602 sequence where the distance cannot be determined.
1603 (relaxed_micromips_32bit_branch_length): Likewise.
1604 * testsuite/gas/mips/branch-extern-1.d: New test.
1605 * testsuite/gas/mips/branch-extern-2.d: New test.
1606 * testsuite/gas/mips/branch-extern-3.d: New test.
1607 * testsuite/gas/mips/branch-extern-4.d: New test.
1608 * testsuite/gas/mips/branch-extern.l: New stderr output.
1609 * testsuite/gas/mips/branch-extern.s: New test source.
1610 * testsuite/gas/mips/branch-section-1.d: New test.
1611 * testsuite/gas/mips/branch-section-2.d: New test.
1612 * testsuite/gas/mips/branch-section-3.d: New test.
1613 * testsuite/gas/mips/branch-section-4.d: New test.
1614 * testsuite/gas/mips/branch-section.l: New stderr output.
1615 * testsuite/gas/mips/branch-section.s: New test source.
1616 * testsuite/gas/mips/mips.exp: Run the new tests.
1618 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1620 * testsuite/gas/arc/textauxregister.d: New file.
1621 * testsuite/gas/arc/textauxregister.s: Likewise.
1622 * testsuite/gas/arc/textcondcode.d: Likewise.
1623 * testsuite/gas/arc/textcondcode.s: Likewise.
1624 * testsuite/gas/arc/textcoreregister.d: Likewise.
1625 * testsuite/gas/arc/textcoreregister.s: Likewise.
1626 * testsuite/gas/arc/textpseudoop.d: Likewise.
1627 * testsuite/gas/arc/textpseudoop.s: Likewise.
1628 * testsuite/gas/arc/ld2.d: Update test.
1629 * testsuite/gas/arc/st.d: Likewise.
1630 * testsuite/gas/arc/taux.d: Likewise.
1631 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1632 .extCoreRegister and .extAuxRegister documentation.
1633 * config/tc-arc.c (arc_extcorereg): New function.
1634 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1635 .extAuxRegister pseudo-ops.
1636 (extRegister_t): New type.
1637 (ext_condcode, arc_aux_hash): New global variable.
1638 (find_opcode_match): Check for extensions.
1639 (preprocess_operands): Likewise.
1640 (md_begin): Add aux registers in a hash.
1641 (assemble_insn): Update use arc_flags member.
1642 (tokenize_extregister): New function.
1643 (create_extcore_section): Likewise.
1644 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1646 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1648 * testsuite/gas/arc/noargs_a7.d: New file.
1649 * testsuite/gas/arc/noargs_a7.s: Likewise.
1650 * testsuite/gas/arc/noargs_hs.d: Likewise.
1651 * testsuite/gas/arc/noargs_hs.s: Likewise.
1653 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1655 * testsuite/gas/arc/textinsn-errors.d: New File.
1656 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1657 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1658 * testsuite/gas/arc/textinsn2op.d: Likewise.
1659 * testsuite/gas/arc/textinsn2op.s: Likewise.
1660 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1661 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1662 * testsuite/gas/arc/textinsn3op.d: Likewise.
1663 * testsuite/gas/arc/textinsn3op.s: Likewise.
1664 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1666 * config/tc-arc.c (arcext_section): New variable.
1667 (arc_extinsn): New function.
1668 (md_pseudo_table): Add .extInstruction pseudo op.
1669 (attributes_t): New type.
1670 (suffixclass, syntaxclass, syntaxclassmod): New constant
1672 (find_opcode_match): Remove arc_num_opcodes.
1673 (md_begin): Likewise.
1674 (tokenize_extinsn): New function.
1675 (arc_set_ext_seg): Likewise.
1676 (create_extinst_section): Likewise.
1678 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1680 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1681 (arc_adjust_symtab): New function.
1682 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1683 (obj_adjust_symtab): Likewise.
1684 * testsuite/gas/arc/taux.d: New file.
1685 * testsuite/gas/arc/taux.s: Likewise.
1687 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1689 * config/tc-mips.c (s_option): Sanitize `.option picX'
1691 * testsuite/gas/mips/option-pic-1.d: New test.
1692 * testsuite/gas/mips/option-pic-2.l: New list test.
1693 * testsuite/gas/mips/option-pic-1.s: New test source.
1694 * testsuite/gas/mips/option-pic-2.s: New test source.
1695 * testsuite/gas/mips/mips.exp: Run the new tests.
1697 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1699 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1701 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1702 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1703 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1704 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1705 * testsuite/gas/mips/mips.exp: Run the new tests.
1707 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1709 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1711 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1713 * messages.c (as_bad): Fix a typo in description.
1715 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1717 * config/tc-mips.c (mips_check_options): Unify messages.
1719 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1721 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1724 2016-04-08 Nick Clifton <nickc@redhat.com>
1727 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1728 COFF and AOUT sparc targets.
1730 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1732 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1733 * testsuite/gas/arc/nps400-2.d: New file.
1734 * testsuite/gas/arc/nps400-2.s: New file.
1736 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1738 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1740 (arc_opcode_hash_entry_iterator_init): New function.
1741 (arc_opcode_hash_entry_iterator_next): New function.
1742 (find_opcode_match): Iterate over all arc_opcode entries
1743 referenced by the arc_opcode_hash_entry passed in as a parameter.
1745 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1747 * config/tc-arc.c (arc_find_opcode): Now returns
1748 arc_opcode_hash_entry pointer.
1749 (find_opcode_match): Update argument type, extract arc_opcode from
1750 incoming arc_opcode_hash_entry.
1751 (find_special_case_pseudo): Update return type.
1752 (find_special_case_flag): Update return type.
1753 (find_special_case): Update return type.
1754 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1755 instruction mnemonic, then use find_opcode_match to identify
1756 specific arc_opcode.
1758 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1760 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1761 (arc_find_opcode): New function.
1762 (find_special_case_pseudo): Use arc_find_opcode.
1763 (find_special_case_flag): Likewise.
1764 (assemble_tokens): Likewise.
1765 (md_begin): Build hash using struct arc_opcode_hash_entry.
1767 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1769 * config/tc-arc.c (arc_option): Prepare string for automatic
1771 (declare_register): Likewise.
1773 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1775 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1776 Correct entry for RDMA. Alpha sort entries.
1778 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1780 * config/tc-arc.c (tokenize_flags): Allow greater range of
1781 characters into flag names.
1783 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1785 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1787 (preprocess_operands): Delete.
1788 (assemble_tokens): Remove call to preprocess_operands.
1790 2016-04-07 Nick Clifton <nickc@redhat.com>
1793 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1794 inside a %-macro could not be fully parsed.
1795 * expr.c (integer_constant): Accept and ignore U suffixes to
1797 (operand): When a missing closing parenthesis is encountered,
1798 report the character that was found instead.
1799 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1800 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1801 * testsuite/gas/sparc/pr19910-1.s: New test.
1802 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1803 * testsuite/gas/sparc/pr19910-2.s: New test.
1804 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1806 2016-04-06 Nick Clifton <nickc@redhat.com>
1808 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1809 an EINT instruction. Warn/fix as necessary.
1810 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1811 * testsuite/gas/msp430/bad.l: Update expected messages.
1813 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1815 * testsuite/gas/arc/nps400-1.d: Update expected results.
1816 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1818 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1820 * config/tc-arc.c (is_code_density_p): Compare directly the
1822 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1823 (check_cpu_feature): New function.
1824 (find_opcode_match): Use check_cpu_feature function.
1825 (preprocess_operands): Likewise.
1826 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1827 * testsuite/gas/arc/tdpfp.d: New file.
1828 * testsuite/gas/arc/tfpuda.d: Likewise.
1829 * testsuite/gas/arc/tfpx.s: Likewise.
1831 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1833 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1834 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1835 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1836 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1837 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1838 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1839 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1840 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1842 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1844 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1846 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1847 JUMP instructions type.
1848 * testsuite/gas/arc/relocs-errors.d: New file.
1849 * testsuite/gas/arc/relocs-errors.err: Likewise.
1850 * testsuite/gas/arc/relocs-errors.s: Likewise.
1852 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1855 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1856 only if i.disp_encoding != disp_encoding_32bit.
1857 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1858 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1859 * gas/testsuite/gas/i386/disp32.d: Updated.
1860 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1862 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1865 * testsuite/gas/i386/i386.exp: Run pr19498.
1866 * testsuite/gas/i386/pr19498.d: New file.
1867 * testsuite/gas/i386/pr19498.s: Likewise.
1869 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1871 * config/tc-arc.h: Include 'opcode/arc.h'.
1872 (MAX_INSN_ARGS): Delete.
1873 (MAX_INSN_FLGS): Delete.
1875 2016-04-04 Alan Modra <amodra@gmail.com>
1878 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1879 from function on all paths that set sy_resolving.
1881 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1883 * app.c (app_push): use XNEW macro.
1885 * config/obj-elf.c (obj_elf_change_section): Likewise.
1886 (elf_copy_symbol_attributes): Likewise.
1887 (obj_elf_size): Likewise.
1888 (build_group_lists): Likewise.
1889 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1890 (md_assemble): Likewise.
1891 (tc_gen_reloc): Likewise.
1892 (get_upper_str): Likewise.
1893 (aarch64_parse_features): Likewise.
1894 * config/tc-arm.c (insert_reg_alias): Likewise.
1895 (insert_neon_reg_alias): Likewise.
1896 (find_or_make_literal_pool): Likewise.
1897 (s_arm_elf_cons): Likewise.
1898 (add_unwind_opcode): Likewise.
1899 (arm_parse_extension): Likewise.
1900 * config/tc-avr.c (create_record_for_frag): Likewise.
1901 * config/tc-crx.c: Likewise.
1902 * config/tc-d30v.c: Likewise.
1903 * config/tc-dlx.c (s_proc): Likewise.
1904 * config/tc-ft32.c: Likewise.
1905 * config/tc-h8300.c: Likewise.
1906 * config/tc-hppa.c (pa_proc): Likewise.
1907 (create_new_space): Likewise.
1908 (create_new_subspace): Likewise.
1909 * config/tc-i860.c: Likewise.
1910 * config/tc-i960.c: Likewise.
1911 * config/tc-ia64.c: Likewise.
1912 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1913 (iq2000_record_hi16): Likewise.
1914 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1915 * config/tc-m32r.c (debug_sym): Likewise.
1916 (m32r_record_hi16): Likewise.
1917 * config/tc-m68k.c (m68k_ip): Likewise.
1918 (md_begin): Likewise.
1919 * config/tc-mcore.c: Likewise.
1920 * config/tc-microblaze.c (check_got): Likewise.
1921 * config/tc-mips.c (append_insn): Likewise.
1922 (s_mipsset): Likewise.
1923 (mips_record_label): Likewise.
1924 (s_mips_end): Likewise.
1925 * config/tc-mmix.c (mmix_frob_file): Likewise.
1926 * config/tc-mn10200.c: Likewise.
1927 * config/tc-mn10300.c: Likewise.
1928 * config/tc-moxie.c: Likewise.
1929 * config/tc-msp430.c: Likewise.
1930 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1931 * config/tc-ns32k.c: Likewise.
1932 * config/tc-or1k.c: Likewise.
1933 * config/tc-pdp11.c: Likewise.
1934 * config/tc-pj.c (fake_opcode): Likewise.
1935 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1936 (ppc_macro): Likewise.
1937 (ppc_dwsect): Likewise.
1938 (ppc_machine): Likewise.
1939 * config/tc-rl78.c (rl78_frag_init): Likewise.
1940 * config/tc-rx.c (rx_frag_init): Likewise.
1941 * config/tc-s390.c (s390_lit_suffix): Likewise.
1942 (s390_machine): Likewise.
1943 (s390_machinemode): Likewise.
1944 * config/tc-score.c (s3_insert_reg): Likewise.
1945 (s3_gen_reloc): Likewise.
1946 * config/tc-score7.c (s7_insert_reg): Likewise.
1947 (s7_gen_reloc): Likewise.
1948 * config/tc-tic30.c (tic30_operand): Likewise.
1949 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1950 * config/tc-tic54x.c (stag_add_field): Likewise.
1951 (tic54x_struct): Likewise.
1952 (tic54x_space): Likewise.
1953 (tic54x_field): Likewise.
1954 (tic54x_mlib): Likewise.
1955 (subsym_substitute): Likewise.
1956 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1957 * config/tc-vax.c: Likewise.
1958 * config/tc-xc16x.c: Likewise.
1959 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1960 (directive_push): Likewise.
1961 (xtensa_begin_directive): Likewise.
1962 (tokenize_arguments): Likewise.
1963 (xtensa_add_literal_sym): Likewise.
1964 (new_resource_table): Likewise.
1965 (resize_resource_table): Likewise.
1966 (emit_single_op): Likewise.
1967 (xtensa_create_trampoline_frag): Likewise.
1968 (xtensa_maybe_create_literal_pool_frag): Likewise.
1969 (xtensa_add_config_info): Likewise.
1970 (xtensa_realloc_fixup_cache): Likewise.
1971 (add_subseg_info): Likewise.
1972 (cache_literal_section): Likewise.
1973 (add_xt_block_frags): Likewise.
1974 (add_xt_prop_frags): Likewise.
1975 (init_op_placement_info_table): Likewise.
1976 (build_section_rename): Likewise.
1977 * config/tc-z80.c: Likewise.
1978 * config/tc-z8k.c: Likewise.
1979 * depend.c (register_dependency): Likewise.
1980 * dwarf2dbg.c (get_line_subseg): Likewise.
1981 (dwarf2_gen_line_info_1): Likewise.
1982 (get_filenum): Likewise.
1983 * ecoff.c (allocate_scope): Likewise.
1984 (allocate_vlinks): Likewise.
1985 (allocate_shash): Likewise.
1986 (allocate_thash): Likewise.
1987 (allocate_tag): Likewise.
1988 (allocate_forward): Likewise.
1989 (allocate_thead): Likewise.
1990 (allocate_lineno_list): Likewise.
1991 * expr.c (make_expr_symbol): Likewise.
1992 * hash.c (hash_new_sized): Likewise.
1993 * input-file.c (input_file_push): Likewise.
1994 * listing.c (file_info): Likewise.
1995 (listing_newline): Likewise.
1996 * macro.c (new_formal): Likewise.
1997 (define_macro): Likewise.
1998 * remap.c (add_debug_prefix_map): Likewise.
1999 * symbols.c (symbol_find_noref): Likewise.
2000 (define_dollar_label): Likewise.
2001 (fb_label_instance_inc): Likewise.
2002 (symbol_relc_make_value): Likewise.
2004 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2006 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2007 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2008 (ppc_znop): Likewise.
2009 (ppc_pe_section): Likewise.
2010 (ppc_frob_symbol): Likewise.
2011 * config/tc-tic30.c (tic30_operand): Likewise.
2012 * config/tc-tic4x.c (tic4x_sect): Likewise.
2013 (tic4x_usect): Likewise.
2015 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2017 * config/tc-alpha.c: Const qualify FLT_CHARS.
2018 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2019 * config/tc-cris.h: Likewise.
2021 * config/tc-mmix.c (md_atof): Adjust comment.
2022 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2023 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2025 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2027 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2028 * config/tc-score7.c (s7_gen_reloc): Likewise.
2030 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2032 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2033 bfd_reloc_code_real_type.
2035 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2037 * config/bfin-parse.y (current_inputline): Remove definition.
2038 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2040 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2042 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2045 2016-04-02 Alan Modra <amodra@gmail.com>
2048 * read.c (assign_symbol): Consume rest of line after an error
2049 rather than continuing to process the line.
2051 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2053 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2054 (MAX_FLAG_NAME_LENGTH): ...this.
2055 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2056 * config/tc-arc.c (tokenize_flags): Likewise.
2058 2016-04-01 Alan Modra <amodra@gmail.com>
2060 * cgen.c (weak_operand_overflow_check): Return const char*.
2061 * messages.c (as_internal_value_out_of_range): Formatting.
2062 (as_warn_value_out_of_range): Consify prefix param.
2063 (as_bad_value_out_of_range): Likewise.
2064 * read.c (s_errwarn): Constify msg..
2065 (s_float_space, float_cons): ..and err.
2066 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2067 ieee_md_atof, vax_md_atof): Update prototypes.
2068 * tc.h (md_atof): Update prototype.
2069 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2070 * config/atof-vax.c (vax_md_atof): Likewise.
2071 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2072 * config/tc-aarch64.c (md_atof): Return const char*.
2073 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2074 (s_alpha_comm): Constify sec_name.
2075 (section_name): Constify.
2076 (s_alpha_section): Consify name..
2077 (alpha_elf_section_letter): ..and ptr_msg param..
2078 (md_atof): ..and return.
2079 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2080 * config/tc-arc.c (md_atof): Return const char*.
2081 * config/tc-arm.c (md_atof): Likewise.
2082 * config/tc-avr.c (md_atof): Likewise.
2083 * config/tc-bfin.c (md_atof): Likewise.
2084 * config/tc-cr16.c (md_atof): Likewise.
2085 * config/tc-cris.c (md_atof): Likewise.
2086 * config/tc-crx.c (md_atof): Likewise.
2087 * config/tc-d10v.c (md_atof): Likewise.
2088 * config/tc-d30v.c (md_atof): Likewise.
2089 * config/tc-dlx.c (md_atof): Likewise.
2090 * config/tc-epiphany.c (md_atof): Likewise.
2091 * config/tc-fr30.c (md_atof): Likewise.
2092 * config/tc-frv.c (md_atof): Likewise.
2093 * config/tc-ft32.c (md_atof): Likewise.
2094 * config/tc-h8300.c (md_atof): Likewise.
2095 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2096 (struct default_space_dict): Likewise.
2097 (create_new_space): Constify name param.
2098 (create_new_subspace): Likewise.
2099 (is_defined_space, is_defined_subspace): Likewise.
2100 (pa_parse_space_stmt): Constify space_name param.
2101 (md_atof): Return const char*.
2102 (pa_spaces_begin): Constify name.
2103 * config/tc-i370.c (md_atof): Return const char*.
2104 * config/tc-i386.c (md_atof): Likewise.
2105 (x86_64_section_letter): Constify ptr_msg param.
2106 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2107 * config/tc-i860.c (struct i860_it): Constify error.
2108 (md_atof): Return const char*.
2109 * config/tc-i960.c (md_atof): Likewise.
2110 * config/tc-ia64.c (md_atof): Likewise.
2111 (ia64_elf_section_letter): Constify ptr_msg param.
2112 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2113 * config/tc-ip2k.c (md_atof): Return const char*.
2114 * config/tc-iq2000.c (md_atof): Likewise.
2115 * config/tc-lm32.c (md_atof): Likewise.
2116 * config/tc-m32c.c (md_atof): Likewise.
2117 * config/tc-m32r.c (md_atof): Likewise.
2118 * config/tc-m68hc11.c (md_atof): Likewise.
2119 * config/tc-m68k.c (md_atof): Likewise.
2120 * config/tc-mcore.c (md_atof): Likewise.
2121 * config/tc-mep.c (md_atof): Likewise.
2122 (mep_elf_section_letter): Constify ptr_msg param.
2123 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2124 * config/tc-metag.c (md_atof): Return const char*.
2125 * config/tc-microblaze.c (md_atof): Likewise.
2126 * config/tc-microblaze.h (md_atof): Delete prototype.
2127 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2128 (md_atof): Return const char*.
2129 * config/tc-mmix.c (md_atof): Likewise.
2130 * config/tc-mn10200.c (md_atof): Likewise.
2131 * config/tc-mn10300.c (md_atof): Likewise.
2132 * config/tc-moxie.c (md_atof): Likewise.
2133 * config/tc-msp430.c (md_atof): Likewise.
2134 * config/tc-mt.c (md_atof): Likewise.
2135 * config/tc-nds32.c (md_atof): Likewise.
2136 * config/tc-nios2.c (md_atof): Likewise.
2137 (nios2_elf_section_letter): Constify ptr_msg param.
2138 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2139 * config/tc-ns32k.c (md_atof): Return const char*.
2140 * config/tc-or1k.c (md_atof): Likewise.
2141 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2142 (md_atof): Return const char*.
2143 * config/tc-pj.c (md_atof): Likewise.
2144 * config/tc-ppc.c (md_atof): Likewise.
2145 * config/tc-rl78.c (md_atof): Likewise.
2146 * config/tc-rx.c (md_atof): Likewise.
2147 * config/tc-s390.c (md_atof): Likewise.
2148 * config/tc-score.c (s3_atof, md_atof): Likewise.
2149 * config/tc-sh.c (md_atof): Likewise.
2150 * config/tc-sparc.c (struct sparc_it): Constify error.
2151 (md_atof): Return const char*.
2152 * config/tc-spu.c (md_atof): Likewise.
2153 * config/tc-tic30.c (md_atof): Likewise.
2154 * config/tc-tic4x.c (md_atof): Likewise.
2155 * config/tc-tic54x.c (md_atof): Likewise.
2156 * config/tc-tic6x.c (md_atof): Likewise.
2157 * config/tc-tilegx.c (md_atof): Likewise.
2158 * config/tc-tilepro.c (md_atof): Likewise.
2159 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2160 * config/tc-vax.c (md_atof): Likewise.
2161 * config/tc-visium.c (md_atof): Likewise.
2162 * config/tc-xc16x.c (md_atof): Likewise.
2163 * config/tc-xgate.c (md_atof): Likewise.
2164 * config/tc-xstormy16.c (md_atof): Likewise.
2165 * config/tc-xtensa.c (md_atof): Likewise.
2166 * config/tc-z80.c (md_atof): Likewise.
2167 * config/tc-z8k.c (md_atof): Likewise.
2169 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2171 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2173 (xtensa_section_rename): Make argument type const char *.
2174 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2176 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2178 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2181 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2183 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2185 (m32c_indirect_operand): Likewise.
2186 * config/tc-nds32.c (do_pseudo_b): Likewise.
2187 (do_pseudo_bal): Likewise.
2188 (do_pseudo_ls_bhw): Likewise.
2190 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2192 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2194 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2196 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2198 * config/tc-sparc.c (s_register): Cast a literal to char * in
2201 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2203 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2205 * config/tc-m32r.c (expand_debug_syms): Likewise.
2206 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2207 * config/tc-z80.c (md_begin): Likewise.
2208 * stabs.c (stabs_generate_asm_func): Likewise.
2210 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2212 * cgen.c: Modernize the way functions declare arguments.
2213 * config/tc-bfin.c: Likewise.
2214 * config/tc-pdp11.c: Likewise.
2215 * literal.c: Likewise.
2217 * stabs.c: Likewise.
2219 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2221 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2222 variables unsigned char[].
2223 * config/tc-alpha.c (alpha_handle_align): Likewise.
2224 * config/tc-arm.c (arm_handle_align): Likewise.
2225 * config/tc-z80.c: Likewise.
2227 2016-03-30 Nick Clifton <nickc@redhat.com>
2230 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2233 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2235 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2236 * testsuite/gas/elf/elf.exp: Likewise.
2237 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2239 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2241 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2243 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2245 * testsuite/gas/arc/ext2op.d: New file.
2246 * testsuite/gas/arc/ext2op.s: Likewise.
2247 * testsuite/gas/arc/ext3op.d: Likewise.
2248 * testsuite/gas/arc/ext3op.s: Likewise.
2250 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2252 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2254 * config/tc-alpha.c (md_parse_option): Likewise.
2255 * config/tc-arc.c (md_parse_option): Likewise.
2256 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2257 (md_parse_option): Likewise.
2258 * config/tc-avr.c (md_parse_option): Likewise.
2259 * config/tc-bfin.c (md_parse_option): Likewise.
2260 * config/tc-cr16.c (md_parse_option): Likewise.
2261 * config/tc-cris.c (s_cris_arch): Likewise.
2262 (md_parse_option): Likewise.
2263 * config/tc-crx.c (md_parse_option): Likewise.
2264 * config/tc-d10v.c (md_parse_option): Likewise.
2265 * config/tc-d30v.c (md_parse_option): Likewise.
2266 * config/tc-dlx.c (md_parse_option): Likewise.
2267 * config/tc-epiphany.c (md_parse_option): Likewise.
2268 * config/tc-fr30.c (md_parse_option): Likewise.
2269 * config/tc-frv.c (md_parse_option): Likewise.
2270 * config/tc-ft32.c (md_parse_option): Likewise.
2271 * config/tc-h8300.c (md_parse_option): Likewise.
2272 * config/tc-hppa.c (md_parse_option): Likewise.
2273 * config/tc-i370.c (md_parse_option): Likewise.
2274 * config/tc-i386.c (md_parse_option): Likewise.
2275 * config/tc-i860.c (md_parse_option): Likewise.
2276 * config/tc-i960.c (md_parse_option): Likewise.
2277 * config/tc-ia64.c (md_parse_option): Likewise.
2278 * config/tc-ip2k.c (md_parse_option): Likewise.
2279 * config/tc-iq2000.c (md_parse_option): Likewise.
2280 * config/tc-lm32.c (md_parse_option): Likewise.
2281 * config/tc-m32c.c (md_parse_option): Likewise.
2282 * config/tc-m32r.c (md_parse_option): Likewise.
2283 * config/tc-m68hc11.c (md_parse_option): Likewise.
2284 * config/tc-m68k.c (md_parse_option): Likewise.
2285 * config/tc-mcore.c (md_parse_option): Likewise.
2286 * config/tc-mep.c (md_parse_option): Likewise.
2287 * config/tc-metag.c (struct metag_long_option): Likewise.
2288 (md_parse_option): Likewise.
2289 * config/tc-microblaze.c (md_parse_option): Likewise.
2290 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2291 * config/tc-mips.c (md_parse_option): Adjust.
2292 * config/tc-mmix.c (md_parse_option): Likewise.
2293 * config/tc-mn10200.c (md_parse_option): Likewise.
2294 * config/tc-mn10300.c (md_parse_option): Likewise.
2295 * config/tc-moxie.c (md_parse_option): Likewise.
2296 * config/tc-msp430.c (md_parse_option): Likewise.
2297 * config/tc-mt.c (md_parse_option): Likewise.
2298 * config/tc-nds32.c (md_parse_option): Likewise.
2299 * config/tc-nds32.h (nds32_parse_option): Likewise.
2300 * config/tc-nios2.c (md_parse_option): Likewise.
2301 * config/tc-ns32k.c (md_parse_option): Likewise.
2302 * config/tc-or1k.c (md_parse_option): Likewise.
2303 * config/tc-pdp11.c (md_parse_option): Likewise.
2304 * config/tc-pj.c (md_parse_option): Likewise.
2305 * config/tc-ppc.c (md_parse_option): Likewise.
2306 * config/tc-rl78.c (md_parse_option): Likewise.
2307 * config/tc-rx.c (md_parse_option): Likewise.
2308 * config/tc-s390.c (s390_parse_cpu): Likewise.
2309 * config/tc-score.c (md_parse_option): Likewise.
2310 * config/tc-sh.c (md_parse_option): Likewise.
2311 * config/tc-sparc.c (md_parse_option): Likewise.
2312 * config/tc-spu.c (md_parse_option): Likewise.
2313 * config/tc-tic30.c (md_parse_option): Likewise.
2314 * config/tc-tic4x.c (md_parse_option): Likewise.
2315 * config/tc-tic54x.c (md_parse_option): Likewise.
2316 * config/tc-tic6x.c (md_parse_option): Likewise.
2317 * config/tc-tilegx.c (md_parse_option): Likewise.
2318 * config/tc-tilepro.c (md_parse_option): Likewise.
2319 * config/tc-v850.c (md_parse_option): Likewise.
2320 * config/tc-vax.c (md_parse_option): Likewise.
2321 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2322 * config/tc-xc16x.c (md_parse_option): Likewise.
2323 * config/tc-xgate.c (md_parse_option): Likewise.
2324 * config/tc-xstormy16.c (md_parse_option): Likewise.
2325 * config/tc-xtensa.c (md_parse_option): Likewise.
2326 * config/tc-z80.c (md_parse_option): Likewise.
2327 * config/tc-z8k.c (md_parse_option): Likewise.
2328 * tc.h (md_parse_option): Likewise.
2330 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2332 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2333 * config/tc-hppa.c (fix_new_hppa): Likewise.
2334 (pa_vtable_entry): Likewise.
2335 (pa_vtable_inherit): Likewise.
2336 * config/tc-m68k.c (md_begin): Likewise.
2338 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2340 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2341 * config/obj-elf.h (obj_elf_section_name): Adjust.
2342 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2343 (aarch64_parse_cpu): Likewise.
2344 (aarch64_parse_arch): Likewise.
2345 * config/tc-arm.c (arm_parse_extension): Likewise.
2346 (arm_parse_cpu): Likewise.
2347 (arm_parse_arch): Likewise.
2348 * config/tc-nds32.c: Likewise.
2349 * config/xtensa-relax.c (parse_special_fn): Likewise.
2350 * stabs.c (generate_asm_file): Likewise.
2352 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2354 * config/tc-cr16.c (cr16_assemble): New function.
2355 (md_assemble): Call cr16_assemble.
2357 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2359 * as.c (parse_args): Adjust.
2360 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2361 * config/obj-elf.c (elf_frob_symbol): Adjust.
2363 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2365 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2366 registers to be in the 16..31 range.
2368 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2370 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2373 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2375 * config/tc-visium.c (md_atof): Localize the string returned on
2378 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2380 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2381 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2382 * config/tc-m68hc11.c (md_begin): Likewise.
2383 (print_opcode_list): Likewise.
2384 * config/tc-msp430.c (msp430_section): Likewise.
2385 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2386 (s3_build_dependency_insn_hsh): Likewise.
2387 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2388 (s7_build_dependency_insn_hsh): Likewise.
2389 * config/tc-tic4x.c: Likewise.
2390 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2391 (subsym_get_arg): Likewise.
2392 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2393 (get_directive): Likewise.
2394 (cache_literal_section): Likewise.
2395 * config/xtensa-relax.c: Likewise.
2396 * symbols.c (symbol_create): Likewise.
2397 (local_symbol_make): Likewise.
2398 (symbol_relc_make_expr): Likewise.
2400 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2402 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2405 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2407 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2410 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2412 * config/tc-ia64.c (ia64_do_align): Remove.
2413 (ia64_cons_align): Call do_align () directly.
2414 (dot_proc): Likewise.
2415 (stmt_float_cons): Likewise.
2417 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2419 * listing.c (listing_message): Use XNEW style allocation macros.
2420 * read.c (read_a_source_file): Likewise.
2421 (read_symbol_name): Likewise.
2422 (s_mri_common): Likewise.
2423 (assign_symbol): Likewise.
2424 (s_reloc): Likewise.
2425 (emit_expr_with_reloc): Likewise.
2426 (s_incbin): Likewise.
2427 (s_include): Likewise.
2428 * sb.c (sb_build): Likewise.
2429 (sb_check): Likewise.
2431 2016-03-22 Alan Modra <amodra@gmail.com>
2433 * write.c (record_alignment): Revert 2016-02-18 change.
2435 2016-03-22 Alan Modra <amodra@gmail.com>
2437 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2438 (emit_jsrjmp, tc_gen_reloc): Likewise.
2439 * config/tc-i370.c (i370_macro): Likewise.
2441 2016-03-22 Nick Clifton <nickc@redhat.com>
2443 * configure: Regenerate.
2445 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2447 * testsuite/gas/arc/nps400-0.d: New file.
2448 * testsuite/gas/arc/nps400-0.s: New file.
2449 * testsuite/gas/arc/nps400-1.d: New file.
2450 * testsuite/gas/arc/nps400-1.s: New file.
2452 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2454 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2455 declarations to start of block. Reset code on all flags before
2456 attempting to match them. Handle multiple hits on the same flag.
2458 * testsuite/gas/arc/asm-errors.d: New file.
2459 * testsuite/gas/arc/asm-errors.err: New file.
2460 * testsuite/gas/arc/asm-errors.s: New file.
2462 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2464 * config/tc-arc.c (cpu_types): Add nps400 entry.
2465 (check_zol): Handle nps400.
2467 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2469 * config/tc-arc.c (arc_select_cpu): Remove use of
2472 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2474 * config/tc-arc.c (arc_target): Delay initialisation until
2476 (arc_target_name): Likewise.
2477 (arc_features): Likewise.
2478 (arc_mach_type): Likewise.
2479 (cpu_types): Remove "all" entry.
2480 (arc_select_cpu): New function, most of the content is from...
2481 (md_parse_option): ... here. Call new arc_select_cpu.
2482 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2484 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2486 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2487 * testsuite/gas/arc/inline-data-2.d: New file.
2489 2016-03-21 Nick Clifton <nickc@redhat.com>
2491 * atof-generic.c: Replace use of alloca with call to xmalloc.
2493 * dwarf2dbg.c: Likewise.
2494 * macro.c: Likewise.
2495 * remap.c: Likewise.
2496 * stabs.c: Likewise.
2497 * symbols.c: Likewise.
2498 * config/obj-elf.c: Likewise.
2499 * config/tc-aarch64.c: Likewise.
2500 * config/tc-arc.c: Likewise.
2501 * config/tc-arm.c: Likewise.
2502 * config/tc-avr.c: Likewise.
2503 * config/tc-ia64.c: Likewise.
2504 * config/tc-mips.c: Likewise.
2505 * config/tc-msp430.c: Likewise.
2506 * config/tc-nds32.c: Likewise.
2507 * config/tc-ppc.c: Likewise.
2508 * config/tc-sh.c: Likewise.
2509 * config/tc-tic30.c: Likewise.
2510 * config/tc-tic54x.c: Likewise.
2511 * config/tc-xstormy16.c: Likewise.
2512 * config/te-vms.c: Likewise.
2513 * configure: Regenerate.
2515 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2517 * tc-i386.c (f32_1): Change type to unsigned char[].
2537 (jump_31): Likewise.
2538 (f32_patt): Likewise.
2539 (f16_patt): Likewise.
2548 (alt_patt): Likewise.
2550 2016-03-18 Nick Clifton <nickc@redhat.com>
2552 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2553 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2554 .tlsdescldr and .xword directives.
2557 * testsuite/gas/aarch64/pr19721.s: New test source file.
2558 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2560 * doc/as.texinfo: Place the target specific command line options
2561 into their own man page section.
2563 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2565 * config/tc-arm.c (N_S_32): New.
2566 (N_F_16_32): Likewise.
2567 (N_SUF_32): Support N_F16.
2568 (N_IF_32): Likewise.
2569 (neon_dyadic_misc): Likewise.
2570 (do_neon_cmp): Likewise.
2571 (do_neon_cmp_inv): Likewise.
2572 (do_neon_mul): Likewise.
2573 (do_neon_fcmp_absolute): Likewise.
2574 (do_neon_step): Likewise.
2575 (do_neon_abs_neg): Likewise.
2576 (CVT_FLAVOR_VAR): Likewise.
2577 (do_neon_cvt_1): Likewise.
2578 (do_neon_recip_est): Likewise.
2579 (do_vmaxnm): Likewise.
2580 (do_vrint_1): Likewise.
2581 (neon_check_type): Check architecture support for FP16 extension.
2582 (insns): Update comments.
2583 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2584 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2585 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2586 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2588 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2590 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2593 2016-03-16 Nick Clifton <nickc@redhat.com>
2595 * read.c (emit_expr_with_reloc): Add code check a bignum with
2597 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2599 * testsuite/gas/elf/bignum.s: New test source file.
2600 * testsuite/gas/elf/bignum.d: New test driver file.
2601 * testsuite/gas/elf/elf.exp: Run the new test.
2603 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2605 * doc/c-i386.texi (Register Naming): Update to details of the
2606 latest architecture version.
2608 2016-03-10 Mickael Guene <mickael.guene@st.com>
2611 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2613 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2614 (do_t_mov_cmp): Likewise.
2615 (do_t_add_sub): Protect against bad relocations usage.
2616 (do_t_mov_cmp): Likewise.
2617 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2618 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2619 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2620 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2622 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2624 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2626 (do_neon_ld_st_lane): Likewise.
2627 (do_neon_ld_dup): Likewise.
2629 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2631 * testsuite/gas/arc/inline-data-1.d: New file.
2632 * testsuite/gas/arc/inline-data-1.s: New file.
2634 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2636 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2637 * doc/c-arm.texi: Add cortex-r8.
2639 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2641 * config/tc-arc.c: Add const qualifiers.
2642 * config/tc-h8300.c (md_begin): Likewise.
2643 * config/tc-ia64.c (print_prmask): Likewise.
2644 * config/tc-msp430.c (msp430_operands): Likewise.
2645 * config/tc-nds32.c (struct suffix_name): Likewise.
2646 (struct nds32_parse_option_table): Likewise.
2647 (struct nds32_set_option_table): Likewise.
2648 (do_pseudo_pushpopm): Likewise.
2649 (do_pseudo_pushpop_stack): Likewise.
2650 (nds32_relax_relocs): Likewise.
2651 (nds32_flag): Likewise.
2652 (struct nds32_hint_map): Likewise.
2653 (nds32_find_reloc_table): Likewise.
2654 (nds32_match_hint_insn): Likewise.
2655 * config/tc-s390.c: Likewise.
2656 * config/tc-sh.c (get_specific): Likewise.
2657 * config/tc-tic30.c: Likewise.
2658 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2659 (tic4x_indirect_parse): Likewise.
2660 * config/tc-vax.c (vax_cons): Likewise.
2661 * config/tc-z80.c (struct reg_entry): Likewise.
2662 * config/tc-epiphany.c (md_assemble): Adjust.
2663 (epiphany_assemble): New function.
2664 (epiphany_elf_section_rtn): Call do_align directly.
2665 (epiphany_elf_section_text): Likewise.
2666 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2667 (ip2k_elf_section_text): Likewise.
2668 * read.c (do_align): Make it not static.
2669 * read.h (do_align): New prototype.
2671 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2673 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2674 for ARMv8.1 AdvSIMD use.
2675 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2676 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2678 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2680 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2682 (record_feature_use): New.
2683 (mark_feature_used): Use record_feature_use.
2684 (do_neon_qrdmlah): New.
2685 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2687 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2688 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2689 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2690 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2691 Make source file explicit.
2692 * testsuite/gas/arm/armv8-a+rdma.l: New.
2693 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2694 directives. Fix white-space.
2695 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2697 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2699 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2701 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2702 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2704 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2705 (tc_arc_fix_adjustable): Changed default return value to 1.
2706 * testsuite/gas/arc/j.d: Updated expected symbol
2707 * testsuite/gas/arc/jl.d: Likewise
2708 * testsuite/gas/arc/relax-avoid1.d: Likewise
2709 * testsuite/gas/arc/st.d: Likewise
2711 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2713 * config/tc-arc.c: Enable code density instructions for ARC EM.
2715 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2718 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2720 * as.c (flag_use_elf_stt_common): New.
2721 (show_usage): Add --elf-stt-common=.
2722 (option_values): Add OPTION_ELF_STT_COMMON.
2723 (std_longopts): Add --elf-stt-common=.
2724 (parse_args): Handle --elf-stt-common=.
2725 * as.h (flag_use_elf_stt_common): New.
2726 * config.in: Regenerated.
2727 * configure: Likewise.
2728 * configure.ac: Add --enable-elf-stt-common and define
2729 DEFAULT_GENERATE_ELF_STT_COMMON.
2730 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2731 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2732 * doc/as.texinfo: Document --elf-stt-common=.
2733 * testsuite/gas/elf/common3.s: New file.
2734 * testsuite/gas/elf/common3a.d: Likewise.
2735 * testsuite/gas/elf/common3b.d: Likewise.
2736 * testsuite/gas/elf/common4.s: Likewise.
2737 * testsuite/gas/elf/common4a.d: Likewise.
2738 * testsuite/gas/elf/common4b.d: Likewise.
2739 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2740 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2741 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2743 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2744 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2745 --elf-stt-common=no to as.
2746 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2747 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2748 --elf-stt-common=no to as.
2749 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2750 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2751 of dw2-compress-3 and dw2-compressed-3.
2753 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2755 * as.c (select_emulation_mode): Add const qualifiers.
2757 * config/bfin-defs.h: Likewise.
2758 * config/bfin-parse.y: Likewise.
2759 * config/rx-parse.y: Likewise.
2760 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2761 (struct aarch64_cpu_option_table): Likewise.
2762 (struct aarch64_arch_option_table): Likewise.
2763 (struct aarch64_option_cpu_value_table): Likewise.
2764 (struct aarch64_long_option_table): Likewise.
2765 (struct aarch64_option_abi_value_table): Likewise.
2766 * config/tc-arm.c (struct reloc_entry): Likewise.
2767 (tc_gen_reloc): Likewise.
2768 (struct arm_option_table): Likewise.
2769 (struct arm_legacy_option_table): Likewise.
2770 (struct arm_cpu_option_table): Likewise.
2771 (struct arm_arch_option_table): Likewise.
2772 (struct arm_option_extension_value_table): Likewise.
2773 (struct arm_option_fpu_value_table): Likewise.
2774 (struct arm_option_value_table): Likewise.
2775 (struct arm_long_option_table): Likewise.
2776 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2777 (struct mcu_type_s): Likewise.
2778 (struct exp_mod_s): Likewise.
2779 (avr_operand): Likewise.
2780 (avr_operands): Likewise.
2781 * config/tc-d10v.c (md_begin): Likewise.
2782 * config/tc-dlx.c: Likewise.
2783 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2784 * config/tc-ft32.c (parse_condition): Likewise.
2785 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2786 * config/tc-hppa.c (pa_ip): Likewise.
2787 (hppa_regname_to_dw2regnum): Likewise.
2788 * config/tc-i370.c (i370_elf_suffix): Likewise.
2789 * config/tc-i960.c (struct tabentry): Likewise.
2790 * config/tc-m32r.c: Likewise.
2791 * config/tc-m68k.c: Likewise.
2792 * config/tc-m68k.h: Likewise.
2793 * config/tc-mcore.c (parse_psrmod): Likewise.
2794 * config/tc-metag.c (struct metag_core_option): Likewise.
2795 (struct metag_long_option): Likewise.
2796 * config/tc-microblaze.c: Likewise.
2797 * config/tc-mips.c (macro): Likewise.
2798 * config/tc-mn10200.c: Likewise.
2799 * config/tc-mn10300.c: Likewise.
2800 * config/tc-msp430.c (struct rcodes_s): Likewise.
2801 (struct hcodes_s): Likewise.
2802 (md_parse_option): Likewise.
2803 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2804 (optlist): Likewise.
2805 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2806 (tc_ppc_regname_to_dw2regnum): Likewise.
2807 * config/tc-ppc.h: Likewise.
2808 * config/tc-rl78.c: Likewise.
2809 * config/tc-rx.c (struct cpu_type): Likewise.
2810 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2811 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2812 (sparc_ip): Likewise.
2813 * config/tc-spu.c (insn_fmt_string): Likewise.
2814 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2815 * config/tc-v850.c: Likewise.
2816 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2817 (struct visium_long_option_table): Likewise.
2818 * config/tc-xgate.c: Likewise.
2819 * config/tc-z8k.c: Likewise.
2820 * read.c (add_include_dir): Likewise.
2823 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2825 * testsuite/gas/all/gas.exp: Change target pattern to cover
2827 * testsuite/gas/all/redef3.d: Likewise.
2828 * testsuite/gas/elf/elf.exp: Likewise.
2830 2016-02-24 Renlin Li <renlin.li@arm.com>
2832 * config/tc-arm.c (BAD_FP16): New error message macro.
2833 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2834 fp16 scalar instructions.
2835 (neon_check_type): Allow different size from key.
2836 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2837 (try_vfp_nsyn): Likewise.
2838 (do_vfp_nsyn_mla_mls): Likewise.
2839 (do_vfp_nsyn_fma_fms): Likewise.
2840 (do_vfp_nsyn_ldm_stm): Likewise
2841 (do_vfp_nsyn_sqrt): Likewise
2842 (do_vfp_nsyn_div): Likewise
2843 (do_vfp_nsyn_nmul): Likewise.
2844 (do_vfp_nsyn_cmp): Likewise.
2845 (do_neon_shll): Likewise.
2846 (do_vfp_nsyn_cvt_fpv8): Likewise.
2847 (do_neon_cvttb_2): Likewise.
2848 (do_neon_mov): Likewise.
2849 (do_neon_rshift_round_imm): Likewise.
2850 (do_neon_ldr_str): Likewise.
2851 (do_vfp_nsyn_fpv8): Likewise.
2852 (do_vmaxnm): Likewise.
2853 (do_vrint_1): Likewise.
2854 (insns): New entry for vins, vmovx.
2855 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2856 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2857 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2858 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2859 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2860 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2861 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2863 2016-02-24 Renlin Li <renlin.li@arm.com>
2865 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2866 (neon_shape_class): New SC_HALF.
2867 (neon_shape_el): New SE_H.
2868 (neon_shape_el_size): New size for SE_H.
2869 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2870 (neon_select_shape): Add SE_H support code.
2871 (el_type_of_type_chk): Use N_F_ALL.
2872 (do_vfp_nsyn_cvt): Add SE_H shape support.
2873 (do_neon_cvtz): Likewise.
2874 (do_neon_cvt_1): Likewise.
2875 (do_neon_cvttb_1): Likewise.
2877 2016-02-24 Renlin Li <renlin.li@arm.com>
2879 * testsuite/gas/arm/copro.d: Adjust output.
2880 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2882 2016-02-24 Renlin Li <renlin.li@arm.com>
2884 * testsuite/gas/arm/mask_1.d: New.
2885 * testsuite/gas/arm/mask_1.s: New.
2887 2016-02-24 Renlin Li <renlin.li@arm.com>
2889 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2890 * testsuite/gas/arm/copro.d: Update.
2892 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2894 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2895 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2897 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2899 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2901 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2903 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2906 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2908 * output-file.c (output_file_create): Make file name argument const.
2909 (output_file_close): Likewise.
2910 * output-file.h (output_file_create): Adjust.
2911 (output_file_close): Likewise.
2912 * depend.c (quote_string_for_make): Make src argument const char *.
2913 (register_dependency): Likewise.
2914 (wrap_output): Likewise.
2915 * as.h (register_dependency): Adjust.
2916 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2918 * symbols.c (S_SET_EXTERNAL): Likewise.
2919 * input-scrub.c (as_where): Return the file name.
2920 * as.h (as_where): Adjust prototype.
2921 * app.c (do_scrub_chars): Adjust.
2922 * cond.c (s_elseif): Likewise.
2924 (initialize_cframe): Likewise.
2925 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2926 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2927 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2928 * config/tc-aarch64.c (output_info): Likewise.
2929 * config/tc-ia64.c (md_assemble): Likewise.
2930 (dot_alias): Likewise.
2931 * config/tc-m68k.c (m68k_frob_label): Likewise.
2932 * config/tc-mmix.c (s_bspec): Likewise.
2933 (mmix_handle_mmixal): Likewise.
2934 * config/tc-rx.c (rx_include): Likewise.
2935 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2936 (tic54x_adjust_symtab): Likewise.
2937 * config/tc-xtensa.c (directive_push): Likewise.
2938 (xtensa_sanity_check): Likewise.
2939 (xtensa_relax_frag): Likewise.
2940 (md_convert_frag): Likewise.
2941 (tinsn_to_slotbuf): Likewise.
2942 * dwarf2dbg.c (dwarf2_where): Likewise.
2943 * ecoff.c (add_file): Likewise.
2944 (ecoff_generate_asm_lineno): Likewise.
2945 * expr.c (make_expr_symbol): Likewise.
2946 * frags.c (frag_new): Likewise.
2947 (frag_var_init): Likewise.
2948 * listing.c (listing_newline): Likewise.
2949 * messages.c (identify): Likewise.
2950 (as_show_where): Likewise.
2951 (as_warn_internal): Likewise.
2952 (as_bad_internal): Likewise.
2953 * read.c (s_irp): Likewise.
2954 (s_macro): Likewise.
2955 (s_reloc): Likewise.
2956 * stabs.c (stabs_generate_asm_file): Likewise.
2957 (stabs_generate_asm_lineno): Likewise.
2958 (stabs_generate_asm_func): Likewise.
2959 * write.c (fix_new_internal): Likewise.
2960 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2961 (as_warn_value_out_of_range): Adjust prototype.
2962 (as_bad_value_out_of_range): Adjust prototype.
2963 * messages.c (identify): Make file name argument const char *.
2964 (as_warn_internal): Likewise.
2965 (as_warn_where): Likewise.
2966 (as_bad_internal): Likewise.
2967 (as_bad_where): Likewise.
2968 (as_internal_value_out_of_range): Likewise.
2969 (as_warn_value_out_of_range): Likewise.
2970 (as_bad_value_out_of_range): Likewise.
2971 * as.h (found_comment_file): Change type to const char *.
2972 * cond.c (file_line::file): Likewise.
2973 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2974 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2975 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2976 * config/tc-aarch64.c (output_info): Likewise.
2977 * config/tc-alpha.c (insert_operand): Likewise.
2978 * config/tc-arc.c (insert_operand): Likewise.
2979 * config/tc-d30v.c (check_size): Likewise.
2980 * config/tc-ia64.c (struct alias): Likewise.
2981 * config/tc-m68k.c (struct label_line): Likewise.
2982 * config/tc-mcore.c (md_apply_fix): Likewise.
2983 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
2984 * config/tc-mips.c (mips16_immed): Likewise.
2985 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
2986 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2987 * config/tc-rx.c (rx_include): Likewise.
2988 * config/tc-s390.c (s390_insert_operand): Likewise.
2989 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2990 (tic54x_adjust_symtab): Likewise.
2991 * config/tc-tilegx.c (insert_operand): Likewise.
2992 (apply_special_operator): Likewise.
2993 * config/tc-tilepro.c (insert_operand): Likewise.
2994 * config/tc-xtensa.c (directive_push): Likewise.
2995 * ecoff.c (add_file): Likewise.
2996 (ecoff_generate_asm_lineno): Likewise.
2997 * listing.c (listing_newline): Likewise.
2998 * read.c (s_irp): Likewise.
2999 * write.c (install_reloc): Likewise.
3000 * write.h (struct fix): Likewise.
3001 * input-file.c (file_name): Change type to const char *.
3002 (saved_file::file_name): Likewise.
3003 (input_file_open): Change type of argument to const char *.
3004 * input-file.h (input_file_open): Adjust.
3005 * input-scrub.c (logical_input_file): change type to const char *.
3006 (physical_input_file): Likewise.
3007 (struct input_save): Adjust.
3008 (input_scrub_push): Adjust.
3009 (input_scrub_begin): Adjust.
3011 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3012 (input_scrub_include_file): Likewise.
3013 (new_logical_line_flags): Likewise.
3014 (new_logical_line): Likewise.
3016 * frags.h (struct frag): Change type of fr_file to const char *.
3017 * expr.c (expr_symbol_where): Change type of file argument to
3019 * expr.h (expr_symbol_where): Likewise.
3020 * config/tc-i370.c (md_apply_fix): adjust.
3021 * config/tc-mmix.c (mmix_md_end): Likewise.
3022 * config/tc-ppc.c (md_apply_fix): Likewise.
3023 * config/tc-s390.c (md_apply_fix): Likewise.
3024 * symbols.c (report_op_error): Likewise.
3025 (resolve_symbol_value): Likewise.
3026 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3027 (rsrc::file): Likewise.
3028 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3030 (xtensa_relax_frag): Likewise.
3031 (md_convert_frag): Likewise.
3032 (tinsn_to_slotbuf): Likewise.
3033 * expr.c (expr_symbol_line): Likewise.
3034 * macro.c (define_macro): Likewise.
3035 * macro.h (macro_struct): Likewise.
3036 * messages.c (as_show_where): Likewise.
3037 * read.c (s_macro): Likewise.
3038 * stabs.c (stabs_generate_asm_file): Likewise.
3039 (generate_asm_file): Likewise.
3040 (stabs_generate_asm_lineno): Likewise.
3041 * write.h (struct reloc_list): Likewise.
3042 * input-scrub.c (as_where): Change return type to const char *.
3043 * as.h (as_wheree): Adjust.
3045 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3047 * write.c (compress_debug): Move BFD compression bits setting
3049 (write_object_file): Here.
3051 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3053 * config/tc-i386.c (register_number): Check RegVRex.
3054 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3055 with %zmm19 and %zmm3.
3056 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3057 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3059 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3060 Jiong Wang <jiong.wang@arm.com>
3062 * config/tc-arm.c (arm_ext_fp16): New.
3063 (arm_extensions): New entry for "fp16".
3065 2016-02-19 Nick Clifton <nickc@redhat.com>
3068 * read.c (read_a_source_file): Check for assemble_one returning
3069 with input_line_pointer set to NULL.
3071 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3073 * listing.c (rebuffer_line): Change return type to void.
3075 * symbols.c (decode_local_label_name): Make type a const char *.
3076 * listing.c (print_source): Make type of p const char *.
3077 (print_line): Make type of string const char *.
3078 (buffer_line): Return const char *.
3079 (title): Make type const char *.
3080 (subtitle): Likewise.
3081 (listing_listing): Make type of p const char *.
3082 * messages.c (as_internal_value_out_of_range): Make type of prefix
3084 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3085 and string const char *.
3086 * read.c (_bfd_rel): Make type of name const char *.
3087 * app.c (out_string): Change type to const char *.
3088 (struct app_save::out_string): Likewise.
3090 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3091 Nick Clifton <nickc@redhat.com>
3093 * read.c (finish_bundle): Avoid recording a negative alignment.
3094 (do_align): Use unsigned values for n, len and max. Only create
3095 a frag if the alignment requirement is greater than the minimum
3096 byte alignment. Avoid recording a negative alignment.
3097 (s_align): Use unsigned values where appropriate.
3098 (bss_alloc): Use an unsigned value for the alignment.
3099 (sizeof_sleb128): Add a comment noting that we encode one octet
3100 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3101 (emit_leb129_expr): Abort if the emitted encoding was longer than
3103 * read.h (output_leb128): Update prototype.
3104 (sizeof_leb128): Update prototype.
3105 (bss_alloc): Update prototype.
3106 * write.c (record_alignment): Use an unsigned value for the
3107 alignment. Do not record alignments less than the minimum
3108 alignment for a byte.
3109 * write.h (record_alignment): Update prototype.
3111 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3113 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3114 .init.literal/.fini.literal section name.
3115 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3116 list of xtensa tests.
3117 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3118 init-fini-literals test result patterns.
3119 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3120 init-fini-literals test.
3122 2016-02-17 Nick Clifton <nickc@redhat.com>
3124 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3125 devices.csv file as of March 2016.
3127 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3129 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3131 (tc_arc_regname_to_dw2regnum): Likewise.
3132 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3133 (tc_cfi_frame_initial_instructions): Likewise.
3134 (tc_regname_to_dw2regnum): Likewise.
3135 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3136 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3137 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3139 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3141 * doc/internals.texi (S_IS_EXTERN): Remove.
3143 2016-02-16 Nick Clifton <nickc@redhat.com>
3145 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3148 2016-02-16 Renlin Li <renlin.li@arm.com>
3151 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3152 * testsuite/gas/aarch64/movw_label.d: New.
3153 * testsuite/gas/aarch64/movw_label.s: New.
3155 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3158 * config/rx-parse.y (MOV): Opcode generation for index
3159 register addressing mode.
3160 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3161 * testsuite/gas/rx/pr19665.s: New file.
3162 * testsuite/gas/rx/pr19665.s: New file.
3163 * testsuite/gas/rx/mov.d: Update expected output.
3165 2016-02-15 Nick Clifton <nickc@redhat.com>
3167 * doc/as.texinfo (.section): Document that numeric values can now
3168 be used for the flags and type fields of the ELF target's .section
3169 directive. Add notes about the restrictions on setting flags and
3171 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3172 to be given processor specific section types. Allow processor and
3173 application specific flags of a section to be set after
3175 (obj_elf_parse_section_letters): Handle parsing numeric values.
3176 (obj_elf_section_type): Handle parsing numeric values.
3177 (obj_elf_section): Allow numeric type values.
3178 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3179 * testsuite/gas/elf/section10.d: New test.
3180 * testsuite/gas/elf/section10.s: Source file for new test.
3181 * testsuite/gas/elf/elf.exp: Run the new test.
3182 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3183 the description of the flags produced by readelf.
3184 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3185 * NEWS: Mention the new feature.
3187 2016-02-11 Nick Clifton <nickc@redhat.com>
3190 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3191 until it is actually used.
3192 (cfi_set_sections): Set cfi_sections_set to true.
3193 (dot_cfi_startproc): Likewise.
3194 (dot_cfi_endproc): Likewise.
3195 (dot_cfi_fde_data): Likewise.
3196 (cfi_finish): Likewise.
3197 (dot_cfi_sections): Do not set cfi_sections_set.
3198 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3199 their own cfi section name. Also note that the directive can be
3200 reissued provided that CFI generation has not started.
3201 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3202 .cfi_endproc directives so that the redefinition of .cfi_sections
3203 will trigger the generation of the error message.
3204 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3205 number of error message.
3207 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3208 Janek van Oirschot <jvanoirs@synopsys.com>
3210 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3211 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3213 (arc_flags, arc_relax_type): New structure.
3214 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3215 (RELAX_TABLE_ENTRY_MAX): New define.
3216 (relaxation_state, md_relax_table, arc_relaxable_insns)
3217 (arc_num_relaxable_ins): New variable.
3218 (rlx_operand_type, arc_rlx_types): New enums.
3219 (arc_relaxable_ins): New structure.
3220 (OPTION_RELAX): New option.
3221 (arc_insn): New relax member.
3222 (arc_flags): Remove.
3223 (relax_insn_p): New function.
3224 (apply_fixups): Likewise.
3225 (relaxable_operand): Likewise.
3226 (may_relax_expr): Likewise.
3227 (relaxable_flag): Likewise.
3228 (arc_pcrel_adjust): Likewise.
3229 (md_estimate_size_before_relax): Implement.
3230 (md_convert_frag): Likewise.
3231 (md_parse_option): Handle new mrelax option.
3232 (md_show_usage): Likewise.
3233 (assemble_insn): Set relax member.
3234 (emit_insn0): New function.
3235 (emit_insn1): Likewise.
3236 (emit_insn): Handle relaxation case.
3237 * NEWS: Mention the new relaxation option.
3238 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3239 * doc/as.texinfo (Target ARC Options): Likewise.
3240 * testsuite/gas/arc/relax-avoid1.d: New file.
3241 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3242 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3243 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3244 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3245 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3246 * testsuite/gas/arc/relax-b.d: Likewise.
3247 * testsuite/gas/arc/relax-b.s: Likewise.
3249 2016-02-08 Nick Clifton <nickc@redhat.com>
3251 * config/tc-ia64.c (dot_prologue): Fix formatting.
3253 2016-02-04 Nick Clifton <nickc@redhat.com>
3255 * config/obj-elf.c (obj_elf_change_section): Remove support for
3256 ARM NOREAD sections.
3257 * config/tc-arm.c (arm_elf_section_letter): Delete.
3258 * config/tc-arm.h (md_elf_section_letter): Delete.
3259 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3260 * testsuite/gas/arm/section-execute-only.d: Delete.
3261 * testsuite/gas/arm/section-execute-only.s: Delete.
3263 2016-02-04 Nick Clifton <nickc@redhat.com>
3266 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3267 to handle encoding of RRUX instruction.
3268 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3270 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3272 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3274 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3275 substitutions for BFD_RELOC_* as unsigned.
3276 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3277 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3278 * testsuite/gas/xtensa/loc.s: New file: loc test.
3280 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3282 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3284 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3287 * NEWS: Mention new command line option -mrelax-relocations and
3288 new configure option --enable-x86-relax-relocations for x86
3290 * config.in: Regenerated.
3291 * configure.ac: Add --enable-x86-relax-relocations.
3292 (ac_default_x86_relax_relocations): New. Default to 1 except
3293 for x86 Solaris targets older than Solaris 12.
3294 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3295 * configure: Likewise.
3296 * config/tc-i386.c (generate_relax_relocations): New.
3297 (OPTION_MRELAX_RELOCATIONS): Likewise.
3298 (output_disp): Don't generate relax relocations if
3299 generate_relax_relocations is 0.
3300 (md_longopts): Add -mrelax-relocations.
3301 (md_show_usage): Likewise.
3302 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3303 * doc/c-i386.texi: Document -mrelax-relocations=.
3304 * testsuite/gas/i386/got-no-relax.d: New file.
3305 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3306 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3307 * testsuite/gas/i386/localpic.d: Likewise.
3308 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3309 * testsuite/gas/i386/reloc32.d: Likewise.
3310 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3311 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3312 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3313 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3314 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3315 x86-64-gotpcrel-no-relax.
3317 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3319 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3322 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3324 * NEWS: Remove duplicated marker for 2.26.
3326 2016-02-02 Renlin Li <renlin.li@arm.com>
3328 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3330 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3332 * testsuite/gas/ip2k/allinsn.d: New file.
3333 * testsuite/gas/ip2k/allinsn.s: New file.
3334 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3336 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3338 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3339 some load instructions.
3340 * testsuite/gas/epiphany/allinsn.d: Likewise.
3341 * testsuite/gas/epiphany/regression.d: Likewise.
3343 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3345 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3346 suffixes from instruction mnemonics in expected output.
3347 * testsuite/gas/epiphany/allinsn.d: Likewise.
3348 * testsuite/gas/epiphany/regression.d: Likewise.
3349 * testsuite/gas/epiphany/sample.d: Likewise.
3351 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3353 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3355 * testsuite/gas/epiphany/allinsn.d: Likewise.
3356 * testsuite/gas/epiphany/sample.d: Likewise.
3358 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3360 * testsuite/gas/epiphany/sample.d: Update expected output.
3362 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3364 * config/tc-arc.c (md_apply_fix): Allow addendum.
3365 (arc_reloc_op): Allow complex expressions for tpoff.
3366 (md_apply_fix): Handle resolved TLS local symbol.
3367 * testsuite/gas/arc/tls-relocs1.d: New file.
3368 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3370 2016-02-01 Loria <Loria@phantasia.org>
3373 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3374 efficiency and avoid an LLVM loop optimization bug.
3376 2016-02-01 Nick Clifton <nickc@redhat.com>
3378 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3379 message extending a negative 32-bit value into a larger signed
3380 value on a 32-bit host.
3382 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3385 * configure.ac (compressed_debug_sections): Replace == with =.
3386 * configure: Regenerated.
3388 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3389 H.J. Lu <hongjiu.lu@intel.com>
3391 * config/tc-i386.c (avoid_fence): New.
3392 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3394 (OPTION_FENCE_AS_LOCK_ADD): New.
3395 (md_longopts): Add -mfence-as-lock-add.
3396 (md_parse_option): Handle -mfence-as-lock-add.
3397 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3398 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3399 * testsuite/gas/i386/i386.exp: Run new tests.
3400 * testsuite/gas/i386/fence-as-lock-add.s: New.
3401 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3402 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3403 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3404 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3406 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3408 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3409 * configure: Regenerated.
3411 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3413 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3414 (OPTION_MOMIT_LOCK_PREFIX): This.
3415 (md_longopts): Updated.
3416 (md_parse_option): Likewise.
3418 2016-01-25 Catherine Moore <clm@codesourcery.com>
3420 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3421 if abicalls are in effect.
3422 * testsuite/gas/mips/sdata-gp.s: New test.
3423 * testsuite/gas/mips/sdata-gp.d: New expected output
3424 * testsuite/gas/mips/mips.exp: Run new test.
3426 2016-01-25 Renlin Li <renlin.li@arm.com>
3428 * testsuite/gas/arm/thumb2_it_search.d: New.
3429 * testsuite/gas/arm/thumb2_it_search.s: New.
3431 2016-01-21 Nick Clifton <nickc@redhat.com>
3434 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3435 with arm-netbsdelf target.
3436 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3438 2016-01-20 Nick Clifton <nickc@redhat.com>
3441 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3442 * testsuite/gas/arm/blx-bl-convert.d
3443 * testsuite/gas/arm/plt-1.d: Likewise.
3444 * testsuite/gas/arm/reloc-bad.d: Likewise.
3445 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3446 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3447 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3448 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3451 * doc/as.texinfo (Errors): Correct documentation describing the
3452 interaction of .file and .line with warning and error messages.
3455 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3456 * testsuite/gas/arm/archv8m-main.d: Likewise.
3457 * testsuite/gas/arm/archv8m-base.d: Likewise.
3459 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3461 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3462 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3463 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3465 2016-01-20 Mickael Guene <mickael.guene@st.com>
3466 Terry Guo <terry.guo@arm.com>
3468 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3469 SHF_ARM_NOREAD section flag.
3470 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3472 (arm_elf_section_letter) : Declare it.
3473 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3474 SHF_ARM_NOREAD section flag.
3475 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3477 * testsuite/gas/arm/section-execute-only.s: New test case.
3478 * testsuite/gas/arm/section-execute-only.d: Expected output.
3480 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3482 * config/tc-mips.c (micromips_insn_length): Remove the mention
3483 of 48-bit microMIPS instructions.
3485 2016-01-18 Alan Modra <amodra@gmail.com>
3487 * configure: Regenerate.
3489 2016-01-17 Alan Modra <amodra@gmail.com>
3491 * configure: Regenerate.
3493 2016-01-17 Alan Modra <amodra@gmail.com>
3495 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3497 2016-01-14 Nick Clifton <nickc@redhat.com>
3499 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3500 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3501 * testsuite/gas/rl78/rl78.exp: Run the new test.
3503 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3505 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3506 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3508 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3510 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3512 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3514 * config/tc-h8300.c (get_operand): Remove spurious condition in
3515 test for closing parenthesis.
3517 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3519 * config/tc-arm.c (arm_ext_v8_2): New.
3521 * testsuite/gas/arm/armv8_2-a.d: New.
3522 * testsuite/gas/arm/armv8_2-a.s: New.
3524 2016-01-12 Alan Modra <amodra@gmail.com>
3526 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3528 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3530 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3531 xvcmpnesp, xvcmpnesp.>: Delete tests.
3532 * testsuite/gas/ppc/power9.s: Likewise.
3533 * testsuite/gas/ppc/vsx3.d: Likewise.
3534 * testsuite/gas/ppc/vsx3.s: Likewise.
3536 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3539 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3540 * testsuite/gas/m68k/p13050-1.s: New file.
3541 * testsuite/gas/m68k/p13050-2.d: New file.
3542 * testsuite/gas/m68k/p13050-2.s: New file.
3544 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3546 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3547 * testsuite/gas/arc/add.d: Likewise.
3548 * testsuite/gas/arc/and.d: Likewise.
3549 * testsuite/gas/arc/asl.d: Likewise.
3550 * testsuite/gas/arc/asr.d: Likewise.
3551 * testsuite/gas/arc/bic.d: Likewise.
3552 * testsuite/gas/arc/extb.d: Likewise.
3553 * testsuite/gas/arc/extw.d: Likewise.
3554 * testsuite/gas/arc/j.d: Likewise.
3555 * testsuite/gas/arc/jl.d: Likewise.
3556 * testsuite/gas/arc/ld2.d: Likewise.
3557 * testsuite/gas/arc/lsr.d: Likewise.
3558 * testsuite/gas/arc/mov.d: Likewise.
3559 * testsuite/gas/arc/or.d: Likewise.
3560 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3561 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3562 * testsuite/gas/arc/pic-relocs.d: Likewise.
3563 * testsuite/gas/arc/plt-relocs.d: Likewise.
3564 * testsuite/gas/arc/rlc.d: Likewise.
3565 * testsuite/gas/arc/ror.d: Likewise.
3566 * testsuite/gas/arc/rrc.d: Likewise.
3567 * testsuite/gas/arc/sbc.d: Likewise.
3568 * testsuite/gas/arc/sda-relocs.d: Likewise.
3569 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3570 * testsuite/gas/arc/sexb.d: Likewise.
3571 * testsuite/gas/arc/sexw.d: Likewise.
3572 * testsuite/gas/arc/st.d: Likewise.
3573 * testsuite/gas/arc/sub.d: Likewise.
3574 * testsuite/gas/arc/tls-relocs.d: Likewise.
3575 * testsuite/gas/arc/xor.d: Likewise.
3577 2016-01-01 Alan Modra <amodra@gmail.com>
3579 Update year range in copyright notice of all files.
3581 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3583 Copyright (C) 2016 Free Software Foundation, Inc.
3585 Copying and distribution of this file, with or without modification,
3586 are permitted in any medium without royalty provided the copyright
3587 notice and this notice are preserved.
3593 version-control: never