1 2016-07-01 Jan Beulich <jbeulich@suse.com>
4 * config/tc-i386.c (match_template): Add char parameter,
5 consumed in Intel mode for an extra suffix check.
6 (md_assemble): New local variable mnem_suffix.
7 * testsuite/gas/i386/suffix-bad.s: New.
8 * testsuite/gas/i386/suffix-bad.l: New.
9 * testsuite/gas/i386/i386.exp: Run new test (twice).
11 2016-07-01 Jan Beulich <jbeulich@suse.com>
13 * testsuite/gas/i386/movz.s: New.
14 * testsuite/gas/i386/movz32.d: New.
15 * testsuite/gas/i386/movz64.d: New.
16 * testsuite/gas/i386/i386.exp: Run new tests.
18 2016-07-01 Jan Beulich <jbeulich@suse.com>
20 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
21 (md_assemble): Free first memory operand string.
22 (i386_index_check): Use repprefixok to distingush xlat from
23 other (real) string ops.
24 (maybe_adjust_templates): New.
25 (i386_att_operand). Call it. Store first memory operand string.
26 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
27 * testsuite/gas/i386/intel-movs.s: New.
28 * testsuite/gas/i386/intel-movs32.d: New.
29 * testsuite/gas/i386/intel-movs64.d: New.
30 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
31 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
33 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
35 * config/tc-mips.c (get_append_method): Fix a comment typo.
37 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
38 Maciej W. Rozycki <macro@imgtec.com>
40 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
42 * testsuite/gas/mips/branch-swap-3.d: New test.
43 * testsuite/gas/mips/branch-swap-4.d: New test.
44 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
45 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
46 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
47 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
48 * testsuite/gas/mips/branch-swap-3.s: New test source.
49 * testsuite/gas/mips/mips.exp: Run the new tests.
51 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
53 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
56 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
59 * write.c (subsegs_finish_section): Force no section padding to
60 alignment on failed assembly, always set last frag's alignment
62 * testsuite/gas/all/pr20312.l: New list test.
63 * testsuite/gas/all/pr20312.s: New test source.
64 * testsuite/gas/all/gas.exp: Run the new test
66 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
68 * config.in (TARGET_WITH_CPU): Undefine.
69 * configure.ac: Add --with-cpu support, and define in config.h.
70 * configure: Regenerate.
71 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
72 * NEWS: Mention new configure option.
74 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
76 * testsuite/gas/arm/armv8_2+rdma.d: New.
78 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
80 * NEWS: Mention --enable-compressed-debug-sections=gas is the
81 default for Linux/x86 targets.
82 * configure.tgt (ac_default_compressed_debug_sections): Default
83 to yes for Linux/x86 targets.
85 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
87 * write.c: Remove "libbfd.h" inclusion.
89 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
91 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
94 2016-06-28 Alan Modra <amodra@gmail.com>
97 * testsuite/gas/elf/section11.s: Don't start directives in first column.
99 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
101 * testsuite/gas/aarch64/diagnostic.s,
102 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
104 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
106 * config/tc-mips.c (mips16_reloc_p): Handle
107 BFD_RELOC_MIPS16_16_PCREL_S1.
108 (b_reloc_p): Likewise.
109 (limited_pcrel_reloc_p): Likewise.
110 (md_pcrel_from): Likewise.
111 (md_apply_fix): Likewise.
112 (tc_gen_reloc): Likewise.
113 (md_convert_frag): Likewise.
114 (mips_fix_adjustable): Update comment.
115 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
116 output, add dump patterns.
117 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
118 output, add dump patterns.
119 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
120 output, add dump patterns.
121 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
122 output, add dump patterns.
123 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
124 output, add dump patterns.
125 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
126 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
127 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
128 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
129 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
130 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
131 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
132 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
133 * testsuite/gas/mips/branch-weak-6.d: New test.
134 * testsuite/gas/mips/branch-weak-7.d: New test.
135 * testsuite/gas/mips/mips.exp: Run the new tests.
137 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
139 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
140 cfi_add_CFA_def_cfa to generate default CFA with offset
141 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
143 2016-06-27 Nick Clifton <nickc@redhat.com>
146 * as.h (do_not_pad_sections_to_alignment): New global variable.
147 * as.c (show_usage): Add --no-pad-sections.
148 (parse_args): Likewise.
149 * write.c (size_seg): Skip padding the end of the section if
150 requested from the command line.
151 (SUB_SEGMENT_ALIGN): Likewise.
152 * doc/as.texinfo: Document the new option.
153 * NEWS: Mention the new feature.
154 * testsuite/gas/elf/section11.s: New test.
155 * testsuite/gas/elf/section11.d: New test driver.
156 * testsuite/gas/elf/elf.exp: Run the new test.
158 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
160 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
161 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
163 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
165 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
167 (map_suffix_reloc_to_operator): Likewise.
168 (map_operator_to_reloc): Likewise.
170 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
172 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
173 element in relax_table.
175 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
177 * config/tc-aarch64.c: Make the type of reg_entry::type
180 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
182 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
183 (md_parse_option): Adjust.
184 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
185 with iteration from 0 to ARRAY_SIZE.
186 * config/tc-mcore.c (md_begin): Likewise.
187 * config/tc-visium.c (visium_parse_arch): Likewise.
189 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
191 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
192 and simplify accordingly.
193 (tic54x_include): Adjust.
194 (tic54x_mlib): Likewise.
196 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
198 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
200 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
202 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
203 unchanged with relaxed MIPS16 instructions.
204 (mips16_extended_frag): Adjust accordingly. Return 1 right
205 away if a relocation will be required for the symbol requested.
206 Remove dead first relaxation pass code.
207 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
208 (md_convert_frag): Adjust symbol value calculation. Raise an
209 error if a relocation is required for the symbol requested.
210 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
212 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
213 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
214 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
215 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
216 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
217 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
218 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
219 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
220 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
221 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
222 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
223 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
224 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
225 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
226 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
227 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
228 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
229 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
230 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
231 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
232 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
233 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
234 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
235 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
236 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
237 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
238 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
239 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
240 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
241 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
242 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
243 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
244 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
245 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
246 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
247 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
248 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
249 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
250 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
251 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
252 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
253 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
254 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
255 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
256 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
257 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
258 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
259 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
260 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
261 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
262 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
263 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
264 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
265 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
266 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
267 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
268 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
269 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
270 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
271 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
272 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
273 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
274 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
275 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
276 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
277 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
278 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
279 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
280 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
281 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
282 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
283 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
284 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
285 * testsuite/gas/mips/mips.exp: Run the new tests.
287 2016-06-24 Alan Modra <amodra@gmail.com>
289 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
291 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
293 * config/tc-mips.c (b_reloc_p): New function.
294 (mips_fix_adjustable): Also keep the original microMIPS symbol
295 referred from branch relocations.
296 * testsuite/gas/mips/branch-local-1.d: New test.
297 * testsuite/gas/mips/branch-local-n32-1.d: New test.
298 * testsuite/gas/mips/branch-local-n64-1.d: New test.
299 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
301 * testsuite/gas/mips/branch-local-1.s: New test source.
302 * testsuite/gas/mips/mips.exp: Run the new cases.
304 2016-06-23 Graham Markall <graham.markall@embecosm.com>
306 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
307 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
308 options. Correct erroneous enabling of SPFP instructions when
311 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
313 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
314 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
315 setbool, xor3>: New tests.
316 * testsuite/gas/ppc/power9.s: Likewise.
318 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
320 * config/tc-xtensa.c: Include elf/xtensa.h.
322 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
324 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
325 <BFD_RELOC_LO16_PCREL>: New switch cases.
326 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
327 Move switch cases along `BFD_RELOC_MIPS_JMP'.
328 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
329 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
331 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
332 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
333 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
334 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
335 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
336 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
337 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
338 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
339 * testsuite/gas/mips/mips.exp: Run the new tests.
341 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
343 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
344 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
345 via `fixP->fx_addsy'.
347 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
349 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
350 Calculate relocation from the containing aligned doubleword.
351 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
352 addend from the containing aligned doubleword.
354 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
356 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
357 rather than `mips_opts' for the R6 ISA check.
358 (mips_fix_adjustable): Likewise.
359 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
360 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
361 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
362 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
363 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
364 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
365 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
366 * testsuite/gas/mips/mips.exp: Run the new tests.
368 2016-06-21 Graham Markall <graham.markall@embecosm.com>
370 * config/tc-arc.c (check_cpu_feature, md_parse_option):
371 Add nps400 option and feature. Add check for nps400
372 feature. Refactor existing checks to check subclass before
374 (md_show_usage): Document flags for NPS-400 and add some other
376 (cpu_type): Remove nps400 CPU type entry
377 (check_zol): Remove bfd_mach_arc_nps400 case.
378 (md_show_usage): Add help on -mcpu=nps400.
379 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
381 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
382 -fpuda flags. Document -mcpu=nps400.
383 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
384 expected flags to match ARC700 instead of NPS400.
385 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
386 * testsuite/gas/arc/nps-400-2.d: Likewise.
387 * testsuite/gas/arc/nps-400-3.d: Likewise.
388 * testsuite/gas/arc/nps-400-4.d: Likewise.
389 * testsuite/gas/arc/nps-400-5.d: Likewise.
390 * testsuite/gas/arc/nps-400-6.d: Likewise.
391 * testsuite/gas/arc/nps-400-7.d: Likewise.
392 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
393 avoid clash with cbba instruction.
394 * testsuite/gas/arc/textinsn2op01.d: Likewise.
395 * testsuite/gas/arc/textinsn3op.d: Likewise.
396 * testsuite/gas/arc/textinsn3op.s: Likewise.
397 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
398 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
400 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
402 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
403 * testsuite/gas/mips/r6-64-n64.d: Likewise.
405 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
407 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
410 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
412 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
414 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
416 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
417 %hmcddfr and %hva_mask_nz.
418 (sparc_ip): New handling of asr/privileged/hyperprivileged
419 registers, adapted to the new form of the sparc opcodes table.
420 * testsuite/gas/sparc/rdasr.s: New file.
421 * testsuite/gas/sparc/rdasr.d: Likewise.
422 * testsuite/gas/sparc/wrasr.s: Likewise.
423 * testsuite/gas/sparc/wrasr.d: Likewise.
424 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
426 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
427 registers require it.
428 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
429 registers and write instruction modalities.
430 * testsuite/gas/sparc/wrpr.d: Likewise.
431 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
433 * testsuite/gas/sparc/rdhpr.d: Likewise.
434 * testsuite/gas/sparc/wrhpr.s: Likewise.
435 * testsuite/gas/sparc/wrhpr.d: Likewise.
437 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
439 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
440 architectures to use the right opcode architecture.
441 (sparc_md_end): Handle v9{c,d,e,v,m}.
442 (sparc_ip): Fix some comments.
443 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
444 instruction, which is v9d.
445 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
446 instruction from the test, as %mwait is not readable.
447 * testsuite/gas/sparc/mwait.d: Likewise.
448 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
449 mismatch architecture errors.
450 * testsuite/gas/sparc/mism-2.s: New file.
452 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
454 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
455 empty string to mark the end of the array.
456 (hpriv_reg_table): Likewise.
457 (v9a_asr_table): Likewise.
458 (cmp_reg_entry): Handle entries with NULL names.
460 (F_POP_PCREL): Likewise.
461 (F_POP_TLS_CALL): Likewise.
462 (F_POP_POSTFIX): Likewise.
463 (struct pop_entry): New type.
464 (pop_table): New variable.
465 (enum pop_entry_type): New type.
466 (struct perc_entry): Likewise.
467 (NUM_PERC_ENTRIES): Define.
468 (perc_table): New variable.
469 (cmp_perc_entry): New function.
470 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
472 (sparc_ip): Handle entries with NULL names in priv_reg_table,
473 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
476 2016-06-15 Nick Clifton <nickc@redhat.com>
478 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
480 * config/tc-mcore.c (md_assemble): Likewise.
481 * config/tc-mn10200.c (md_assemble): Likewise.
482 * config/tc-moxie.c (md_assemble): Likewise.
483 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
484 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
485 exception targets. Add alpha, hppa, microblaze and rl78 to list
487 (forward): Add microblaze to list of exceptions.
488 (fwdexp): Add alpha to list of exceptions.
489 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
490 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
491 (do_930509a): Alpha sort list of exception targets. Add h8300 and
492 mn10200 to list of exceptions.
493 (align2): Expect to fail for nds32.
494 (cond): Add alpha and rl78 to list of exceptions.
495 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
496 * testsuite/gas/all/string.d: Skip for tic4x.
497 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
498 target does not support ELF.
499 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
500 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
501 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
502 tests for sh-pe and sh-rtemscoff targets.
503 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
505 (type): Run the noifunc version for alpha-freebsd and visium.
506 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
507 mn10200 or moxie targets.
508 * testsuite/gas/ft32/insn.d: Update expected disassembly.
509 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
511 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
512 mcore and rx targets.
513 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
515 (purge): Expect to fail on the ns32k and vax.
516 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
517 * testsuite/gas/nds32/ls.d: Likewise.
518 * testsuite/gas/nds32/sys-reg.d: Likewise.
519 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
520 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
521 * testsuite/gas/pe/section-align-3.d: Likewise.
522 * testsuite/gas/pe/section-exclude.d: Likewise.
523 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
525 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
526 for variations in whitespace.
527 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
529 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
530 Installs a 32-bit value without generating warnings on 64-bit
532 Use the new macro to replace the .word directives.
534 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
536 * testsuite/gas/arc/add_s.d: New file.
537 * testsuite/gas/arc/add_s.s: New file.
539 2016-06-14 Graham Markall <graham.markall@embecosm.com>
541 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
542 * testsuite/gas/arc/nps400-6.d: Likewise.
544 2016-06-14 Graham Markall <graham.markall@embecosm.com>
546 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
548 * testsuite/gas/arc/nps400-6.d: Likewise.
550 2016-06-14 Graham Markall <graham.markall@embecosm.com>
552 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
553 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
554 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
555 * testsuite/gas/arc/nps400-6.d: Likewise.
557 2016-06-14 Nick Clifton <nickc@redhat.com>
559 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
562 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
564 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
565 JALR relocations on R6.
566 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
567 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
568 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
569 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
570 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
571 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
573 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
574 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
576 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
577 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
579 * testsuite/gas/mips/mips.exp: Run the new tests.
581 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
583 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
584 * doc/c-aarch64.texi: Document that vulcan is a valid processor
587 2016-06-13 Nick Clifton <nickc@redhat.com>
589 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
590 that are not supported.
592 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
594 * config/tc-cr16.c (check_range): Likewise.
595 * config/tc-nios2.c (nios2_check_overflow): Likewise.
597 2016-06-08 Renlin Li <renlin.li@arm.com>
599 * config/tc-aarch64.c (print_operands): Substitute size.
600 (output_operand_error_record): Likewise.
602 2016-06-07 Alan Modra <amodra@gmail.com>
604 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
605 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
606 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
607 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
608 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
609 add vle_opcodes twice.
610 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
612 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
614 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
615 (arm_ext_ras): Renamed from arm_ext_v8_2.
616 (insns): Update for arm_ext_v8_2 renaming.
617 (arm_extensions): Add "ras".
618 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
619 * testsuite/gas/arm/armv8-a+ras.d: New.
620 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
623 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
625 * itbl-parse.y (yyerror): Use modern argument declaration style.
627 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
629 * config/tc-sh.c (parse_reg): Change type of mode argument to
631 (get_operand): Adjust.
632 (insert): Change type of how to bfd_reloc_code_real_type.
634 * config/tc-sh64.c (shmedia_get_operand): Adjust.
635 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
637 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
639 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
642 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
645 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
646 stbcx., sthcx., stwcx., stdcx.>: Add tests.
647 * gas/testsuite/gas/ppc/e6500.d: Likewise.
648 * gas/testsuite/gas/ppc/power8.s: Likewise.
649 * gas/testsuite/gas/ppc/power8.d: Likewise.
650 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
652 * gas/testsuite/gas/ppc/power4.d: Likewise.
654 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
657 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
658 * testsuite/gas/i386/x86-64-branch.d: Updated.
659 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
660 * testsuite/gas/i386/x86-64-branch-4.l: New file.
661 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
663 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
665 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
666 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
668 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
670 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
671 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
673 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
675 * configure.tgt: Replace -uclibc with *.
677 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
679 * config/tc-arc.c (parse_opcode_flags): New function.
680 (find_opcode_match): Move flag parsing code out to new function.
681 Ignore operands marked IGNORE.
682 (build_fake_opcode_hash_entry): New function.
683 (find_special_case_long_opcode): New function.
684 (find_special_case): Lookup long opcodes.
685 * testsuite/gas/arc/nps400-7.d: New file.
686 * testsuite/gas/arc/nps400-7.s: New file.
688 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
690 * config/tc-ns32k.c: Remove definition of input_line_pointer.
692 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
694 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
695 sentinal with iteration to array size.
697 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
699 * config/xtensa-relax.h: Move typedefs of enums to the enums
702 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
704 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
707 2016-06-01 Graham Markall <graham.markall@embecosm.com>
709 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
710 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
711 * testsuite/gas/arc/nps-400-1.d: Likewise.
713 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
716 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
717 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
718 noavx512ifma and noavx512vbmi.
719 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
720 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
722 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
723 * testsuite/gas/i386/noavx512-1.l: New file.
724 * testsuite/gas/i386/noavx512-1.s: Likewise.
725 * testsuite/gas/i386/noavx512-2.l: Likewise.
726 * testsuite/gas/i386/noavx512-2.s: Likewise.
728 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
731 * config/tc-i386.c (cpu_arch): Add 687.
732 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
733 nosse4.1, nosse4.2, nosse4 and noavx2.
734 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
735 register. Check cpuregxmm instead of cpusse for XMM register.
736 Check cpuregymm instead of cpuavx for YMM register. Check
737 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
738 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
739 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
740 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
741 * testsuite/gas/i386/arch-10.d (as): Likewise.
742 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
743 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
744 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
746 * testsuite/gas/i386/no87-3.l: New file.
747 * testsuite/gas/i386/no87-3.s: Likewise.
748 * testsuite/gas/i386/noavx-3.l: Likewise.
749 * testsuite/gas/i386/noavx-3.s: Likewise.
750 * testsuite/gas/i386/noavx-4.d: Likewise.
751 * testsuite/gas/i386/noavx-4.s: Likewise.
752 * testsuite/gas/i386/nosse-4.l: Likewise.
753 * testsuite/gas/i386/nosse-4.s: Likewise.
754 * testsuite/gas/i386/nosse-5.d: Likewise.
755 * testsuite/gas/i386/nosse-5.s: Likewise.
757 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
760 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
762 (match_template): Check Intel64/AMD64 ISA.
764 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
767 * config/tc-i386.c (intel64): New.
768 (cpu_flags_match): Set cpuamd64 and cpuintel64.
769 (md_parse_option): Set intel64 instead of cpuamd64 and
772 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
774 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
777 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
779 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
780 * testsuite/gas/ppc/altivec3.s: Likewise.
781 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
782 * testsuite/gas/ppc/power9.s: Likewise.
784 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
786 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
787 * testsuite/gas/i386/noavx-1.l: Likewise.
788 * testsuite/gas/i386/nommx-1.l: Likewise.
789 * testsuite/gas/i386/nosse-1.l: Likewise.
790 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
791 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
792 * testsuite/gas/i386/noavx-1.s: Likewise.
793 * testsuite/gas/i386/nommx-1.s: Likewise.
794 * testsuite/gas/i386/nosse-1.s: Likewise.
795 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
797 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
799 * config/tc-metag.c (metag_handle_align): Make the type of noop
802 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
804 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
805 bfd_reloc_code_real_type.
807 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
810 * config/tc-i386.c (cpu_flags_match): Require another match
812 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
813 x86-64-avx512vl-1 and x86-64-avx512vl-2.
814 * testsuite/gas/i386/avx512vl-1.l: New file.
815 * testsuite/gas/i386/avx512vl-1.s: Likewise.
816 * testsuite/gas/i386/avx512vl-2.l: Likewise.
817 * testsuite/gas/i386/avx512vl-2.s: Likewise.
818 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
819 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
820 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
821 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
823 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
826 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
827 * testsuite/gas/i386/x86-64-pr20141.d: New file.
828 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
830 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
832 * config/tc-i386.c (arch_entry): Remove negated.
833 (noarch_entry): New struct.
834 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
836 (set_cpu_arch): Check cpu_noarch after cpu_arch.
837 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
839 (output_message): New function.
840 (show_arch): Use it. Handle cpu_noarch.
841 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
842 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
843 * testsuite/gas/i386/noavx-1.l: New file.
844 * testsuite/gas/i386/noavx-1.s: Likewise.
845 * testsuite/gas/i386/noavx-2.s: Likewise.
846 * testsuite/gas/i386/noavx-2.l: Likewise.
847 * testsuite/gas/i386/nommx-1.s: Likewise.
848 * testsuite/gas/i386/nommx-1.l: Likewise.
849 * testsuite/gas/i386/nommx-2.s: Likewise.
850 * testsuite/gas/i386/nommx-2.l: Likewise.
851 * testsuite/gas/i386/nommx-3.s: Likewise.
852 * testsuite/gas/i386/nommx-3.l: Likewise.
853 * testsuite/gas/i386/nosse-1.s: Likewise.
854 * testsuite/gas/i386/nosse-1.l: Likewise.
855 * testsuite/gas/i386/nosse-2.s: Likewise.
856 * testsuite/gas/i386/nosse-2.l: Likewise.
857 * testsuite/gas/i386/nosse-3.s: Likewise.
858 * testsuite/gas/i386/nosse-3.l: Likewise.
860 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
863 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
864 instruction if supported by the currently selected fpu variant.
865 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
866 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
868 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
870 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
871 jump relocations against MIPS16 or microMIPS symbols on RELA
873 * testsuite/gas/mips/jalx-local.d: New test.
874 * testsuite/gas/mips/jalx-local-n32.d: New test.
875 * testsuite/gas/mips/jalx-local-n64.d: New test.
876 * testsuite/gas/mips/jalx-local.s: New test source.
877 * testsuite/gas/mips/mips.exp: Run the new tests.
879 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
881 * config/tc-mips.c (md_apply_fix)
882 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
885 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
887 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
888 operator to operatorT.
889 (map_suffix_reloc_to_operator): Change return type to operatorT.
891 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
893 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
895 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
897 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
898 handler_charp to const char *.
900 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
902 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
903 (ft32_target_format): Likewise.
904 (TARGET_FORMAT): Adjust.
906 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
908 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
909 (ia64_frob_label): Likewise.
911 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
913 * config/tc-cr16.c (check_range): Make type of retval op_err.
914 * config/tc-crx.c: Likewise.
916 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
918 * config/tc-arc.c (md_begin): Add XY registers.
919 (cpu_types): Code density is default off for ARC EM.
921 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
923 * config/tc-arc.c (attributes_t): Renamed attribute class to
925 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
927 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
929 * configuse.tgt: Add entry for arm-phoenix.
931 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
933 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
935 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
937 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
939 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
941 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
942 (md_begin): Likewise.
943 (encode_condition): Likewise.
944 (encode_cc3): Likewise.
945 (encode_cc2): Likewise.
946 (encode_operand): Likewise.
947 (tic54x_undefined_symbol): Likewise.
949 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
951 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
953 * doc/c-mips.texi: Document p6600 -march option.
955 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
958 * config/tc-i386.c (md_apply_fix): Preserve addend for
959 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
960 * testsuite/gas/i386/addend.d: New file.
961 * testsuite/gas/i386/addend.s: Likewise.
962 * testsuite/gas/i386/x86-64-addend.d: Likewise.
963 * testsuite/gas/i386/x86-64-addend.s: Likewise.
964 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
965 * testsuite/gas/i386/reloc32.d: Updated.
967 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
969 * config/tc-mips.c (append_insn): Correct the encoding of a
970 constant argument for microMIPS JALX.
971 (tc_gen_reloc): Correct the encoding of an in-place addend for
973 * testsuite/gas/mips/jalx-addend.d: New test.
974 * testsuite/gas/mips/jalx-addend-n32.d: New test.
975 * testsuite/gas/mips/jalx-addend-n64.d: New test.
976 * testsuite/gas/mips/jalx-imm.d: New test.
977 * testsuite/gas/mips/jalx-imm-n32.d: New test.
978 * testsuite/gas/mips/jalx-imm-n64.d: New test.
979 * testsuite/gas/mips/jalx-addend.s: New test source.
980 * testsuite/gas/mips/jalx-imm.s: New test source.
981 * testsuite/gas/mips/mips.exp: Run the new tests.
983 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
985 * config/tc-mips.c: Correct tab-after-space formatting mistakes
988 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
990 * config/tc-arc.c (find_opcode_match): Remove casting away of
992 * config/tc-arc.h (struct arc_flags): Make flgp field const.
994 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
996 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
998 (md_convert_frag): Likewise.
1000 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1002 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1003 cached opcode to NULL when we reach a non-matching opcode.
1004 * testsuite/gas/arc/asm-errors-2.d: New file.
1005 * testsuite/gas/arc/asm-errors-2.err: New file.
1006 * testsuite/gas/arc/asm-errors-2.s: New file.
1008 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1010 * config/tc-arc.c (tokenize_arguments): Add checks for array
1012 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1013 * testsuite/gas/arc/asm-errors.err: Update expected results.
1015 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1017 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1018 int to enum rx_cpu_types.
1020 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1022 * config/tc-dlx.c (struct machine_it): change the type of a field from
1023 int to bfd_reloc_code_real_type.
1024 * config/tc-tic4x.c: Likewise.
1026 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1028 * config/tc-v850.c (v850_target_arch): change type to enum
1030 * config/tc-v850.h (v850_target_arch): Likewise.
1032 2016-05-18 Alan Modra <amodra@gmail.com>
1034 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1035 allowed negative range.
1036 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1037 * testsuite/gas/ppc/power9.d: Update.
1039 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1041 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1042 disassembling and stop skipping targets.
1043 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1044 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1045 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1046 instruction for targets that have stronger alignment requirement.
1047 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1048 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1049 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1050 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1051 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1052 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1053 * testsuite/gas/arm/archv8m-main.d: Likewise.
1054 * testsuite/gas/arm/archv8m.s: Add label.
1055 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1056 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1057 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1059 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1061 * config/tc-m32r.c (mach_table): Make static and const.
1063 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1065 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1068 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1070 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1072 * config/tc-msp430.c (md_begin): Likewise.
1074 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1076 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1077 bfd_reloc_code_real_type where appropriate.
1078 (fixup16): Likewise.
1079 (fixup8_xg): Likewise.
1081 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1083 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1085 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1087 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1088 * testsuite/gas/ppc/power9.s: Likewise.
1090 2016-05-13 Alan Modra <amodra@gmail.com>
1092 * config/obj-coff.c (weak_uniquify): Delete unused var.
1094 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1096 * app.c (app_push): Use XNEW and related macros.
1097 * as.c (parse_args): Likewise.
1098 * cgen.c (make_right_shifted_expr): Likewise.
1099 (gas_cgen_tc_gen_reloc): Likewise.
1100 * config/bfin-defs.h: Likewise.
1101 * config/bfin-parse.y: Likewise.
1102 * config/obj-coff.c (stack_init): Likewise.
1103 (stack_push): Likewise.
1104 (coff_obj_symbol_new_hook): Likewise.
1105 (coff_obj_symbol_clone_hook): Likewise.
1106 (add_lineno): Likewise.
1107 (coff_frob_symbol): Likewise.
1108 * config/obj-elf.c (obj_elf_section_name): Likewise.
1109 (build_group_lists): Likewise.
1110 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1111 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1112 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1113 (find_or_make_literal_pool): Likewise.
1114 (add_to_lit_pool): Likewise.
1115 (fill_instruction_hash_table): Likewise.
1116 * config/tc-alpha.c (load_expression): Likewise.
1117 (emit_jsrjmp): Likewise.
1118 (s_alpha_ent): Likewise.
1119 (s_alpha_end): Likewise.
1120 (s_alpha_linkage): Likewise.
1121 (md_begin): Likewise.
1122 (tc_gen_reloc): Likewise.
1123 * config/tc-arc.c (arc_insert_opcode): Likewise.
1124 (arc_extcorereg): Likewise.
1125 * config/tc-bfin.c: Likewise.
1126 * config/tc-cr16.c: Likewise.
1127 * config/tc-cris.c: Likewise.
1128 * config/tc-crx.c (preprocess_reglist): Likewise.
1129 * config/tc-d10v.c: Likewise.
1130 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1131 (frv_tomcat_shuffle): Likewise.
1132 * config/tc-h8300.c: Likewise.
1133 * config/tc-i370.c (i370_macro): Likewise.
1134 * config/tc-i386.c (lex_got): Likewise.
1135 (md_parse_option): Likewise.
1136 * config/tc-ia64.c (alloc_record): Likewise.
1137 (set_imask): Likewise.
1138 (save_prologue_count): Likewise.
1139 (dot_proc): Likewise.
1140 (dot_endp): Likewise.
1141 (ia64_frob_label): Likewise.
1142 (add_qp_imply): Likewise.
1143 (add_qp_mutex): Likewise.
1144 (mark_resource): Likewise.
1145 (dot_alias): Likewise.
1146 * config/tc-m68hc11.c: Likewise.
1147 * config/tc-m68k.c (m68k_frob_label): Likewise.
1149 (mri_control_label): Likewise.
1150 (push_mri_control): Likewise.
1151 (build_mri_control_operand): Likewise.
1152 (s_mri_else): Likewise.
1153 (s_mri_break): Likewise.
1154 (s_mri_next): Likewise.
1155 (s_mri_for): Likewise.
1156 (s_mri_endw): Likewise.
1157 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1158 * config/tc-microblaze.c: Likewise.
1159 * config/tc-mmix.c (s_loc): Likewise.
1160 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1161 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1162 * config/tc-rl78.c: Likewise.
1163 * config/tc-rx.c (rx_include): Likewise.
1164 * config/tc-sh.c: Likewise.
1165 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1166 * config/tc-sparc.c: Likewise.
1167 * config/tc-spu.c: Likewise.
1168 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1169 (tic6x_start_unwind_section): Likewise.
1170 * config/tc-tilegx.c: Likewise.
1171 * config/tc-tilepro.c: Likewise.
1172 * config/tc-v850.c: Likewise.
1173 * config/tc-visium.c: Likewise.
1174 * config/tc-xgate.c: Likewise.
1175 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1176 (new_resource_table): Likewise.
1177 (resize_resource_table): Likewise.
1178 (xtensa_create_trampoline_frag): Likewise.
1179 (xtensa_maybe_create_literal_pool_frag): Likewise.
1180 (cache_literal_section): Likewise.
1181 * config/xtensa-relax.c (append_transition): Likewise.
1182 (append_condition): Likewise.
1183 (append_value_condition): Likewise.
1184 (append_constant_value_condition): Likewise.
1185 (append_literal_op): Likewise.
1186 (append_label_op): Likewise.
1187 (append_constant_op): Likewise.
1188 (append_field_op): Likewise.
1189 (append_user_fn_field_op): Likewise.
1190 (enter_opname_n): Likewise.
1191 (enter_opname): Likewise.
1192 (split_string): Likewise.
1193 (parse_insn_templ): Likewise.
1194 (clone_req_or_option_list): Likewise.
1195 (clone_req_option_list): Likewise.
1196 (parse_option_cond): Likewise.
1197 (parse_insn_pattern): Likewise.
1198 (parse_insn_repl): Likewise.
1199 (build_transition): Likewise.
1200 (build_transition_table): Likewise.
1201 * dw2gencfi.c (alloc_fde_entry): Likewise.
1202 (alloc_cfi_insn_data): Likewise.
1203 (cfi_add_CFA_remember_state): Likewise.
1204 (dot_cfi_escape): Likewise.
1205 (dot_cfi_fde_data): Likewise.
1206 (select_cie_for_fde): Likewise.
1207 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1208 * ecoff.c (ecoff_add_bytes): Likewise.
1209 (ecoff_build_debug): Likewise.
1210 * input-scrub.c (input_scrub_push): Likewise.
1211 (input_scrub_begin): Likewise.
1212 (input_scrub_next_buffer): Likewise.
1213 * itbl-ops.c (append_insns_as_macros): Likewise.
1214 (alloc_entry): Likewise.
1215 (alloc_field): Likewise.
1216 * listing.c (listing_newline): Likewise.
1217 (listing_listing): Likewise.
1218 * macro.c (get_any_string): Likewise.
1219 (delete_macro): Likewise.
1220 * stabs.c (generate_asm_file): Likewise.
1221 (stabs_generate_asm_lineno): Likewise.
1222 * subsegs.c (subseg_change): Likewise.
1223 (subseg_get): Likewise.
1224 * symbols.c (define_dollar_label): Likewise.
1225 (symbol_relc_make_sym): Likewise.
1226 * write.c (write_relocs): Likewise.
1228 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1230 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1231 (weak_name2altname): Likewise.
1232 (weak_uniquify): Likewise.
1233 (obj_coff_section): Likewise.
1234 (obj_coff_init_stab_section): Likewise.
1235 * config/obj-elf.c (obj_elf_section_name): Likewise.
1236 (obj_elf_init_stab_section): Likewise.
1237 * config/obj-evax.c (evax_shorten_name): Likewise.
1238 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1239 * config/tc-aarch64.c (create_register_alias): Likewise.
1240 * config/tc-alpha.c (load_expression): Likewise.
1241 (s_alpha_file): Likewise.
1242 (s_alpha_section_name): Likewise.
1243 (tc_gen_reloc): Likewise.
1244 * config/tc-arc.c (md_assemble): Likewise.
1245 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1246 (start_unwind_section): Likewise.
1247 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1248 (hppa_elf_mark_end_of_function): Likewise.
1249 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1250 (nios2_negate_arg): Likewise.
1251 * config/tc-rx.c (rx_section): Likewise.
1252 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1253 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1254 * config/tc-tic54x.c (tic54x_include): Likewise.
1255 (tic54x_macro_info): Likewise.
1256 (subsym_get_arg): Likewise.
1257 (subsym_substitute): Likewise.
1258 (tic54x_start_line_hook): Likewise.
1259 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1260 (xg_reverse_shift_count): Likewise.
1261 * config/xtensa-relax.c (enter_opname_n): Likewise.
1262 (split_string): Likewise.
1263 * dwarf2dbg.c (get_filenum): Likewise.
1264 (process_entries): Likewise.
1265 * expr.c (operand): Likewise.
1266 * itbl-ops.c (alloc_entry): Likewise.
1267 * listing.c (listing_message): Likewise.
1268 (listing_title): Likewise.
1269 * macro.c (check_macro): Likewise.
1270 * stabs.c (s_xstab): Likewise.
1271 * symbols.c (symbol_relc_make_expr): Likewise.
1272 * write.c (compress_debug): Likewise.
1274 2016-05-12 Nick Clifton <nickc@redhat.com>
1277 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1279 2016-05-11 Nick Clifton <nickc@redhat.com>
1282 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1283 big endian ARM configurations.
1285 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1286 Matthew Fortune <matthew.fortune@imgtec.com>
1288 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1290 (md_longopts): Likewise.
1291 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1292 (mips_ases): Define availability for DSPr3.
1293 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1294 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1295 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1297 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1298 .set nodspr3. Fix -mdspr2 formatting.
1299 * testsuite/gas/mips/mips32-dspr3.d: New file.
1300 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1301 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1303 2016-05-11 Nick Clifton <nickc@redhat.com>
1306 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1307 to the pool uses O_constant.
1308 * testsuite/gas/arm/pr20068.s: New test.
1309 * testsuite/gas/arm/pr20068.d: Test driver.
1311 2016-05-11 Nick Clifton <nickc@redhat.com>
1313 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1314 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1315 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1316 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1317 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1318 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1319 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1320 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1321 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1323 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1325 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1326 * testsuite/gas/i386/prefix.d: Adjust.
1327 * testsuite/gas/i386/rdpid.s: New test.
1328 * testsuite/gas/i386/rdpid.d: Ditto.
1329 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1330 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1331 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1332 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1334 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1336 * config/tc-i386.c (cpu_arch): Add RDPID.
1337 * doc/c-i386.texi: Document RDPID.
1339 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1341 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1342 set branch type of a symbol.
1344 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1346 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1347 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1349 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1350 (aeabi_set_public_attributes): Memorize the feature bits of the
1351 architecture selected for Tag_CPU_arch. Use it to set
1352 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1353 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1354 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1355 * testsuite/gas/arm/arch7em-bad-1.d: This.
1356 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1357 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1358 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1359 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1360 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1361 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1362 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1363 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1365 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1367 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1368 allowed_archs an array with 2 entries.
1369 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1370 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1371 (arm_extensions): Use separate entries in allowed_archs when several
1372 archs are allowed to use an extension and change ARCH_ANY in
1373 ARM_ARCH_NONE in allowed_archs.
1374 (arm_parse_extension): Check that, for each allowed_archs entry, all
1375 bits are set in the current architecture, ignoring ARM_ANY entries.
1376 (s_arm_arch_extension): Likewise.
1378 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1380 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1381 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1382 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1383 shared with a non M profile architecture.
1384 (do_rn): New function.
1385 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1387 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1388 (insns): Add ARMv8-M Security Extensions instructions.
1389 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1390 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1391 * testsuite/gas/arm/archv8m-cmse.s: New file.
1392 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1393 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1394 * testsuite/gas/arm/any-cmse.d: Likewise.
1395 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1396 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1397 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1398 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1399 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1400 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1402 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1404 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1405 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1407 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1409 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1410 (fpu_arch_vfp_v3): Likewise.
1411 (fpu_arch_neon_v1): Likewise.
1412 (arm_arch_full): Likewise.
1413 (parse_neon_el_struct_list): Initialize fields of firsttype.
1415 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1417 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1418 (arc_extinsn): Handle new introduced syntax.
1419 * testsuite/gas/arc/textinsn1op.d: New file.
1420 * testsuite/gas/arc/textinsn1op.s: Likewise.
1421 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1423 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1425 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1426 DW_LNS_fixed_advance_pc.
1428 2016-04-27 Alan Modra <amodra@gmail.com>
1430 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1431 (xmemdup0): New inline function.
1433 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1435 * config/tc-mips.c (code_option_type): New enum.
1436 (parse_code_option): Return status indicating option type.
1437 (s_mipsset): Update `parse_code_option' call site accordingly.
1438 Always set register sizes from the ISA with ISA overrides.
1439 (s_module): Update `parse_code_option' call site.
1440 * testsuite/gas/mips/isa-override-1.d: New test.
1441 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1442 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1443 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1444 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1445 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1446 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1447 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1448 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1449 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1450 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1451 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1452 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1453 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1454 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1455 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1456 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1457 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1458 * testsuite/gas/mips/isa-override-2.l: New list test.
1459 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1460 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1461 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1462 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1463 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1464 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1465 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1466 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1467 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1468 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1469 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1471 * testsuite/gas/mips/isa-override-1.s: New test source.
1472 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1473 * testsuite/gas/mips/isa-override-2.s: New test source.
1474 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1475 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1476 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1477 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1478 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1479 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1480 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1481 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1482 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1483 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1484 * testsuite/gas/mips/mips.exp: Run the new tests.
1486 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1489 * config/tc-bfin.c: Likewise.
1490 * config/tc-ia64.c: Likewise.
1491 * config/tc-mep.c: Likewise.
1492 * config/tc-metag.c: Likewise.
1493 * config/tc-nios2.c: Likewise.
1494 * config/tc-rl78.c: Likewise.
1496 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1498 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1499 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1500 (ARC Directives): Add NPS400 to .cpu directive list.
1502 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1504 * config/tc-aarch64.c (aarch64_features): Add "ras".
1505 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1506 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1507 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1508 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1509 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1511 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1513 * testsuite/gas/arc/nps400-6.d: New file.
1514 * testsuite/gas/arc/nps400-6.s: New file.
1516 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1518 * testsuite/gas/arc/nps400-4.d: New file.
1519 * testsuite/gas/arc/nps400-4.s: New file.
1520 * testsuite/gas/arc/nps400-5.d: New file.
1521 * testsuite/gas/arc/nps400-5.s: New file.
1523 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1525 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1528 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1530 Revert prevous change.
1531 * config/tc-arc.c (arc_option): Make .cpu directive
1532 case-sensitive again.
1534 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1536 * config/tc-arc.c (arc_option): Make .cpu directive
1539 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1541 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1543 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1545 * config/tc-mips.c (md_begin): Remove useless assignment.
1547 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1549 * Makefile.in: Regenerated with automake 1.11.6.
1550 * aclocal.m4: Likewise.
1551 * doc/Makefile.in: Likewise.
1553 2016-04-15 Alan Modra <amodra@gmail.com>
1555 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1557 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1559 * config/tc-nios2.c (nios2_as_options): Make file static.
1560 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1561 * config/tc-sparc.c (native_op_table): Likewise.
1563 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1565 * config/tc-m32c.c (M32C_Macros): Remove.
1566 * config/tc-msp430.c (option_numbers): Likewise.
1568 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1570 * testsuite/gas/arc/nps400-3.d: New file.
1571 * testsuite/gas/arc/nps400-3.s: New file.
1573 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1575 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1576 * testsuite/gas/arc/warn.s: Likewise.
1577 * testsuite/gas/elf/elf.exp: Run test for arc.
1579 2016-04-14 Nick Clifton <nickc@redhat.com>
1582 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1583 sections possibly having the SHF_STRINGS flag bit set.
1584 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1586 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1588 * config/tc-arc.c (mach_type_specified_p): Change type to
1590 (arc_option): Set private flags when parsing cpu pseudo-op.
1591 (md_parse_option): Set mach_type_specified_p to TRUE.
1593 2016-04-13 Nick Clifton <nickc@redhat.com>
1596 * testsuite/gas/v850/pr19937.s: New test.
1597 * testsuite/gas/v850/pr19937.d: New test control file.
1598 * testsuite/gas/v850/basic.exp: Run the new test.
1600 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1601 Andrew Bennett <andrew.bennett@imgtec.com>
1603 * config/tc-mips.c (relaxed_branch_length): Use the long
1604 sequence where the target is a weak symbol.
1605 (relaxed_micromips_32bit_branch_length): Likewise.
1606 (relaxed_micromips_16bit_branch_length): Likewise.
1607 * testsuite/gas/mips/branch-weak-1.d: New test.
1608 * testsuite/gas/mips/branch-weak-2.d: New test.
1609 * testsuite/gas/mips/branch-weak-3.d: New test.
1610 * testsuite/gas/mips/branch-weak-4.d: New test.
1611 * testsuite/gas/mips/branch-weak-5.d: New test.
1612 * testsuite/gas/mips/branch-weak.l: New stderr output.
1613 * testsuite/gas/mips/branch-weak.s: New test source.
1614 * testsuite/gas/mips/mips.exp: Run the new tests.
1616 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1618 * config/tc-mips.c (relaxed_branch_length): Use the long
1619 sequence where the distance cannot be determined.
1620 (relaxed_micromips_32bit_branch_length): Likewise.
1621 * testsuite/gas/mips/branch-extern-1.d: New test.
1622 * testsuite/gas/mips/branch-extern-2.d: New test.
1623 * testsuite/gas/mips/branch-extern-3.d: New test.
1624 * testsuite/gas/mips/branch-extern-4.d: New test.
1625 * testsuite/gas/mips/branch-extern.l: New stderr output.
1626 * testsuite/gas/mips/branch-extern.s: New test source.
1627 * testsuite/gas/mips/branch-section-1.d: New test.
1628 * testsuite/gas/mips/branch-section-2.d: New test.
1629 * testsuite/gas/mips/branch-section-3.d: New test.
1630 * testsuite/gas/mips/branch-section-4.d: New test.
1631 * testsuite/gas/mips/branch-section.l: New stderr output.
1632 * testsuite/gas/mips/branch-section.s: New test source.
1633 * testsuite/gas/mips/mips.exp: Run the new tests.
1635 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1637 * testsuite/gas/arc/textauxregister.d: New file.
1638 * testsuite/gas/arc/textauxregister.s: Likewise.
1639 * testsuite/gas/arc/textcondcode.d: Likewise.
1640 * testsuite/gas/arc/textcondcode.s: Likewise.
1641 * testsuite/gas/arc/textcoreregister.d: Likewise.
1642 * testsuite/gas/arc/textcoreregister.s: Likewise.
1643 * testsuite/gas/arc/textpseudoop.d: Likewise.
1644 * testsuite/gas/arc/textpseudoop.s: Likewise.
1645 * testsuite/gas/arc/ld2.d: Update test.
1646 * testsuite/gas/arc/st.d: Likewise.
1647 * testsuite/gas/arc/taux.d: Likewise.
1648 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1649 .extCoreRegister and .extAuxRegister documentation.
1650 * config/tc-arc.c (arc_extcorereg): New function.
1651 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1652 .extAuxRegister pseudo-ops.
1653 (extRegister_t): New type.
1654 (ext_condcode, arc_aux_hash): New global variable.
1655 (find_opcode_match): Check for extensions.
1656 (preprocess_operands): Likewise.
1657 (md_begin): Add aux registers in a hash.
1658 (assemble_insn): Update use arc_flags member.
1659 (tokenize_extregister): New function.
1660 (create_extcore_section): Likewise.
1661 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1663 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1665 * testsuite/gas/arc/noargs_a7.d: New file.
1666 * testsuite/gas/arc/noargs_a7.s: Likewise.
1667 * testsuite/gas/arc/noargs_hs.d: Likewise.
1668 * testsuite/gas/arc/noargs_hs.s: Likewise.
1670 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1672 * testsuite/gas/arc/textinsn-errors.d: New File.
1673 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1674 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1675 * testsuite/gas/arc/textinsn2op.d: Likewise.
1676 * testsuite/gas/arc/textinsn2op.s: Likewise.
1677 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1678 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1679 * testsuite/gas/arc/textinsn3op.d: Likewise.
1680 * testsuite/gas/arc/textinsn3op.s: Likewise.
1681 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1683 * config/tc-arc.c (arcext_section): New variable.
1684 (arc_extinsn): New function.
1685 (md_pseudo_table): Add .extInstruction pseudo op.
1686 (attributes_t): New type.
1687 (suffixclass, syntaxclass, syntaxclassmod): New constant
1689 (find_opcode_match): Remove arc_num_opcodes.
1690 (md_begin): Likewise.
1691 (tokenize_extinsn): New function.
1692 (arc_set_ext_seg): Likewise.
1693 (create_extinst_section): Likewise.
1695 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1697 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1698 (arc_adjust_symtab): New function.
1699 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1700 (obj_adjust_symtab): Likewise.
1701 * testsuite/gas/arc/taux.d: New file.
1702 * testsuite/gas/arc/taux.s: Likewise.
1704 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1706 * config/tc-mips.c (s_option): Sanitize `.option picX'
1708 * testsuite/gas/mips/option-pic-1.d: New test.
1709 * testsuite/gas/mips/option-pic-2.l: New list test.
1710 * testsuite/gas/mips/option-pic-1.s: New test source.
1711 * testsuite/gas/mips/option-pic-2.s: New test source.
1712 * testsuite/gas/mips/mips.exp: Run the new tests.
1714 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1716 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1718 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1719 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1720 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1721 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1722 * testsuite/gas/mips/mips.exp: Run the new tests.
1724 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1726 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1728 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1730 * messages.c (as_bad): Fix a typo in description.
1732 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1734 * config/tc-mips.c (mips_check_options): Unify messages.
1736 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1738 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1741 2016-04-08 Nick Clifton <nickc@redhat.com>
1744 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1745 COFF and AOUT sparc targets.
1747 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1749 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1750 * testsuite/gas/arc/nps400-2.d: New file.
1751 * testsuite/gas/arc/nps400-2.s: New file.
1753 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1755 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1757 (arc_opcode_hash_entry_iterator_init): New function.
1758 (arc_opcode_hash_entry_iterator_next): New function.
1759 (find_opcode_match): Iterate over all arc_opcode entries
1760 referenced by the arc_opcode_hash_entry passed in as a parameter.
1762 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1764 * config/tc-arc.c (arc_find_opcode): Now returns
1765 arc_opcode_hash_entry pointer.
1766 (find_opcode_match): Update argument type, extract arc_opcode from
1767 incoming arc_opcode_hash_entry.
1768 (find_special_case_pseudo): Update return type.
1769 (find_special_case_flag): Update return type.
1770 (find_special_case): Update return type.
1771 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1772 instruction mnemonic, then use find_opcode_match to identify
1773 specific arc_opcode.
1775 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1777 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1778 (arc_find_opcode): New function.
1779 (find_special_case_pseudo): Use arc_find_opcode.
1780 (find_special_case_flag): Likewise.
1781 (assemble_tokens): Likewise.
1782 (md_begin): Build hash using struct arc_opcode_hash_entry.
1784 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1786 * config/tc-arc.c (arc_option): Prepare string for automatic
1788 (declare_register): Likewise.
1790 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1792 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1793 Correct entry for RDMA. Alpha sort entries.
1795 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1797 * config/tc-arc.c (tokenize_flags): Allow greater range of
1798 characters into flag names.
1800 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1802 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1804 (preprocess_operands): Delete.
1805 (assemble_tokens): Remove call to preprocess_operands.
1807 2016-04-07 Nick Clifton <nickc@redhat.com>
1810 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1811 inside a %-macro could not be fully parsed.
1812 * expr.c (integer_constant): Accept and ignore U suffixes to
1814 (operand): When a missing closing parenthesis is encountered,
1815 report the character that was found instead.
1816 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1817 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1818 * testsuite/gas/sparc/pr19910-1.s: New test.
1819 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1820 * testsuite/gas/sparc/pr19910-2.s: New test.
1821 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1823 2016-04-06 Nick Clifton <nickc@redhat.com>
1825 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1826 an EINT instruction. Warn/fix as necessary.
1827 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1828 * testsuite/gas/msp430/bad.l: Update expected messages.
1830 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1832 * testsuite/gas/arc/nps400-1.d: Update expected results.
1833 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1835 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1837 * config/tc-arc.c (is_code_density_p): Compare directly the
1839 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1840 (check_cpu_feature): New function.
1841 (find_opcode_match): Use check_cpu_feature function.
1842 (preprocess_operands): Likewise.
1843 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1844 * testsuite/gas/arc/tdpfp.d: New file.
1845 * testsuite/gas/arc/tfpuda.d: Likewise.
1846 * testsuite/gas/arc/tfpx.s: Likewise.
1848 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1850 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1851 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1852 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1853 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1854 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1855 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1856 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1857 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1859 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1861 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1863 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1864 JUMP instructions type.
1865 * testsuite/gas/arc/relocs-errors.d: New file.
1866 * testsuite/gas/arc/relocs-errors.err: Likewise.
1867 * testsuite/gas/arc/relocs-errors.s: Likewise.
1869 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1872 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1873 only if i.disp_encoding != disp_encoding_32bit.
1874 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1875 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1876 * gas/testsuite/gas/i386/disp32.d: Updated.
1877 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1879 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1882 * testsuite/gas/i386/i386.exp: Run pr19498.
1883 * testsuite/gas/i386/pr19498.d: New file.
1884 * testsuite/gas/i386/pr19498.s: Likewise.
1886 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1888 * config/tc-arc.h: Include 'opcode/arc.h'.
1889 (MAX_INSN_ARGS): Delete.
1890 (MAX_INSN_FLGS): Delete.
1892 2016-04-04 Alan Modra <amodra@gmail.com>
1895 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1896 from function on all paths that set sy_resolving.
1898 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1900 * app.c (app_push): use XNEW macro.
1902 * config/obj-elf.c (obj_elf_change_section): Likewise.
1903 (elf_copy_symbol_attributes): Likewise.
1904 (obj_elf_size): Likewise.
1905 (build_group_lists): Likewise.
1906 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1907 (md_assemble): Likewise.
1908 (tc_gen_reloc): Likewise.
1909 (get_upper_str): Likewise.
1910 (aarch64_parse_features): Likewise.
1911 * config/tc-arm.c (insert_reg_alias): Likewise.
1912 (insert_neon_reg_alias): Likewise.
1913 (find_or_make_literal_pool): Likewise.
1914 (s_arm_elf_cons): Likewise.
1915 (add_unwind_opcode): Likewise.
1916 (arm_parse_extension): Likewise.
1917 * config/tc-avr.c (create_record_for_frag): Likewise.
1918 * config/tc-crx.c: Likewise.
1919 * config/tc-d30v.c: Likewise.
1920 * config/tc-dlx.c (s_proc): Likewise.
1921 * config/tc-ft32.c: Likewise.
1922 * config/tc-h8300.c: Likewise.
1923 * config/tc-hppa.c (pa_proc): Likewise.
1924 (create_new_space): Likewise.
1925 (create_new_subspace): Likewise.
1926 * config/tc-i860.c: Likewise.
1927 * config/tc-i960.c: Likewise.
1928 * config/tc-ia64.c: Likewise.
1929 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1930 (iq2000_record_hi16): Likewise.
1931 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1932 * config/tc-m32r.c (debug_sym): Likewise.
1933 (m32r_record_hi16): Likewise.
1934 * config/tc-m68k.c (m68k_ip): Likewise.
1935 (md_begin): Likewise.
1936 * config/tc-mcore.c: Likewise.
1937 * config/tc-microblaze.c (check_got): Likewise.
1938 * config/tc-mips.c (append_insn): Likewise.
1939 (s_mipsset): Likewise.
1940 (mips_record_label): Likewise.
1941 (s_mips_end): Likewise.
1942 * config/tc-mmix.c (mmix_frob_file): Likewise.
1943 * config/tc-mn10200.c: Likewise.
1944 * config/tc-mn10300.c: Likewise.
1945 * config/tc-moxie.c: Likewise.
1946 * config/tc-msp430.c: Likewise.
1947 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
1948 * config/tc-ns32k.c: Likewise.
1949 * config/tc-or1k.c: Likewise.
1950 * config/tc-pdp11.c: Likewise.
1951 * config/tc-pj.c (fake_opcode): Likewise.
1952 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
1953 (ppc_macro): Likewise.
1954 (ppc_dwsect): Likewise.
1955 (ppc_machine): Likewise.
1956 * config/tc-rl78.c (rl78_frag_init): Likewise.
1957 * config/tc-rx.c (rx_frag_init): Likewise.
1958 * config/tc-s390.c (s390_lit_suffix): Likewise.
1959 (s390_machine): Likewise.
1960 (s390_machinemode): Likewise.
1961 * config/tc-score.c (s3_insert_reg): Likewise.
1962 (s3_gen_reloc): Likewise.
1963 * config/tc-score7.c (s7_insert_reg): Likewise.
1964 (s7_gen_reloc): Likewise.
1965 * config/tc-tic30.c (tic30_operand): Likewise.
1966 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
1967 * config/tc-tic54x.c (stag_add_field): Likewise.
1968 (tic54x_struct): Likewise.
1969 (tic54x_space): Likewise.
1970 (tic54x_field): Likewise.
1971 (tic54x_mlib): Likewise.
1972 (subsym_substitute): Likewise.
1973 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
1974 * config/tc-vax.c: Likewise.
1975 * config/tc-xc16x.c: Likewise.
1976 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
1977 (directive_push): Likewise.
1978 (xtensa_begin_directive): Likewise.
1979 (tokenize_arguments): Likewise.
1980 (xtensa_add_literal_sym): Likewise.
1981 (new_resource_table): Likewise.
1982 (resize_resource_table): Likewise.
1983 (emit_single_op): Likewise.
1984 (xtensa_create_trampoline_frag): Likewise.
1985 (xtensa_maybe_create_literal_pool_frag): Likewise.
1986 (xtensa_add_config_info): Likewise.
1987 (xtensa_realloc_fixup_cache): Likewise.
1988 (add_subseg_info): Likewise.
1989 (cache_literal_section): Likewise.
1990 (add_xt_block_frags): Likewise.
1991 (add_xt_prop_frags): Likewise.
1992 (init_op_placement_info_table): Likewise.
1993 (build_section_rename): Likewise.
1994 * config/tc-z80.c: Likewise.
1995 * config/tc-z8k.c: Likewise.
1996 * depend.c (register_dependency): Likewise.
1997 * dwarf2dbg.c (get_line_subseg): Likewise.
1998 (dwarf2_gen_line_info_1): Likewise.
1999 (get_filenum): Likewise.
2000 * ecoff.c (allocate_scope): Likewise.
2001 (allocate_vlinks): Likewise.
2002 (allocate_shash): Likewise.
2003 (allocate_thash): Likewise.
2004 (allocate_tag): Likewise.
2005 (allocate_forward): Likewise.
2006 (allocate_thead): Likewise.
2007 (allocate_lineno_list): Likewise.
2008 * expr.c (make_expr_symbol): Likewise.
2009 * hash.c (hash_new_sized): Likewise.
2010 * input-file.c (input_file_push): Likewise.
2011 * listing.c (file_info): Likewise.
2012 (listing_newline): Likewise.
2013 * macro.c (new_formal): Likewise.
2014 (define_macro): Likewise.
2015 * remap.c (add_debug_prefix_map): Likewise.
2016 * symbols.c (symbol_find_noref): Likewise.
2017 (define_dollar_label): Likewise.
2018 (fb_label_instance_inc): Likewise.
2019 (symbol_relc_make_value): Likewise.
2021 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2023 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2024 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2025 (ppc_znop): Likewise.
2026 (ppc_pe_section): Likewise.
2027 (ppc_frob_symbol): Likewise.
2028 * config/tc-tic30.c (tic30_operand): Likewise.
2029 * config/tc-tic4x.c (tic4x_sect): Likewise.
2030 (tic4x_usect): Likewise.
2032 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2034 * config/tc-alpha.c: Const qualify FLT_CHARS.
2035 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2036 * config/tc-cris.h: Likewise.
2038 * config/tc-mmix.c (md_atof): Adjust comment.
2039 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2040 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2042 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2044 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2045 * config/tc-score7.c (s7_gen_reloc): Likewise.
2047 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2049 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2050 bfd_reloc_code_real_type.
2052 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2054 * config/bfin-parse.y (current_inputline): Remove definition.
2055 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2057 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2059 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2062 2016-04-02 Alan Modra <amodra@gmail.com>
2065 * read.c (assign_symbol): Consume rest of line after an error
2066 rather than continuing to process the line.
2068 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2070 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2071 (MAX_FLAG_NAME_LENGTH): ...this.
2072 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2073 * config/tc-arc.c (tokenize_flags): Likewise.
2075 2016-04-01 Alan Modra <amodra@gmail.com>
2077 * cgen.c (weak_operand_overflow_check): Return const char*.
2078 * messages.c (as_internal_value_out_of_range): Formatting.
2079 (as_warn_value_out_of_range): Consify prefix param.
2080 (as_bad_value_out_of_range): Likewise.
2081 * read.c (s_errwarn): Constify msg..
2082 (s_float_space, float_cons): ..and err.
2083 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2084 ieee_md_atof, vax_md_atof): Update prototypes.
2085 * tc.h (md_atof): Update prototype.
2086 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2087 * config/atof-vax.c (vax_md_atof): Likewise.
2088 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2089 * config/tc-aarch64.c (md_atof): Return const char*.
2090 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2091 (s_alpha_comm): Constify sec_name.
2092 (section_name): Constify.
2093 (s_alpha_section): Consify name..
2094 (alpha_elf_section_letter): ..and ptr_msg param..
2095 (md_atof): ..and return.
2096 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2097 * config/tc-arc.c (md_atof): Return const char*.
2098 * config/tc-arm.c (md_atof): Likewise.
2099 * config/tc-avr.c (md_atof): Likewise.
2100 * config/tc-bfin.c (md_atof): Likewise.
2101 * config/tc-cr16.c (md_atof): Likewise.
2102 * config/tc-cris.c (md_atof): Likewise.
2103 * config/tc-crx.c (md_atof): Likewise.
2104 * config/tc-d10v.c (md_atof): Likewise.
2105 * config/tc-d30v.c (md_atof): Likewise.
2106 * config/tc-dlx.c (md_atof): Likewise.
2107 * config/tc-epiphany.c (md_atof): Likewise.
2108 * config/tc-fr30.c (md_atof): Likewise.
2109 * config/tc-frv.c (md_atof): Likewise.
2110 * config/tc-ft32.c (md_atof): Likewise.
2111 * config/tc-h8300.c (md_atof): Likewise.
2112 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2113 (struct default_space_dict): Likewise.
2114 (create_new_space): Constify name param.
2115 (create_new_subspace): Likewise.
2116 (is_defined_space, is_defined_subspace): Likewise.
2117 (pa_parse_space_stmt): Constify space_name param.
2118 (md_atof): Return const char*.
2119 (pa_spaces_begin): Constify name.
2120 * config/tc-i370.c (md_atof): Return const char*.
2121 * config/tc-i386.c (md_atof): Likewise.
2122 (x86_64_section_letter): Constify ptr_msg param.
2123 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2124 * config/tc-i860.c (struct i860_it): Constify error.
2125 (md_atof): Return const char*.
2126 * config/tc-i960.c (md_atof): Likewise.
2127 * config/tc-ia64.c (md_atof): Likewise.
2128 (ia64_elf_section_letter): Constify ptr_msg param.
2129 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2130 * config/tc-ip2k.c (md_atof): Return const char*.
2131 * config/tc-iq2000.c (md_atof): Likewise.
2132 * config/tc-lm32.c (md_atof): Likewise.
2133 * config/tc-m32c.c (md_atof): Likewise.
2134 * config/tc-m32r.c (md_atof): Likewise.
2135 * config/tc-m68hc11.c (md_atof): Likewise.
2136 * config/tc-m68k.c (md_atof): Likewise.
2137 * config/tc-mcore.c (md_atof): Likewise.
2138 * config/tc-mep.c (md_atof): Likewise.
2139 (mep_elf_section_letter): Constify ptr_msg param.
2140 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2141 * config/tc-metag.c (md_atof): Return const char*.
2142 * config/tc-microblaze.c (md_atof): Likewise.
2143 * config/tc-microblaze.h (md_atof): Delete prototype.
2144 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2145 (md_atof): Return const char*.
2146 * config/tc-mmix.c (md_atof): Likewise.
2147 * config/tc-mn10200.c (md_atof): Likewise.
2148 * config/tc-mn10300.c (md_atof): Likewise.
2149 * config/tc-moxie.c (md_atof): Likewise.
2150 * config/tc-msp430.c (md_atof): Likewise.
2151 * config/tc-mt.c (md_atof): Likewise.
2152 * config/tc-nds32.c (md_atof): Likewise.
2153 * config/tc-nios2.c (md_atof): Likewise.
2154 (nios2_elf_section_letter): Constify ptr_msg param.
2155 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2156 * config/tc-ns32k.c (md_atof): Return const char*.
2157 * config/tc-or1k.c (md_atof): Likewise.
2158 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2159 (md_atof): Return const char*.
2160 * config/tc-pj.c (md_atof): Likewise.
2161 * config/tc-ppc.c (md_atof): Likewise.
2162 * config/tc-rl78.c (md_atof): Likewise.
2163 * config/tc-rx.c (md_atof): Likewise.
2164 * config/tc-s390.c (md_atof): Likewise.
2165 * config/tc-score.c (s3_atof, md_atof): Likewise.
2166 * config/tc-sh.c (md_atof): Likewise.
2167 * config/tc-sparc.c (struct sparc_it): Constify error.
2168 (md_atof): Return const char*.
2169 * config/tc-spu.c (md_atof): Likewise.
2170 * config/tc-tic30.c (md_atof): Likewise.
2171 * config/tc-tic4x.c (md_atof): Likewise.
2172 * config/tc-tic54x.c (md_atof): Likewise.
2173 * config/tc-tic6x.c (md_atof): Likewise.
2174 * config/tc-tilegx.c (md_atof): Likewise.
2175 * config/tc-tilepro.c (md_atof): Likewise.
2176 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2177 * config/tc-vax.c (md_atof): Likewise.
2178 * config/tc-visium.c (md_atof): Likewise.
2179 * config/tc-xc16x.c (md_atof): Likewise.
2180 * config/tc-xgate.c (md_atof): Likewise.
2181 * config/tc-xstormy16.c (md_atof): Likewise.
2182 * config/tc-xtensa.c (md_atof): Likewise.
2183 * config/tc-z80.c (md_atof): Likewise.
2184 * config/tc-z8k.c (md_atof): Likewise.
2186 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2188 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2190 (xtensa_section_rename): Make argument type const char *.
2191 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2193 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2195 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2198 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2200 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2202 (m32c_indirect_operand): Likewise.
2203 * config/tc-nds32.c (do_pseudo_b): Likewise.
2204 (do_pseudo_bal): Likewise.
2205 (do_pseudo_ls_bhw): Likewise.
2207 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2209 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2211 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2213 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2215 * config/tc-sparc.c (s_register): Cast a literal to char * in
2218 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2220 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2222 * config/tc-m32r.c (expand_debug_syms): Likewise.
2223 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2224 * config/tc-z80.c (md_begin): Likewise.
2225 * stabs.c (stabs_generate_asm_func): Likewise.
2227 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2229 * cgen.c: Modernize the way functions declare arguments.
2230 * config/tc-bfin.c: Likewise.
2231 * config/tc-pdp11.c: Likewise.
2232 * literal.c: Likewise.
2234 * stabs.c: Likewise.
2236 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2238 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2239 variables unsigned char[].
2240 * config/tc-alpha.c (alpha_handle_align): Likewise.
2241 * config/tc-arm.c (arm_handle_align): Likewise.
2242 * config/tc-z80.c: Likewise.
2244 2016-03-30 Nick Clifton <nickc@redhat.com>
2247 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2250 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2252 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2253 * testsuite/gas/elf/elf.exp: Likewise.
2254 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2256 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2258 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2260 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2262 * testsuite/gas/arc/ext2op.d: New file.
2263 * testsuite/gas/arc/ext2op.s: Likewise.
2264 * testsuite/gas/arc/ext3op.d: Likewise.
2265 * testsuite/gas/arc/ext3op.s: Likewise.
2267 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2269 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2271 * config/tc-alpha.c (md_parse_option): Likewise.
2272 * config/tc-arc.c (md_parse_option): Likewise.
2273 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2274 (md_parse_option): Likewise.
2275 * config/tc-avr.c (md_parse_option): Likewise.
2276 * config/tc-bfin.c (md_parse_option): Likewise.
2277 * config/tc-cr16.c (md_parse_option): Likewise.
2278 * config/tc-cris.c (s_cris_arch): Likewise.
2279 (md_parse_option): Likewise.
2280 * config/tc-crx.c (md_parse_option): Likewise.
2281 * config/tc-d10v.c (md_parse_option): Likewise.
2282 * config/tc-d30v.c (md_parse_option): Likewise.
2283 * config/tc-dlx.c (md_parse_option): Likewise.
2284 * config/tc-epiphany.c (md_parse_option): Likewise.
2285 * config/tc-fr30.c (md_parse_option): Likewise.
2286 * config/tc-frv.c (md_parse_option): Likewise.
2287 * config/tc-ft32.c (md_parse_option): Likewise.
2288 * config/tc-h8300.c (md_parse_option): Likewise.
2289 * config/tc-hppa.c (md_parse_option): Likewise.
2290 * config/tc-i370.c (md_parse_option): Likewise.
2291 * config/tc-i386.c (md_parse_option): Likewise.
2292 * config/tc-i860.c (md_parse_option): Likewise.
2293 * config/tc-i960.c (md_parse_option): Likewise.
2294 * config/tc-ia64.c (md_parse_option): Likewise.
2295 * config/tc-ip2k.c (md_parse_option): Likewise.
2296 * config/tc-iq2000.c (md_parse_option): Likewise.
2297 * config/tc-lm32.c (md_parse_option): Likewise.
2298 * config/tc-m32c.c (md_parse_option): Likewise.
2299 * config/tc-m32r.c (md_parse_option): Likewise.
2300 * config/tc-m68hc11.c (md_parse_option): Likewise.
2301 * config/tc-m68k.c (md_parse_option): Likewise.
2302 * config/tc-mcore.c (md_parse_option): Likewise.
2303 * config/tc-mep.c (md_parse_option): Likewise.
2304 * config/tc-metag.c (struct metag_long_option): Likewise.
2305 (md_parse_option): Likewise.
2306 * config/tc-microblaze.c (md_parse_option): Likewise.
2307 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2308 * config/tc-mips.c (md_parse_option): Adjust.
2309 * config/tc-mmix.c (md_parse_option): Likewise.
2310 * config/tc-mn10200.c (md_parse_option): Likewise.
2311 * config/tc-mn10300.c (md_parse_option): Likewise.
2312 * config/tc-moxie.c (md_parse_option): Likewise.
2313 * config/tc-msp430.c (md_parse_option): Likewise.
2314 * config/tc-mt.c (md_parse_option): Likewise.
2315 * config/tc-nds32.c (md_parse_option): Likewise.
2316 * config/tc-nds32.h (nds32_parse_option): Likewise.
2317 * config/tc-nios2.c (md_parse_option): Likewise.
2318 * config/tc-ns32k.c (md_parse_option): Likewise.
2319 * config/tc-or1k.c (md_parse_option): Likewise.
2320 * config/tc-pdp11.c (md_parse_option): Likewise.
2321 * config/tc-pj.c (md_parse_option): Likewise.
2322 * config/tc-ppc.c (md_parse_option): Likewise.
2323 * config/tc-rl78.c (md_parse_option): Likewise.
2324 * config/tc-rx.c (md_parse_option): Likewise.
2325 * config/tc-s390.c (s390_parse_cpu): Likewise.
2326 * config/tc-score.c (md_parse_option): Likewise.
2327 * config/tc-sh.c (md_parse_option): Likewise.
2328 * config/tc-sparc.c (md_parse_option): Likewise.
2329 * config/tc-spu.c (md_parse_option): Likewise.
2330 * config/tc-tic30.c (md_parse_option): Likewise.
2331 * config/tc-tic4x.c (md_parse_option): Likewise.
2332 * config/tc-tic54x.c (md_parse_option): Likewise.
2333 * config/tc-tic6x.c (md_parse_option): Likewise.
2334 * config/tc-tilegx.c (md_parse_option): Likewise.
2335 * config/tc-tilepro.c (md_parse_option): Likewise.
2336 * config/tc-v850.c (md_parse_option): Likewise.
2337 * config/tc-vax.c (md_parse_option): Likewise.
2338 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2339 * config/tc-xc16x.c (md_parse_option): Likewise.
2340 * config/tc-xgate.c (md_parse_option): Likewise.
2341 * config/tc-xstormy16.c (md_parse_option): Likewise.
2342 * config/tc-xtensa.c (md_parse_option): Likewise.
2343 * config/tc-z80.c (md_parse_option): Likewise.
2344 * config/tc-z8k.c (md_parse_option): Likewise.
2345 * tc.h (md_parse_option): Likewise.
2347 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2349 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2350 * config/tc-hppa.c (fix_new_hppa): Likewise.
2351 (pa_vtable_entry): Likewise.
2352 (pa_vtable_inherit): Likewise.
2353 * config/tc-m68k.c (md_begin): Likewise.
2355 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2357 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2358 * config/obj-elf.h (obj_elf_section_name): Adjust.
2359 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2360 (aarch64_parse_cpu): Likewise.
2361 (aarch64_parse_arch): Likewise.
2362 * config/tc-arm.c (arm_parse_extension): Likewise.
2363 (arm_parse_cpu): Likewise.
2364 (arm_parse_arch): Likewise.
2365 * config/tc-nds32.c: Likewise.
2366 * config/xtensa-relax.c (parse_special_fn): Likewise.
2367 * stabs.c (generate_asm_file): Likewise.
2369 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2371 * config/tc-cr16.c (cr16_assemble): New function.
2372 (md_assemble): Call cr16_assemble.
2374 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2376 * as.c (parse_args): Adjust.
2377 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2378 * config/obj-elf.c (elf_frob_symbol): Adjust.
2380 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2382 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2383 registers to be in the 16..31 range.
2385 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2387 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2390 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2392 * config/tc-visium.c (md_atof): Localize the string returned on
2395 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2397 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2398 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2399 * config/tc-m68hc11.c (md_begin): Likewise.
2400 (print_opcode_list): Likewise.
2401 * config/tc-msp430.c (msp430_section): Likewise.
2402 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2403 (s3_build_dependency_insn_hsh): Likewise.
2404 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2405 (s7_build_dependency_insn_hsh): Likewise.
2406 * config/tc-tic4x.c: Likewise.
2407 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2408 (subsym_get_arg): Likewise.
2409 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2410 (get_directive): Likewise.
2411 (cache_literal_section): Likewise.
2412 * config/xtensa-relax.c: Likewise.
2413 * symbols.c (symbol_create): Likewise.
2414 (local_symbol_make): Likewise.
2415 (symbol_relc_make_expr): Likewise.
2417 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2419 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2422 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2424 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2427 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2429 * config/tc-ia64.c (ia64_do_align): Remove.
2430 (ia64_cons_align): Call do_align () directly.
2431 (dot_proc): Likewise.
2432 (stmt_float_cons): Likewise.
2434 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2436 * listing.c (listing_message): Use XNEW style allocation macros.
2437 * read.c (read_a_source_file): Likewise.
2438 (read_symbol_name): Likewise.
2439 (s_mri_common): Likewise.
2440 (assign_symbol): Likewise.
2441 (s_reloc): Likewise.
2442 (emit_expr_with_reloc): Likewise.
2443 (s_incbin): Likewise.
2444 (s_include): Likewise.
2445 * sb.c (sb_build): Likewise.
2446 (sb_check): Likewise.
2448 2016-03-22 Alan Modra <amodra@gmail.com>
2450 * write.c (record_alignment): Revert 2016-02-18 change.
2452 2016-03-22 Alan Modra <amodra@gmail.com>
2454 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2455 (emit_jsrjmp, tc_gen_reloc): Likewise.
2456 * config/tc-i370.c (i370_macro): Likewise.
2458 2016-03-22 Nick Clifton <nickc@redhat.com>
2460 * configure: Regenerate.
2462 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2464 * testsuite/gas/arc/nps400-0.d: New file.
2465 * testsuite/gas/arc/nps400-0.s: New file.
2466 * testsuite/gas/arc/nps400-1.d: New file.
2467 * testsuite/gas/arc/nps400-1.s: New file.
2469 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2471 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2472 declarations to start of block. Reset code on all flags before
2473 attempting to match them. Handle multiple hits on the same flag.
2475 * testsuite/gas/arc/asm-errors.d: New file.
2476 * testsuite/gas/arc/asm-errors.err: New file.
2477 * testsuite/gas/arc/asm-errors.s: New file.
2479 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2481 * config/tc-arc.c (cpu_types): Add nps400 entry.
2482 (check_zol): Handle nps400.
2484 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2486 * config/tc-arc.c (arc_select_cpu): Remove use of
2489 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2491 * config/tc-arc.c (arc_target): Delay initialisation until
2493 (arc_target_name): Likewise.
2494 (arc_features): Likewise.
2495 (arc_mach_type): Likewise.
2496 (cpu_types): Remove "all" entry.
2497 (arc_select_cpu): New function, most of the content is from...
2498 (md_parse_option): ... here. Call new arc_select_cpu.
2499 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2501 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2503 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2504 * testsuite/gas/arc/inline-data-2.d: New file.
2506 2016-03-21 Nick Clifton <nickc@redhat.com>
2508 * atof-generic.c: Replace use of alloca with call to xmalloc.
2510 * dwarf2dbg.c: Likewise.
2511 * macro.c: Likewise.
2512 * remap.c: Likewise.
2513 * stabs.c: Likewise.
2514 * symbols.c: Likewise.
2515 * config/obj-elf.c: Likewise.
2516 * config/tc-aarch64.c: Likewise.
2517 * config/tc-arc.c: Likewise.
2518 * config/tc-arm.c: Likewise.
2519 * config/tc-avr.c: Likewise.
2520 * config/tc-ia64.c: Likewise.
2521 * config/tc-mips.c: Likewise.
2522 * config/tc-msp430.c: Likewise.
2523 * config/tc-nds32.c: Likewise.
2524 * config/tc-ppc.c: Likewise.
2525 * config/tc-sh.c: Likewise.
2526 * config/tc-tic30.c: Likewise.
2527 * config/tc-tic54x.c: Likewise.
2528 * config/tc-xstormy16.c: Likewise.
2529 * config/te-vms.c: Likewise.
2530 * configure: Regenerate.
2532 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2534 * tc-i386.c (f32_1): Change type to unsigned char[].
2554 (jump_31): Likewise.
2555 (f32_patt): Likewise.
2556 (f16_patt): Likewise.
2565 (alt_patt): Likewise.
2567 2016-03-18 Nick Clifton <nickc@redhat.com>
2569 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2570 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2571 .tlsdescldr and .xword directives.
2574 * testsuite/gas/aarch64/pr19721.s: New test source file.
2575 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2577 * doc/as.texinfo: Place the target specific command line options
2578 into their own man page section.
2580 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2582 * config/tc-arm.c (N_S_32): New.
2583 (N_F_16_32): Likewise.
2584 (N_SUF_32): Support N_F16.
2585 (N_IF_32): Likewise.
2586 (neon_dyadic_misc): Likewise.
2587 (do_neon_cmp): Likewise.
2588 (do_neon_cmp_inv): Likewise.
2589 (do_neon_mul): Likewise.
2590 (do_neon_fcmp_absolute): Likewise.
2591 (do_neon_step): Likewise.
2592 (do_neon_abs_neg): Likewise.
2593 (CVT_FLAVOR_VAR): Likewise.
2594 (do_neon_cvt_1): Likewise.
2595 (do_neon_recip_est): Likewise.
2596 (do_vmaxnm): Likewise.
2597 (do_vrint_1): Likewise.
2598 (neon_check_type): Check architecture support for FP16 extension.
2599 (insns): Update comments.
2600 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2601 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2602 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2603 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2605 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2607 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2610 2016-03-16 Nick Clifton <nickc@redhat.com>
2612 * read.c (emit_expr_with_reloc): Add code check a bignum with
2614 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2616 * testsuite/gas/elf/bignum.s: New test source file.
2617 * testsuite/gas/elf/bignum.d: New test driver file.
2618 * testsuite/gas/elf/elf.exp: Run the new test.
2620 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2622 * doc/c-i386.texi (Register Naming): Update to details of the
2623 latest architecture version.
2625 2016-03-10 Mickael Guene <mickael.guene@st.com>
2628 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2630 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2631 (do_t_mov_cmp): Likewise.
2632 (do_t_add_sub): Protect against bad relocations usage.
2633 (do_t_mov_cmp): Likewise.
2634 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2635 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2636 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2637 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2639 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2641 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2643 (do_neon_ld_st_lane): Likewise.
2644 (do_neon_ld_dup): Likewise.
2646 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2648 * testsuite/gas/arc/inline-data-1.d: New file.
2649 * testsuite/gas/arc/inline-data-1.s: New file.
2651 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2653 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2654 * doc/c-arm.texi: Add cortex-r8.
2656 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2658 * config/tc-arc.c: Add const qualifiers.
2659 * config/tc-h8300.c (md_begin): Likewise.
2660 * config/tc-ia64.c (print_prmask): Likewise.
2661 * config/tc-msp430.c (msp430_operands): Likewise.
2662 * config/tc-nds32.c (struct suffix_name): Likewise.
2663 (struct nds32_parse_option_table): Likewise.
2664 (struct nds32_set_option_table): Likewise.
2665 (do_pseudo_pushpopm): Likewise.
2666 (do_pseudo_pushpop_stack): Likewise.
2667 (nds32_relax_relocs): Likewise.
2668 (nds32_flag): Likewise.
2669 (struct nds32_hint_map): Likewise.
2670 (nds32_find_reloc_table): Likewise.
2671 (nds32_match_hint_insn): Likewise.
2672 * config/tc-s390.c: Likewise.
2673 * config/tc-sh.c (get_specific): Likewise.
2674 * config/tc-tic30.c: Likewise.
2675 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2676 (tic4x_indirect_parse): Likewise.
2677 * config/tc-vax.c (vax_cons): Likewise.
2678 * config/tc-z80.c (struct reg_entry): Likewise.
2679 * config/tc-epiphany.c (md_assemble): Adjust.
2680 (epiphany_assemble): New function.
2681 (epiphany_elf_section_rtn): Call do_align directly.
2682 (epiphany_elf_section_text): Likewise.
2683 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2684 (ip2k_elf_section_text): Likewise.
2685 * read.c (do_align): Make it not static.
2686 * read.h (do_align): New prototype.
2688 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2690 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2691 for ARMv8.1 AdvSIMD use.
2692 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2693 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2695 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2697 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2699 (record_feature_use): New.
2700 (mark_feature_used): Use record_feature_use.
2701 (do_neon_qrdmlah): New.
2702 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2704 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2705 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2706 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2707 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2708 Make source file explicit.
2709 * testsuite/gas/arm/armv8-a+rdma.l: New.
2710 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2711 directives. Fix white-space.
2712 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2714 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2716 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2718 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2719 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2721 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2722 (tc_arc_fix_adjustable): Changed default return value to 1.
2723 * testsuite/gas/arc/j.d: Updated expected symbol
2724 * testsuite/gas/arc/jl.d: Likewise
2725 * testsuite/gas/arc/relax-avoid1.d: Likewise
2726 * testsuite/gas/arc/st.d: Likewise
2728 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2730 * config/tc-arc.c: Enable code density instructions for ARC EM.
2732 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2735 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2737 * as.c (flag_use_elf_stt_common): New.
2738 (show_usage): Add --elf-stt-common=.
2739 (option_values): Add OPTION_ELF_STT_COMMON.
2740 (std_longopts): Add --elf-stt-common=.
2741 (parse_args): Handle --elf-stt-common=.
2742 * as.h (flag_use_elf_stt_common): New.
2743 * config.in: Regenerated.
2744 * configure: Likewise.
2745 * configure.ac: Add --enable-elf-stt-common and define
2746 DEFAULT_GENERATE_ELF_STT_COMMON.
2747 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2748 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2749 * doc/as.texinfo: Document --elf-stt-common=.
2750 * testsuite/gas/elf/common3.s: New file.
2751 * testsuite/gas/elf/common3a.d: Likewise.
2752 * testsuite/gas/elf/common3b.d: Likewise.
2753 * testsuite/gas/elf/common4.s: Likewise.
2754 * testsuite/gas/elf/common4a.d: Likewise.
2755 * testsuite/gas/elf/common4b.d: Likewise.
2756 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2757 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2758 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2760 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2761 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2762 --elf-stt-common=no to as.
2763 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2764 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2765 --elf-stt-common=no to as.
2766 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2767 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2768 of dw2-compress-3 and dw2-compressed-3.
2770 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2772 * as.c (select_emulation_mode): Add const qualifiers.
2774 * config/bfin-defs.h: Likewise.
2775 * config/bfin-parse.y: Likewise.
2776 * config/rx-parse.y: Likewise.
2777 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2778 (struct aarch64_cpu_option_table): Likewise.
2779 (struct aarch64_arch_option_table): Likewise.
2780 (struct aarch64_option_cpu_value_table): Likewise.
2781 (struct aarch64_long_option_table): Likewise.
2782 (struct aarch64_option_abi_value_table): Likewise.
2783 * config/tc-arm.c (struct reloc_entry): Likewise.
2784 (tc_gen_reloc): Likewise.
2785 (struct arm_option_table): Likewise.
2786 (struct arm_legacy_option_table): Likewise.
2787 (struct arm_cpu_option_table): Likewise.
2788 (struct arm_arch_option_table): Likewise.
2789 (struct arm_option_extension_value_table): Likewise.
2790 (struct arm_option_fpu_value_table): Likewise.
2791 (struct arm_option_value_table): Likewise.
2792 (struct arm_long_option_table): Likewise.
2793 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2794 (struct mcu_type_s): Likewise.
2795 (struct exp_mod_s): Likewise.
2796 (avr_operand): Likewise.
2797 (avr_operands): Likewise.
2798 * config/tc-d10v.c (md_begin): Likewise.
2799 * config/tc-dlx.c: Likewise.
2800 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2801 * config/tc-ft32.c (parse_condition): Likewise.
2802 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2803 * config/tc-hppa.c (pa_ip): Likewise.
2804 (hppa_regname_to_dw2regnum): Likewise.
2805 * config/tc-i370.c (i370_elf_suffix): Likewise.
2806 * config/tc-i960.c (struct tabentry): Likewise.
2807 * config/tc-m32r.c: Likewise.
2808 * config/tc-m68k.c: Likewise.
2809 * config/tc-m68k.h: Likewise.
2810 * config/tc-mcore.c (parse_psrmod): Likewise.
2811 * config/tc-metag.c (struct metag_core_option): Likewise.
2812 (struct metag_long_option): Likewise.
2813 * config/tc-microblaze.c: Likewise.
2814 * config/tc-mips.c (macro): Likewise.
2815 * config/tc-mn10200.c: Likewise.
2816 * config/tc-mn10300.c: Likewise.
2817 * config/tc-msp430.c (struct rcodes_s): Likewise.
2818 (struct hcodes_s): Likewise.
2819 (md_parse_option): Likewise.
2820 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2821 (optlist): Likewise.
2822 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2823 (tc_ppc_regname_to_dw2regnum): Likewise.
2824 * config/tc-ppc.h: Likewise.
2825 * config/tc-rl78.c: Likewise.
2826 * config/tc-rx.c (struct cpu_type): Likewise.
2827 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2828 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2829 (sparc_ip): Likewise.
2830 * config/tc-spu.c (insn_fmt_string): Likewise.
2831 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2832 * config/tc-v850.c: Likewise.
2833 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2834 (struct visium_long_option_table): Likewise.
2835 * config/tc-xgate.c: Likewise.
2836 * config/tc-z8k.c: Likewise.
2837 * read.c (add_include_dir): Likewise.
2840 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2842 * testsuite/gas/all/gas.exp: Change target pattern to cover
2844 * testsuite/gas/all/redef3.d: Likewise.
2845 * testsuite/gas/elf/elf.exp: Likewise.
2847 2016-02-24 Renlin Li <renlin.li@arm.com>
2849 * config/tc-arm.c (BAD_FP16): New error message macro.
2850 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2851 fp16 scalar instructions.
2852 (neon_check_type): Allow different size from key.
2853 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2854 (try_vfp_nsyn): Likewise.
2855 (do_vfp_nsyn_mla_mls): Likewise.
2856 (do_vfp_nsyn_fma_fms): Likewise.
2857 (do_vfp_nsyn_ldm_stm): Likewise
2858 (do_vfp_nsyn_sqrt): Likewise
2859 (do_vfp_nsyn_div): Likewise
2860 (do_vfp_nsyn_nmul): Likewise.
2861 (do_vfp_nsyn_cmp): Likewise.
2862 (do_neon_shll): Likewise.
2863 (do_vfp_nsyn_cvt_fpv8): Likewise.
2864 (do_neon_cvttb_2): Likewise.
2865 (do_neon_mov): Likewise.
2866 (do_neon_rshift_round_imm): Likewise.
2867 (do_neon_ldr_str): Likewise.
2868 (do_vfp_nsyn_fpv8): Likewise.
2869 (do_vmaxnm): Likewise.
2870 (do_vrint_1): Likewise.
2871 (insns): New entry for vins, vmovx.
2872 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2873 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2874 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2875 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2876 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2877 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2878 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2880 2016-02-24 Renlin Li <renlin.li@arm.com>
2882 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2883 (neon_shape_class): New SC_HALF.
2884 (neon_shape_el): New SE_H.
2885 (neon_shape_el_size): New size for SE_H.
2886 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2887 (neon_select_shape): Add SE_H support code.
2888 (el_type_of_type_chk): Use N_F_ALL.
2889 (do_vfp_nsyn_cvt): Add SE_H shape support.
2890 (do_neon_cvtz): Likewise.
2891 (do_neon_cvt_1): Likewise.
2892 (do_neon_cvttb_1): Likewise.
2894 2016-02-24 Renlin Li <renlin.li@arm.com>
2896 * testsuite/gas/arm/copro.d: Adjust output.
2897 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2899 2016-02-24 Renlin Li <renlin.li@arm.com>
2901 * testsuite/gas/arm/mask_1.d: New.
2902 * testsuite/gas/arm/mask_1.s: New.
2904 2016-02-24 Renlin Li <renlin.li@arm.com>
2906 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2907 * testsuite/gas/arm/copro.d: Update.
2909 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2911 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2912 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2914 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2916 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2918 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2920 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2923 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2925 * output-file.c (output_file_create): Make file name argument const.
2926 (output_file_close): Likewise.
2927 * output-file.h (output_file_create): Adjust.
2928 (output_file_close): Likewise.
2929 * depend.c (quote_string_for_make): Make src argument const char *.
2930 (register_dependency): Likewise.
2931 (wrap_output): Likewise.
2932 * as.h (register_dependency): Adjust.
2933 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2935 * symbols.c (S_SET_EXTERNAL): Likewise.
2936 * input-scrub.c (as_where): Return the file name.
2937 * as.h (as_where): Adjust prototype.
2938 * app.c (do_scrub_chars): Adjust.
2939 * cond.c (s_elseif): Likewise.
2941 (initialize_cframe): Likewise.
2942 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
2943 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2944 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2945 * config/tc-aarch64.c (output_info): Likewise.
2946 * config/tc-ia64.c (md_assemble): Likewise.
2947 (dot_alias): Likewise.
2948 * config/tc-m68k.c (m68k_frob_label): Likewise.
2949 * config/tc-mmix.c (s_bspec): Likewise.
2950 (mmix_handle_mmixal): Likewise.
2951 * config/tc-rx.c (rx_include): Likewise.
2952 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2953 (tic54x_adjust_symtab): Likewise.
2954 * config/tc-xtensa.c (directive_push): Likewise.
2955 (xtensa_sanity_check): Likewise.
2956 (xtensa_relax_frag): Likewise.
2957 (md_convert_frag): Likewise.
2958 (tinsn_to_slotbuf): Likewise.
2959 * dwarf2dbg.c (dwarf2_where): Likewise.
2960 * ecoff.c (add_file): Likewise.
2961 (ecoff_generate_asm_lineno): Likewise.
2962 * expr.c (make_expr_symbol): Likewise.
2963 * frags.c (frag_new): Likewise.
2964 (frag_var_init): Likewise.
2965 * listing.c (listing_newline): Likewise.
2966 * messages.c (identify): Likewise.
2967 (as_show_where): Likewise.
2968 (as_warn_internal): Likewise.
2969 (as_bad_internal): Likewise.
2970 * read.c (s_irp): Likewise.
2971 (s_macro): Likewise.
2972 (s_reloc): Likewise.
2973 * stabs.c (stabs_generate_asm_file): Likewise.
2974 (stabs_generate_asm_lineno): Likewise.
2975 (stabs_generate_asm_func): Likewise.
2976 * write.c (fix_new_internal): Likewise.
2977 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
2978 (as_warn_value_out_of_range): Adjust prototype.
2979 (as_bad_value_out_of_range): Adjust prototype.
2980 * messages.c (identify): Make file name argument const char *.
2981 (as_warn_internal): Likewise.
2982 (as_warn_where): Likewise.
2983 (as_bad_internal): Likewise.
2984 (as_bad_where): Likewise.
2985 (as_internal_value_out_of_range): Likewise.
2986 (as_warn_value_out_of_range): Likewise.
2987 (as_bad_value_out_of_range): Likewise.
2988 * as.h (found_comment_file): Change type to const char *.
2989 * cond.c (file_line::file): Likewise.
2990 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
2991 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
2992 * config/obj-som.c (obj_som_init_stab_section): Likewise.
2993 * config/tc-aarch64.c (output_info): Likewise.
2994 * config/tc-alpha.c (insert_operand): Likewise.
2995 * config/tc-arc.c (insert_operand): Likewise.
2996 * config/tc-d30v.c (check_size): Likewise.
2997 * config/tc-ia64.c (struct alias): Likewise.
2998 * config/tc-m68k.c (struct label_line): Likewise.
2999 * config/tc-mcore.c (md_apply_fix): Likewise.
3000 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3001 * config/tc-mips.c (mips16_immed): Likewise.
3002 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3003 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3004 * config/tc-rx.c (rx_include): Likewise.
3005 * config/tc-s390.c (s390_insert_operand): Likewise.
3006 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3007 (tic54x_adjust_symtab): Likewise.
3008 * config/tc-tilegx.c (insert_operand): Likewise.
3009 (apply_special_operator): Likewise.
3010 * config/tc-tilepro.c (insert_operand): Likewise.
3011 * config/tc-xtensa.c (directive_push): Likewise.
3012 * ecoff.c (add_file): Likewise.
3013 (ecoff_generate_asm_lineno): Likewise.
3014 * listing.c (listing_newline): Likewise.
3015 * read.c (s_irp): Likewise.
3016 * write.c (install_reloc): Likewise.
3017 * write.h (struct fix): Likewise.
3018 * input-file.c (file_name): Change type to const char *.
3019 (saved_file::file_name): Likewise.
3020 (input_file_open): Change type of argument to const char *.
3021 * input-file.h (input_file_open): Adjust.
3022 * input-scrub.c (logical_input_file): change type to const char *.
3023 (physical_input_file): Likewise.
3024 (struct input_save): Adjust.
3025 (input_scrub_push): Adjust.
3026 (input_scrub_begin): Adjust.
3028 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3029 (input_scrub_include_file): Likewise.
3030 (new_logical_line_flags): Likewise.
3031 (new_logical_line): Likewise.
3033 * frags.h (struct frag): Change type of fr_file to const char *.
3034 * expr.c (expr_symbol_where): Change type of file argument to
3036 * expr.h (expr_symbol_where): Likewise.
3037 * config/tc-i370.c (md_apply_fix): adjust.
3038 * config/tc-mmix.c (mmix_md_end): Likewise.
3039 * config/tc-ppc.c (md_apply_fix): Likewise.
3040 * config/tc-s390.c (md_apply_fix): Likewise.
3041 * symbols.c (report_op_error): Likewise.
3042 (resolve_symbol_value): Likewise.
3043 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3044 (rsrc::file): Likewise.
3045 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3047 (xtensa_relax_frag): Likewise.
3048 (md_convert_frag): Likewise.
3049 (tinsn_to_slotbuf): Likewise.
3050 * expr.c (expr_symbol_line): Likewise.
3051 * macro.c (define_macro): Likewise.
3052 * macro.h (macro_struct): Likewise.
3053 * messages.c (as_show_where): Likewise.
3054 * read.c (s_macro): Likewise.
3055 * stabs.c (stabs_generate_asm_file): Likewise.
3056 (generate_asm_file): Likewise.
3057 (stabs_generate_asm_lineno): Likewise.
3058 * write.h (struct reloc_list): Likewise.
3059 * input-scrub.c (as_where): Change return type to const char *.
3060 * as.h (as_wheree): Adjust.
3062 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3064 * write.c (compress_debug): Move BFD compression bits setting
3066 (write_object_file): Here.
3068 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3070 * config/tc-i386.c (register_number): Check RegVRex.
3071 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3072 with %zmm19 and %zmm3.
3073 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3074 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3076 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3077 Jiong Wang <jiong.wang@arm.com>
3079 * config/tc-arm.c (arm_ext_fp16): New.
3080 (arm_extensions): New entry for "fp16".
3082 2016-02-19 Nick Clifton <nickc@redhat.com>
3085 * read.c (read_a_source_file): Check for assemble_one returning
3086 with input_line_pointer set to NULL.
3088 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3090 * listing.c (rebuffer_line): Change return type to void.
3092 * symbols.c (decode_local_label_name): Make type a const char *.
3093 * listing.c (print_source): Make type of p const char *.
3094 (print_line): Make type of string const char *.
3095 (buffer_line): Return const char *.
3096 (title): Make type const char *.
3097 (subtitle): Likewise.
3098 (listing_listing): Make type of p const char *.
3099 * messages.c (as_internal_value_out_of_range): Make type of prefix
3101 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3102 and string const char *.
3103 * read.c (_bfd_rel): Make type of name const char *.
3104 * app.c (out_string): Change type to const char *.
3105 (struct app_save::out_string): Likewise.
3107 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3108 Nick Clifton <nickc@redhat.com>
3110 * read.c (finish_bundle): Avoid recording a negative alignment.
3111 (do_align): Use unsigned values for n, len and max. Only create
3112 a frag if the alignment requirement is greater than the minimum
3113 byte alignment. Avoid recording a negative alignment.
3114 (s_align): Use unsigned values where appropriate.
3115 (bss_alloc): Use an unsigned value for the alignment.
3116 (sizeof_sleb128): Add a comment noting that we encode one octet
3117 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3118 (emit_leb129_expr): Abort if the emitted encoding was longer than
3120 * read.h (output_leb128): Update prototype.
3121 (sizeof_leb128): Update prototype.
3122 (bss_alloc): Update prototype.
3123 * write.c (record_alignment): Use an unsigned value for the
3124 alignment. Do not record alignments less than the minimum
3125 alignment for a byte.
3126 * write.h (record_alignment): Update prototype.
3128 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3130 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3131 .init.literal/.fini.literal section name.
3132 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3133 list of xtensa tests.
3134 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3135 init-fini-literals test result patterns.
3136 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3137 init-fini-literals test.
3139 2016-02-17 Nick Clifton <nickc@redhat.com>
3141 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3142 devices.csv file as of March 2016.
3144 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3146 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3148 (tc_arc_regname_to_dw2regnum): Likewise.
3149 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3150 (tc_cfi_frame_initial_instructions): Likewise.
3151 (tc_regname_to_dw2regnum): Likewise.
3152 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3153 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3154 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3156 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3158 * doc/internals.texi (S_IS_EXTERN): Remove.
3160 2016-02-16 Nick Clifton <nickc@redhat.com>
3162 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3165 2016-02-16 Renlin Li <renlin.li@arm.com>
3168 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3169 * testsuite/gas/aarch64/movw_label.d: New.
3170 * testsuite/gas/aarch64/movw_label.s: New.
3172 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3175 * config/rx-parse.y (MOV): Opcode generation for index
3176 register addressing mode.
3177 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3178 * testsuite/gas/rx/pr19665.s: New file.
3179 * testsuite/gas/rx/pr19665.s: New file.
3180 * testsuite/gas/rx/mov.d: Update expected output.
3182 2016-02-15 Nick Clifton <nickc@redhat.com>
3184 * doc/as.texinfo (.section): Document that numeric values can now
3185 be used for the flags and type fields of the ELF target's .section
3186 directive. Add notes about the restrictions on setting flags and
3188 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3189 to be given processor specific section types. Allow processor and
3190 application specific flags of a section to be set after
3192 (obj_elf_parse_section_letters): Handle parsing numeric values.
3193 (obj_elf_section_type): Handle parsing numeric values.
3194 (obj_elf_section): Allow numeric type values.
3195 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3196 * testsuite/gas/elf/section10.d: New test.
3197 * testsuite/gas/elf/section10.s: Source file for new test.
3198 * testsuite/gas/elf/elf.exp: Run the new test.
3199 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3200 the description of the flags produced by readelf.
3201 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3202 * NEWS: Mention the new feature.
3204 2016-02-11 Nick Clifton <nickc@redhat.com>
3207 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3208 until it is actually used.
3209 (cfi_set_sections): Set cfi_sections_set to true.
3210 (dot_cfi_startproc): Likewise.
3211 (dot_cfi_endproc): Likewise.
3212 (dot_cfi_fde_data): Likewise.
3213 (cfi_finish): Likewise.
3214 (dot_cfi_sections): Do not set cfi_sections_set.
3215 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3216 their own cfi section name. Also note that the directive can be
3217 reissued provided that CFI generation has not started.
3218 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3219 .cfi_endproc directives so that the redefinition of .cfi_sections
3220 will trigger the generation of the error message.
3221 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3222 number of error message.
3224 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3225 Janek van Oirschot <jvanoirs@synopsys.com>
3227 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3228 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3230 (arc_flags, arc_relax_type): New structure.
3231 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3232 (RELAX_TABLE_ENTRY_MAX): New define.
3233 (relaxation_state, md_relax_table, arc_relaxable_insns)
3234 (arc_num_relaxable_ins): New variable.
3235 (rlx_operand_type, arc_rlx_types): New enums.
3236 (arc_relaxable_ins): New structure.
3237 (OPTION_RELAX): New option.
3238 (arc_insn): New relax member.
3239 (arc_flags): Remove.
3240 (relax_insn_p): New function.
3241 (apply_fixups): Likewise.
3242 (relaxable_operand): Likewise.
3243 (may_relax_expr): Likewise.
3244 (relaxable_flag): Likewise.
3245 (arc_pcrel_adjust): Likewise.
3246 (md_estimate_size_before_relax): Implement.
3247 (md_convert_frag): Likewise.
3248 (md_parse_option): Handle new mrelax option.
3249 (md_show_usage): Likewise.
3250 (assemble_insn): Set relax member.
3251 (emit_insn0): New function.
3252 (emit_insn1): Likewise.
3253 (emit_insn): Handle relaxation case.
3254 * NEWS: Mention the new relaxation option.
3255 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3256 * doc/as.texinfo (Target ARC Options): Likewise.
3257 * testsuite/gas/arc/relax-avoid1.d: New file.
3258 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3259 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3260 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3261 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3262 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3263 * testsuite/gas/arc/relax-b.d: Likewise.
3264 * testsuite/gas/arc/relax-b.s: Likewise.
3266 2016-02-08 Nick Clifton <nickc@redhat.com>
3268 * config/tc-ia64.c (dot_prologue): Fix formatting.
3270 2016-02-04 Nick Clifton <nickc@redhat.com>
3272 * config/obj-elf.c (obj_elf_change_section): Remove support for
3273 ARM NOREAD sections.
3274 * config/tc-arm.c (arm_elf_section_letter): Delete.
3275 * config/tc-arm.h (md_elf_section_letter): Delete.
3276 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3277 * testsuite/gas/arm/section-execute-only.d: Delete.
3278 * testsuite/gas/arm/section-execute-only.s: Delete.
3280 2016-02-04 Nick Clifton <nickc@redhat.com>
3283 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3284 to handle encoding of RRUX instruction.
3285 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3287 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3289 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3291 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3292 substitutions for BFD_RELOC_* as unsigned.
3293 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3294 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3295 * testsuite/gas/xtensa/loc.s: New file: loc test.
3297 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3299 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3301 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3304 * NEWS: Mention new command line option -mrelax-relocations and
3305 new configure option --enable-x86-relax-relocations for x86
3307 * config.in: Regenerated.
3308 * configure.ac: Add --enable-x86-relax-relocations.
3309 (ac_default_x86_relax_relocations): New. Default to 1 except
3310 for x86 Solaris targets older than Solaris 12.
3311 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3312 * configure: Likewise.
3313 * config/tc-i386.c (generate_relax_relocations): New.
3314 (OPTION_MRELAX_RELOCATIONS): Likewise.
3315 (output_disp): Don't generate relax relocations if
3316 generate_relax_relocations is 0.
3317 (md_longopts): Add -mrelax-relocations.
3318 (md_show_usage): Likewise.
3319 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3320 * doc/c-i386.texi: Document -mrelax-relocations=.
3321 * testsuite/gas/i386/got-no-relax.d: New file.
3322 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3323 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3324 * testsuite/gas/i386/localpic.d: Likewise.
3325 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3326 * testsuite/gas/i386/reloc32.d: Likewise.
3327 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3328 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3329 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3330 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3331 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3332 x86-64-gotpcrel-no-relax.
3334 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3336 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3339 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3341 * NEWS: Remove duplicated marker for 2.26.
3343 2016-02-02 Renlin Li <renlin.li@arm.com>
3345 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3347 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3349 * testsuite/gas/ip2k/allinsn.d: New file.
3350 * testsuite/gas/ip2k/allinsn.s: New file.
3351 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3353 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3355 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3356 some load instructions.
3357 * testsuite/gas/epiphany/allinsn.d: Likewise.
3358 * testsuite/gas/epiphany/regression.d: Likewise.
3360 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3362 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3363 suffixes from instruction mnemonics in expected output.
3364 * testsuite/gas/epiphany/allinsn.d: Likewise.
3365 * testsuite/gas/epiphany/regression.d: Likewise.
3366 * testsuite/gas/epiphany/sample.d: Likewise.
3368 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3370 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3372 * testsuite/gas/epiphany/allinsn.d: Likewise.
3373 * testsuite/gas/epiphany/sample.d: Likewise.
3375 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3377 * testsuite/gas/epiphany/sample.d: Update expected output.
3379 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3381 * config/tc-arc.c (md_apply_fix): Allow addendum.
3382 (arc_reloc_op): Allow complex expressions for tpoff.
3383 (md_apply_fix): Handle resolved TLS local symbol.
3384 * testsuite/gas/arc/tls-relocs1.d: New file.
3385 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3387 2016-02-01 Loria <Loria@phantasia.org>
3390 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3391 efficiency and avoid an LLVM loop optimization bug.
3393 2016-02-01 Nick Clifton <nickc@redhat.com>
3395 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3396 message extending a negative 32-bit value into a larger signed
3397 value on a 32-bit host.
3399 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3402 * configure.ac (compressed_debug_sections): Replace == with =.
3403 * configure: Regenerated.
3405 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3406 H.J. Lu <hongjiu.lu@intel.com>
3408 * config/tc-i386.c (avoid_fence): New.
3409 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3411 (OPTION_FENCE_AS_LOCK_ADD): New.
3412 (md_longopts): Add -mfence-as-lock-add.
3413 (md_parse_option): Handle -mfence-as-lock-add.
3414 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3415 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3416 * testsuite/gas/i386/i386.exp: Run new tests.
3417 * testsuite/gas/i386/fence-as-lock-add.s: New.
3418 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3419 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3420 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3421 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3423 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3425 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3426 * configure: Regenerated.
3428 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3430 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3431 (OPTION_MOMIT_LOCK_PREFIX): This.
3432 (md_longopts): Updated.
3433 (md_parse_option): Likewise.
3435 2016-01-25 Catherine Moore <clm@codesourcery.com>
3437 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3438 if abicalls are in effect.
3439 * testsuite/gas/mips/sdata-gp.s: New test.
3440 * testsuite/gas/mips/sdata-gp.d: New expected output
3441 * testsuite/gas/mips/mips.exp: Run new test.
3443 2016-01-25 Renlin Li <renlin.li@arm.com>
3445 * testsuite/gas/arm/thumb2_it_search.d: New.
3446 * testsuite/gas/arm/thumb2_it_search.s: New.
3448 2016-01-21 Nick Clifton <nickc@redhat.com>
3451 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3452 with arm-netbsdelf target.
3453 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3455 2016-01-20 Nick Clifton <nickc@redhat.com>
3458 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3459 * testsuite/gas/arm/blx-bl-convert.d
3460 * testsuite/gas/arm/plt-1.d: Likewise.
3461 * testsuite/gas/arm/reloc-bad.d: Likewise.
3462 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3463 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3464 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3465 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3468 * doc/as.texinfo (Errors): Correct documentation describing the
3469 interaction of .file and .line with warning and error messages.
3472 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3473 * testsuite/gas/arm/archv8m-main.d: Likewise.
3474 * testsuite/gas/arm/archv8m-base.d: Likewise.
3476 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3478 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3479 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3480 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3482 2016-01-20 Mickael Guene <mickael.guene@st.com>
3483 Terry Guo <terry.guo@arm.com>
3485 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3486 SHF_ARM_NOREAD section flag.
3487 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3489 (arm_elf_section_letter) : Declare it.
3490 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3491 SHF_ARM_NOREAD section flag.
3492 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3494 * testsuite/gas/arm/section-execute-only.s: New test case.
3495 * testsuite/gas/arm/section-execute-only.d: Expected output.
3497 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3499 * config/tc-mips.c (micromips_insn_length): Remove the mention
3500 of 48-bit microMIPS instructions.
3502 2016-01-18 Alan Modra <amodra@gmail.com>
3504 * configure: Regenerate.
3506 2016-01-17 Alan Modra <amodra@gmail.com>
3508 * configure: Regenerate.
3510 2016-01-17 Alan Modra <amodra@gmail.com>
3512 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3514 2016-01-14 Nick Clifton <nickc@redhat.com>
3516 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3517 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3518 * testsuite/gas/rl78/rl78.exp: Run the new test.
3520 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3522 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3523 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3525 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3527 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3529 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3531 * config/tc-h8300.c (get_operand): Remove spurious condition in
3532 test for closing parenthesis.
3534 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3536 * config/tc-arm.c (arm_ext_v8_2): New.
3538 * testsuite/gas/arm/armv8_2-a.d: New.
3539 * testsuite/gas/arm/armv8_2-a.s: New.
3541 2016-01-12 Alan Modra <amodra@gmail.com>
3543 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3545 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3547 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3548 xvcmpnesp, xvcmpnesp.>: Delete tests.
3549 * testsuite/gas/ppc/power9.s: Likewise.
3550 * testsuite/gas/ppc/vsx3.d: Likewise.
3551 * testsuite/gas/ppc/vsx3.s: Likewise.
3553 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3556 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3557 * testsuite/gas/m68k/p13050-1.s: New file.
3558 * testsuite/gas/m68k/p13050-2.d: New file.
3559 * testsuite/gas/m68k/p13050-2.s: New file.
3561 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3563 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3564 * testsuite/gas/arc/add.d: Likewise.
3565 * testsuite/gas/arc/and.d: Likewise.
3566 * testsuite/gas/arc/asl.d: Likewise.
3567 * testsuite/gas/arc/asr.d: Likewise.
3568 * testsuite/gas/arc/bic.d: Likewise.
3569 * testsuite/gas/arc/extb.d: Likewise.
3570 * testsuite/gas/arc/extw.d: Likewise.
3571 * testsuite/gas/arc/j.d: Likewise.
3572 * testsuite/gas/arc/jl.d: Likewise.
3573 * testsuite/gas/arc/ld2.d: Likewise.
3574 * testsuite/gas/arc/lsr.d: Likewise.
3575 * testsuite/gas/arc/mov.d: Likewise.
3576 * testsuite/gas/arc/or.d: Likewise.
3577 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3578 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3579 * testsuite/gas/arc/pic-relocs.d: Likewise.
3580 * testsuite/gas/arc/plt-relocs.d: Likewise.
3581 * testsuite/gas/arc/rlc.d: Likewise.
3582 * testsuite/gas/arc/ror.d: Likewise.
3583 * testsuite/gas/arc/rrc.d: Likewise.
3584 * testsuite/gas/arc/sbc.d: Likewise.
3585 * testsuite/gas/arc/sda-relocs.d: Likewise.
3586 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3587 * testsuite/gas/arc/sexb.d: Likewise.
3588 * testsuite/gas/arc/sexw.d: Likewise.
3589 * testsuite/gas/arc/st.d: Likewise.
3590 * testsuite/gas/arc/sub.d: Likewise.
3591 * testsuite/gas/arc/tls-relocs.d: Likewise.
3592 * testsuite/gas/arc/xor.d: Likewise.
3594 2016-01-01 Alan Modra <amodra@gmail.com>
3596 Update year range in copyright notice of all files.
3598 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3600 Copyright (C) 2016 Free Software Foundation, Inc.
3602 Copying and distribution of this file, with or without modification,
3603 are permitted in any medium without royalty provided the copyright
3604 notice and this notice are preserved.
3610 version-control: never