1 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/gas/mips/branch-misc-2.s: Move non
4 locally-defined-global symbol tests...
5 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
6 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
7 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
8 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
9 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
10 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
11 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
12 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
13 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
14 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
15 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
16 * testsuite/gas/mips/branch-misc-5.d: New test.
17 * testsuite/gas/mips/branch-misc-5pic.d: New test.
18 * testsuite/gas/mips/branch-misc-5-64.d: New test.
19 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
20 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
21 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
22 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
23 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
24 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
25 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
26 * testsuite/gas/mips/mips.exp: Run the new tests.
28 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
30 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
32 * testsuite/gas/mips/beq.d: Update accordingly.
33 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
34 * testsuite/gas/mips/micromips@beq.d: Likewise.
36 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
38 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
39 tests to NewABI targets.
41 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
43 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
46 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
48 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
50 (aarch64_features): Initialize require fields.
51 (aarch64_parse_features): Handle dependencies.
52 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
53 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
54 * testsuite/gas/aarch64/illegal-nofp16.s: New.
55 * testsuite/gas/aarch64/illegal-nofp16.l: New.
56 * testsuite/gas/aarch64/illegal-nofp16.d: New.
58 2016-07-01 Nick Clifton <nickc@redhat.com>
60 * macro.c (macro_expand_body): Use a buffer big enough to hold an
61 extremely large integer.
63 2016-07-01 Jan Beulich <jbeulich@suse.com>
65 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
67 2016-07-01 Tristan Gingold <gingold@adacore.com>
69 * NEWS: Add marker for 2.27.
71 2016-07-01 Jan Beulich <jbeulich@suse.com>
73 * tc-i386.c (i386_index_check): Add special checks for bndmk,
75 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
76 as well as scaling by other than 1 tests.
77 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
79 2016-07-01 Jan Beulich <jbeulich@suse.com>
81 * tc-i386.c (md_assemble): Alter address size checking for MPX
83 * testsuite/gas/i386/mpx-inval-2.s: New.
84 * testsuite/gas/i386/mpx-inval-2.l: New.
85 * testsuite/gas/i386/i386.exp: Run new test.
87 2016-07-01 Jan Beulich <jbeulich@suse.com>
90 * config/tc-i386.c (match_template): Add char parameter,
91 consumed in Intel mode for an extra suffix check.
92 (md_assemble): New local variable mnem_suffix.
93 * testsuite/gas/i386/suffix-bad.s: New.
94 * testsuite/gas/i386/suffix-bad.l: New.
95 * testsuite/gas/i386/i386.exp: Run new test (twice).
97 2016-07-01 Jan Beulich <jbeulich@suse.com>
99 * testsuite/gas/i386/movz.s: New.
100 * testsuite/gas/i386/movz32.d: New.
101 * testsuite/gas/i386/movz64.d: New.
102 * testsuite/gas/i386/i386.exp: Run new tests.
104 2016-07-01 Jan Beulich <jbeulich@suse.com>
106 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
107 (md_assemble): Free first memory operand string.
108 (i386_index_check): Use repprefixok to distingush xlat from
109 other (real) string ops.
110 (maybe_adjust_templates): New.
111 (i386_att_operand). Call it. Store first memory operand string.
112 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
113 * testsuite/gas/i386/intel-movs.s: New.
114 * testsuite/gas/i386/intel-movs32.d: New.
115 * testsuite/gas/i386/intel-movs64.d: New.
116 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
117 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
119 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
121 * config/tc-mips.c (get_append_method): Fix a comment typo.
123 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
124 Maciej W. Rozycki <macro@imgtec.com>
126 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
127 case MIPS16 handling.
128 * testsuite/gas/mips/branch-swap-3.d: New test.
129 * testsuite/gas/mips/branch-swap-4.d: New test.
130 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
131 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
132 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
133 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
134 * testsuite/gas/mips/branch-swap-3.s: New test source.
135 * testsuite/gas/mips/mips.exp: Run the new tests.
137 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
139 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
142 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
145 * write.c (subsegs_finish_section): Force no section padding to
146 alignment on failed assembly, always set last frag's alignment
148 * testsuite/gas/all/pr20312.l: New list test.
149 * testsuite/gas/all/pr20312.s: New test source.
150 * testsuite/gas/all/gas.exp: Run the new test
152 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
154 * config.in (TARGET_WITH_CPU): Undefine.
155 * configure.ac: Add --with-cpu support, and define in config.h.
156 * configure: Regenerate.
157 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
158 * NEWS: Mention new configure option.
160 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
162 * testsuite/gas/arm/armv8_2+rdma.d: New.
164 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
166 * NEWS: Mention --enable-compressed-debug-sections=gas is the
167 default for Linux/x86 targets.
168 * configure.tgt (ac_default_compressed_debug_sections): Default
169 to yes for Linux/x86 targets.
171 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
173 * write.c: Remove "libbfd.h" inclusion.
175 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
177 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
180 2016-06-28 Alan Modra <amodra@gmail.com>
183 * testsuite/gas/elf/section11.s: Don't start directives in first column.
185 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
187 * testsuite/gas/aarch64/diagnostic.s,
188 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
190 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
192 * config/tc-mips.c (mips16_reloc_p): Handle
193 BFD_RELOC_MIPS16_16_PCREL_S1.
194 (b_reloc_p): Likewise.
195 (limited_pcrel_reloc_p): Likewise.
196 (md_pcrel_from): Likewise.
197 (md_apply_fix): Likewise.
198 (tc_gen_reloc): Likewise.
199 (md_convert_frag): Likewise.
200 (mips_fix_adjustable): Update comment.
201 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
202 output, add dump patterns.
203 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
204 output, add dump patterns.
205 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
206 output, add dump patterns.
207 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
208 output, add dump patterns.
209 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
210 output, add dump patterns.
211 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
212 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
213 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
214 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
215 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
216 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
217 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
218 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
219 * testsuite/gas/mips/branch-weak-6.d: New test.
220 * testsuite/gas/mips/branch-weak-7.d: New test.
221 * testsuite/gas/mips/mips.exp: Run the new tests.
223 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
225 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
226 cfi_add_CFA_def_cfa to generate default CFA with offset
227 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
229 2016-06-27 Nick Clifton <nickc@redhat.com>
232 * as.h (do_not_pad_sections_to_alignment): New global variable.
233 * as.c (show_usage): Add --no-pad-sections.
234 (parse_args): Likewise.
235 * write.c (size_seg): Skip padding the end of the section if
236 requested from the command line.
237 (SUB_SEGMENT_ALIGN): Likewise.
238 * doc/as.texinfo: Document the new option.
239 * NEWS: Mention the new feature.
240 * testsuite/gas/elf/section11.s: New test.
241 * testsuite/gas/elf/section11.d: New test driver.
242 * testsuite/gas/elf/elf.exp: Run the new test.
244 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
246 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
247 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
249 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
251 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
253 (map_suffix_reloc_to_operator): Likewise.
254 (map_operator_to_reloc): Likewise.
256 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
258 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
259 element in relax_table.
261 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
263 * config/tc-aarch64.c: Make the type of reg_entry::type
266 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
268 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
269 (md_parse_option): Adjust.
270 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
271 with iteration from 0 to ARRAY_SIZE.
272 * config/tc-mcore.c (md_begin): Likewise.
273 * config/tc-visium.c (visium_parse_arch): Likewise.
275 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
277 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
278 and simplify accordingly.
279 (tic54x_include): Adjust.
280 (tic54x_mlib): Likewise.
282 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
284 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
286 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
288 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
289 unchanged with relaxed MIPS16 instructions.
290 (mips16_extended_frag): Adjust accordingly. Return 1 right
291 away if a relocation will be required for the symbol requested.
292 Remove dead first relaxation pass code.
293 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
294 (md_convert_frag): Adjust symbol value calculation. Raise an
295 error if a relocation is required for the symbol requested.
296 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
298 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
299 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
300 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
301 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
302 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
303 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
304 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
305 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
306 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
307 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
308 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
309 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
310 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
311 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
312 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
313 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
314 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
315 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
316 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
317 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
318 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
319 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
320 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
321 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
322 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
323 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
324 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
325 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
326 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
327 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
328 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
329 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
330 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
331 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
332 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
333 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
334 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
335 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
336 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
337 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
338 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
339 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
340 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
341 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
342 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
343 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
344 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
345 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
346 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
347 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
348 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
349 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
350 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
351 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
352 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
353 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
354 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
355 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
356 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
357 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
358 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
359 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
360 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
361 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
362 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
363 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
364 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
365 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
366 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
367 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
368 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
369 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
370 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
371 * testsuite/gas/mips/mips.exp: Run the new tests.
373 2016-06-24 Alan Modra <amodra@gmail.com>
375 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
377 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
379 * config/tc-mips.c (b_reloc_p): New function.
380 (mips_fix_adjustable): Also keep the original microMIPS symbol
381 referred from branch relocations.
382 * testsuite/gas/mips/branch-local-1.d: New test.
383 * testsuite/gas/mips/branch-local-n32-1.d: New test.
384 * testsuite/gas/mips/branch-local-n64-1.d: New test.
385 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
387 * testsuite/gas/mips/branch-local-1.s: New test source.
388 * testsuite/gas/mips/mips.exp: Run the new cases.
390 2016-06-23 Graham Markall <graham.markall@embecosm.com>
392 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
393 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
394 options. Correct erroneous enabling of SPFP instructions when
397 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
399 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
400 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
401 setbool, xor3>: New tests.
402 * testsuite/gas/ppc/power9.s: Likewise.
404 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
406 * config/tc-xtensa.c: Include elf/xtensa.h.
408 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
410 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
411 <BFD_RELOC_LO16_PCREL>: New switch cases.
412 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
413 Move switch cases along `BFD_RELOC_MIPS_JMP'.
414 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
415 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
417 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
418 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
419 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
420 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
421 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
422 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
423 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
424 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
425 * testsuite/gas/mips/mips.exp: Run the new tests.
427 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
429 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
430 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
431 via `fixP->fx_addsy'.
433 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
435 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
436 Calculate relocation from the containing aligned doubleword.
437 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
438 addend from the containing aligned doubleword.
440 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
442 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
443 rather than `mips_opts' for the R6 ISA check.
444 (mips_fix_adjustable): Likewise.
445 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
446 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
447 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
448 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
449 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
450 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
451 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
452 * testsuite/gas/mips/mips.exp: Run the new tests.
454 2016-06-21 Graham Markall <graham.markall@embecosm.com>
456 * config/tc-arc.c (check_cpu_feature, md_parse_option):
457 Add nps400 option and feature. Add check for nps400
458 feature. Refactor existing checks to check subclass before
460 (md_show_usage): Document flags for NPS-400 and add some other
462 (cpu_type): Remove nps400 CPU type entry
463 (check_zol): Remove bfd_mach_arc_nps400 case.
464 (md_show_usage): Add help on -mcpu=nps400.
465 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
467 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
468 -fpuda flags. Document -mcpu=nps400.
469 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
470 expected flags to match ARC700 instead of NPS400.
471 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
472 * testsuite/gas/arc/nps-400-2.d: Likewise.
473 * testsuite/gas/arc/nps-400-3.d: Likewise.
474 * testsuite/gas/arc/nps-400-4.d: Likewise.
475 * testsuite/gas/arc/nps-400-5.d: Likewise.
476 * testsuite/gas/arc/nps-400-6.d: Likewise.
477 * testsuite/gas/arc/nps-400-7.d: Likewise.
478 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
479 avoid clash with cbba instruction.
480 * testsuite/gas/arc/textinsn2op01.d: Likewise.
481 * testsuite/gas/arc/textinsn3op.d: Likewise.
482 * testsuite/gas/arc/textinsn3op.s: Likewise.
483 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
484 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
486 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
488 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
489 * testsuite/gas/mips/r6-64-n64.d: Likewise.
491 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
493 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
496 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
498 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
500 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
502 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
503 %hmcddfr and %hva_mask_nz.
504 (sparc_ip): New handling of asr/privileged/hyperprivileged
505 registers, adapted to the new form of the sparc opcodes table.
506 * testsuite/gas/sparc/rdasr.s: New file.
507 * testsuite/gas/sparc/rdasr.d: Likewise.
508 * testsuite/gas/sparc/wrasr.s: Likewise.
509 * testsuite/gas/sparc/wrasr.d: Likewise.
510 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
512 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
513 registers require it.
514 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
515 registers and write instruction modalities.
516 * testsuite/gas/sparc/wrpr.d: Likewise.
517 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
519 * testsuite/gas/sparc/rdhpr.d: Likewise.
520 * testsuite/gas/sparc/wrhpr.s: Likewise.
521 * testsuite/gas/sparc/wrhpr.d: Likewise.
523 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
525 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
526 architectures to use the right opcode architecture.
527 (sparc_md_end): Handle v9{c,d,e,v,m}.
528 (sparc_ip): Fix some comments.
529 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
530 instruction, which is v9d.
531 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
532 instruction from the test, as %mwait is not readable.
533 * testsuite/gas/sparc/mwait.d: Likewise.
534 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
535 mismatch architecture errors.
536 * testsuite/gas/sparc/mism-2.s: New file.
538 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
540 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
541 empty string to mark the end of the array.
542 (hpriv_reg_table): Likewise.
543 (v9a_asr_table): Likewise.
544 (cmp_reg_entry): Handle entries with NULL names.
546 (F_POP_PCREL): Likewise.
547 (F_POP_TLS_CALL): Likewise.
548 (F_POP_POSTFIX): Likewise.
549 (struct pop_entry): New type.
550 (pop_table): New variable.
551 (enum pop_entry_type): New type.
552 (struct perc_entry): Likewise.
553 (NUM_PERC_ENTRIES): Define.
554 (perc_table): New variable.
555 (cmp_perc_entry): New function.
556 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
558 (sparc_ip): Handle entries with NULL names in priv_reg_table,
559 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
562 2016-06-15 Nick Clifton <nickc@redhat.com>
564 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
566 * config/tc-mcore.c (md_assemble): Likewise.
567 * config/tc-mn10200.c (md_assemble): Likewise.
568 * config/tc-moxie.c (md_assemble): Likewise.
569 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
570 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
571 exception targets. Add alpha, hppa, microblaze and rl78 to list
573 (forward): Add microblaze to list of exceptions.
574 (fwdexp): Add alpha to list of exceptions.
575 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
576 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
577 (do_930509a): Alpha sort list of exception targets. Add h8300 and
578 mn10200 to list of exceptions.
579 (align2): Expect to fail for nds32.
580 (cond): Add alpha and rl78 to list of exceptions.
581 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
582 * testsuite/gas/all/string.d: Skip for tic4x.
583 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
584 target does not support ELF.
585 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
586 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
587 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
588 tests for sh-pe and sh-rtemscoff targets.
589 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
591 (type): Run the noifunc version for alpha-freebsd and visium.
592 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
593 mn10200 or moxie targets.
594 * testsuite/gas/ft32/insn.d: Update expected disassembly.
595 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
597 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
598 mcore and rx targets.
599 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
601 (purge): Expect to fail on the ns32k and vax.
602 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
603 * testsuite/gas/nds32/ls.d: Likewise.
604 * testsuite/gas/nds32/sys-reg.d: Likewise.
605 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
606 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
607 * testsuite/gas/pe/section-align-3.d: Likewise.
608 * testsuite/gas/pe/section-exclude.d: Likewise.
609 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
611 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
612 for variations in whitespace.
613 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
615 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
616 Installs a 32-bit value without generating warnings on 64-bit
618 Use the new macro to replace the .word directives.
620 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
622 * testsuite/gas/arc/add_s.d: New file.
623 * testsuite/gas/arc/add_s.s: New file.
625 2016-06-14 Graham Markall <graham.markall@embecosm.com>
627 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
628 * testsuite/gas/arc/nps400-6.d: Likewise.
630 2016-06-14 Graham Markall <graham.markall@embecosm.com>
632 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
634 * testsuite/gas/arc/nps400-6.d: Likewise.
636 2016-06-14 Graham Markall <graham.markall@embecosm.com>
638 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
639 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
640 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
641 * testsuite/gas/arc/nps400-6.d: Likewise.
643 2016-06-14 Nick Clifton <nickc@redhat.com>
645 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
648 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
650 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
651 JALR relocations on R6.
652 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
653 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
654 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
655 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
656 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
657 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
659 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
660 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
662 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
663 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
665 * testsuite/gas/mips/mips.exp: Run the new tests.
667 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
669 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
670 * doc/c-aarch64.texi: Document that vulcan is a valid processor
673 2016-06-13 Nick Clifton <nickc@redhat.com>
675 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
676 that are not supported.
678 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
680 * config/tc-cr16.c (check_range): Likewise.
681 * config/tc-nios2.c (nios2_check_overflow): Likewise.
683 2016-06-08 Renlin Li <renlin.li@arm.com>
685 * config/tc-aarch64.c (print_operands): Substitute size.
686 (output_operand_error_record): Likewise.
688 2016-06-07 Alan Modra <amodra@gmail.com>
690 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
691 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
692 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
693 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
694 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
695 add vle_opcodes twice.
696 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
698 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
700 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
701 (arm_ext_ras): Renamed from arm_ext_v8_2.
702 (insns): Update for arm_ext_v8_2 renaming.
703 (arm_extensions): Add "ras".
704 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
705 * testsuite/gas/arm/armv8-a+ras.d: New.
706 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
709 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
711 * itbl-parse.y (yyerror): Use modern argument declaration style.
713 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
715 * config/tc-sh.c (parse_reg): Change type of mode argument to
717 (get_operand): Adjust.
718 (insert): Change type of how to bfd_reloc_code_real_type.
720 * config/tc-sh64.c (shmedia_get_operand): Adjust.
721 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
723 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
725 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
728 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
731 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
732 stbcx., sthcx., stwcx., stdcx.>: Add tests.
733 * gas/testsuite/gas/ppc/e6500.d: Likewise.
734 * gas/testsuite/gas/ppc/power8.s: Likewise.
735 * gas/testsuite/gas/ppc/power8.d: Likewise.
736 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
738 * gas/testsuite/gas/ppc/power4.d: Likewise.
740 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
743 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
744 * testsuite/gas/i386/x86-64-branch.d: Updated.
745 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
746 * testsuite/gas/i386/x86-64-branch-4.l: New file.
747 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
749 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
751 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
752 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
754 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
756 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
757 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
759 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
761 * configure.tgt: Replace -uclibc with *.
763 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
765 * config/tc-arc.c (parse_opcode_flags): New function.
766 (find_opcode_match): Move flag parsing code out to new function.
767 Ignore operands marked IGNORE.
768 (build_fake_opcode_hash_entry): New function.
769 (find_special_case_long_opcode): New function.
770 (find_special_case): Lookup long opcodes.
771 * testsuite/gas/arc/nps400-7.d: New file.
772 * testsuite/gas/arc/nps400-7.s: New file.
774 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
776 * config/tc-ns32k.c: Remove definition of input_line_pointer.
778 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
780 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
781 sentinal with iteration to array size.
783 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
785 * config/xtensa-relax.h: Move typedefs of enums to the enums
788 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
790 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
793 2016-06-01 Graham Markall <graham.markall@embecosm.com>
795 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
796 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
797 * testsuite/gas/arc/nps-400-1.d: Likewise.
799 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
802 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
803 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
804 noavx512ifma and noavx512vbmi.
805 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
806 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
808 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
809 * testsuite/gas/i386/noavx512-1.l: New file.
810 * testsuite/gas/i386/noavx512-1.s: Likewise.
811 * testsuite/gas/i386/noavx512-2.l: Likewise.
812 * testsuite/gas/i386/noavx512-2.s: Likewise.
814 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
817 * config/tc-i386.c (cpu_arch): Add 687.
818 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
819 nosse4.1, nosse4.2, nosse4 and noavx2.
820 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
821 register. Check cpuregxmm instead of cpusse for XMM register.
822 Check cpuregymm instead of cpuavx for YMM register. Check
823 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
824 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
825 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
826 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
827 * testsuite/gas/i386/arch-10.d (as): Likewise.
828 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
829 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
830 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
832 * testsuite/gas/i386/no87-3.l: New file.
833 * testsuite/gas/i386/no87-3.s: Likewise.
834 * testsuite/gas/i386/noavx-3.l: Likewise.
835 * testsuite/gas/i386/noavx-3.s: Likewise.
836 * testsuite/gas/i386/noavx-4.d: Likewise.
837 * testsuite/gas/i386/noavx-4.s: Likewise.
838 * testsuite/gas/i386/nosse-4.l: Likewise.
839 * testsuite/gas/i386/nosse-4.s: Likewise.
840 * testsuite/gas/i386/nosse-5.d: Likewise.
841 * testsuite/gas/i386/nosse-5.s: Likewise.
843 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
846 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
848 (match_template): Check Intel64/AMD64 ISA.
850 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
853 * config/tc-i386.c (intel64): New.
854 (cpu_flags_match): Set cpuamd64 and cpuintel64.
855 (md_parse_option): Set intel64 instead of cpuamd64 and
858 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
860 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
863 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
865 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
866 * testsuite/gas/ppc/altivec3.s: Likewise.
867 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
868 * testsuite/gas/ppc/power9.s: Likewise.
870 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
872 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
873 * testsuite/gas/i386/noavx-1.l: Likewise.
874 * testsuite/gas/i386/nommx-1.l: Likewise.
875 * testsuite/gas/i386/nosse-1.l: Likewise.
876 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
877 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
878 * testsuite/gas/i386/noavx-1.s: Likewise.
879 * testsuite/gas/i386/nommx-1.s: Likewise.
880 * testsuite/gas/i386/nosse-1.s: Likewise.
881 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
883 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
885 * config/tc-metag.c (metag_handle_align): Make the type of noop
888 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
890 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
891 bfd_reloc_code_real_type.
893 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
896 * config/tc-i386.c (cpu_flags_match): Require another match
898 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
899 x86-64-avx512vl-1 and x86-64-avx512vl-2.
900 * testsuite/gas/i386/avx512vl-1.l: New file.
901 * testsuite/gas/i386/avx512vl-1.s: Likewise.
902 * testsuite/gas/i386/avx512vl-2.l: Likewise.
903 * testsuite/gas/i386/avx512vl-2.s: Likewise.
904 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
905 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
906 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
907 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
909 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
912 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
913 * testsuite/gas/i386/x86-64-pr20141.d: New file.
914 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
916 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
918 * config/tc-i386.c (arch_entry): Remove negated.
919 (noarch_entry): New struct.
920 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
922 (set_cpu_arch): Check cpu_noarch after cpu_arch.
923 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
925 (output_message): New function.
926 (show_arch): Use it. Handle cpu_noarch.
927 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
928 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
929 * testsuite/gas/i386/noavx-1.l: New file.
930 * testsuite/gas/i386/noavx-1.s: Likewise.
931 * testsuite/gas/i386/noavx-2.s: Likewise.
932 * testsuite/gas/i386/noavx-2.l: Likewise.
933 * testsuite/gas/i386/nommx-1.s: Likewise.
934 * testsuite/gas/i386/nommx-1.l: Likewise.
935 * testsuite/gas/i386/nommx-2.s: Likewise.
936 * testsuite/gas/i386/nommx-2.l: Likewise.
937 * testsuite/gas/i386/nommx-3.s: Likewise.
938 * testsuite/gas/i386/nommx-3.l: Likewise.
939 * testsuite/gas/i386/nosse-1.s: Likewise.
940 * testsuite/gas/i386/nosse-1.l: Likewise.
941 * testsuite/gas/i386/nosse-2.s: Likewise.
942 * testsuite/gas/i386/nosse-2.l: Likewise.
943 * testsuite/gas/i386/nosse-3.s: Likewise.
944 * testsuite/gas/i386/nosse-3.l: Likewise.
946 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
949 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
950 instruction if supported by the currently selected fpu variant.
951 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
952 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
954 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
956 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
957 jump relocations against MIPS16 or microMIPS symbols on RELA
959 * testsuite/gas/mips/jalx-local.d: New test.
960 * testsuite/gas/mips/jalx-local-n32.d: New test.
961 * testsuite/gas/mips/jalx-local-n64.d: New test.
962 * testsuite/gas/mips/jalx-local.s: New test source.
963 * testsuite/gas/mips/mips.exp: Run the new tests.
965 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
967 * config/tc-mips.c (md_apply_fix)
968 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
971 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
973 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
974 operator to operatorT.
975 (map_suffix_reloc_to_operator): Change return type to operatorT.
977 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
979 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
981 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
983 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
984 handler_charp to const char *.
986 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
988 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
989 (ft32_target_format): Likewise.
990 (TARGET_FORMAT): Adjust.
992 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
994 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
995 (ia64_frob_label): Likewise.
997 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
999 * config/tc-cr16.c (check_range): Make type of retval op_err.
1000 * config/tc-crx.c: Likewise.
1002 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1004 * config/tc-arc.c (md_begin): Add XY registers.
1005 (cpu_types): Code density is default off for ARC EM.
1007 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1009 * config/tc-arc.c (attributes_t): Renamed attribute class to
1011 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1013 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1015 * configuse.tgt: Add entry for arm-phoenix.
1017 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1019 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1021 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1023 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1025 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1027 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1028 (md_begin): Likewise.
1029 (encode_condition): Likewise.
1030 (encode_cc3): Likewise.
1031 (encode_cc2): Likewise.
1032 (encode_operand): Likewise.
1033 (tic54x_undefined_symbol): Likewise.
1035 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1037 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1039 * doc/c-mips.texi: Document p6600 -march option.
1041 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1044 * config/tc-i386.c (md_apply_fix): Preserve addend for
1045 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1046 * testsuite/gas/i386/addend.d: New file.
1047 * testsuite/gas/i386/addend.s: Likewise.
1048 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1049 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1050 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1051 * testsuite/gas/i386/reloc32.d: Updated.
1053 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1055 * config/tc-mips.c (append_insn): Correct the encoding of a
1056 constant argument for microMIPS JALX.
1057 (tc_gen_reloc): Correct the encoding of an in-place addend for
1059 * testsuite/gas/mips/jalx-addend.d: New test.
1060 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1061 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1062 * testsuite/gas/mips/jalx-imm.d: New test.
1063 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1064 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1065 * testsuite/gas/mips/jalx-addend.s: New test source.
1066 * testsuite/gas/mips/jalx-imm.s: New test source.
1067 * testsuite/gas/mips/mips.exp: Run the new tests.
1069 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1071 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1074 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1076 * config/tc-arc.c (find_opcode_match): Remove casting away of
1078 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1080 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1082 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1084 (md_convert_frag): Likewise.
1086 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1088 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1089 cached opcode to NULL when we reach a non-matching opcode.
1090 * testsuite/gas/arc/asm-errors-2.d: New file.
1091 * testsuite/gas/arc/asm-errors-2.err: New file.
1092 * testsuite/gas/arc/asm-errors-2.s: New file.
1094 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1096 * config/tc-arc.c (tokenize_arguments): Add checks for array
1098 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1099 * testsuite/gas/arc/asm-errors.err: Update expected results.
1101 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1103 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1104 int to enum rx_cpu_types.
1106 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1108 * config/tc-dlx.c (struct machine_it): change the type of a field from
1109 int to bfd_reloc_code_real_type.
1110 * config/tc-tic4x.c: Likewise.
1112 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1114 * config/tc-v850.c (v850_target_arch): change type to enum
1116 * config/tc-v850.h (v850_target_arch): Likewise.
1118 2016-05-18 Alan Modra <amodra@gmail.com>
1120 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1121 allowed negative range.
1122 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1123 * testsuite/gas/ppc/power9.d: Update.
1125 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1127 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1128 disassembling and stop skipping targets.
1129 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1130 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1131 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1132 instruction for targets that have stronger alignment requirement.
1133 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1134 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1135 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1136 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1137 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1138 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1139 * testsuite/gas/arm/archv8m-main.d: Likewise.
1140 * testsuite/gas/arm/archv8m.s: Add label.
1141 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1142 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1143 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1145 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1147 * config/tc-m32r.c (mach_table): Make static and const.
1149 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1151 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1154 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1156 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1158 * config/tc-msp430.c (md_begin): Likewise.
1160 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1162 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1163 bfd_reloc_code_real_type where appropriate.
1164 (fixup16): Likewise.
1165 (fixup8_xg): Likewise.
1167 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1169 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1171 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1173 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1174 * testsuite/gas/ppc/power9.s: Likewise.
1176 2016-05-13 Alan Modra <amodra@gmail.com>
1178 * config/obj-coff.c (weak_uniquify): Delete unused var.
1180 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1182 * app.c (app_push): Use XNEW and related macros.
1183 * as.c (parse_args): Likewise.
1184 * cgen.c (make_right_shifted_expr): Likewise.
1185 (gas_cgen_tc_gen_reloc): Likewise.
1186 * config/bfin-defs.h: Likewise.
1187 * config/bfin-parse.y: Likewise.
1188 * config/obj-coff.c (stack_init): Likewise.
1189 (stack_push): Likewise.
1190 (coff_obj_symbol_new_hook): Likewise.
1191 (coff_obj_symbol_clone_hook): Likewise.
1192 (add_lineno): Likewise.
1193 (coff_frob_symbol): Likewise.
1194 * config/obj-elf.c (obj_elf_section_name): Likewise.
1195 (build_group_lists): Likewise.
1196 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1197 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1198 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1199 (find_or_make_literal_pool): Likewise.
1200 (add_to_lit_pool): Likewise.
1201 (fill_instruction_hash_table): Likewise.
1202 * config/tc-alpha.c (load_expression): Likewise.
1203 (emit_jsrjmp): Likewise.
1204 (s_alpha_ent): Likewise.
1205 (s_alpha_end): Likewise.
1206 (s_alpha_linkage): Likewise.
1207 (md_begin): Likewise.
1208 (tc_gen_reloc): Likewise.
1209 * config/tc-arc.c (arc_insert_opcode): Likewise.
1210 (arc_extcorereg): Likewise.
1211 * config/tc-bfin.c: Likewise.
1212 * config/tc-cr16.c: Likewise.
1213 * config/tc-cris.c: Likewise.
1214 * config/tc-crx.c (preprocess_reglist): Likewise.
1215 * config/tc-d10v.c: Likewise.
1216 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1217 (frv_tomcat_shuffle): Likewise.
1218 * config/tc-h8300.c: Likewise.
1219 * config/tc-i370.c (i370_macro): Likewise.
1220 * config/tc-i386.c (lex_got): Likewise.
1221 (md_parse_option): Likewise.
1222 * config/tc-ia64.c (alloc_record): Likewise.
1223 (set_imask): Likewise.
1224 (save_prologue_count): Likewise.
1225 (dot_proc): Likewise.
1226 (dot_endp): Likewise.
1227 (ia64_frob_label): Likewise.
1228 (add_qp_imply): Likewise.
1229 (add_qp_mutex): Likewise.
1230 (mark_resource): Likewise.
1231 (dot_alias): Likewise.
1232 * config/tc-m68hc11.c: Likewise.
1233 * config/tc-m68k.c (m68k_frob_label): Likewise.
1235 (mri_control_label): Likewise.
1236 (push_mri_control): Likewise.
1237 (build_mri_control_operand): Likewise.
1238 (s_mri_else): Likewise.
1239 (s_mri_break): Likewise.
1240 (s_mri_next): Likewise.
1241 (s_mri_for): Likewise.
1242 (s_mri_endw): Likewise.
1243 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1244 * config/tc-microblaze.c: Likewise.
1245 * config/tc-mmix.c (s_loc): Likewise.
1246 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1247 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1248 * config/tc-rl78.c: Likewise.
1249 * config/tc-rx.c (rx_include): Likewise.
1250 * config/tc-sh.c: Likewise.
1251 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1252 * config/tc-sparc.c: Likewise.
1253 * config/tc-spu.c: Likewise.
1254 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1255 (tic6x_start_unwind_section): Likewise.
1256 * config/tc-tilegx.c: Likewise.
1257 * config/tc-tilepro.c: Likewise.
1258 * config/tc-v850.c: Likewise.
1259 * config/tc-visium.c: Likewise.
1260 * config/tc-xgate.c: Likewise.
1261 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1262 (new_resource_table): Likewise.
1263 (resize_resource_table): Likewise.
1264 (xtensa_create_trampoline_frag): Likewise.
1265 (xtensa_maybe_create_literal_pool_frag): Likewise.
1266 (cache_literal_section): Likewise.
1267 * config/xtensa-relax.c (append_transition): Likewise.
1268 (append_condition): Likewise.
1269 (append_value_condition): Likewise.
1270 (append_constant_value_condition): Likewise.
1271 (append_literal_op): Likewise.
1272 (append_label_op): Likewise.
1273 (append_constant_op): Likewise.
1274 (append_field_op): Likewise.
1275 (append_user_fn_field_op): Likewise.
1276 (enter_opname_n): Likewise.
1277 (enter_opname): Likewise.
1278 (split_string): Likewise.
1279 (parse_insn_templ): Likewise.
1280 (clone_req_or_option_list): Likewise.
1281 (clone_req_option_list): Likewise.
1282 (parse_option_cond): Likewise.
1283 (parse_insn_pattern): Likewise.
1284 (parse_insn_repl): Likewise.
1285 (build_transition): Likewise.
1286 (build_transition_table): Likewise.
1287 * dw2gencfi.c (alloc_fde_entry): Likewise.
1288 (alloc_cfi_insn_data): Likewise.
1289 (cfi_add_CFA_remember_state): Likewise.
1290 (dot_cfi_escape): Likewise.
1291 (dot_cfi_fde_data): Likewise.
1292 (select_cie_for_fde): Likewise.
1293 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1294 * ecoff.c (ecoff_add_bytes): Likewise.
1295 (ecoff_build_debug): Likewise.
1296 * input-scrub.c (input_scrub_push): Likewise.
1297 (input_scrub_begin): Likewise.
1298 (input_scrub_next_buffer): Likewise.
1299 * itbl-ops.c (append_insns_as_macros): Likewise.
1300 (alloc_entry): Likewise.
1301 (alloc_field): Likewise.
1302 * listing.c (listing_newline): Likewise.
1303 (listing_listing): Likewise.
1304 * macro.c (get_any_string): Likewise.
1305 (delete_macro): Likewise.
1306 * stabs.c (generate_asm_file): Likewise.
1307 (stabs_generate_asm_lineno): Likewise.
1308 * subsegs.c (subseg_change): Likewise.
1309 (subseg_get): Likewise.
1310 * symbols.c (define_dollar_label): Likewise.
1311 (symbol_relc_make_sym): Likewise.
1312 * write.c (write_relocs): Likewise.
1314 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1316 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1317 (weak_name2altname): Likewise.
1318 (weak_uniquify): Likewise.
1319 (obj_coff_section): Likewise.
1320 (obj_coff_init_stab_section): Likewise.
1321 * config/obj-elf.c (obj_elf_section_name): Likewise.
1322 (obj_elf_init_stab_section): Likewise.
1323 * config/obj-evax.c (evax_shorten_name): Likewise.
1324 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1325 * config/tc-aarch64.c (create_register_alias): Likewise.
1326 * config/tc-alpha.c (load_expression): Likewise.
1327 (s_alpha_file): Likewise.
1328 (s_alpha_section_name): Likewise.
1329 (tc_gen_reloc): Likewise.
1330 * config/tc-arc.c (md_assemble): Likewise.
1331 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1332 (start_unwind_section): Likewise.
1333 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1334 (hppa_elf_mark_end_of_function): Likewise.
1335 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1336 (nios2_negate_arg): Likewise.
1337 * config/tc-rx.c (rx_section): Likewise.
1338 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1339 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1340 * config/tc-tic54x.c (tic54x_include): Likewise.
1341 (tic54x_macro_info): Likewise.
1342 (subsym_get_arg): Likewise.
1343 (subsym_substitute): Likewise.
1344 (tic54x_start_line_hook): Likewise.
1345 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1346 (xg_reverse_shift_count): Likewise.
1347 * config/xtensa-relax.c (enter_opname_n): Likewise.
1348 (split_string): Likewise.
1349 * dwarf2dbg.c (get_filenum): Likewise.
1350 (process_entries): Likewise.
1351 * expr.c (operand): Likewise.
1352 * itbl-ops.c (alloc_entry): Likewise.
1353 * listing.c (listing_message): Likewise.
1354 (listing_title): Likewise.
1355 * macro.c (check_macro): Likewise.
1356 * stabs.c (s_xstab): Likewise.
1357 * symbols.c (symbol_relc_make_expr): Likewise.
1358 * write.c (compress_debug): Likewise.
1360 2016-05-12 Nick Clifton <nickc@redhat.com>
1363 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1365 2016-05-11 Nick Clifton <nickc@redhat.com>
1368 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1369 big endian ARM configurations.
1371 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1372 Matthew Fortune <matthew.fortune@imgtec.com>
1374 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1376 (md_longopts): Likewise.
1377 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1378 (mips_ases): Define availability for DSPr3.
1379 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1380 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1381 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1383 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1384 .set nodspr3. Fix -mdspr2 formatting.
1385 * testsuite/gas/mips/mips32-dspr3.d: New file.
1386 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1387 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1389 2016-05-11 Nick Clifton <nickc@redhat.com>
1392 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1393 to the pool uses O_constant.
1394 * testsuite/gas/arm/pr20068.s: New test.
1395 * testsuite/gas/arm/pr20068.d: Test driver.
1397 2016-05-11 Nick Clifton <nickc@redhat.com>
1399 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1400 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1401 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1402 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1403 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1404 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1405 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1406 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1407 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1409 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1411 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1412 * testsuite/gas/i386/prefix.d: Adjust.
1413 * testsuite/gas/i386/rdpid.s: New test.
1414 * testsuite/gas/i386/rdpid.d: Ditto.
1415 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1416 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1417 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1418 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1420 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1422 * config/tc-i386.c (cpu_arch): Add RDPID.
1423 * doc/c-i386.texi: Document RDPID.
1425 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1427 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1428 set branch type of a symbol.
1430 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1432 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1433 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1435 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1436 (aeabi_set_public_attributes): Memorize the feature bits of the
1437 architecture selected for Tag_CPU_arch. Use it to set
1438 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1439 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1440 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1441 * testsuite/gas/arm/arch7em-bad-1.d: This.
1442 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1443 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1444 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1445 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1446 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1447 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1448 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1449 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1451 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1453 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1454 allowed_archs an array with 2 entries.
1455 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1456 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1457 (arm_extensions): Use separate entries in allowed_archs when several
1458 archs are allowed to use an extension and change ARCH_ANY in
1459 ARM_ARCH_NONE in allowed_archs.
1460 (arm_parse_extension): Check that, for each allowed_archs entry, all
1461 bits are set in the current architecture, ignoring ARM_ANY entries.
1462 (s_arm_arch_extension): Likewise.
1464 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1466 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1467 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1468 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1469 shared with a non M profile architecture.
1470 (do_rn): New function.
1471 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1473 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1474 (insns): Add ARMv8-M Security Extensions instructions.
1475 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1476 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1477 * testsuite/gas/arm/archv8m-cmse.s: New file.
1478 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1479 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1480 * testsuite/gas/arm/any-cmse.d: Likewise.
1481 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1482 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1483 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1484 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1485 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1486 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1488 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1490 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1491 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1493 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1495 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1496 (fpu_arch_vfp_v3): Likewise.
1497 (fpu_arch_neon_v1): Likewise.
1498 (arm_arch_full): Likewise.
1499 (parse_neon_el_struct_list): Initialize fields of firsttype.
1501 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1503 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1504 (arc_extinsn): Handle new introduced syntax.
1505 * testsuite/gas/arc/textinsn1op.d: New file.
1506 * testsuite/gas/arc/textinsn1op.s: Likewise.
1507 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1509 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1511 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1512 DW_LNS_fixed_advance_pc.
1514 2016-04-27 Alan Modra <amodra@gmail.com>
1516 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1517 (xmemdup0): New inline function.
1519 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1521 * config/tc-mips.c (code_option_type): New enum.
1522 (parse_code_option): Return status indicating option type.
1523 (s_mipsset): Update `parse_code_option' call site accordingly.
1524 Always set register sizes from the ISA with ISA overrides.
1525 (s_module): Update `parse_code_option' call site.
1526 * testsuite/gas/mips/isa-override-1.d: New test.
1527 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1528 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1529 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1530 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1531 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1532 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1533 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1534 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1535 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1536 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1537 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1538 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1539 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1540 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1541 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1542 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1543 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1544 * testsuite/gas/mips/isa-override-2.l: New list test.
1545 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1546 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1547 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1548 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1549 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1550 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1551 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1552 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1553 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1554 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1555 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1557 * testsuite/gas/mips/isa-override-1.s: New test source.
1558 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1559 * testsuite/gas/mips/isa-override-2.s: New test source.
1560 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1561 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1562 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1563 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1564 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1565 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1566 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1567 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1568 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1569 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1570 * testsuite/gas/mips/mips.exp: Run the new tests.
1572 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1575 * config/tc-bfin.c: Likewise.
1576 * config/tc-ia64.c: Likewise.
1577 * config/tc-mep.c: Likewise.
1578 * config/tc-metag.c: Likewise.
1579 * config/tc-nios2.c: Likewise.
1580 * config/tc-rl78.c: Likewise.
1582 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1584 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1585 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1586 (ARC Directives): Add NPS400 to .cpu directive list.
1588 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1590 * config/tc-aarch64.c (aarch64_features): Add "ras".
1591 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1592 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1593 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1594 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1595 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1597 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1599 * testsuite/gas/arc/nps400-6.d: New file.
1600 * testsuite/gas/arc/nps400-6.s: New file.
1602 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1604 * testsuite/gas/arc/nps400-4.d: New file.
1605 * testsuite/gas/arc/nps400-4.s: New file.
1606 * testsuite/gas/arc/nps400-5.d: New file.
1607 * testsuite/gas/arc/nps400-5.s: New file.
1609 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1611 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1614 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1616 Revert prevous change.
1617 * config/tc-arc.c (arc_option): Make .cpu directive
1618 case-sensitive again.
1620 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1622 * config/tc-arc.c (arc_option): Make .cpu directive
1625 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1627 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1629 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1631 * config/tc-mips.c (md_begin): Remove useless assignment.
1633 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1635 * Makefile.in: Regenerated with automake 1.11.6.
1636 * aclocal.m4: Likewise.
1637 * doc/Makefile.in: Likewise.
1639 2016-04-15 Alan Modra <amodra@gmail.com>
1641 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1643 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1645 * config/tc-nios2.c (nios2_as_options): Make file static.
1646 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1647 * config/tc-sparc.c (native_op_table): Likewise.
1649 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1651 * config/tc-m32c.c (M32C_Macros): Remove.
1652 * config/tc-msp430.c (option_numbers): Likewise.
1654 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1656 * testsuite/gas/arc/nps400-3.d: New file.
1657 * testsuite/gas/arc/nps400-3.s: New file.
1659 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1661 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1662 * testsuite/gas/arc/warn.s: Likewise.
1663 * testsuite/gas/elf/elf.exp: Run test for arc.
1665 2016-04-14 Nick Clifton <nickc@redhat.com>
1668 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1669 sections possibly having the SHF_STRINGS flag bit set.
1670 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1672 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1674 * config/tc-arc.c (mach_type_specified_p): Change type to
1676 (arc_option): Set private flags when parsing cpu pseudo-op.
1677 (md_parse_option): Set mach_type_specified_p to TRUE.
1679 2016-04-13 Nick Clifton <nickc@redhat.com>
1682 * testsuite/gas/v850/pr19937.s: New test.
1683 * testsuite/gas/v850/pr19937.d: New test control file.
1684 * testsuite/gas/v850/basic.exp: Run the new test.
1686 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1687 Andrew Bennett <andrew.bennett@imgtec.com>
1689 * config/tc-mips.c (relaxed_branch_length): Use the long
1690 sequence where the target is a weak symbol.
1691 (relaxed_micromips_32bit_branch_length): Likewise.
1692 (relaxed_micromips_16bit_branch_length): Likewise.
1693 * testsuite/gas/mips/branch-weak-1.d: New test.
1694 * testsuite/gas/mips/branch-weak-2.d: New test.
1695 * testsuite/gas/mips/branch-weak-3.d: New test.
1696 * testsuite/gas/mips/branch-weak-4.d: New test.
1697 * testsuite/gas/mips/branch-weak-5.d: New test.
1698 * testsuite/gas/mips/branch-weak.l: New stderr output.
1699 * testsuite/gas/mips/branch-weak.s: New test source.
1700 * testsuite/gas/mips/mips.exp: Run the new tests.
1702 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1704 * config/tc-mips.c (relaxed_branch_length): Use the long
1705 sequence where the distance cannot be determined.
1706 (relaxed_micromips_32bit_branch_length): Likewise.
1707 * testsuite/gas/mips/branch-extern-1.d: New test.
1708 * testsuite/gas/mips/branch-extern-2.d: New test.
1709 * testsuite/gas/mips/branch-extern-3.d: New test.
1710 * testsuite/gas/mips/branch-extern-4.d: New test.
1711 * testsuite/gas/mips/branch-extern.l: New stderr output.
1712 * testsuite/gas/mips/branch-extern.s: New test source.
1713 * testsuite/gas/mips/branch-section-1.d: New test.
1714 * testsuite/gas/mips/branch-section-2.d: New test.
1715 * testsuite/gas/mips/branch-section-3.d: New test.
1716 * testsuite/gas/mips/branch-section-4.d: New test.
1717 * testsuite/gas/mips/branch-section.l: New stderr output.
1718 * testsuite/gas/mips/branch-section.s: New test source.
1719 * testsuite/gas/mips/mips.exp: Run the new tests.
1721 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1723 * testsuite/gas/arc/textauxregister.d: New file.
1724 * testsuite/gas/arc/textauxregister.s: Likewise.
1725 * testsuite/gas/arc/textcondcode.d: Likewise.
1726 * testsuite/gas/arc/textcondcode.s: Likewise.
1727 * testsuite/gas/arc/textcoreregister.d: Likewise.
1728 * testsuite/gas/arc/textcoreregister.s: Likewise.
1729 * testsuite/gas/arc/textpseudoop.d: Likewise.
1730 * testsuite/gas/arc/textpseudoop.s: Likewise.
1731 * testsuite/gas/arc/ld2.d: Update test.
1732 * testsuite/gas/arc/st.d: Likewise.
1733 * testsuite/gas/arc/taux.d: Likewise.
1734 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1735 .extCoreRegister and .extAuxRegister documentation.
1736 * config/tc-arc.c (arc_extcorereg): New function.
1737 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1738 .extAuxRegister pseudo-ops.
1739 (extRegister_t): New type.
1740 (ext_condcode, arc_aux_hash): New global variable.
1741 (find_opcode_match): Check for extensions.
1742 (preprocess_operands): Likewise.
1743 (md_begin): Add aux registers in a hash.
1744 (assemble_insn): Update use arc_flags member.
1745 (tokenize_extregister): New function.
1746 (create_extcore_section): Likewise.
1747 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1749 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1751 * testsuite/gas/arc/noargs_a7.d: New file.
1752 * testsuite/gas/arc/noargs_a7.s: Likewise.
1753 * testsuite/gas/arc/noargs_hs.d: Likewise.
1754 * testsuite/gas/arc/noargs_hs.s: Likewise.
1756 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1758 * testsuite/gas/arc/textinsn-errors.d: New File.
1759 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1760 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1761 * testsuite/gas/arc/textinsn2op.d: Likewise.
1762 * testsuite/gas/arc/textinsn2op.s: Likewise.
1763 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1764 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1765 * testsuite/gas/arc/textinsn3op.d: Likewise.
1766 * testsuite/gas/arc/textinsn3op.s: Likewise.
1767 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1769 * config/tc-arc.c (arcext_section): New variable.
1770 (arc_extinsn): New function.
1771 (md_pseudo_table): Add .extInstruction pseudo op.
1772 (attributes_t): New type.
1773 (suffixclass, syntaxclass, syntaxclassmod): New constant
1775 (find_opcode_match): Remove arc_num_opcodes.
1776 (md_begin): Likewise.
1777 (tokenize_extinsn): New function.
1778 (arc_set_ext_seg): Likewise.
1779 (create_extinst_section): Likewise.
1781 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1783 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1784 (arc_adjust_symtab): New function.
1785 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1786 (obj_adjust_symtab): Likewise.
1787 * testsuite/gas/arc/taux.d: New file.
1788 * testsuite/gas/arc/taux.s: Likewise.
1790 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1792 * config/tc-mips.c (s_option): Sanitize `.option picX'
1794 * testsuite/gas/mips/option-pic-1.d: New test.
1795 * testsuite/gas/mips/option-pic-2.l: New list test.
1796 * testsuite/gas/mips/option-pic-1.s: New test source.
1797 * testsuite/gas/mips/option-pic-2.s: New test source.
1798 * testsuite/gas/mips/mips.exp: Run the new tests.
1800 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1802 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1804 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1805 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1806 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1807 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1808 * testsuite/gas/mips/mips.exp: Run the new tests.
1810 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1812 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1814 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1816 * messages.c (as_bad): Fix a typo in description.
1818 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1820 * config/tc-mips.c (mips_check_options): Unify messages.
1822 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1824 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1827 2016-04-08 Nick Clifton <nickc@redhat.com>
1830 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1831 COFF and AOUT sparc targets.
1833 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1835 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1836 * testsuite/gas/arc/nps400-2.d: New file.
1837 * testsuite/gas/arc/nps400-2.s: New file.
1839 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1841 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1843 (arc_opcode_hash_entry_iterator_init): New function.
1844 (arc_opcode_hash_entry_iterator_next): New function.
1845 (find_opcode_match): Iterate over all arc_opcode entries
1846 referenced by the arc_opcode_hash_entry passed in as a parameter.
1848 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1850 * config/tc-arc.c (arc_find_opcode): Now returns
1851 arc_opcode_hash_entry pointer.
1852 (find_opcode_match): Update argument type, extract arc_opcode from
1853 incoming arc_opcode_hash_entry.
1854 (find_special_case_pseudo): Update return type.
1855 (find_special_case_flag): Update return type.
1856 (find_special_case): Update return type.
1857 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1858 instruction mnemonic, then use find_opcode_match to identify
1859 specific arc_opcode.
1861 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1863 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1864 (arc_find_opcode): New function.
1865 (find_special_case_pseudo): Use arc_find_opcode.
1866 (find_special_case_flag): Likewise.
1867 (assemble_tokens): Likewise.
1868 (md_begin): Build hash using struct arc_opcode_hash_entry.
1870 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1872 * config/tc-arc.c (arc_option): Prepare string for automatic
1874 (declare_register): Likewise.
1876 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1878 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1879 Correct entry for RDMA. Alpha sort entries.
1881 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1883 * config/tc-arc.c (tokenize_flags): Allow greater range of
1884 characters into flag names.
1886 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1888 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1890 (preprocess_operands): Delete.
1891 (assemble_tokens): Remove call to preprocess_operands.
1893 2016-04-07 Nick Clifton <nickc@redhat.com>
1896 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1897 inside a %-macro could not be fully parsed.
1898 * expr.c (integer_constant): Accept and ignore U suffixes to
1900 (operand): When a missing closing parenthesis is encountered,
1901 report the character that was found instead.
1902 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1903 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1904 * testsuite/gas/sparc/pr19910-1.s: New test.
1905 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1906 * testsuite/gas/sparc/pr19910-2.s: New test.
1907 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1909 2016-04-06 Nick Clifton <nickc@redhat.com>
1911 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1912 an EINT instruction. Warn/fix as necessary.
1913 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1914 * testsuite/gas/msp430/bad.l: Update expected messages.
1916 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1918 * testsuite/gas/arc/nps400-1.d: Update expected results.
1919 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1921 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1923 * config/tc-arc.c (is_code_density_p): Compare directly the
1925 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1926 (check_cpu_feature): New function.
1927 (find_opcode_match): Use check_cpu_feature function.
1928 (preprocess_operands): Likewise.
1929 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1930 * testsuite/gas/arc/tdpfp.d: New file.
1931 * testsuite/gas/arc/tfpuda.d: Likewise.
1932 * testsuite/gas/arc/tfpx.s: Likewise.
1934 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1936 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1937 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1938 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1939 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1940 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1941 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1942 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1943 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1945 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1947 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1949 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1950 JUMP instructions type.
1951 * testsuite/gas/arc/relocs-errors.d: New file.
1952 * testsuite/gas/arc/relocs-errors.err: Likewise.
1953 * testsuite/gas/arc/relocs-errors.s: Likewise.
1955 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1958 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1959 only if i.disp_encoding != disp_encoding_32bit.
1960 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1961 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1962 * gas/testsuite/gas/i386/disp32.d: Updated.
1963 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1965 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1968 * testsuite/gas/i386/i386.exp: Run pr19498.
1969 * testsuite/gas/i386/pr19498.d: New file.
1970 * testsuite/gas/i386/pr19498.s: Likewise.
1972 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1974 * config/tc-arc.h: Include 'opcode/arc.h'.
1975 (MAX_INSN_ARGS): Delete.
1976 (MAX_INSN_FLGS): Delete.
1978 2016-04-04 Alan Modra <amodra@gmail.com>
1981 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1982 from function on all paths that set sy_resolving.
1984 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1986 * app.c (app_push): use XNEW macro.
1988 * config/obj-elf.c (obj_elf_change_section): Likewise.
1989 (elf_copy_symbol_attributes): Likewise.
1990 (obj_elf_size): Likewise.
1991 (build_group_lists): Likewise.
1992 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1993 (md_assemble): Likewise.
1994 (tc_gen_reloc): Likewise.
1995 (get_upper_str): Likewise.
1996 (aarch64_parse_features): Likewise.
1997 * config/tc-arm.c (insert_reg_alias): Likewise.
1998 (insert_neon_reg_alias): Likewise.
1999 (find_or_make_literal_pool): Likewise.
2000 (s_arm_elf_cons): Likewise.
2001 (add_unwind_opcode): Likewise.
2002 (arm_parse_extension): Likewise.
2003 * config/tc-avr.c (create_record_for_frag): Likewise.
2004 * config/tc-crx.c: Likewise.
2005 * config/tc-d30v.c: Likewise.
2006 * config/tc-dlx.c (s_proc): Likewise.
2007 * config/tc-ft32.c: Likewise.
2008 * config/tc-h8300.c: Likewise.
2009 * config/tc-hppa.c (pa_proc): Likewise.
2010 (create_new_space): Likewise.
2011 (create_new_subspace): Likewise.
2012 * config/tc-i860.c: Likewise.
2013 * config/tc-i960.c: Likewise.
2014 * config/tc-ia64.c: Likewise.
2015 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2016 (iq2000_record_hi16): Likewise.
2017 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2018 * config/tc-m32r.c (debug_sym): Likewise.
2019 (m32r_record_hi16): Likewise.
2020 * config/tc-m68k.c (m68k_ip): Likewise.
2021 (md_begin): Likewise.
2022 * config/tc-mcore.c: Likewise.
2023 * config/tc-microblaze.c (check_got): Likewise.
2024 * config/tc-mips.c (append_insn): Likewise.
2025 (s_mipsset): Likewise.
2026 (mips_record_label): Likewise.
2027 (s_mips_end): Likewise.
2028 * config/tc-mmix.c (mmix_frob_file): Likewise.
2029 * config/tc-mn10200.c: Likewise.
2030 * config/tc-mn10300.c: Likewise.
2031 * config/tc-moxie.c: Likewise.
2032 * config/tc-msp430.c: Likewise.
2033 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2034 * config/tc-ns32k.c: Likewise.
2035 * config/tc-or1k.c: Likewise.
2036 * config/tc-pdp11.c: Likewise.
2037 * config/tc-pj.c (fake_opcode): Likewise.
2038 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2039 (ppc_macro): Likewise.
2040 (ppc_dwsect): Likewise.
2041 (ppc_machine): Likewise.
2042 * config/tc-rl78.c (rl78_frag_init): Likewise.
2043 * config/tc-rx.c (rx_frag_init): Likewise.
2044 * config/tc-s390.c (s390_lit_suffix): Likewise.
2045 (s390_machine): Likewise.
2046 (s390_machinemode): Likewise.
2047 * config/tc-score.c (s3_insert_reg): Likewise.
2048 (s3_gen_reloc): Likewise.
2049 * config/tc-score7.c (s7_insert_reg): Likewise.
2050 (s7_gen_reloc): Likewise.
2051 * config/tc-tic30.c (tic30_operand): Likewise.
2052 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2053 * config/tc-tic54x.c (stag_add_field): Likewise.
2054 (tic54x_struct): Likewise.
2055 (tic54x_space): Likewise.
2056 (tic54x_field): Likewise.
2057 (tic54x_mlib): Likewise.
2058 (subsym_substitute): Likewise.
2059 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2060 * config/tc-vax.c: Likewise.
2061 * config/tc-xc16x.c: Likewise.
2062 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2063 (directive_push): Likewise.
2064 (xtensa_begin_directive): Likewise.
2065 (tokenize_arguments): Likewise.
2066 (xtensa_add_literal_sym): Likewise.
2067 (new_resource_table): Likewise.
2068 (resize_resource_table): Likewise.
2069 (emit_single_op): Likewise.
2070 (xtensa_create_trampoline_frag): Likewise.
2071 (xtensa_maybe_create_literal_pool_frag): Likewise.
2072 (xtensa_add_config_info): Likewise.
2073 (xtensa_realloc_fixup_cache): Likewise.
2074 (add_subseg_info): Likewise.
2075 (cache_literal_section): Likewise.
2076 (add_xt_block_frags): Likewise.
2077 (add_xt_prop_frags): Likewise.
2078 (init_op_placement_info_table): Likewise.
2079 (build_section_rename): Likewise.
2080 * config/tc-z80.c: Likewise.
2081 * config/tc-z8k.c: Likewise.
2082 * depend.c (register_dependency): Likewise.
2083 * dwarf2dbg.c (get_line_subseg): Likewise.
2084 (dwarf2_gen_line_info_1): Likewise.
2085 (get_filenum): Likewise.
2086 * ecoff.c (allocate_scope): Likewise.
2087 (allocate_vlinks): Likewise.
2088 (allocate_shash): Likewise.
2089 (allocate_thash): Likewise.
2090 (allocate_tag): Likewise.
2091 (allocate_forward): Likewise.
2092 (allocate_thead): Likewise.
2093 (allocate_lineno_list): Likewise.
2094 * expr.c (make_expr_symbol): Likewise.
2095 * hash.c (hash_new_sized): Likewise.
2096 * input-file.c (input_file_push): Likewise.
2097 * listing.c (file_info): Likewise.
2098 (listing_newline): Likewise.
2099 * macro.c (new_formal): Likewise.
2100 (define_macro): Likewise.
2101 * remap.c (add_debug_prefix_map): Likewise.
2102 * symbols.c (symbol_find_noref): Likewise.
2103 (define_dollar_label): Likewise.
2104 (fb_label_instance_inc): Likewise.
2105 (symbol_relc_make_value): Likewise.
2107 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2109 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2110 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2111 (ppc_znop): Likewise.
2112 (ppc_pe_section): Likewise.
2113 (ppc_frob_symbol): Likewise.
2114 * config/tc-tic30.c (tic30_operand): Likewise.
2115 * config/tc-tic4x.c (tic4x_sect): Likewise.
2116 (tic4x_usect): Likewise.
2118 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2120 * config/tc-alpha.c: Const qualify FLT_CHARS.
2121 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2122 * config/tc-cris.h: Likewise.
2124 * config/tc-mmix.c (md_atof): Adjust comment.
2125 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2126 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2128 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2130 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2131 * config/tc-score7.c (s7_gen_reloc): Likewise.
2133 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2135 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2136 bfd_reloc_code_real_type.
2138 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2140 * config/bfin-parse.y (current_inputline): Remove definition.
2141 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2143 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2145 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2148 2016-04-02 Alan Modra <amodra@gmail.com>
2151 * read.c (assign_symbol): Consume rest of line after an error
2152 rather than continuing to process the line.
2154 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2156 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2157 (MAX_FLAG_NAME_LENGTH): ...this.
2158 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2159 * config/tc-arc.c (tokenize_flags): Likewise.
2161 2016-04-01 Alan Modra <amodra@gmail.com>
2163 * cgen.c (weak_operand_overflow_check): Return const char*.
2164 * messages.c (as_internal_value_out_of_range): Formatting.
2165 (as_warn_value_out_of_range): Consify prefix param.
2166 (as_bad_value_out_of_range): Likewise.
2167 * read.c (s_errwarn): Constify msg..
2168 (s_float_space, float_cons): ..and err.
2169 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2170 ieee_md_atof, vax_md_atof): Update prototypes.
2171 * tc.h (md_atof): Update prototype.
2172 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2173 * config/atof-vax.c (vax_md_atof): Likewise.
2174 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2175 * config/tc-aarch64.c (md_atof): Return const char*.
2176 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2177 (s_alpha_comm): Constify sec_name.
2178 (section_name): Constify.
2179 (s_alpha_section): Consify name..
2180 (alpha_elf_section_letter): ..and ptr_msg param..
2181 (md_atof): ..and return.
2182 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2183 * config/tc-arc.c (md_atof): Return const char*.
2184 * config/tc-arm.c (md_atof): Likewise.
2185 * config/tc-avr.c (md_atof): Likewise.
2186 * config/tc-bfin.c (md_atof): Likewise.
2187 * config/tc-cr16.c (md_atof): Likewise.
2188 * config/tc-cris.c (md_atof): Likewise.
2189 * config/tc-crx.c (md_atof): Likewise.
2190 * config/tc-d10v.c (md_atof): Likewise.
2191 * config/tc-d30v.c (md_atof): Likewise.
2192 * config/tc-dlx.c (md_atof): Likewise.
2193 * config/tc-epiphany.c (md_atof): Likewise.
2194 * config/tc-fr30.c (md_atof): Likewise.
2195 * config/tc-frv.c (md_atof): Likewise.
2196 * config/tc-ft32.c (md_atof): Likewise.
2197 * config/tc-h8300.c (md_atof): Likewise.
2198 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2199 (struct default_space_dict): Likewise.
2200 (create_new_space): Constify name param.
2201 (create_new_subspace): Likewise.
2202 (is_defined_space, is_defined_subspace): Likewise.
2203 (pa_parse_space_stmt): Constify space_name param.
2204 (md_atof): Return const char*.
2205 (pa_spaces_begin): Constify name.
2206 * config/tc-i370.c (md_atof): Return const char*.
2207 * config/tc-i386.c (md_atof): Likewise.
2208 (x86_64_section_letter): Constify ptr_msg param.
2209 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2210 * config/tc-i860.c (struct i860_it): Constify error.
2211 (md_atof): Return const char*.
2212 * config/tc-i960.c (md_atof): Likewise.
2213 * config/tc-ia64.c (md_atof): Likewise.
2214 (ia64_elf_section_letter): Constify ptr_msg param.
2215 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2216 * config/tc-ip2k.c (md_atof): Return const char*.
2217 * config/tc-iq2000.c (md_atof): Likewise.
2218 * config/tc-lm32.c (md_atof): Likewise.
2219 * config/tc-m32c.c (md_atof): Likewise.
2220 * config/tc-m32r.c (md_atof): Likewise.
2221 * config/tc-m68hc11.c (md_atof): Likewise.
2222 * config/tc-m68k.c (md_atof): Likewise.
2223 * config/tc-mcore.c (md_atof): Likewise.
2224 * config/tc-mep.c (md_atof): Likewise.
2225 (mep_elf_section_letter): Constify ptr_msg param.
2226 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2227 * config/tc-metag.c (md_atof): Return const char*.
2228 * config/tc-microblaze.c (md_atof): Likewise.
2229 * config/tc-microblaze.h (md_atof): Delete prototype.
2230 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2231 (md_atof): Return const char*.
2232 * config/tc-mmix.c (md_atof): Likewise.
2233 * config/tc-mn10200.c (md_atof): Likewise.
2234 * config/tc-mn10300.c (md_atof): Likewise.
2235 * config/tc-moxie.c (md_atof): Likewise.
2236 * config/tc-msp430.c (md_atof): Likewise.
2237 * config/tc-mt.c (md_atof): Likewise.
2238 * config/tc-nds32.c (md_atof): Likewise.
2239 * config/tc-nios2.c (md_atof): Likewise.
2240 (nios2_elf_section_letter): Constify ptr_msg param.
2241 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2242 * config/tc-ns32k.c (md_atof): Return const char*.
2243 * config/tc-or1k.c (md_atof): Likewise.
2244 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2245 (md_atof): Return const char*.
2246 * config/tc-pj.c (md_atof): Likewise.
2247 * config/tc-ppc.c (md_atof): Likewise.
2248 * config/tc-rl78.c (md_atof): Likewise.
2249 * config/tc-rx.c (md_atof): Likewise.
2250 * config/tc-s390.c (md_atof): Likewise.
2251 * config/tc-score.c (s3_atof, md_atof): Likewise.
2252 * config/tc-sh.c (md_atof): Likewise.
2253 * config/tc-sparc.c (struct sparc_it): Constify error.
2254 (md_atof): Return const char*.
2255 * config/tc-spu.c (md_atof): Likewise.
2256 * config/tc-tic30.c (md_atof): Likewise.
2257 * config/tc-tic4x.c (md_atof): Likewise.
2258 * config/tc-tic54x.c (md_atof): Likewise.
2259 * config/tc-tic6x.c (md_atof): Likewise.
2260 * config/tc-tilegx.c (md_atof): Likewise.
2261 * config/tc-tilepro.c (md_atof): Likewise.
2262 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2263 * config/tc-vax.c (md_atof): Likewise.
2264 * config/tc-visium.c (md_atof): Likewise.
2265 * config/tc-xc16x.c (md_atof): Likewise.
2266 * config/tc-xgate.c (md_atof): Likewise.
2267 * config/tc-xstormy16.c (md_atof): Likewise.
2268 * config/tc-xtensa.c (md_atof): Likewise.
2269 * config/tc-z80.c (md_atof): Likewise.
2270 * config/tc-z8k.c (md_atof): Likewise.
2272 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2274 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2276 (xtensa_section_rename): Make argument type const char *.
2277 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2279 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2281 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2284 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2286 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2288 (m32c_indirect_operand): Likewise.
2289 * config/tc-nds32.c (do_pseudo_b): Likewise.
2290 (do_pseudo_bal): Likewise.
2291 (do_pseudo_ls_bhw): Likewise.
2293 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2295 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2297 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2299 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2301 * config/tc-sparc.c (s_register): Cast a literal to char * in
2304 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2306 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2308 * config/tc-m32r.c (expand_debug_syms): Likewise.
2309 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2310 * config/tc-z80.c (md_begin): Likewise.
2311 * stabs.c (stabs_generate_asm_func): Likewise.
2313 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2315 * cgen.c: Modernize the way functions declare arguments.
2316 * config/tc-bfin.c: Likewise.
2317 * config/tc-pdp11.c: Likewise.
2318 * literal.c: Likewise.
2320 * stabs.c: Likewise.
2322 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2324 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2325 variables unsigned char[].
2326 * config/tc-alpha.c (alpha_handle_align): Likewise.
2327 * config/tc-arm.c (arm_handle_align): Likewise.
2328 * config/tc-z80.c: Likewise.
2330 2016-03-30 Nick Clifton <nickc@redhat.com>
2333 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2336 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2338 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2339 * testsuite/gas/elf/elf.exp: Likewise.
2340 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2342 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2344 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2346 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2348 * testsuite/gas/arc/ext2op.d: New file.
2349 * testsuite/gas/arc/ext2op.s: Likewise.
2350 * testsuite/gas/arc/ext3op.d: Likewise.
2351 * testsuite/gas/arc/ext3op.s: Likewise.
2353 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2355 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2357 * config/tc-alpha.c (md_parse_option): Likewise.
2358 * config/tc-arc.c (md_parse_option): Likewise.
2359 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2360 (md_parse_option): Likewise.
2361 * config/tc-avr.c (md_parse_option): Likewise.
2362 * config/tc-bfin.c (md_parse_option): Likewise.
2363 * config/tc-cr16.c (md_parse_option): Likewise.
2364 * config/tc-cris.c (s_cris_arch): Likewise.
2365 (md_parse_option): Likewise.
2366 * config/tc-crx.c (md_parse_option): Likewise.
2367 * config/tc-d10v.c (md_parse_option): Likewise.
2368 * config/tc-d30v.c (md_parse_option): Likewise.
2369 * config/tc-dlx.c (md_parse_option): Likewise.
2370 * config/tc-epiphany.c (md_parse_option): Likewise.
2371 * config/tc-fr30.c (md_parse_option): Likewise.
2372 * config/tc-frv.c (md_parse_option): Likewise.
2373 * config/tc-ft32.c (md_parse_option): Likewise.
2374 * config/tc-h8300.c (md_parse_option): Likewise.
2375 * config/tc-hppa.c (md_parse_option): Likewise.
2376 * config/tc-i370.c (md_parse_option): Likewise.
2377 * config/tc-i386.c (md_parse_option): Likewise.
2378 * config/tc-i860.c (md_parse_option): Likewise.
2379 * config/tc-i960.c (md_parse_option): Likewise.
2380 * config/tc-ia64.c (md_parse_option): Likewise.
2381 * config/tc-ip2k.c (md_parse_option): Likewise.
2382 * config/tc-iq2000.c (md_parse_option): Likewise.
2383 * config/tc-lm32.c (md_parse_option): Likewise.
2384 * config/tc-m32c.c (md_parse_option): Likewise.
2385 * config/tc-m32r.c (md_parse_option): Likewise.
2386 * config/tc-m68hc11.c (md_parse_option): Likewise.
2387 * config/tc-m68k.c (md_parse_option): Likewise.
2388 * config/tc-mcore.c (md_parse_option): Likewise.
2389 * config/tc-mep.c (md_parse_option): Likewise.
2390 * config/tc-metag.c (struct metag_long_option): Likewise.
2391 (md_parse_option): Likewise.
2392 * config/tc-microblaze.c (md_parse_option): Likewise.
2393 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2394 * config/tc-mips.c (md_parse_option): Adjust.
2395 * config/tc-mmix.c (md_parse_option): Likewise.
2396 * config/tc-mn10200.c (md_parse_option): Likewise.
2397 * config/tc-mn10300.c (md_parse_option): Likewise.
2398 * config/tc-moxie.c (md_parse_option): Likewise.
2399 * config/tc-msp430.c (md_parse_option): Likewise.
2400 * config/tc-mt.c (md_parse_option): Likewise.
2401 * config/tc-nds32.c (md_parse_option): Likewise.
2402 * config/tc-nds32.h (nds32_parse_option): Likewise.
2403 * config/tc-nios2.c (md_parse_option): Likewise.
2404 * config/tc-ns32k.c (md_parse_option): Likewise.
2405 * config/tc-or1k.c (md_parse_option): Likewise.
2406 * config/tc-pdp11.c (md_parse_option): Likewise.
2407 * config/tc-pj.c (md_parse_option): Likewise.
2408 * config/tc-ppc.c (md_parse_option): Likewise.
2409 * config/tc-rl78.c (md_parse_option): Likewise.
2410 * config/tc-rx.c (md_parse_option): Likewise.
2411 * config/tc-s390.c (s390_parse_cpu): Likewise.
2412 * config/tc-score.c (md_parse_option): Likewise.
2413 * config/tc-sh.c (md_parse_option): Likewise.
2414 * config/tc-sparc.c (md_parse_option): Likewise.
2415 * config/tc-spu.c (md_parse_option): Likewise.
2416 * config/tc-tic30.c (md_parse_option): Likewise.
2417 * config/tc-tic4x.c (md_parse_option): Likewise.
2418 * config/tc-tic54x.c (md_parse_option): Likewise.
2419 * config/tc-tic6x.c (md_parse_option): Likewise.
2420 * config/tc-tilegx.c (md_parse_option): Likewise.
2421 * config/tc-tilepro.c (md_parse_option): Likewise.
2422 * config/tc-v850.c (md_parse_option): Likewise.
2423 * config/tc-vax.c (md_parse_option): Likewise.
2424 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2425 * config/tc-xc16x.c (md_parse_option): Likewise.
2426 * config/tc-xgate.c (md_parse_option): Likewise.
2427 * config/tc-xstormy16.c (md_parse_option): Likewise.
2428 * config/tc-xtensa.c (md_parse_option): Likewise.
2429 * config/tc-z80.c (md_parse_option): Likewise.
2430 * config/tc-z8k.c (md_parse_option): Likewise.
2431 * tc.h (md_parse_option): Likewise.
2433 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2435 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2436 * config/tc-hppa.c (fix_new_hppa): Likewise.
2437 (pa_vtable_entry): Likewise.
2438 (pa_vtable_inherit): Likewise.
2439 * config/tc-m68k.c (md_begin): Likewise.
2441 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2443 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2444 * config/obj-elf.h (obj_elf_section_name): Adjust.
2445 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2446 (aarch64_parse_cpu): Likewise.
2447 (aarch64_parse_arch): Likewise.
2448 * config/tc-arm.c (arm_parse_extension): Likewise.
2449 (arm_parse_cpu): Likewise.
2450 (arm_parse_arch): Likewise.
2451 * config/tc-nds32.c: Likewise.
2452 * config/xtensa-relax.c (parse_special_fn): Likewise.
2453 * stabs.c (generate_asm_file): Likewise.
2455 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2457 * config/tc-cr16.c (cr16_assemble): New function.
2458 (md_assemble): Call cr16_assemble.
2460 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2462 * as.c (parse_args): Adjust.
2463 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2464 * config/obj-elf.c (elf_frob_symbol): Adjust.
2466 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2468 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2469 registers to be in the 16..31 range.
2471 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2473 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2476 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2478 * config/tc-visium.c (md_atof): Localize the string returned on
2481 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2483 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2484 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2485 * config/tc-m68hc11.c (md_begin): Likewise.
2486 (print_opcode_list): Likewise.
2487 * config/tc-msp430.c (msp430_section): Likewise.
2488 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2489 (s3_build_dependency_insn_hsh): Likewise.
2490 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2491 (s7_build_dependency_insn_hsh): Likewise.
2492 * config/tc-tic4x.c: Likewise.
2493 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2494 (subsym_get_arg): Likewise.
2495 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2496 (get_directive): Likewise.
2497 (cache_literal_section): Likewise.
2498 * config/xtensa-relax.c: Likewise.
2499 * symbols.c (symbol_create): Likewise.
2500 (local_symbol_make): Likewise.
2501 (symbol_relc_make_expr): Likewise.
2503 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2505 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2508 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2510 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2513 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2515 * config/tc-ia64.c (ia64_do_align): Remove.
2516 (ia64_cons_align): Call do_align () directly.
2517 (dot_proc): Likewise.
2518 (stmt_float_cons): Likewise.
2520 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2522 * listing.c (listing_message): Use XNEW style allocation macros.
2523 * read.c (read_a_source_file): Likewise.
2524 (read_symbol_name): Likewise.
2525 (s_mri_common): Likewise.
2526 (assign_symbol): Likewise.
2527 (s_reloc): Likewise.
2528 (emit_expr_with_reloc): Likewise.
2529 (s_incbin): Likewise.
2530 (s_include): Likewise.
2531 * sb.c (sb_build): Likewise.
2532 (sb_check): Likewise.
2534 2016-03-22 Alan Modra <amodra@gmail.com>
2536 * write.c (record_alignment): Revert 2016-02-18 change.
2538 2016-03-22 Alan Modra <amodra@gmail.com>
2540 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2541 (emit_jsrjmp, tc_gen_reloc): Likewise.
2542 * config/tc-i370.c (i370_macro): Likewise.
2544 2016-03-22 Nick Clifton <nickc@redhat.com>
2546 * configure: Regenerate.
2548 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2550 * testsuite/gas/arc/nps400-0.d: New file.
2551 * testsuite/gas/arc/nps400-0.s: New file.
2552 * testsuite/gas/arc/nps400-1.d: New file.
2553 * testsuite/gas/arc/nps400-1.s: New file.
2555 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2557 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2558 declarations to start of block. Reset code on all flags before
2559 attempting to match them. Handle multiple hits on the same flag.
2561 * testsuite/gas/arc/asm-errors.d: New file.
2562 * testsuite/gas/arc/asm-errors.err: New file.
2563 * testsuite/gas/arc/asm-errors.s: New file.
2565 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2567 * config/tc-arc.c (cpu_types): Add nps400 entry.
2568 (check_zol): Handle nps400.
2570 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2572 * config/tc-arc.c (arc_select_cpu): Remove use of
2575 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2577 * config/tc-arc.c (arc_target): Delay initialisation until
2579 (arc_target_name): Likewise.
2580 (arc_features): Likewise.
2581 (arc_mach_type): Likewise.
2582 (cpu_types): Remove "all" entry.
2583 (arc_select_cpu): New function, most of the content is from...
2584 (md_parse_option): ... here. Call new arc_select_cpu.
2585 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2587 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2589 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2590 * testsuite/gas/arc/inline-data-2.d: New file.
2592 2016-03-21 Nick Clifton <nickc@redhat.com>
2594 * atof-generic.c: Replace use of alloca with call to xmalloc.
2596 * dwarf2dbg.c: Likewise.
2597 * macro.c: Likewise.
2598 * remap.c: Likewise.
2599 * stabs.c: Likewise.
2600 * symbols.c: Likewise.
2601 * config/obj-elf.c: Likewise.
2602 * config/tc-aarch64.c: Likewise.
2603 * config/tc-arc.c: Likewise.
2604 * config/tc-arm.c: Likewise.
2605 * config/tc-avr.c: Likewise.
2606 * config/tc-ia64.c: Likewise.
2607 * config/tc-mips.c: Likewise.
2608 * config/tc-msp430.c: Likewise.
2609 * config/tc-nds32.c: Likewise.
2610 * config/tc-ppc.c: Likewise.
2611 * config/tc-sh.c: Likewise.
2612 * config/tc-tic30.c: Likewise.
2613 * config/tc-tic54x.c: Likewise.
2614 * config/tc-xstormy16.c: Likewise.
2615 * config/te-vms.c: Likewise.
2616 * configure: Regenerate.
2618 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2620 * tc-i386.c (f32_1): Change type to unsigned char[].
2640 (jump_31): Likewise.
2641 (f32_patt): Likewise.
2642 (f16_patt): Likewise.
2651 (alt_patt): Likewise.
2653 2016-03-18 Nick Clifton <nickc@redhat.com>
2655 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2656 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2657 .tlsdescldr and .xword directives.
2660 * testsuite/gas/aarch64/pr19721.s: New test source file.
2661 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2663 * doc/as.texinfo: Place the target specific command line options
2664 into their own man page section.
2666 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2668 * config/tc-arm.c (N_S_32): New.
2669 (N_F_16_32): Likewise.
2670 (N_SUF_32): Support N_F16.
2671 (N_IF_32): Likewise.
2672 (neon_dyadic_misc): Likewise.
2673 (do_neon_cmp): Likewise.
2674 (do_neon_cmp_inv): Likewise.
2675 (do_neon_mul): Likewise.
2676 (do_neon_fcmp_absolute): Likewise.
2677 (do_neon_step): Likewise.
2678 (do_neon_abs_neg): Likewise.
2679 (CVT_FLAVOR_VAR): Likewise.
2680 (do_neon_cvt_1): Likewise.
2681 (do_neon_recip_est): Likewise.
2682 (do_vmaxnm): Likewise.
2683 (do_vrint_1): Likewise.
2684 (neon_check_type): Check architecture support for FP16 extension.
2685 (insns): Update comments.
2686 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2687 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2688 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2689 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2691 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2693 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2696 2016-03-16 Nick Clifton <nickc@redhat.com>
2698 * read.c (emit_expr_with_reloc): Add code check a bignum with
2700 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2702 * testsuite/gas/elf/bignum.s: New test source file.
2703 * testsuite/gas/elf/bignum.d: New test driver file.
2704 * testsuite/gas/elf/elf.exp: Run the new test.
2706 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2708 * doc/c-i386.texi (Register Naming): Update to details of the
2709 latest architecture version.
2711 2016-03-10 Mickael Guene <mickael.guene@st.com>
2714 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2716 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2717 (do_t_mov_cmp): Likewise.
2718 (do_t_add_sub): Protect against bad relocations usage.
2719 (do_t_mov_cmp): Likewise.
2720 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2721 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2722 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2723 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2725 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2727 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2729 (do_neon_ld_st_lane): Likewise.
2730 (do_neon_ld_dup): Likewise.
2732 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2734 * testsuite/gas/arc/inline-data-1.d: New file.
2735 * testsuite/gas/arc/inline-data-1.s: New file.
2737 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2739 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2740 * doc/c-arm.texi: Add cortex-r8.
2742 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2744 * config/tc-arc.c: Add const qualifiers.
2745 * config/tc-h8300.c (md_begin): Likewise.
2746 * config/tc-ia64.c (print_prmask): Likewise.
2747 * config/tc-msp430.c (msp430_operands): Likewise.
2748 * config/tc-nds32.c (struct suffix_name): Likewise.
2749 (struct nds32_parse_option_table): Likewise.
2750 (struct nds32_set_option_table): Likewise.
2751 (do_pseudo_pushpopm): Likewise.
2752 (do_pseudo_pushpop_stack): Likewise.
2753 (nds32_relax_relocs): Likewise.
2754 (nds32_flag): Likewise.
2755 (struct nds32_hint_map): Likewise.
2756 (nds32_find_reloc_table): Likewise.
2757 (nds32_match_hint_insn): Likewise.
2758 * config/tc-s390.c: Likewise.
2759 * config/tc-sh.c (get_specific): Likewise.
2760 * config/tc-tic30.c: Likewise.
2761 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2762 (tic4x_indirect_parse): Likewise.
2763 * config/tc-vax.c (vax_cons): Likewise.
2764 * config/tc-z80.c (struct reg_entry): Likewise.
2765 * config/tc-epiphany.c (md_assemble): Adjust.
2766 (epiphany_assemble): New function.
2767 (epiphany_elf_section_rtn): Call do_align directly.
2768 (epiphany_elf_section_text): Likewise.
2769 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2770 (ip2k_elf_section_text): Likewise.
2771 * read.c (do_align): Make it not static.
2772 * read.h (do_align): New prototype.
2774 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2776 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2777 for ARMv8.1 AdvSIMD use.
2778 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2779 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2781 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2783 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2785 (record_feature_use): New.
2786 (mark_feature_used): Use record_feature_use.
2787 (do_neon_qrdmlah): New.
2788 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2790 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2791 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2792 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2793 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2794 Make source file explicit.
2795 * testsuite/gas/arm/armv8-a+rdma.l: New.
2796 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2797 directives. Fix white-space.
2798 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2800 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2802 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2804 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2805 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2807 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2808 (tc_arc_fix_adjustable): Changed default return value to 1.
2809 * testsuite/gas/arc/j.d: Updated expected symbol
2810 * testsuite/gas/arc/jl.d: Likewise
2811 * testsuite/gas/arc/relax-avoid1.d: Likewise
2812 * testsuite/gas/arc/st.d: Likewise
2814 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2816 * config/tc-arc.c: Enable code density instructions for ARC EM.
2818 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2821 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2823 * as.c (flag_use_elf_stt_common): New.
2824 (show_usage): Add --elf-stt-common=.
2825 (option_values): Add OPTION_ELF_STT_COMMON.
2826 (std_longopts): Add --elf-stt-common=.
2827 (parse_args): Handle --elf-stt-common=.
2828 * as.h (flag_use_elf_stt_common): New.
2829 * config.in: Regenerated.
2830 * configure: Likewise.
2831 * configure.ac: Add --enable-elf-stt-common and define
2832 DEFAULT_GENERATE_ELF_STT_COMMON.
2833 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2834 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2835 * doc/as.texinfo: Document --elf-stt-common=.
2836 * testsuite/gas/elf/common3.s: New file.
2837 * testsuite/gas/elf/common3a.d: Likewise.
2838 * testsuite/gas/elf/common3b.d: Likewise.
2839 * testsuite/gas/elf/common4.s: Likewise.
2840 * testsuite/gas/elf/common4a.d: Likewise.
2841 * testsuite/gas/elf/common4b.d: Likewise.
2842 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2843 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2844 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2846 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2847 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2848 --elf-stt-common=no to as.
2849 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2850 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2851 --elf-stt-common=no to as.
2852 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2853 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2854 of dw2-compress-3 and dw2-compressed-3.
2856 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2858 * as.c (select_emulation_mode): Add const qualifiers.
2860 * config/bfin-defs.h: Likewise.
2861 * config/bfin-parse.y: Likewise.
2862 * config/rx-parse.y: Likewise.
2863 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2864 (struct aarch64_cpu_option_table): Likewise.
2865 (struct aarch64_arch_option_table): Likewise.
2866 (struct aarch64_option_cpu_value_table): Likewise.
2867 (struct aarch64_long_option_table): Likewise.
2868 (struct aarch64_option_abi_value_table): Likewise.
2869 * config/tc-arm.c (struct reloc_entry): Likewise.
2870 (tc_gen_reloc): Likewise.
2871 (struct arm_option_table): Likewise.
2872 (struct arm_legacy_option_table): Likewise.
2873 (struct arm_cpu_option_table): Likewise.
2874 (struct arm_arch_option_table): Likewise.
2875 (struct arm_option_extension_value_table): Likewise.
2876 (struct arm_option_fpu_value_table): Likewise.
2877 (struct arm_option_value_table): Likewise.
2878 (struct arm_long_option_table): Likewise.
2879 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2880 (struct mcu_type_s): Likewise.
2881 (struct exp_mod_s): Likewise.
2882 (avr_operand): Likewise.
2883 (avr_operands): Likewise.
2884 * config/tc-d10v.c (md_begin): Likewise.
2885 * config/tc-dlx.c: Likewise.
2886 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2887 * config/tc-ft32.c (parse_condition): Likewise.
2888 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2889 * config/tc-hppa.c (pa_ip): Likewise.
2890 (hppa_regname_to_dw2regnum): Likewise.
2891 * config/tc-i370.c (i370_elf_suffix): Likewise.
2892 * config/tc-i960.c (struct tabentry): Likewise.
2893 * config/tc-m32r.c: Likewise.
2894 * config/tc-m68k.c: Likewise.
2895 * config/tc-m68k.h: Likewise.
2896 * config/tc-mcore.c (parse_psrmod): Likewise.
2897 * config/tc-metag.c (struct metag_core_option): Likewise.
2898 (struct metag_long_option): Likewise.
2899 * config/tc-microblaze.c: Likewise.
2900 * config/tc-mips.c (macro): Likewise.
2901 * config/tc-mn10200.c: Likewise.
2902 * config/tc-mn10300.c: Likewise.
2903 * config/tc-msp430.c (struct rcodes_s): Likewise.
2904 (struct hcodes_s): Likewise.
2905 (md_parse_option): Likewise.
2906 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2907 (optlist): Likewise.
2908 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2909 (tc_ppc_regname_to_dw2regnum): Likewise.
2910 * config/tc-ppc.h: Likewise.
2911 * config/tc-rl78.c: Likewise.
2912 * config/tc-rx.c (struct cpu_type): Likewise.
2913 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2914 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2915 (sparc_ip): Likewise.
2916 * config/tc-spu.c (insn_fmt_string): Likewise.
2917 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2918 * config/tc-v850.c: Likewise.
2919 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2920 (struct visium_long_option_table): Likewise.
2921 * config/tc-xgate.c: Likewise.
2922 * config/tc-z8k.c: Likewise.
2923 * read.c (add_include_dir): Likewise.
2926 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2928 * testsuite/gas/all/gas.exp: Change target pattern to cover
2930 * testsuite/gas/all/redef3.d: Likewise.
2931 * testsuite/gas/elf/elf.exp: Likewise.
2933 2016-02-24 Renlin Li <renlin.li@arm.com>
2935 * config/tc-arm.c (BAD_FP16): New error message macro.
2936 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2937 fp16 scalar instructions.
2938 (neon_check_type): Allow different size from key.
2939 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2940 (try_vfp_nsyn): Likewise.
2941 (do_vfp_nsyn_mla_mls): Likewise.
2942 (do_vfp_nsyn_fma_fms): Likewise.
2943 (do_vfp_nsyn_ldm_stm): Likewise
2944 (do_vfp_nsyn_sqrt): Likewise
2945 (do_vfp_nsyn_div): Likewise
2946 (do_vfp_nsyn_nmul): Likewise.
2947 (do_vfp_nsyn_cmp): Likewise.
2948 (do_neon_shll): Likewise.
2949 (do_vfp_nsyn_cvt_fpv8): Likewise.
2950 (do_neon_cvttb_2): Likewise.
2951 (do_neon_mov): Likewise.
2952 (do_neon_rshift_round_imm): Likewise.
2953 (do_neon_ldr_str): Likewise.
2954 (do_vfp_nsyn_fpv8): Likewise.
2955 (do_vmaxnm): Likewise.
2956 (do_vrint_1): Likewise.
2957 (insns): New entry for vins, vmovx.
2958 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2959 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2960 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2961 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2962 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2963 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2964 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2966 2016-02-24 Renlin Li <renlin.li@arm.com>
2968 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2969 (neon_shape_class): New SC_HALF.
2970 (neon_shape_el): New SE_H.
2971 (neon_shape_el_size): New size for SE_H.
2972 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2973 (neon_select_shape): Add SE_H support code.
2974 (el_type_of_type_chk): Use N_F_ALL.
2975 (do_vfp_nsyn_cvt): Add SE_H shape support.
2976 (do_neon_cvtz): Likewise.
2977 (do_neon_cvt_1): Likewise.
2978 (do_neon_cvttb_1): Likewise.
2980 2016-02-24 Renlin Li <renlin.li@arm.com>
2982 * testsuite/gas/arm/copro.d: Adjust output.
2983 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2985 2016-02-24 Renlin Li <renlin.li@arm.com>
2987 * testsuite/gas/arm/mask_1.d: New.
2988 * testsuite/gas/arm/mask_1.s: New.
2990 2016-02-24 Renlin Li <renlin.li@arm.com>
2992 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2993 * testsuite/gas/arm/copro.d: Update.
2995 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2997 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2998 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3000 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3002 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3004 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3006 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3009 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3011 * output-file.c (output_file_create): Make file name argument const.
3012 (output_file_close): Likewise.
3013 * output-file.h (output_file_create): Adjust.
3014 (output_file_close): Likewise.
3015 * depend.c (quote_string_for_make): Make src argument const char *.
3016 (register_dependency): Likewise.
3017 (wrap_output): Likewise.
3018 * as.h (register_dependency): Adjust.
3019 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3021 * symbols.c (S_SET_EXTERNAL): Likewise.
3022 * input-scrub.c (as_where): Return the file name.
3023 * as.h (as_where): Adjust prototype.
3024 * app.c (do_scrub_chars): Adjust.
3025 * cond.c (s_elseif): Likewise.
3027 (initialize_cframe): Likewise.
3028 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3029 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3030 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3031 * config/tc-aarch64.c (output_info): Likewise.
3032 * config/tc-ia64.c (md_assemble): Likewise.
3033 (dot_alias): Likewise.
3034 * config/tc-m68k.c (m68k_frob_label): Likewise.
3035 * config/tc-mmix.c (s_bspec): Likewise.
3036 (mmix_handle_mmixal): Likewise.
3037 * config/tc-rx.c (rx_include): Likewise.
3038 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3039 (tic54x_adjust_symtab): Likewise.
3040 * config/tc-xtensa.c (directive_push): Likewise.
3041 (xtensa_sanity_check): Likewise.
3042 (xtensa_relax_frag): Likewise.
3043 (md_convert_frag): Likewise.
3044 (tinsn_to_slotbuf): Likewise.
3045 * dwarf2dbg.c (dwarf2_where): Likewise.
3046 * ecoff.c (add_file): Likewise.
3047 (ecoff_generate_asm_lineno): Likewise.
3048 * expr.c (make_expr_symbol): Likewise.
3049 * frags.c (frag_new): Likewise.
3050 (frag_var_init): Likewise.
3051 * listing.c (listing_newline): Likewise.
3052 * messages.c (identify): Likewise.
3053 (as_show_where): Likewise.
3054 (as_warn_internal): Likewise.
3055 (as_bad_internal): Likewise.
3056 * read.c (s_irp): Likewise.
3057 (s_macro): Likewise.
3058 (s_reloc): Likewise.
3059 * stabs.c (stabs_generate_asm_file): Likewise.
3060 (stabs_generate_asm_lineno): Likewise.
3061 (stabs_generate_asm_func): Likewise.
3062 * write.c (fix_new_internal): Likewise.
3063 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3064 (as_warn_value_out_of_range): Adjust prototype.
3065 (as_bad_value_out_of_range): Adjust prototype.
3066 * messages.c (identify): Make file name argument const char *.
3067 (as_warn_internal): Likewise.
3068 (as_warn_where): Likewise.
3069 (as_bad_internal): Likewise.
3070 (as_bad_where): Likewise.
3071 (as_internal_value_out_of_range): Likewise.
3072 (as_warn_value_out_of_range): Likewise.
3073 (as_bad_value_out_of_range): Likewise.
3074 * as.h (found_comment_file): Change type to const char *.
3075 * cond.c (file_line::file): Likewise.
3076 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3077 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3078 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3079 * config/tc-aarch64.c (output_info): Likewise.
3080 * config/tc-alpha.c (insert_operand): Likewise.
3081 * config/tc-arc.c (insert_operand): Likewise.
3082 * config/tc-d30v.c (check_size): Likewise.
3083 * config/tc-ia64.c (struct alias): Likewise.
3084 * config/tc-m68k.c (struct label_line): Likewise.
3085 * config/tc-mcore.c (md_apply_fix): Likewise.
3086 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3087 * config/tc-mips.c (mips16_immed): Likewise.
3088 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3089 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3090 * config/tc-rx.c (rx_include): Likewise.
3091 * config/tc-s390.c (s390_insert_operand): Likewise.
3092 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3093 (tic54x_adjust_symtab): Likewise.
3094 * config/tc-tilegx.c (insert_operand): Likewise.
3095 (apply_special_operator): Likewise.
3096 * config/tc-tilepro.c (insert_operand): Likewise.
3097 * config/tc-xtensa.c (directive_push): Likewise.
3098 * ecoff.c (add_file): Likewise.
3099 (ecoff_generate_asm_lineno): Likewise.
3100 * listing.c (listing_newline): Likewise.
3101 * read.c (s_irp): Likewise.
3102 * write.c (install_reloc): Likewise.
3103 * write.h (struct fix): Likewise.
3104 * input-file.c (file_name): Change type to const char *.
3105 (saved_file::file_name): Likewise.
3106 (input_file_open): Change type of argument to const char *.
3107 * input-file.h (input_file_open): Adjust.
3108 * input-scrub.c (logical_input_file): change type to const char *.
3109 (physical_input_file): Likewise.
3110 (struct input_save): Adjust.
3111 (input_scrub_push): Adjust.
3112 (input_scrub_begin): Adjust.
3114 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3115 (input_scrub_include_file): Likewise.
3116 (new_logical_line_flags): Likewise.
3117 (new_logical_line): Likewise.
3119 * frags.h (struct frag): Change type of fr_file to const char *.
3120 * expr.c (expr_symbol_where): Change type of file argument to
3122 * expr.h (expr_symbol_where): Likewise.
3123 * config/tc-i370.c (md_apply_fix): adjust.
3124 * config/tc-mmix.c (mmix_md_end): Likewise.
3125 * config/tc-ppc.c (md_apply_fix): Likewise.
3126 * config/tc-s390.c (md_apply_fix): Likewise.
3127 * symbols.c (report_op_error): Likewise.
3128 (resolve_symbol_value): Likewise.
3129 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3130 (rsrc::file): Likewise.
3131 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3133 (xtensa_relax_frag): Likewise.
3134 (md_convert_frag): Likewise.
3135 (tinsn_to_slotbuf): Likewise.
3136 * expr.c (expr_symbol_line): Likewise.
3137 * macro.c (define_macro): Likewise.
3138 * macro.h (macro_struct): Likewise.
3139 * messages.c (as_show_where): Likewise.
3140 * read.c (s_macro): Likewise.
3141 * stabs.c (stabs_generate_asm_file): Likewise.
3142 (generate_asm_file): Likewise.
3143 (stabs_generate_asm_lineno): Likewise.
3144 * write.h (struct reloc_list): Likewise.
3145 * input-scrub.c (as_where): Change return type to const char *.
3146 * as.h (as_wheree): Adjust.
3148 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3150 * write.c (compress_debug): Move BFD compression bits setting
3152 (write_object_file): Here.
3154 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3156 * config/tc-i386.c (register_number): Check RegVRex.
3157 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3158 with %zmm19 and %zmm3.
3159 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3160 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3162 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3163 Jiong Wang <jiong.wang@arm.com>
3165 * config/tc-arm.c (arm_ext_fp16): New.
3166 (arm_extensions): New entry for "fp16".
3168 2016-02-19 Nick Clifton <nickc@redhat.com>
3171 * read.c (read_a_source_file): Check for assemble_one returning
3172 with input_line_pointer set to NULL.
3174 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3176 * listing.c (rebuffer_line): Change return type to void.
3178 * symbols.c (decode_local_label_name): Make type a const char *.
3179 * listing.c (print_source): Make type of p const char *.
3180 (print_line): Make type of string const char *.
3181 (buffer_line): Return const char *.
3182 (title): Make type const char *.
3183 (subtitle): Likewise.
3184 (listing_listing): Make type of p const char *.
3185 * messages.c (as_internal_value_out_of_range): Make type of prefix
3187 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3188 and string const char *.
3189 * read.c (_bfd_rel): Make type of name const char *.
3190 * app.c (out_string): Change type to const char *.
3191 (struct app_save::out_string): Likewise.
3193 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3194 Nick Clifton <nickc@redhat.com>
3196 * read.c (finish_bundle): Avoid recording a negative alignment.
3197 (do_align): Use unsigned values for n, len and max. Only create
3198 a frag if the alignment requirement is greater than the minimum
3199 byte alignment. Avoid recording a negative alignment.
3200 (s_align): Use unsigned values where appropriate.
3201 (bss_alloc): Use an unsigned value for the alignment.
3202 (sizeof_sleb128): Add a comment noting that we encode one octet
3203 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3204 (emit_leb129_expr): Abort if the emitted encoding was longer than
3206 * read.h (output_leb128): Update prototype.
3207 (sizeof_leb128): Update prototype.
3208 (bss_alloc): Update prototype.
3209 * write.c (record_alignment): Use an unsigned value for the
3210 alignment. Do not record alignments less than the minimum
3211 alignment for a byte.
3212 * write.h (record_alignment): Update prototype.
3214 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3216 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3217 .init.literal/.fini.literal section name.
3218 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3219 list of xtensa tests.
3220 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3221 init-fini-literals test result patterns.
3222 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3223 init-fini-literals test.
3225 2016-02-17 Nick Clifton <nickc@redhat.com>
3227 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3228 devices.csv file as of March 2016.
3230 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3232 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3234 (tc_arc_regname_to_dw2regnum): Likewise.
3235 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3236 (tc_cfi_frame_initial_instructions): Likewise.
3237 (tc_regname_to_dw2regnum): Likewise.
3238 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3239 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3240 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3242 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3244 * doc/internals.texi (S_IS_EXTERN): Remove.
3246 2016-02-16 Nick Clifton <nickc@redhat.com>
3248 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3251 2016-02-16 Renlin Li <renlin.li@arm.com>
3254 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3255 * testsuite/gas/aarch64/movw_label.d: New.
3256 * testsuite/gas/aarch64/movw_label.s: New.
3258 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3261 * config/rx-parse.y (MOV): Opcode generation for index
3262 register addressing mode.
3263 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3264 * testsuite/gas/rx/pr19665.s: New file.
3265 * testsuite/gas/rx/pr19665.s: New file.
3266 * testsuite/gas/rx/mov.d: Update expected output.
3268 2016-02-15 Nick Clifton <nickc@redhat.com>
3270 * doc/as.texinfo (.section): Document that numeric values can now
3271 be used for the flags and type fields of the ELF target's .section
3272 directive. Add notes about the restrictions on setting flags and
3274 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3275 to be given processor specific section types. Allow processor and
3276 application specific flags of a section to be set after
3278 (obj_elf_parse_section_letters): Handle parsing numeric values.
3279 (obj_elf_section_type): Handle parsing numeric values.
3280 (obj_elf_section): Allow numeric type values.
3281 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3282 * testsuite/gas/elf/section10.d: New test.
3283 * testsuite/gas/elf/section10.s: Source file for new test.
3284 * testsuite/gas/elf/elf.exp: Run the new test.
3285 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3286 the description of the flags produced by readelf.
3287 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3288 * NEWS: Mention the new feature.
3290 2016-02-11 Nick Clifton <nickc@redhat.com>
3293 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3294 until it is actually used.
3295 (cfi_set_sections): Set cfi_sections_set to true.
3296 (dot_cfi_startproc): Likewise.
3297 (dot_cfi_endproc): Likewise.
3298 (dot_cfi_fde_data): Likewise.
3299 (cfi_finish): Likewise.
3300 (dot_cfi_sections): Do not set cfi_sections_set.
3301 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3302 their own cfi section name. Also note that the directive can be
3303 reissued provided that CFI generation has not started.
3304 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3305 .cfi_endproc directives so that the redefinition of .cfi_sections
3306 will trigger the generation of the error message.
3307 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3308 number of error message.
3310 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3311 Janek van Oirschot <jvanoirs@synopsys.com>
3313 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3314 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3316 (arc_flags, arc_relax_type): New structure.
3317 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3318 (RELAX_TABLE_ENTRY_MAX): New define.
3319 (relaxation_state, md_relax_table, arc_relaxable_insns)
3320 (arc_num_relaxable_ins): New variable.
3321 (rlx_operand_type, arc_rlx_types): New enums.
3322 (arc_relaxable_ins): New structure.
3323 (OPTION_RELAX): New option.
3324 (arc_insn): New relax member.
3325 (arc_flags): Remove.
3326 (relax_insn_p): New function.
3327 (apply_fixups): Likewise.
3328 (relaxable_operand): Likewise.
3329 (may_relax_expr): Likewise.
3330 (relaxable_flag): Likewise.
3331 (arc_pcrel_adjust): Likewise.
3332 (md_estimate_size_before_relax): Implement.
3333 (md_convert_frag): Likewise.
3334 (md_parse_option): Handle new mrelax option.
3335 (md_show_usage): Likewise.
3336 (assemble_insn): Set relax member.
3337 (emit_insn0): New function.
3338 (emit_insn1): Likewise.
3339 (emit_insn): Handle relaxation case.
3340 * NEWS: Mention the new relaxation option.
3341 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3342 * doc/as.texinfo (Target ARC Options): Likewise.
3343 * testsuite/gas/arc/relax-avoid1.d: New file.
3344 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3345 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3346 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3347 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3348 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3349 * testsuite/gas/arc/relax-b.d: Likewise.
3350 * testsuite/gas/arc/relax-b.s: Likewise.
3352 2016-02-08 Nick Clifton <nickc@redhat.com>
3354 * config/tc-ia64.c (dot_prologue): Fix formatting.
3356 2016-02-04 Nick Clifton <nickc@redhat.com>
3358 * config/obj-elf.c (obj_elf_change_section): Remove support for
3359 ARM NOREAD sections.
3360 * config/tc-arm.c (arm_elf_section_letter): Delete.
3361 * config/tc-arm.h (md_elf_section_letter): Delete.
3362 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3363 * testsuite/gas/arm/section-execute-only.d: Delete.
3364 * testsuite/gas/arm/section-execute-only.s: Delete.
3366 2016-02-04 Nick Clifton <nickc@redhat.com>
3369 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3370 to handle encoding of RRUX instruction.
3371 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3373 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3375 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3377 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3378 substitutions for BFD_RELOC_* as unsigned.
3379 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3380 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3381 * testsuite/gas/xtensa/loc.s: New file: loc test.
3383 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3385 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3387 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3390 * NEWS: Mention new command line option -mrelax-relocations and
3391 new configure option --enable-x86-relax-relocations for x86
3393 * config.in: Regenerated.
3394 * configure.ac: Add --enable-x86-relax-relocations.
3395 (ac_default_x86_relax_relocations): New. Default to 1 except
3396 for x86 Solaris targets older than Solaris 12.
3397 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3398 * configure: Likewise.
3399 * config/tc-i386.c (generate_relax_relocations): New.
3400 (OPTION_MRELAX_RELOCATIONS): Likewise.
3401 (output_disp): Don't generate relax relocations if
3402 generate_relax_relocations is 0.
3403 (md_longopts): Add -mrelax-relocations.
3404 (md_show_usage): Likewise.
3405 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3406 * doc/c-i386.texi: Document -mrelax-relocations=.
3407 * testsuite/gas/i386/got-no-relax.d: New file.
3408 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3409 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3410 * testsuite/gas/i386/localpic.d: Likewise.
3411 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3412 * testsuite/gas/i386/reloc32.d: Likewise.
3413 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3414 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3415 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3416 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3417 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3418 x86-64-gotpcrel-no-relax.
3420 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3422 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3425 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3427 * NEWS: Remove duplicated marker for 2.26.
3429 2016-02-02 Renlin Li <renlin.li@arm.com>
3431 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3433 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3435 * testsuite/gas/ip2k/allinsn.d: New file.
3436 * testsuite/gas/ip2k/allinsn.s: New file.
3437 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3439 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3441 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3442 some load instructions.
3443 * testsuite/gas/epiphany/allinsn.d: Likewise.
3444 * testsuite/gas/epiphany/regression.d: Likewise.
3446 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3448 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3449 suffixes from instruction mnemonics in expected output.
3450 * testsuite/gas/epiphany/allinsn.d: Likewise.
3451 * testsuite/gas/epiphany/regression.d: Likewise.
3452 * testsuite/gas/epiphany/sample.d: Likewise.
3454 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3456 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3458 * testsuite/gas/epiphany/allinsn.d: Likewise.
3459 * testsuite/gas/epiphany/sample.d: Likewise.
3461 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3463 * testsuite/gas/epiphany/sample.d: Update expected output.
3465 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3467 * config/tc-arc.c (md_apply_fix): Allow addendum.
3468 (arc_reloc_op): Allow complex expressions for tpoff.
3469 (md_apply_fix): Handle resolved TLS local symbol.
3470 * testsuite/gas/arc/tls-relocs1.d: New file.
3471 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3473 2016-02-01 Loria <Loria@phantasia.org>
3476 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3477 efficiency and avoid an LLVM loop optimization bug.
3479 2016-02-01 Nick Clifton <nickc@redhat.com>
3481 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3482 message extending a negative 32-bit value into a larger signed
3483 value on a 32-bit host.
3485 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3488 * configure.ac (compressed_debug_sections): Replace == with =.
3489 * configure: Regenerated.
3491 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3492 H.J. Lu <hongjiu.lu@intel.com>
3494 * config/tc-i386.c (avoid_fence): New.
3495 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3497 (OPTION_FENCE_AS_LOCK_ADD): New.
3498 (md_longopts): Add -mfence-as-lock-add.
3499 (md_parse_option): Handle -mfence-as-lock-add.
3500 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3501 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3502 * testsuite/gas/i386/i386.exp: Run new tests.
3503 * testsuite/gas/i386/fence-as-lock-add.s: New.
3504 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3505 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3506 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3507 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3509 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3511 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3512 * configure: Regenerated.
3514 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3516 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3517 (OPTION_MOMIT_LOCK_PREFIX): This.
3518 (md_longopts): Updated.
3519 (md_parse_option): Likewise.
3521 2016-01-25 Catherine Moore <clm@codesourcery.com>
3523 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3524 if abicalls are in effect.
3525 * testsuite/gas/mips/sdata-gp.s: New test.
3526 * testsuite/gas/mips/sdata-gp.d: New expected output
3527 * testsuite/gas/mips/mips.exp: Run new test.
3529 2016-01-25 Renlin Li <renlin.li@arm.com>
3531 * testsuite/gas/arm/thumb2_it_search.d: New.
3532 * testsuite/gas/arm/thumb2_it_search.s: New.
3534 2016-01-21 Nick Clifton <nickc@redhat.com>
3537 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3538 with arm-netbsdelf target.
3539 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3541 2016-01-20 Nick Clifton <nickc@redhat.com>
3544 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3545 * testsuite/gas/arm/blx-bl-convert.d
3546 * testsuite/gas/arm/plt-1.d: Likewise.
3547 * testsuite/gas/arm/reloc-bad.d: Likewise.
3548 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3549 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3550 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3551 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3554 * doc/as.texinfo (Errors): Correct documentation describing the
3555 interaction of .file and .line with warning and error messages.
3558 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3559 * testsuite/gas/arm/archv8m-main.d: Likewise.
3560 * testsuite/gas/arm/archv8m-base.d: Likewise.
3562 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3564 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3565 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3566 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3568 2016-01-20 Mickael Guene <mickael.guene@st.com>
3569 Terry Guo <terry.guo@arm.com>
3571 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3572 SHF_ARM_NOREAD section flag.
3573 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3575 (arm_elf_section_letter) : Declare it.
3576 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3577 SHF_ARM_NOREAD section flag.
3578 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3580 * testsuite/gas/arm/section-execute-only.s: New test case.
3581 * testsuite/gas/arm/section-execute-only.d: Expected output.
3583 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3585 * config/tc-mips.c (micromips_insn_length): Remove the mention
3586 of 48-bit microMIPS instructions.
3588 2016-01-18 Alan Modra <amodra@gmail.com>
3590 * configure: Regenerate.
3592 2016-01-17 Alan Modra <amodra@gmail.com>
3594 * configure: Regenerate.
3596 2016-01-17 Alan Modra <amodra@gmail.com>
3598 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3600 2016-01-14 Nick Clifton <nickc@redhat.com>
3602 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3603 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3604 * testsuite/gas/rl78/rl78.exp: Run the new test.
3606 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3608 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3609 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3611 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3613 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3615 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3617 * config/tc-h8300.c (get_operand): Remove spurious condition in
3618 test for closing parenthesis.
3620 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3622 * config/tc-arm.c (arm_ext_v8_2): New.
3624 * testsuite/gas/arm/armv8_2-a.d: New.
3625 * testsuite/gas/arm/armv8_2-a.s: New.
3627 2016-01-12 Alan Modra <amodra@gmail.com>
3629 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3631 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3633 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3634 xvcmpnesp, xvcmpnesp.>: Delete tests.
3635 * testsuite/gas/ppc/power9.s: Likewise.
3636 * testsuite/gas/ppc/vsx3.d: Likewise.
3637 * testsuite/gas/ppc/vsx3.s: Likewise.
3639 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3642 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3643 * testsuite/gas/m68k/p13050-1.s: New file.
3644 * testsuite/gas/m68k/p13050-2.d: New file.
3645 * testsuite/gas/m68k/p13050-2.s: New file.
3647 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3649 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3650 * testsuite/gas/arc/add.d: Likewise.
3651 * testsuite/gas/arc/and.d: Likewise.
3652 * testsuite/gas/arc/asl.d: Likewise.
3653 * testsuite/gas/arc/asr.d: Likewise.
3654 * testsuite/gas/arc/bic.d: Likewise.
3655 * testsuite/gas/arc/extb.d: Likewise.
3656 * testsuite/gas/arc/extw.d: Likewise.
3657 * testsuite/gas/arc/j.d: Likewise.
3658 * testsuite/gas/arc/jl.d: Likewise.
3659 * testsuite/gas/arc/ld2.d: Likewise.
3660 * testsuite/gas/arc/lsr.d: Likewise.
3661 * testsuite/gas/arc/mov.d: Likewise.
3662 * testsuite/gas/arc/or.d: Likewise.
3663 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3664 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3665 * testsuite/gas/arc/pic-relocs.d: Likewise.
3666 * testsuite/gas/arc/plt-relocs.d: Likewise.
3667 * testsuite/gas/arc/rlc.d: Likewise.
3668 * testsuite/gas/arc/ror.d: Likewise.
3669 * testsuite/gas/arc/rrc.d: Likewise.
3670 * testsuite/gas/arc/sbc.d: Likewise.
3671 * testsuite/gas/arc/sda-relocs.d: Likewise.
3672 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3673 * testsuite/gas/arc/sexb.d: Likewise.
3674 * testsuite/gas/arc/sexw.d: Likewise.
3675 * testsuite/gas/arc/st.d: Likewise.
3676 * testsuite/gas/arc/sub.d: Likewise.
3677 * testsuite/gas/arc/tls-relocs.d: Likewise.
3678 * testsuite/gas/arc/xor.d: Likewise.
3680 2016-01-01 Alan Modra <amodra@gmail.com>
3682 Update year range in copyright notice of all files.
3684 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3686 Copyright (C) 2016 Free Software Foundation, Inc.
3688 Copying and distribution of this file, with or without modification,
3689 are permitted in any medium without royalty provided the copyright
3690 notice and this notice are preserved.
3696 version-control: never