1 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/gas/mips/ecoff@ld.d: Remove test.
4 * testsuite/gas/mips/ecoff@ld-forward.d: Remove test.
5 * testsuite/gas/mips/ecoff@ld-zero-3.d: Remove test.
6 * testsuite/gas/mips/ecoff@sd.d: Remove test.
7 * testsuite/gas/mips/ecoff@sd-forward.d: Remove test.
8 * testsuite/gas/mips/beq.d: Remove a.out and ECOFF support from
10 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
11 * testsuite/gas/mips/bge.d: Likewise.
12 * testsuite/gas/mips/mipsr6@bge.d: Likewise.
13 * testsuite/gas/mips/bgeu.d: Likewise.
14 * testsuite/gas/mips/mipsr6@bgeu.d: Likewise.
15 * testsuite/gas/mips/blt.d: Likewise.
16 * testsuite/gas/mips/mipsr6@blt.d: Likewise.
17 * testsuite/gas/mips/bltu.d: Likewise.
18 * testsuite/gas/mips/mipsr6@bltu.d: Likewise.
19 * testsuite/gas/mips/branch-likely.d: Likewise.
20 * testsuite/gas/mips/la.d: Likewise.
21 * testsuite/gas/mips/lb.d: Likewise.
22 * testsuite/gas/mips/lifloat.d: Likewise.
23 * testsuite/gas/mips/sb.d: Likewise.
24 * testsuite/gas/mips/uld.d: Likewise.
25 * testsuite/gas/mips/ulh.d: Likewise.
26 * testsuite/gas/mips/ulw.d: Likewise.
27 * testsuite/gas/mips/usd.d: Likewise.
28 * testsuite/gas/mips/ush.d: Likewise.
29 * testsuite/gas/mips/usw.d: Likewise.
31 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
33 * testsuite/gas/mips/branch-misc-2.s: Move non
34 locally-defined-global symbol tests...
35 * testsuite/gas/mips/branch-misc-5.s: ... to this new test.
36 * testsuite/gas/mips/branch-misc-2.d: Update accordingly.
37 * testsuite/gas/mips/branch-misc-2-64.d: Likewise.
38 * testsuite/gas/mips/branch-misc-2pic.d: Likewise.
39 * testsuite/gas/mips/branch-misc-2pic-64.d: Likewise.
40 * testsuite/gas/mips/mipsr6@branch-misc-2-64.d: Likewise.
41 * testsuite/gas/mips/mipsr6@branch-misc-2pic-64.d: Likewise.
42 * testsuite/gas/mips/micromips@branch-misc-2.d: Likewise.
43 * testsuite/gas/mips/micromips@branch-misc-2-64.d: Likewise.
44 * testsuite/gas/mips/micromips@branch-misc-2pic.d: Likewise.
45 * testsuite/gas/mips/micromips@branch-misc-2pic-64.d: Likewise.
46 * testsuite/gas/mips/branch-misc-5.d: New test.
47 * testsuite/gas/mips/branch-misc-5pic.d: New test.
48 * testsuite/gas/mips/branch-misc-5-64.d: New test.
49 * testsuite/gas/mips/branch-misc-5pic-64.d: New test.
50 * testsuite/gas/mips/mipsr6@branch-misc-5-64.d: New test.
51 * testsuite/gas/mips/mipsr6@branch-misc-5pic-64.d: New test.
52 * testsuite/gas/mips/micromips@branch-misc-5.d: New test.
53 * testsuite/gas/mips/micromips@branch-misc-5pic.d: New test.
54 * testsuite/gas/mips/micromips@branch-misc-5-64.d: New test.
55 * testsuite/gas/mips/micromips@branch-misc-5pic-64.d: New test.
56 * testsuite/gas/mips/mips.exp: Run the new tests.
58 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
60 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
62 * testsuite/gas/mips/beq.d: Update accordingly.
63 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
64 * testsuite/gas/mips/micromips@beq.d: Likewise.
66 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
68 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
69 tests to NewABI targets.
71 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
73 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
76 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
78 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
80 (aarch64_features): Initialize require fields.
81 (aarch64_parse_features): Handle dependencies.
82 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
83 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
84 * testsuite/gas/aarch64/illegal-nofp16.s: New.
85 * testsuite/gas/aarch64/illegal-nofp16.l: New.
86 * testsuite/gas/aarch64/illegal-nofp16.d: New.
88 2016-07-01 Nick Clifton <nickc@redhat.com>
90 * macro.c (macro_expand_body): Use a buffer big enough to hold an
91 extremely large integer.
93 2016-07-01 Jan Beulich <jbeulich@suse.com>
95 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
97 2016-07-01 Tristan Gingold <gingold@adacore.com>
99 * NEWS: Add marker for 2.27.
101 2016-07-01 Jan Beulich <jbeulich@suse.com>
103 * tc-i386.c (i386_index_check): Add special checks for bndmk,
105 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
106 as well as scaling by other than 1 tests.
107 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
109 2016-07-01 Jan Beulich <jbeulich@suse.com>
111 * tc-i386.c (md_assemble): Alter address size checking for MPX
113 * testsuite/gas/i386/mpx-inval-2.s: New.
114 * testsuite/gas/i386/mpx-inval-2.l: New.
115 * testsuite/gas/i386/i386.exp: Run new test.
117 2016-07-01 Jan Beulich <jbeulich@suse.com>
120 * config/tc-i386.c (match_template): Add char parameter,
121 consumed in Intel mode for an extra suffix check.
122 (md_assemble): New local variable mnem_suffix.
123 * testsuite/gas/i386/suffix-bad.s: New.
124 * testsuite/gas/i386/suffix-bad.l: New.
125 * testsuite/gas/i386/i386.exp: Run new test (twice).
127 2016-07-01 Jan Beulich <jbeulich@suse.com>
129 * testsuite/gas/i386/movz.s: New.
130 * testsuite/gas/i386/movz32.d: New.
131 * testsuite/gas/i386/movz64.d: New.
132 * testsuite/gas/i386/i386.exp: Run new tests.
134 2016-07-01 Jan Beulich <jbeulich@suse.com>
136 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
137 (md_assemble): Free first memory operand string.
138 (i386_index_check): Use repprefixok to distingush xlat from
139 other (real) string ops.
140 (maybe_adjust_templates): New.
141 (i386_att_operand). Call it. Store first memory operand string.
142 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
143 * testsuite/gas/i386/intel-movs.s: New.
144 * testsuite/gas/i386/intel-movs32.d: New.
145 * testsuite/gas/i386/intel-movs64.d: New.
146 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
147 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
149 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
151 * config/tc-mips.c (get_append_method): Fix a comment typo.
153 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
154 Maciej W. Rozycki <macro@imgtec.com>
156 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
157 case MIPS16 handling.
158 * testsuite/gas/mips/branch-swap-3.d: New test.
159 * testsuite/gas/mips/branch-swap-4.d: New test.
160 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
161 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
162 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
163 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
164 * testsuite/gas/mips/branch-swap-3.s: New test source.
165 * testsuite/gas/mips/mips.exp: Run the new tests.
167 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
169 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
172 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
175 * write.c (subsegs_finish_section): Force no section padding to
176 alignment on failed assembly, always set last frag's alignment
178 * testsuite/gas/all/pr20312.l: New list test.
179 * testsuite/gas/all/pr20312.s: New test source.
180 * testsuite/gas/all/gas.exp: Run the new test
182 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
184 * config.in (TARGET_WITH_CPU): Undefine.
185 * configure.ac: Add --with-cpu support, and define in config.h.
186 * configure: Regenerate.
187 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
188 * NEWS: Mention new configure option.
190 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
192 * testsuite/gas/arm/armv8_2+rdma.d: New.
194 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
196 * NEWS: Mention --enable-compressed-debug-sections=gas is the
197 default for Linux/x86 targets.
198 * configure.tgt (ac_default_compressed_debug_sections): Default
199 to yes for Linux/x86 targets.
201 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
203 * write.c: Remove "libbfd.h" inclusion.
205 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
207 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
210 2016-06-28 Alan Modra <amodra@gmail.com>
213 * testsuite/gas/elf/section11.s: Don't start directives in first column.
215 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
217 * testsuite/gas/aarch64/diagnostic.s,
218 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
220 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
222 * config/tc-mips.c (mips16_reloc_p): Handle
223 BFD_RELOC_MIPS16_16_PCREL_S1.
224 (b_reloc_p): Likewise.
225 (limited_pcrel_reloc_p): Likewise.
226 (md_pcrel_from): Likewise.
227 (md_apply_fix): Likewise.
228 (tc_gen_reloc): Likewise.
229 (md_convert_frag): Likewise.
230 (mips_fix_adjustable): Update comment.
231 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
232 output, add dump patterns.
233 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
234 output, add dump patterns.
235 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
236 output, add dump patterns.
237 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
238 output, add dump patterns.
239 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
240 output, add dump patterns.
241 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
242 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
243 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
244 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
245 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
246 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
247 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
248 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
249 * testsuite/gas/mips/branch-weak-6.d: New test.
250 * testsuite/gas/mips/branch-weak-7.d: New test.
251 * testsuite/gas/mips/mips.exp: Run the new tests.
253 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
255 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
256 cfi_add_CFA_def_cfa to generate default CFA with offset
257 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
259 2016-06-27 Nick Clifton <nickc@redhat.com>
262 * as.h (do_not_pad_sections_to_alignment): New global variable.
263 * as.c (show_usage): Add --no-pad-sections.
264 (parse_args): Likewise.
265 * write.c (size_seg): Skip padding the end of the section if
266 requested from the command line.
267 (SUB_SEGMENT_ALIGN): Likewise.
268 * doc/as.texinfo: Document the new option.
269 * NEWS: Mention the new feature.
270 * testsuite/gas/elf/section11.s: New test.
271 * testsuite/gas/elf/section11.d: New test driver.
272 * testsuite/gas/elf/elf.exp: Run the new test.
274 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
276 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
277 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
279 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
281 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
283 (map_suffix_reloc_to_operator): Likewise.
284 (map_operator_to_reloc): Likewise.
286 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
288 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
289 element in relax_table.
291 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
293 * config/tc-aarch64.c: Make the type of reg_entry::type
296 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
298 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
299 (md_parse_option): Adjust.
300 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
301 with iteration from 0 to ARRAY_SIZE.
302 * config/tc-mcore.c (md_begin): Likewise.
303 * config/tc-visium.c (visium_parse_arch): Likewise.
305 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
307 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
308 and simplify accordingly.
309 (tic54x_include): Adjust.
310 (tic54x_mlib): Likewise.
312 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
314 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
316 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
318 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
319 unchanged with relaxed MIPS16 instructions.
320 (mips16_extended_frag): Adjust accordingly. Return 1 right
321 away if a relocation will be required for the symbol requested.
322 Remove dead first relaxation pass code.
323 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
324 (md_convert_frag): Adjust symbol value calculation. Raise an
325 error if a relocation is required for the symbol requested.
326 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
328 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
329 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
330 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
331 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
332 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
333 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
334 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
335 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
336 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
337 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
338 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
339 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
340 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
341 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
342 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
343 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
344 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
345 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
346 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
347 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
348 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
349 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
350 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
351 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
352 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
353 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
354 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
355 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
356 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
357 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
358 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
359 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
360 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
361 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
362 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
363 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
364 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
365 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
366 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
367 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
368 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
369 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
370 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
371 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
372 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
373 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
374 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
375 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
376 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
377 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
378 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
379 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
380 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
381 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
382 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
383 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
384 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
385 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
386 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
387 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
388 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
389 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
390 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
391 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
392 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
393 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
394 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
395 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
396 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
397 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
398 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
399 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
400 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
401 * testsuite/gas/mips/mips.exp: Run the new tests.
403 2016-06-24 Alan Modra <amodra@gmail.com>
405 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
407 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
409 * config/tc-mips.c (b_reloc_p): New function.
410 (mips_fix_adjustable): Also keep the original microMIPS symbol
411 referred from branch relocations.
412 * testsuite/gas/mips/branch-local-1.d: New test.
413 * testsuite/gas/mips/branch-local-n32-1.d: New test.
414 * testsuite/gas/mips/branch-local-n64-1.d: New test.
415 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
417 * testsuite/gas/mips/branch-local-1.s: New test source.
418 * testsuite/gas/mips/mips.exp: Run the new cases.
420 2016-06-23 Graham Markall <graham.markall@embecosm.com>
422 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
423 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
424 options. Correct erroneous enabling of SPFP instructions when
427 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
429 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
430 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
431 setbool, xor3>: New tests.
432 * testsuite/gas/ppc/power9.s: Likewise.
434 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
436 * config/tc-xtensa.c: Include elf/xtensa.h.
438 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
440 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
441 <BFD_RELOC_LO16_PCREL>: New switch cases.
442 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
443 Move switch cases along `BFD_RELOC_MIPS_JMP'.
444 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
445 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
447 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
448 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
449 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
450 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
451 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
452 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
453 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
454 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
455 * testsuite/gas/mips/mips.exp: Run the new tests.
457 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
459 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
460 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
461 via `fixP->fx_addsy'.
463 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
465 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
466 Calculate relocation from the containing aligned doubleword.
467 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
468 addend from the containing aligned doubleword.
470 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
472 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
473 rather than `mips_opts' for the R6 ISA check.
474 (mips_fix_adjustable): Likewise.
475 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
476 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
477 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
478 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
479 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
480 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
481 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
482 * testsuite/gas/mips/mips.exp: Run the new tests.
484 2016-06-21 Graham Markall <graham.markall@embecosm.com>
486 * config/tc-arc.c (check_cpu_feature, md_parse_option):
487 Add nps400 option and feature. Add check for nps400
488 feature. Refactor existing checks to check subclass before
490 (md_show_usage): Document flags for NPS-400 and add some other
492 (cpu_type): Remove nps400 CPU type entry
493 (check_zol): Remove bfd_mach_arc_nps400 case.
494 (md_show_usage): Add help on -mcpu=nps400.
495 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
497 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
498 -fpuda flags. Document -mcpu=nps400.
499 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
500 expected flags to match ARC700 instead of NPS400.
501 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
502 * testsuite/gas/arc/nps-400-2.d: Likewise.
503 * testsuite/gas/arc/nps-400-3.d: Likewise.
504 * testsuite/gas/arc/nps-400-4.d: Likewise.
505 * testsuite/gas/arc/nps-400-5.d: Likewise.
506 * testsuite/gas/arc/nps-400-6.d: Likewise.
507 * testsuite/gas/arc/nps-400-7.d: Likewise.
508 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
509 avoid clash with cbba instruction.
510 * testsuite/gas/arc/textinsn2op01.d: Likewise.
511 * testsuite/gas/arc/textinsn3op.d: Likewise.
512 * testsuite/gas/arc/textinsn3op.s: Likewise.
513 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
514 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
516 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
518 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
519 * testsuite/gas/mips/r6-64-n64.d: Likewise.
521 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
523 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
526 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
528 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
530 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
532 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
533 %hmcddfr and %hva_mask_nz.
534 (sparc_ip): New handling of asr/privileged/hyperprivileged
535 registers, adapted to the new form of the sparc opcodes table.
536 * testsuite/gas/sparc/rdasr.s: New file.
537 * testsuite/gas/sparc/rdasr.d: Likewise.
538 * testsuite/gas/sparc/wrasr.s: Likewise.
539 * testsuite/gas/sparc/wrasr.d: Likewise.
540 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
542 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
543 registers require it.
544 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
545 registers and write instruction modalities.
546 * testsuite/gas/sparc/wrpr.d: Likewise.
547 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
549 * testsuite/gas/sparc/rdhpr.d: Likewise.
550 * testsuite/gas/sparc/wrhpr.s: Likewise.
551 * testsuite/gas/sparc/wrhpr.d: Likewise.
553 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
555 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
556 architectures to use the right opcode architecture.
557 (sparc_md_end): Handle v9{c,d,e,v,m}.
558 (sparc_ip): Fix some comments.
559 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
560 instruction, which is v9d.
561 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
562 instruction from the test, as %mwait is not readable.
563 * testsuite/gas/sparc/mwait.d: Likewise.
564 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
565 mismatch architecture errors.
566 * testsuite/gas/sparc/mism-2.s: New file.
568 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
570 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
571 empty string to mark the end of the array.
572 (hpriv_reg_table): Likewise.
573 (v9a_asr_table): Likewise.
574 (cmp_reg_entry): Handle entries with NULL names.
576 (F_POP_PCREL): Likewise.
577 (F_POP_TLS_CALL): Likewise.
578 (F_POP_POSTFIX): Likewise.
579 (struct pop_entry): New type.
580 (pop_table): New variable.
581 (enum pop_entry_type): New type.
582 (struct perc_entry): Likewise.
583 (NUM_PERC_ENTRIES): Define.
584 (perc_table): New variable.
585 (cmp_perc_entry): New function.
586 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
588 (sparc_ip): Handle entries with NULL names in priv_reg_table,
589 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
592 2016-06-15 Nick Clifton <nickc@redhat.com>
594 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
596 * config/tc-mcore.c (md_assemble): Likewise.
597 * config/tc-mn10200.c (md_assemble): Likewise.
598 * config/tc-moxie.c (md_assemble): Likewise.
599 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
600 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
601 exception targets. Add alpha, hppa, microblaze and rl78 to list
603 (forward): Add microblaze to list of exceptions.
604 (fwdexp): Add alpha to list of exceptions.
605 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
606 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
607 (do_930509a): Alpha sort list of exception targets. Add h8300 and
608 mn10200 to list of exceptions.
609 (align2): Expect to fail for nds32.
610 (cond): Add alpha and rl78 to list of exceptions.
611 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
612 * testsuite/gas/all/string.d: Skip for tic4x.
613 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
614 target does not support ELF.
615 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
616 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
617 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
618 tests for sh-pe and sh-rtemscoff targets.
619 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
621 (type): Run the noifunc version for alpha-freebsd and visium.
622 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
623 mn10200 or moxie targets.
624 * testsuite/gas/ft32/insn.d: Update expected disassembly.
625 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
627 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
628 mcore and rx targets.
629 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
631 (purge): Expect to fail on the ns32k and vax.
632 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
633 * testsuite/gas/nds32/ls.d: Likewise.
634 * testsuite/gas/nds32/sys-reg.d: Likewise.
635 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
636 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
637 * testsuite/gas/pe/section-align-3.d: Likewise.
638 * testsuite/gas/pe/section-exclude.d: Likewise.
639 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
641 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
642 for variations in whitespace.
643 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
645 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
646 Installs a 32-bit value without generating warnings on 64-bit
648 Use the new macro to replace the .word directives.
650 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
652 * testsuite/gas/arc/add_s.d: New file.
653 * testsuite/gas/arc/add_s.s: New file.
655 2016-06-14 Graham Markall <graham.markall@embecosm.com>
657 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
658 * testsuite/gas/arc/nps400-6.d: Likewise.
660 2016-06-14 Graham Markall <graham.markall@embecosm.com>
662 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
664 * testsuite/gas/arc/nps400-6.d: Likewise.
666 2016-06-14 Graham Markall <graham.markall@embecosm.com>
668 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
669 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
670 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
671 * testsuite/gas/arc/nps400-6.d: Likewise.
673 2016-06-14 Nick Clifton <nickc@redhat.com>
675 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
678 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
680 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
681 JALR relocations on R6.
682 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
683 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
684 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
685 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
686 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
687 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
689 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
690 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
692 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
693 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
695 * testsuite/gas/mips/mips.exp: Run the new tests.
697 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
699 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
700 * doc/c-aarch64.texi: Document that vulcan is a valid processor
703 2016-06-13 Nick Clifton <nickc@redhat.com>
705 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
706 that are not supported.
708 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
710 * config/tc-cr16.c (check_range): Likewise.
711 * config/tc-nios2.c (nios2_check_overflow): Likewise.
713 2016-06-08 Renlin Li <renlin.li@arm.com>
715 * config/tc-aarch64.c (print_operands): Substitute size.
716 (output_operand_error_record): Likewise.
718 2016-06-07 Alan Modra <amodra@gmail.com>
720 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
721 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
722 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
723 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
724 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
725 add vle_opcodes twice.
726 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
728 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
730 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
731 (arm_ext_ras): Renamed from arm_ext_v8_2.
732 (insns): Update for arm_ext_v8_2 renaming.
733 (arm_extensions): Add "ras".
734 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
735 * testsuite/gas/arm/armv8-a+ras.d: New.
736 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
739 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
741 * itbl-parse.y (yyerror): Use modern argument declaration style.
743 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
745 * config/tc-sh.c (parse_reg): Change type of mode argument to
747 (get_operand): Adjust.
748 (insert): Change type of how to bfd_reloc_code_real_type.
750 * config/tc-sh64.c (shmedia_get_operand): Adjust.
751 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
753 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
755 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
758 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
761 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
762 stbcx., sthcx., stwcx., stdcx.>: Add tests.
763 * gas/testsuite/gas/ppc/e6500.d: Likewise.
764 * gas/testsuite/gas/ppc/power8.s: Likewise.
765 * gas/testsuite/gas/ppc/power8.d: Likewise.
766 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
768 * gas/testsuite/gas/ppc/power4.d: Likewise.
770 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
773 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
774 * testsuite/gas/i386/x86-64-branch.d: Updated.
775 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
776 * testsuite/gas/i386/x86-64-branch-4.l: New file.
777 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
779 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
781 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
782 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
784 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
786 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
787 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
789 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
791 * configure.tgt: Replace -uclibc with *.
793 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
795 * config/tc-arc.c (parse_opcode_flags): New function.
796 (find_opcode_match): Move flag parsing code out to new function.
797 Ignore operands marked IGNORE.
798 (build_fake_opcode_hash_entry): New function.
799 (find_special_case_long_opcode): New function.
800 (find_special_case): Lookup long opcodes.
801 * testsuite/gas/arc/nps400-7.d: New file.
802 * testsuite/gas/arc/nps400-7.s: New file.
804 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
806 * config/tc-ns32k.c: Remove definition of input_line_pointer.
808 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
810 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
811 sentinal with iteration to array size.
813 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
815 * config/xtensa-relax.h: Move typedefs of enums to the enums
818 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
820 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
823 2016-06-01 Graham Markall <graham.markall@embecosm.com>
825 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
826 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
827 * testsuite/gas/arc/nps-400-1.d: Likewise.
829 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
832 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
833 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
834 noavx512ifma and noavx512vbmi.
835 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
836 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
838 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
839 * testsuite/gas/i386/noavx512-1.l: New file.
840 * testsuite/gas/i386/noavx512-1.s: Likewise.
841 * testsuite/gas/i386/noavx512-2.l: Likewise.
842 * testsuite/gas/i386/noavx512-2.s: Likewise.
844 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
847 * config/tc-i386.c (cpu_arch): Add 687.
848 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
849 nosse4.1, nosse4.2, nosse4 and noavx2.
850 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
851 register. Check cpuregxmm instead of cpusse for XMM register.
852 Check cpuregymm instead of cpuavx for YMM register. Check
853 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
854 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
855 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
856 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
857 * testsuite/gas/i386/arch-10.d (as): Likewise.
858 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
859 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
860 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
862 * testsuite/gas/i386/no87-3.l: New file.
863 * testsuite/gas/i386/no87-3.s: Likewise.
864 * testsuite/gas/i386/noavx-3.l: Likewise.
865 * testsuite/gas/i386/noavx-3.s: Likewise.
866 * testsuite/gas/i386/noavx-4.d: Likewise.
867 * testsuite/gas/i386/noavx-4.s: Likewise.
868 * testsuite/gas/i386/nosse-4.l: Likewise.
869 * testsuite/gas/i386/nosse-4.s: Likewise.
870 * testsuite/gas/i386/nosse-5.d: Likewise.
871 * testsuite/gas/i386/nosse-5.s: Likewise.
873 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
876 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
878 (match_template): Check Intel64/AMD64 ISA.
880 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
883 * config/tc-i386.c (intel64): New.
884 (cpu_flags_match): Set cpuamd64 and cpuintel64.
885 (md_parse_option): Set intel64 instead of cpuamd64 and
888 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
890 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
893 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
895 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
896 * testsuite/gas/ppc/altivec3.s: Likewise.
897 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
898 * testsuite/gas/ppc/power9.s: Likewise.
900 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
902 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
903 * testsuite/gas/i386/noavx-1.l: Likewise.
904 * testsuite/gas/i386/nommx-1.l: Likewise.
905 * testsuite/gas/i386/nosse-1.l: Likewise.
906 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
907 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
908 * testsuite/gas/i386/noavx-1.s: Likewise.
909 * testsuite/gas/i386/nommx-1.s: Likewise.
910 * testsuite/gas/i386/nosse-1.s: Likewise.
911 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
913 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
915 * config/tc-metag.c (metag_handle_align): Make the type of noop
918 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
920 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
921 bfd_reloc_code_real_type.
923 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
926 * config/tc-i386.c (cpu_flags_match): Require another match
928 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
929 x86-64-avx512vl-1 and x86-64-avx512vl-2.
930 * testsuite/gas/i386/avx512vl-1.l: New file.
931 * testsuite/gas/i386/avx512vl-1.s: Likewise.
932 * testsuite/gas/i386/avx512vl-2.l: Likewise.
933 * testsuite/gas/i386/avx512vl-2.s: Likewise.
934 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
935 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
936 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
937 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
939 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
942 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
943 * testsuite/gas/i386/x86-64-pr20141.d: New file.
944 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
946 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
948 * config/tc-i386.c (arch_entry): Remove negated.
949 (noarch_entry): New struct.
950 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
952 (set_cpu_arch): Check cpu_noarch after cpu_arch.
953 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
955 (output_message): New function.
956 (show_arch): Use it. Handle cpu_noarch.
957 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
958 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
959 * testsuite/gas/i386/noavx-1.l: New file.
960 * testsuite/gas/i386/noavx-1.s: Likewise.
961 * testsuite/gas/i386/noavx-2.s: Likewise.
962 * testsuite/gas/i386/noavx-2.l: Likewise.
963 * testsuite/gas/i386/nommx-1.s: Likewise.
964 * testsuite/gas/i386/nommx-1.l: Likewise.
965 * testsuite/gas/i386/nommx-2.s: Likewise.
966 * testsuite/gas/i386/nommx-2.l: Likewise.
967 * testsuite/gas/i386/nommx-3.s: Likewise.
968 * testsuite/gas/i386/nommx-3.l: Likewise.
969 * testsuite/gas/i386/nosse-1.s: Likewise.
970 * testsuite/gas/i386/nosse-1.l: Likewise.
971 * testsuite/gas/i386/nosse-2.s: Likewise.
972 * testsuite/gas/i386/nosse-2.l: Likewise.
973 * testsuite/gas/i386/nosse-3.s: Likewise.
974 * testsuite/gas/i386/nosse-3.l: Likewise.
976 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
979 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
980 instruction if supported by the currently selected fpu variant.
981 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
982 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
984 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
986 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
987 jump relocations against MIPS16 or microMIPS symbols on RELA
989 * testsuite/gas/mips/jalx-local.d: New test.
990 * testsuite/gas/mips/jalx-local-n32.d: New test.
991 * testsuite/gas/mips/jalx-local-n64.d: New test.
992 * testsuite/gas/mips/jalx-local.s: New test source.
993 * testsuite/gas/mips/mips.exp: Run the new tests.
995 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
997 * config/tc-mips.c (md_apply_fix)
998 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
1001 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1003 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
1004 operator to operatorT.
1005 (map_suffix_reloc_to_operator): Change return type to operatorT.
1007 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1009 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
1011 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1013 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
1014 handler_charp to const char *.
1016 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1018 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
1019 (ft32_target_format): Likewise.
1020 (TARGET_FORMAT): Adjust.
1022 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1024 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
1025 (ia64_frob_label): Likewise.
1027 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1029 * config/tc-cr16.c (check_range): Make type of retval op_err.
1030 * config/tc-crx.c: Likewise.
1032 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
1034 * config/tc-arc.c (md_begin): Add XY registers.
1035 (cpu_types): Code density is default off for ARC EM.
1037 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
1039 * config/tc-arc.c (attributes_t): Renamed attribute class to
1041 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
1043 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1045 * configuse.tgt: Add entry for arm-phoenix.
1047 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1049 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
1051 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1053 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
1055 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1057 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1058 (md_begin): Likewise.
1059 (encode_condition): Likewise.
1060 (encode_cc3): Likewise.
1061 (encode_cc2): Likewise.
1062 (encode_operand): Likewise.
1063 (tic54x_undefined_symbol): Likewise.
1065 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1067 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1069 * doc/c-mips.texi: Document p6600 -march option.
1071 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1074 * config/tc-i386.c (md_apply_fix): Preserve addend for
1075 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1076 * testsuite/gas/i386/addend.d: New file.
1077 * testsuite/gas/i386/addend.s: Likewise.
1078 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1079 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1080 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1081 * testsuite/gas/i386/reloc32.d: Updated.
1083 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1085 * config/tc-mips.c (append_insn): Correct the encoding of a
1086 constant argument for microMIPS JALX.
1087 (tc_gen_reloc): Correct the encoding of an in-place addend for
1089 * testsuite/gas/mips/jalx-addend.d: New test.
1090 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1091 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1092 * testsuite/gas/mips/jalx-imm.d: New test.
1093 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1094 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1095 * testsuite/gas/mips/jalx-addend.s: New test source.
1096 * testsuite/gas/mips/jalx-imm.s: New test source.
1097 * testsuite/gas/mips/mips.exp: Run the new tests.
1099 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1101 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1104 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1106 * config/tc-arc.c (find_opcode_match): Remove casting away of
1108 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1110 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1112 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1114 (md_convert_frag): Likewise.
1116 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1118 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1119 cached opcode to NULL when we reach a non-matching opcode.
1120 * testsuite/gas/arc/asm-errors-2.d: New file.
1121 * testsuite/gas/arc/asm-errors-2.err: New file.
1122 * testsuite/gas/arc/asm-errors-2.s: New file.
1124 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1126 * config/tc-arc.c (tokenize_arguments): Add checks for array
1128 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1129 * testsuite/gas/arc/asm-errors.err: Update expected results.
1131 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1133 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1134 int to enum rx_cpu_types.
1136 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1138 * config/tc-dlx.c (struct machine_it): change the type of a field from
1139 int to bfd_reloc_code_real_type.
1140 * config/tc-tic4x.c: Likewise.
1142 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1144 * config/tc-v850.c (v850_target_arch): change type to enum
1146 * config/tc-v850.h (v850_target_arch): Likewise.
1148 2016-05-18 Alan Modra <amodra@gmail.com>
1150 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1151 allowed negative range.
1152 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1153 * testsuite/gas/ppc/power9.d: Update.
1155 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1157 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1158 disassembling and stop skipping targets.
1159 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1160 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1161 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1162 instruction for targets that have stronger alignment requirement.
1163 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1164 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1165 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1166 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1167 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1168 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1169 * testsuite/gas/arm/archv8m-main.d: Likewise.
1170 * testsuite/gas/arm/archv8m.s: Add label.
1171 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1172 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1173 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1175 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1177 * config/tc-m32r.c (mach_table): Make static and const.
1179 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1181 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1184 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1186 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1188 * config/tc-msp430.c (md_begin): Likewise.
1190 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1192 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1193 bfd_reloc_code_real_type where appropriate.
1194 (fixup16): Likewise.
1195 (fixup8_xg): Likewise.
1197 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1199 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1201 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1203 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1204 * testsuite/gas/ppc/power9.s: Likewise.
1206 2016-05-13 Alan Modra <amodra@gmail.com>
1208 * config/obj-coff.c (weak_uniquify): Delete unused var.
1210 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1212 * app.c (app_push): Use XNEW and related macros.
1213 * as.c (parse_args): Likewise.
1214 * cgen.c (make_right_shifted_expr): Likewise.
1215 (gas_cgen_tc_gen_reloc): Likewise.
1216 * config/bfin-defs.h: Likewise.
1217 * config/bfin-parse.y: Likewise.
1218 * config/obj-coff.c (stack_init): Likewise.
1219 (stack_push): Likewise.
1220 (coff_obj_symbol_new_hook): Likewise.
1221 (coff_obj_symbol_clone_hook): Likewise.
1222 (add_lineno): Likewise.
1223 (coff_frob_symbol): Likewise.
1224 * config/obj-elf.c (obj_elf_section_name): Likewise.
1225 (build_group_lists): Likewise.
1226 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1227 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1228 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1229 (find_or_make_literal_pool): Likewise.
1230 (add_to_lit_pool): Likewise.
1231 (fill_instruction_hash_table): Likewise.
1232 * config/tc-alpha.c (load_expression): Likewise.
1233 (emit_jsrjmp): Likewise.
1234 (s_alpha_ent): Likewise.
1235 (s_alpha_end): Likewise.
1236 (s_alpha_linkage): Likewise.
1237 (md_begin): Likewise.
1238 (tc_gen_reloc): Likewise.
1239 * config/tc-arc.c (arc_insert_opcode): Likewise.
1240 (arc_extcorereg): Likewise.
1241 * config/tc-bfin.c: Likewise.
1242 * config/tc-cr16.c: Likewise.
1243 * config/tc-cris.c: Likewise.
1244 * config/tc-crx.c (preprocess_reglist): Likewise.
1245 * config/tc-d10v.c: Likewise.
1246 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1247 (frv_tomcat_shuffle): Likewise.
1248 * config/tc-h8300.c: Likewise.
1249 * config/tc-i370.c (i370_macro): Likewise.
1250 * config/tc-i386.c (lex_got): Likewise.
1251 (md_parse_option): Likewise.
1252 * config/tc-ia64.c (alloc_record): Likewise.
1253 (set_imask): Likewise.
1254 (save_prologue_count): Likewise.
1255 (dot_proc): Likewise.
1256 (dot_endp): Likewise.
1257 (ia64_frob_label): Likewise.
1258 (add_qp_imply): Likewise.
1259 (add_qp_mutex): Likewise.
1260 (mark_resource): Likewise.
1261 (dot_alias): Likewise.
1262 * config/tc-m68hc11.c: Likewise.
1263 * config/tc-m68k.c (m68k_frob_label): Likewise.
1265 (mri_control_label): Likewise.
1266 (push_mri_control): Likewise.
1267 (build_mri_control_operand): Likewise.
1268 (s_mri_else): Likewise.
1269 (s_mri_break): Likewise.
1270 (s_mri_next): Likewise.
1271 (s_mri_for): Likewise.
1272 (s_mri_endw): Likewise.
1273 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1274 * config/tc-microblaze.c: Likewise.
1275 * config/tc-mmix.c (s_loc): Likewise.
1276 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1277 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1278 * config/tc-rl78.c: Likewise.
1279 * config/tc-rx.c (rx_include): Likewise.
1280 * config/tc-sh.c: Likewise.
1281 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1282 * config/tc-sparc.c: Likewise.
1283 * config/tc-spu.c: Likewise.
1284 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1285 (tic6x_start_unwind_section): Likewise.
1286 * config/tc-tilegx.c: Likewise.
1287 * config/tc-tilepro.c: Likewise.
1288 * config/tc-v850.c: Likewise.
1289 * config/tc-visium.c: Likewise.
1290 * config/tc-xgate.c: Likewise.
1291 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1292 (new_resource_table): Likewise.
1293 (resize_resource_table): Likewise.
1294 (xtensa_create_trampoline_frag): Likewise.
1295 (xtensa_maybe_create_literal_pool_frag): Likewise.
1296 (cache_literal_section): Likewise.
1297 * config/xtensa-relax.c (append_transition): Likewise.
1298 (append_condition): Likewise.
1299 (append_value_condition): Likewise.
1300 (append_constant_value_condition): Likewise.
1301 (append_literal_op): Likewise.
1302 (append_label_op): Likewise.
1303 (append_constant_op): Likewise.
1304 (append_field_op): Likewise.
1305 (append_user_fn_field_op): Likewise.
1306 (enter_opname_n): Likewise.
1307 (enter_opname): Likewise.
1308 (split_string): Likewise.
1309 (parse_insn_templ): Likewise.
1310 (clone_req_or_option_list): Likewise.
1311 (clone_req_option_list): Likewise.
1312 (parse_option_cond): Likewise.
1313 (parse_insn_pattern): Likewise.
1314 (parse_insn_repl): Likewise.
1315 (build_transition): Likewise.
1316 (build_transition_table): Likewise.
1317 * dw2gencfi.c (alloc_fde_entry): Likewise.
1318 (alloc_cfi_insn_data): Likewise.
1319 (cfi_add_CFA_remember_state): Likewise.
1320 (dot_cfi_escape): Likewise.
1321 (dot_cfi_fde_data): Likewise.
1322 (select_cie_for_fde): Likewise.
1323 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1324 * ecoff.c (ecoff_add_bytes): Likewise.
1325 (ecoff_build_debug): Likewise.
1326 * input-scrub.c (input_scrub_push): Likewise.
1327 (input_scrub_begin): Likewise.
1328 (input_scrub_next_buffer): Likewise.
1329 * itbl-ops.c (append_insns_as_macros): Likewise.
1330 (alloc_entry): Likewise.
1331 (alloc_field): Likewise.
1332 * listing.c (listing_newline): Likewise.
1333 (listing_listing): Likewise.
1334 * macro.c (get_any_string): Likewise.
1335 (delete_macro): Likewise.
1336 * stabs.c (generate_asm_file): Likewise.
1337 (stabs_generate_asm_lineno): Likewise.
1338 * subsegs.c (subseg_change): Likewise.
1339 (subseg_get): Likewise.
1340 * symbols.c (define_dollar_label): Likewise.
1341 (symbol_relc_make_sym): Likewise.
1342 * write.c (write_relocs): Likewise.
1344 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1346 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1347 (weak_name2altname): Likewise.
1348 (weak_uniquify): Likewise.
1349 (obj_coff_section): Likewise.
1350 (obj_coff_init_stab_section): Likewise.
1351 * config/obj-elf.c (obj_elf_section_name): Likewise.
1352 (obj_elf_init_stab_section): Likewise.
1353 * config/obj-evax.c (evax_shorten_name): Likewise.
1354 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1355 * config/tc-aarch64.c (create_register_alias): Likewise.
1356 * config/tc-alpha.c (load_expression): Likewise.
1357 (s_alpha_file): Likewise.
1358 (s_alpha_section_name): Likewise.
1359 (tc_gen_reloc): Likewise.
1360 * config/tc-arc.c (md_assemble): Likewise.
1361 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1362 (start_unwind_section): Likewise.
1363 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1364 (hppa_elf_mark_end_of_function): Likewise.
1365 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1366 (nios2_negate_arg): Likewise.
1367 * config/tc-rx.c (rx_section): Likewise.
1368 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1369 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1370 * config/tc-tic54x.c (tic54x_include): Likewise.
1371 (tic54x_macro_info): Likewise.
1372 (subsym_get_arg): Likewise.
1373 (subsym_substitute): Likewise.
1374 (tic54x_start_line_hook): Likewise.
1375 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1376 (xg_reverse_shift_count): Likewise.
1377 * config/xtensa-relax.c (enter_opname_n): Likewise.
1378 (split_string): Likewise.
1379 * dwarf2dbg.c (get_filenum): Likewise.
1380 (process_entries): Likewise.
1381 * expr.c (operand): Likewise.
1382 * itbl-ops.c (alloc_entry): Likewise.
1383 * listing.c (listing_message): Likewise.
1384 (listing_title): Likewise.
1385 * macro.c (check_macro): Likewise.
1386 * stabs.c (s_xstab): Likewise.
1387 * symbols.c (symbol_relc_make_expr): Likewise.
1388 * write.c (compress_debug): Likewise.
1390 2016-05-12 Nick Clifton <nickc@redhat.com>
1393 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1395 2016-05-11 Nick Clifton <nickc@redhat.com>
1398 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1399 big endian ARM configurations.
1401 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1402 Matthew Fortune <matthew.fortune@imgtec.com>
1404 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1406 (md_longopts): Likewise.
1407 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1408 (mips_ases): Define availability for DSPr3.
1409 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1410 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1411 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1413 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1414 .set nodspr3. Fix -mdspr2 formatting.
1415 * testsuite/gas/mips/mips32-dspr3.d: New file.
1416 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1417 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1419 2016-05-11 Nick Clifton <nickc@redhat.com>
1422 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1423 to the pool uses O_constant.
1424 * testsuite/gas/arm/pr20068.s: New test.
1425 * testsuite/gas/arm/pr20068.d: Test driver.
1427 2016-05-11 Nick Clifton <nickc@redhat.com>
1429 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1430 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1431 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1432 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1433 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1434 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1435 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1436 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1437 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1439 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1441 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1442 * testsuite/gas/i386/prefix.d: Adjust.
1443 * testsuite/gas/i386/rdpid.s: New test.
1444 * testsuite/gas/i386/rdpid.d: Ditto.
1445 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1446 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1447 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1448 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1450 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1452 * config/tc-i386.c (cpu_arch): Add RDPID.
1453 * doc/c-i386.texi: Document RDPID.
1455 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1457 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1458 set branch type of a symbol.
1460 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1462 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1463 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1465 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1466 (aeabi_set_public_attributes): Memorize the feature bits of the
1467 architecture selected for Tag_CPU_arch. Use it to set
1468 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1469 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1470 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1471 * testsuite/gas/arm/arch7em-bad-1.d: This.
1472 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1473 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1474 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1475 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1476 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1477 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1478 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1479 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1481 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1483 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1484 allowed_archs an array with 2 entries.
1485 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1486 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1487 (arm_extensions): Use separate entries in allowed_archs when several
1488 archs are allowed to use an extension and change ARCH_ANY in
1489 ARM_ARCH_NONE in allowed_archs.
1490 (arm_parse_extension): Check that, for each allowed_archs entry, all
1491 bits are set in the current architecture, ignoring ARM_ANY entries.
1492 (s_arm_arch_extension): Likewise.
1494 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1496 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1497 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1498 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1499 shared with a non M profile architecture.
1500 (do_rn): New function.
1501 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1503 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1504 (insns): Add ARMv8-M Security Extensions instructions.
1505 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1506 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1507 * testsuite/gas/arm/archv8m-cmse.s: New file.
1508 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1509 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1510 * testsuite/gas/arm/any-cmse.d: Likewise.
1511 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1512 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1513 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1514 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1515 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1516 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1518 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1520 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1521 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1523 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1525 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1526 (fpu_arch_vfp_v3): Likewise.
1527 (fpu_arch_neon_v1): Likewise.
1528 (arm_arch_full): Likewise.
1529 (parse_neon_el_struct_list): Initialize fields of firsttype.
1531 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1533 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1534 (arc_extinsn): Handle new introduced syntax.
1535 * testsuite/gas/arc/textinsn1op.d: New file.
1536 * testsuite/gas/arc/textinsn1op.s: Likewise.
1537 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1539 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1541 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1542 DW_LNS_fixed_advance_pc.
1544 2016-04-27 Alan Modra <amodra@gmail.com>
1546 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1547 (xmemdup0): New inline function.
1549 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1551 * config/tc-mips.c (code_option_type): New enum.
1552 (parse_code_option): Return status indicating option type.
1553 (s_mipsset): Update `parse_code_option' call site accordingly.
1554 Always set register sizes from the ISA with ISA overrides.
1555 (s_module): Update `parse_code_option' call site.
1556 * testsuite/gas/mips/isa-override-1.d: New test.
1557 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1558 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1559 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1560 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1561 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1562 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1563 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1564 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1565 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1566 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1567 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1568 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1569 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1570 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1571 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1572 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1573 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1574 * testsuite/gas/mips/isa-override-2.l: New list test.
1575 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1576 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1577 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1578 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1579 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1580 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1581 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1582 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1583 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1584 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1585 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1587 * testsuite/gas/mips/isa-override-1.s: New test source.
1588 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1589 * testsuite/gas/mips/isa-override-2.s: New test source.
1590 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1591 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1592 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1593 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1594 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1595 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1596 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1597 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1598 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1599 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1600 * testsuite/gas/mips/mips.exp: Run the new tests.
1602 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1605 * config/tc-bfin.c: Likewise.
1606 * config/tc-ia64.c: Likewise.
1607 * config/tc-mep.c: Likewise.
1608 * config/tc-metag.c: Likewise.
1609 * config/tc-nios2.c: Likewise.
1610 * config/tc-rl78.c: Likewise.
1612 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1614 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1615 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1616 (ARC Directives): Add NPS400 to .cpu directive list.
1618 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1620 * config/tc-aarch64.c (aarch64_features): Add "ras".
1621 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1622 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1623 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1624 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1625 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1627 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1629 * testsuite/gas/arc/nps400-6.d: New file.
1630 * testsuite/gas/arc/nps400-6.s: New file.
1632 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1634 * testsuite/gas/arc/nps400-4.d: New file.
1635 * testsuite/gas/arc/nps400-4.s: New file.
1636 * testsuite/gas/arc/nps400-5.d: New file.
1637 * testsuite/gas/arc/nps400-5.s: New file.
1639 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1641 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1644 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1646 Revert prevous change.
1647 * config/tc-arc.c (arc_option): Make .cpu directive
1648 case-sensitive again.
1650 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1652 * config/tc-arc.c (arc_option): Make .cpu directive
1655 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1657 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1659 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1661 * config/tc-mips.c (md_begin): Remove useless assignment.
1663 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1665 * Makefile.in: Regenerated with automake 1.11.6.
1666 * aclocal.m4: Likewise.
1667 * doc/Makefile.in: Likewise.
1669 2016-04-15 Alan Modra <amodra@gmail.com>
1671 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1673 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1675 * config/tc-nios2.c (nios2_as_options): Make file static.
1676 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1677 * config/tc-sparc.c (native_op_table): Likewise.
1679 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1681 * config/tc-m32c.c (M32C_Macros): Remove.
1682 * config/tc-msp430.c (option_numbers): Likewise.
1684 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1686 * testsuite/gas/arc/nps400-3.d: New file.
1687 * testsuite/gas/arc/nps400-3.s: New file.
1689 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1691 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1692 * testsuite/gas/arc/warn.s: Likewise.
1693 * testsuite/gas/elf/elf.exp: Run test for arc.
1695 2016-04-14 Nick Clifton <nickc@redhat.com>
1698 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1699 sections possibly having the SHF_STRINGS flag bit set.
1700 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1702 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1704 * config/tc-arc.c (mach_type_specified_p): Change type to
1706 (arc_option): Set private flags when parsing cpu pseudo-op.
1707 (md_parse_option): Set mach_type_specified_p to TRUE.
1709 2016-04-13 Nick Clifton <nickc@redhat.com>
1712 * testsuite/gas/v850/pr19937.s: New test.
1713 * testsuite/gas/v850/pr19937.d: New test control file.
1714 * testsuite/gas/v850/basic.exp: Run the new test.
1716 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1717 Andrew Bennett <andrew.bennett@imgtec.com>
1719 * config/tc-mips.c (relaxed_branch_length): Use the long
1720 sequence where the target is a weak symbol.
1721 (relaxed_micromips_32bit_branch_length): Likewise.
1722 (relaxed_micromips_16bit_branch_length): Likewise.
1723 * testsuite/gas/mips/branch-weak-1.d: New test.
1724 * testsuite/gas/mips/branch-weak-2.d: New test.
1725 * testsuite/gas/mips/branch-weak-3.d: New test.
1726 * testsuite/gas/mips/branch-weak-4.d: New test.
1727 * testsuite/gas/mips/branch-weak-5.d: New test.
1728 * testsuite/gas/mips/branch-weak.l: New stderr output.
1729 * testsuite/gas/mips/branch-weak.s: New test source.
1730 * testsuite/gas/mips/mips.exp: Run the new tests.
1732 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1734 * config/tc-mips.c (relaxed_branch_length): Use the long
1735 sequence where the distance cannot be determined.
1736 (relaxed_micromips_32bit_branch_length): Likewise.
1737 * testsuite/gas/mips/branch-extern-1.d: New test.
1738 * testsuite/gas/mips/branch-extern-2.d: New test.
1739 * testsuite/gas/mips/branch-extern-3.d: New test.
1740 * testsuite/gas/mips/branch-extern-4.d: New test.
1741 * testsuite/gas/mips/branch-extern.l: New stderr output.
1742 * testsuite/gas/mips/branch-extern.s: New test source.
1743 * testsuite/gas/mips/branch-section-1.d: New test.
1744 * testsuite/gas/mips/branch-section-2.d: New test.
1745 * testsuite/gas/mips/branch-section-3.d: New test.
1746 * testsuite/gas/mips/branch-section-4.d: New test.
1747 * testsuite/gas/mips/branch-section.l: New stderr output.
1748 * testsuite/gas/mips/branch-section.s: New test source.
1749 * testsuite/gas/mips/mips.exp: Run the new tests.
1751 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1753 * testsuite/gas/arc/textauxregister.d: New file.
1754 * testsuite/gas/arc/textauxregister.s: Likewise.
1755 * testsuite/gas/arc/textcondcode.d: Likewise.
1756 * testsuite/gas/arc/textcondcode.s: Likewise.
1757 * testsuite/gas/arc/textcoreregister.d: Likewise.
1758 * testsuite/gas/arc/textcoreregister.s: Likewise.
1759 * testsuite/gas/arc/textpseudoop.d: Likewise.
1760 * testsuite/gas/arc/textpseudoop.s: Likewise.
1761 * testsuite/gas/arc/ld2.d: Update test.
1762 * testsuite/gas/arc/st.d: Likewise.
1763 * testsuite/gas/arc/taux.d: Likewise.
1764 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1765 .extCoreRegister and .extAuxRegister documentation.
1766 * config/tc-arc.c (arc_extcorereg): New function.
1767 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1768 .extAuxRegister pseudo-ops.
1769 (extRegister_t): New type.
1770 (ext_condcode, arc_aux_hash): New global variable.
1771 (find_opcode_match): Check for extensions.
1772 (preprocess_operands): Likewise.
1773 (md_begin): Add aux registers in a hash.
1774 (assemble_insn): Update use arc_flags member.
1775 (tokenize_extregister): New function.
1776 (create_extcore_section): Likewise.
1777 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1779 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1781 * testsuite/gas/arc/noargs_a7.d: New file.
1782 * testsuite/gas/arc/noargs_a7.s: Likewise.
1783 * testsuite/gas/arc/noargs_hs.d: Likewise.
1784 * testsuite/gas/arc/noargs_hs.s: Likewise.
1786 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1788 * testsuite/gas/arc/textinsn-errors.d: New File.
1789 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1790 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1791 * testsuite/gas/arc/textinsn2op.d: Likewise.
1792 * testsuite/gas/arc/textinsn2op.s: Likewise.
1793 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1794 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1795 * testsuite/gas/arc/textinsn3op.d: Likewise.
1796 * testsuite/gas/arc/textinsn3op.s: Likewise.
1797 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1799 * config/tc-arc.c (arcext_section): New variable.
1800 (arc_extinsn): New function.
1801 (md_pseudo_table): Add .extInstruction pseudo op.
1802 (attributes_t): New type.
1803 (suffixclass, syntaxclass, syntaxclassmod): New constant
1805 (find_opcode_match): Remove arc_num_opcodes.
1806 (md_begin): Likewise.
1807 (tokenize_extinsn): New function.
1808 (arc_set_ext_seg): Likewise.
1809 (create_extinst_section): Likewise.
1811 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1813 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1814 (arc_adjust_symtab): New function.
1815 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1816 (obj_adjust_symtab): Likewise.
1817 * testsuite/gas/arc/taux.d: New file.
1818 * testsuite/gas/arc/taux.s: Likewise.
1820 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1822 * config/tc-mips.c (s_option): Sanitize `.option picX'
1824 * testsuite/gas/mips/option-pic-1.d: New test.
1825 * testsuite/gas/mips/option-pic-2.l: New list test.
1826 * testsuite/gas/mips/option-pic-1.s: New test source.
1827 * testsuite/gas/mips/option-pic-2.s: New test source.
1828 * testsuite/gas/mips/mips.exp: Run the new tests.
1830 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1832 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1834 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1835 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1836 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1837 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1838 * testsuite/gas/mips/mips.exp: Run the new tests.
1840 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1842 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1844 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1846 * messages.c (as_bad): Fix a typo in description.
1848 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1850 * config/tc-mips.c (mips_check_options): Unify messages.
1852 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1854 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1857 2016-04-08 Nick Clifton <nickc@redhat.com>
1860 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1861 COFF and AOUT sparc targets.
1863 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1865 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1866 * testsuite/gas/arc/nps400-2.d: New file.
1867 * testsuite/gas/arc/nps400-2.s: New file.
1869 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1871 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1873 (arc_opcode_hash_entry_iterator_init): New function.
1874 (arc_opcode_hash_entry_iterator_next): New function.
1875 (find_opcode_match): Iterate over all arc_opcode entries
1876 referenced by the arc_opcode_hash_entry passed in as a parameter.
1878 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1880 * config/tc-arc.c (arc_find_opcode): Now returns
1881 arc_opcode_hash_entry pointer.
1882 (find_opcode_match): Update argument type, extract arc_opcode from
1883 incoming arc_opcode_hash_entry.
1884 (find_special_case_pseudo): Update return type.
1885 (find_special_case_flag): Update return type.
1886 (find_special_case): Update return type.
1887 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1888 instruction mnemonic, then use find_opcode_match to identify
1889 specific arc_opcode.
1891 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1893 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1894 (arc_find_opcode): New function.
1895 (find_special_case_pseudo): Use arc_find_opcode.
1896 (find_special_case_flag): Likewise.
1897 (assemble_tokens): Likewise.
1898 (md_begin): Build hash using struct arc_opcode_hash_entry.
1900 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1902 * config/tc-arc.c (arc_option): Prepare string for automatic
1904 (declare_register): Likewise.
1906 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1908 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1909 Correct entry for RDMA. Alpha sort entries.
1911 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1913 * config/tc-arc.c (tokenize_flags): Allow greater range of
1914 characters into flag names.
1916 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1918 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1920 (preprocess_operands): Delete.
1921 (assemble_tokens): Remove call to preprocess_operands.
1923 2016-04-07 Nick Clifton <nickc@redhat.com>
1926 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1927 inside a %-macro could not be fully parsed.
1928 * expr.c (integer_constant): Accept and ignore U suffixes to
1930 (operand): When a missing closing parenthesis is encountered,
1931 report the character that was found instead.
1932 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1933 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1934 * testsuite/gas/sparc/pr19910-1.s: New test.
1935 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1936 * testsuite/gas/sparc/pr19910-2.s: New test.
1937 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1939 2016-04-06 Nick Clifton <nickc@redhat.com>
1941 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1942 an EINT instruction. Warn/fix as necessary.
1943 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1944 * testsuite/gas/msp430/bad.l: Update expected messages.
1946 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1948 * testsuite/gas/arc/nps400-1.d: Update expected results.
1949 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1951 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1953 * config/tc-arc.c (is_code_density_p): Compare directly the
1955 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1956 (check_cpu_feature): New function.
1957 (find_opcode_match): Use check_cpu_feature function.
1958 (preprocess_operands): Likewise.
1959 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1960 * testsuite/gas/arc/tdpfp.d: New file.
1961 * testsuite/gas/arc/tfpuda.d: Likewise.
1962 * testsuite/gas/arc/tfpx.s: Likewise.
1964 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1966 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1967 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1968 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1969 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1970 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1971 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1972 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1973 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1975 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1977 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1979 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1980 JUMP instructions type.
1981 * testsuite/gas/arc/relocs-errors.d: New file.
1982 * testsuite/gas/arc/relocs-errors.err: Likewise.
1983 * testsuite/gas/arc/relocs-errors.s: Likewise.
1985 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1988 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1989 only if i.disp_encoding != disp_encoding_32bit.
1990 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1991 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1992 * gas/testsuite/gas/i386/disp32.d: Updated.
1993 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1995 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1998 * testsuite/gas/i386/i386.exp: Run pr19498.
1999 * testsuite/gas/i386/pr19498.d: New file.
2000 * testsuite/gas/i386/pr19498.s: Likewise.
2002 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
2004 * config/tc-arc.h: Include 'opcode/arc.h'.
2005 (MAX_INSN_ARGS): Delete.
2006 (MAX_INSN_FLGS): Delete.
2008 2016-04-04 Alan Modra <amodra@gmail.com>
2011 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
2012 from function on all paths that set sy_resolving.
2014 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2016 * app.c (app_push): use XNEW macro.
2018 * config/obj-elf.c (obj_elf_change_section): Likewise.
2019 (elf_copy_symbol_attributes): Likewise.
2020 (obj_elf_size): Likewise.
2021 (build_group_lists): Likewise.
2022 * config/tc-aarch64.c (add_operand_error_record): Likewise.
2023 (md_assemble): Likewise.
2024 (tc_gen_reloc): Likewise.
2025 (get_upper_str): Likewise.
2026 (aarch64_parse_features): Likewise.
2027 * config/tc-arm.c (insert_reg_alias): Likewise.
2028 (insert_neon_reg_alias): Likewise.
2029 (find_or_make_literal_pool): Likewise.
2030 (s_arm_elf_cons): Likewise.
2031 (add_unwind_opcode): Likewise.
2032 (arm_parse_extension): Likewise.
2033 * config/tc-avr.c (create_record_for_frag): Likewise.
2034 * config/tc-crx.c: Likewise.
2035 * config/tc-d30v.c: Likewise.
2036 * config/tc-dlx.c (s_proc): Likewise.
2037 * config/tc-ft32.c: Likewise.
2038 * config/tc-h8300.c: Likewise.
2039 * config/tc-hppa.c (pa_proc): Likewise.
2040 (create_new_space): Likewise.
2041 (create_new_subspace): Likewise.
2042 * config/tc-i860.c: Likewise.
2043 * config/tc-i960.c: Likewise.
2044 * config/tc-ia64.c: Likewise.
2045 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
2046 (iq2000_record_hi16): Likewise.
2047 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
2048 * config/tc-m32r.c (debug_sym): Likewise.
2049 (m32r_record_hi16): Likewise.
2050 * config/tc-m68k.c (m68k_ip): Likewise.
2051 (md_begin): Likewise.
2052 * config/tc-mcore.c: Likewise.
2053 * config/tc-microblaze.c (check_got): Likewise.
2054 * config/tc-mips.c (append_insn): Likewise.
2055 (s_mipsset): Likewise.
2056 (mips_record_label): Likewise.
2057 (s_mips_end): Likewise.
2058 * config/tc-mmix.c (mmix_frob_file): Likewise.
2059 * config/tc-mn10200.c: Likewise.
2060 * config/tc-mn10300.c: Likewise.
2061 * config/tc-moxie.c: Likewise.
2062 * config/tc-msp430.c: Likewise.
2063 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2064 * config/tc-ns32k.c: Likewise.
2065 * config/tc-or1k.c: Likewise.
2066 * config/tc-pdp11.c: Likewise.
2067 * config/tc-pj.c (fake_opcode): Likewise.
2068 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2069 (ppc_macro): Likewise.
2070 (ppc_dwsect): Likewise.
2071 (ppc_machine): Likewise.
2072 * config/tc-rl78.c (rl78_frag_init): Likewise.
2073 * config/tc-rx.c (rx_frag_init): Likewise.
2074 * config/tc-s390.c (s390_lit_suffix): Likewise.
2075 (s390_machine): Likewise.
2076 (s390_machinemode): Likewise.
2077 * config/tc-score.c (s3_insert_reg): Likewise.
2078 (s3_gen_reloc): Likewise.
2079 * config/tc-score7.c (s7_insert_reg): Likewise.
2080 (s7_gen_reloc): Likewise.
2081 * config/tc-tic30.c (tic30_operand): Likewise.
2082 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2083 * config/tc-tic54x.c (stag_add_field): Likewise.
2084 (tic54x_struct): Likewise.
2085 (tic54x_space): Likewise.
2086 (tic54x_field): Likewise.
2087 (tic54x_mlib): Likewise.
2088 (subsym_substitute): Likewise.
2089 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2090 * config/tc-vax.c: Likewise.
2091 * config/tc-xc16x.c: Likewise.
2092 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2093 (directive_push): Likewise.
2094 (xtensa_begin_directive): Likewise.
2095 (tokenize_arguments): Likewise.
2096 (xtensa_add_literal_sym): Likewise.
2097 (new_resource_table): Likewise.
2098 (resize_resource_table): Likewise.
2099 (emit_single_op): Likewise.
2100 (xtensa_create_trampoline_frag): Likewise.
2101 (xtensa_maybe_create_literal_pool_frag): Likewise.
2102 (xtensa_add_config_info): Likewise.
2103 (xtensa_realloc_fixup_cache): Likewise.
2104 (add_subseg_info): Likewise.
2105 (cache_literal_section): Likewise.
2106 (add_xt_block_frags): Likewise.
2107 (add_xt_prop_frags): Likewise.
2108 (init_op_placement_info_table): Likewise.
2109 (build_section_rename): Likewise.
2110 * config/tc-z80.c: Likewise.
2111 * config/tc-z8k.c: Likewise.
2112 * depend.c (register_dependency): Likewise.
2113 * dwarf2dbg.c (get_line_subseg): Likewise.
2114 (dwarf2_gen_line_info_1): Likewise.
2115 (get_filenum): Likewise.
2116 * ecoff.c (allocate_scope): Likewise.
2117 (allocate_vlinks): Likewise.
2118 (allocate_shash): Likewise.
2119 (allocate_thash): Likewise.
2120 (allocate_tag): Likewise.
2121 (allocate_forward): Likewise.
2122 (allocate_thead): Likewise.
2123 (allocate_lineno_list): Likewise.
2124 * expr.c (make_expr_symbol): Likewise.
2125 * hash.c (hash_new_sized): Likewise.
2126 * input-file.c (input_file_push): Likewise.
2127 * listing.c (file_info): Likewise.
2128 (listing_newline): Likewise.
2129 * macro.c (new_formal): Likewise.
2130 (define_macro): Likewise.
2131 * remap.c (add_debug_prefix_map): Likewise.
2132 * symbols.c (symbol_find_noref): Likewise.
2133 (define_dollar_label): Likewise.
2134 (fb_label_instance_inc): Likewise.
2135 (symbol_relc_make_value): Likewise.
2137 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2139 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2140 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2141 (ppc_znop): Likewise.
2142 (ppc_pe_section): Likewise.
2143 (ppc_frob_symbol): Likewise.
2144 * config/tc-tic30.c (tic30_operand): Likewise.
2145 * config/tc-tic4x.c (tic4x_sect): Likewise.
2146 (tic4x_usect): Likewise.
2148 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2150 * config/tc-alpha.c: Const qualify FLT_CHARS.
2151 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2152 * config/tc-cris.h: Likewise.
2154 * config/tc-mmix.c (md_atof): Adjust comment.
2155 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2156 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2158 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2160 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2161 * config/tc-score7.c (s7_gen_reloc): Likewise.
2163 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2165 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2166 bfd_reloc_code_real_type.
2168 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2170 * config/bfin-parse.y (current_inputline): Remove definition.
2171 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2173 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2175 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2178 2016-04-02 Alan Modra <amodra@gmail.com>
2181 * read.c (assign_symbol): Consume rest of line after an error
2182 rather than continuing to process the line.
2184 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2186 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2187 (MAX_FLAG_NAME_LENGTH): ...this.
2188 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2189 * config/tc-arc.c (tokenize_flags): Likewise.
2191 2016-04-01 Alan Modra <amodra@gmail.com>
2193 * cgen.c (weak_operand_overflow_check): Return const char*.
2194 * messages.c (as_internal_value_out_of_range): Formatting.
2195 (as_warn_value_out_of_range): Consify prefix param.
2196 (as_bad_value_out_of_range): Likewise.
2197 * read.c (s_errwarn): Constify msg..
2198 (s_float_space, float_cons): ..and err.
2199 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2200 ieee_md_atof, vax_md_atof): Update prototypes.
2201 * tc.h (md_atof): Update prototype.
2202 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2203 * config/atof-vax.c (vax_md_atof): Likewise.
2204 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2205 * config/tc-aarch64.c (md_atof): Return const char*.
2206 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2207 (s_alpha_comm): Constify sec_name.
2208 (section_name): Constify.
2209 (s_alpha_section): Consify name..
2210 (alpha_elf_section_letter): ..and ptr_msg param..
2211 (md_atof): ..and return.
2212 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2213 * config/tc-arc.c (md_atof): Return const char*.
2214 * config/tc-arm.c (md_atof): Likewise.
2215 * config/tc-avr.c (md_atof): Likewise.
2216 * config/tc-bfin.c (md_atof): Likewise.
2217 * config/tc-cr16.c (md_atof): Likewise.
2218 * config/tc-cris.c (md_atof): Likewise.
2219 * config/tc-crx.c (md_atof): Likewise.
2220 * config/tc-d10v.c (md_atof): Likewise.
2221 * config/tc-d30v.c (md_atof): Likewise.
2222 * config/tc-dlx.c (md_atof): Likewise.
2223 * config/tc-epiphany.c (md_atof): Likewise.
2224 * config/tc-fr30.c (md_atof): Likewise.
2225 * config/tc-frv.c (md_atof): Likewise.
2226 * config/tc-ft32.c (md_atof): Likewise.
2227 * config/tc-h8300.c (md_atof): Likewise.
2228 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2229 (struct default_space_dict): Likewise.
2230 (create_new_space): Constify name param.
2231 (create_new_subspace): Likewise.
2232 (is_defined_space, is_defined_subspace): Likewise.
2233 (pa_parse_space_stmt): Constify space_name param.
2234 (md_atof): Return const char*.
2235 (pa_spaces_begin): Constify name.
2236 * config/tc-i370.c (md_atof): Return const char*.
2237 * config/tc-i386.c (md_atof): Likewise.
2238 (x86_64_section_letter): Constify ptr_msg param.
2239 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2240 * config/tc-i860.c (struct i860_it): Constify error.
2241 (md_atof): Return const char*.
2242 * config/tc-i960.c (md_atof): Likewise.
2243 * config/tc-ia64.c (md_atof): Likewise.
2244 (ia64_elf_section_letter): Constify ptr_msg param.
2245 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2246 * config/tc-ip2k.c (md_atof): Return const char*.
2247 * config/tc-iq2000.c (md_atof): Likewise.
2248 * config/tc-lm32.c (md_atof): Likewise.
2249 * config/tc-m32c.c (md_atof): Likewise.
2250 * config/tc-m32r.c (md_atof): Likewise.
2251 * config/tc-m68hc11.c (md_atof): Likewise.
2252 * config/tc-m68k.c (md_atof): Likewise.
2253 * config/tc-mcore.c (md_atof): Likewise.
2254 * config/tc-mep.c (md_atof): Likewise.
2255 (mep_elf_section_letter): Constify ptr_msg param.
2256 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2257 * config/tc-metag.c (md_atof): Return const char*.
2258 * config/tc-microblaze.c (md_atof): Likewise.
2259 * config/tc-microblaze.h (md_atof): Delete prototype.
2260 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2261 (md_atof): Return const char*.
2262 * config/tc-mmix.c (md_atof): Likewise.
2263 * config/tc-mn10200.c (md_atof): Likewise.
2264 * config/tc-mn10300.c (md_atof): Likewise.
2265 * config/tc-moxie.c (md_atof): Likewise.
2266 * config/tc-msp430.c (md_atof): Likewise.
2267 * config/tc-mt.c (md_atof): Likewise.
2268 * config/tc-nds32.c (md_atof): Likewise.
2269 * config/tc-nios2.c (md_atof): Likewise.
2270 (nios2_elf_section_letter): Constify ptr_msg param.
2271 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2272 * config/tc-ns32k.c (md_atof): Return const char*.
2273 * config/tc-or1k.c (md_atof): Likewise.
2274 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2275 (md_atof): Return const char*.
2276 * config/tc-pj.c (md_atof): Likewise.
2277 * config/tc-ppc.c (md_atof): Likewise.
2278 * config/tc-rl78.c (md_atof): Likewise.
2279 * config/tc-rx.c (md_atof): Likewise.
2280 * config/tc-s390.c (md_atof): Likewise.
2281 * config/tc-score.c (s3_atof, md_atof): Likewise.
2282 * config/tc-sh.c (md_atof): Likewise.
2283 * config/tc-sparc.c (struct sparc_it): Constify error.
2284 (md_atof): Return const char*.
2285 * config/tc-spu.c (md_atof): Likewise.
2286 * config/tc-tic30.c (md_atof): Likewise.
2287 * config/tc-tic4x.c (md_atof): Likewise.
2288 * config/tc-tic54x.c (md_atof): Likewise.
2289 * config/tc-tic6x.c (md_atof): Likewise.
2290 * config/tc-tilegx.c (md_atof): Likewise.
2291 * config/tc-tilepro.c (md_atof): Likewise.
2292 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2293 * config/tc-vax.c (md_atof): Likewise.
2294 * config/tc-visium.c (md_atof): Likewise.
2295 * config/tc-xc16x.c (md_atof): Likewise.
2296 * config/tc-xgate.c (md_atof): Likewise.
2297 * config/tc-xstormy16.c (md_atof): Likewise.
2298 * config/tc-xtensa.c (md_atof): Likewise.
2299 * config/tc-z80.c (md_atof): Likewise.
2300 * config/tc-z8k.c (md_atof): Likewise.
2302 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2304 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2306 (xtensa_section_rename): Make argument type const char *.
2307 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2309 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2311 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2314 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2316 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2318 (m32c_indirect_operand): Likewise.
2319 * config/tc-nds32.c (do_pseudo_b): Likewise.
2320 (do_pseudo_bal): Likewise.
2321 (do_pseudo_ls_bhw): Likewise.
2323 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2325 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2327 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2329 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2331 * config/tc-sparc.c (s_register): Cast a literal to char * in
2334 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2336 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2338 * config/tc-m32r.c (expand_debug_syms): Likewise.
2339 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2340 * config/tc-z80.c (md_begin): Likewise.
2341 * stabs.c (stabs_generate_asm_func): Likewise.
2343 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2345 * cgen.c: Modernize the way functions declare arguments.
2346 * config/tc-bfin.c: Likewise.
2347 * config/tc-pdp11.c: Likewise.
2348 * literal.c: Likewise.
2350 * stabs.c: Likewise.
2352 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2354 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2355 variables unsigned char[].
2356 * config/tc-alpha.c (alpha_handle_align): Likewise.
2357 * config/tc-arm.c (arm_handle_align): Likewise.
2358 * config/tc-z80.c: Likewise.
2360 2016-03-30 Nick Clifton <nickc@redhat.com>
2363 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2366 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2368 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2369 * testsuite/gas/elf/elf.exp: Likewise.
2370 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2372 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2374 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2376 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2378 * testsuite/gas/arc/ext2op.d: New file.
2379 * testsuite/gas/arc/ext2op.s: Likewise.
2380 * testsuite/gas/arc/ext3op.d: Likewise.
2381 * testsuite/gas/arc/ext3op.s: Likewise.
2383 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2385 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2387 * config/tc-alpha.c (md_parse_option): Likewise.
2388 * config/tc-arc.c (md_parse_option): Likewise.
2389 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2390 (md_parse_option): Likewise.
2391 * config/tc-avr.c (md_parse_option): Likewise.
2392 * config/tc-bfin.c (md_parse_option): Likewise.
2393 * config/tc-cr16.c (md_parse_option): Likewise.
2394 * config/tc-cris.c (s_cris_arch): Likewise.
2395 (md_parse_option): Likewise.
2396 * config/tc-crx.c (md_parse_option): Likewise.
2397 * config/tc-d10v.c (md_parse_option): Likewise.
2398 * config/tc-d30v.c (md_parse_option): Likewise.
2399 * config/tc-dlx.c (md_parse_option): Likewise.
2400 * config/tc-epiphany.c (md_parse_option): Likewise.
2401 * config/tc-fr30.c (md_parse_option): Likewise.
2402 * config/tc-frv.c (md_parse_option): Likewise.
2403 * config/tc-ft32.c (md_parse_option): Likewise.
2404 * config/tc-h8300.c (md_parse_option): Likewise.
2405 * config/tc-hppa.c (md_parse_option): Likewise.
2406 * config/tc-i370.c (md_parse_option): Likewise.
2407 * config/tc-i386.c (md_parse_option): Likewise.
2408 * config/tc-i860.c (md_parse_option): Likewise.
2409 * config/tc-i960.c (md_parse_option): Likewise.
2410 * config/tc-ia64.c (md_parse_option): Likewise.
2411 * config/tc-ip2k.c (md_parse_option): Likewise.
2412 * config/tc-iq2000.c (md_parse_option): Likewise.
2413 * config/tc-lm32.c (md_parse_option): Likewise.
2414 * config/tc-m32c.c (md_parse_option): Likewise.
2415 * config/tc-m32r.c (md_parse_option): Likewise.
2416 * config/tc-m68hc11.c (md_parse_option): Likewise.
2417 * config/tc-m68k.c (md_parse_option): Likewise.
2418 * config/tc-mcore.c (md_parse_option): Likewise.
2419 * config/tc-mep.c (md_parse_option): Likewise.
2420 * config/tc-metag.c (struct metag_long_option): Likewise.
2421 (md_parse_option): Likewise.
2422 * config/tc-microblaze.c (md_parse_option): Likewise.
2423 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2424 * config/tc-mips.c (md_parse_option): Adjust.
2425 * config/tc-mmix.c (md_parse_option): Likewise.
2426 * config/tc-mn10200.c (md_parse_option): Likewise.
2427 * config/tc-mn10300.c (md_parse_option): Likewise.
2428 * config/tc-moxie.c (md_parse_option): Likewise.
2429 * config/tc-msp430.c (md_parse_option): Likewise.
2430 * config/tc-mt.c (md_parse_option): Likewise.
2431 * config/tc-nds32.c (md_parse_option): Likewise.
2432 * config/tc-nds32.h (nds32_parse_option): Likewise.
2433 * config/tc-nios2.c (md_parse_option): Likewise.
2434 * config/tc-ns32k.c (md_parse_option): Likewise.
2435 * config/tc-or1k.c (md_parse_option): Likewise.
2436 * config/tc-pdp11.c (md_parse_option): Likewise.
2437 * config/tc-pj.c (md_parse_option): Likewise.
2438 * config/tc-ppc.c (md_parse_option): Likewise.
2439 * config/tc-rl78.c (md_parse_option): Likewise.
2440 * config/tc-rx.c (md_parse_option): Likewise.
2441 * config/tc-s390.c (s390_parse_cpu): Likewise.
2442 * config/tc-score.c (md_parse_option): Likewise.
2443 * config/tc-sh.c (md_parse_option): Likewise.
2444 * config/tc-sparc.c (md_parse_option): Likewise.
2445 * config/tc-spu.c (md_parse_option): Likewise.
2446 * config/tc-tic30.c (md_parse_option): Likewise.
2447 * config/tc-tic4x.c (md_parse_option): Likewise.
2448 * config/tc-tic54x.c (md_parse_option): Likewise.
2449 * config/tc-tic6x.c (md_parse_option): Likewise.
2450 * config/tc-tilegx.c (md_parse_option): Likewise.
2451 * config/tc-tilepro.c (md_parse_option): Likewise.
2452 * config/tc-v850.c (md_parse_option): Likewise.
2453 * config/tc-vax.c (md_parse_option): Likewise.
2454 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2455 * config/tc-xc16x.c (md_parse_option): Likewise.
2456 * config/tc-xgate.c (md_parse_option): Likewise.
2457 * config/tc-xstormy16.c (md_parse_option): Likewise.
2458 * config/tc-xtensa.c (md_parse_option): Likewise.
2459 * config/tc-z80.c (md_parse_option): Likewise.
2460 * config/tc-z8k.c (md_parse_option): Likewise.
2461 * tc.h (md_parse_option): Likewise.
2463 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2465 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2466 * config/tc-hppa.c (fix_new_hppa): Likewise.
2467 (pa_vtable_entry): Likewise.
2468 (pa_vtable_inherit): Likewise.
2469 * config/tc-m68k.c (md_begin): Likewise.
2471 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2473 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2474 * config/obj-elf.h (obj_elf_section_name): Adjust.
2475 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2476 (aarch64_parse_cpu): Likewise.
2477 (aarch64_parse_arch): Likewise.
2478 * config/tc-arm.c (arm_parse_extension): Likewise.
2479 (arm_parse_cpu): Likewise.
2480 (arm_parse_arch): Likewise.
2481 * config/tc-nds32.c: Likewise.
2482 * config/xtensa-relax.c (parse_special_fn): Likewise.
2483 * stabs.c (generate_asm_file): Likewise.
2485 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2487 * config/tc-cr16.c (cr16_assemble): New function.
2488 (md_assemble): Call cr16_assemble.
2490 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2492 * as.c (parse_args): Adjust.
2493 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2494 * config/obj-elf.c (elf_frob_symbol): Adjust.
2496 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2498 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2499 registers to be in the 16..31 range.
2501 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2503 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2506 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2508 * config/tc-visium.c (md_atof): Localize the string returned on
2511 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2513 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2514 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2515 * config/tc-m68hc11.c (md_begin): Likewise.
2516 (print_opcode_list): Likewise.
2517 * config/tc-msp430.c (msp430_section): Likewise.
2518 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2519 (s3_build_dependency_insn_hsh): Likewise.
2520 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2521 (s7_build_dependency_insn_hsh): Likewise.
2522 * config/tc-tic4x.c: Likewise.
2523 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2524 (subsym_get_arg): Likewise.
2525 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2526 (get_directive): Likewise.
2527 (cache_literal_section): Likewise.
2528 * config/xtensa-relax.c: Likewise.
2529 * symbols.c (symbol_create): Likewise.
2530 (local_symbol_make): Likewise.
2531 (symbol_relc_make_expr): Likewise.
2533 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2535 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2538 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2540 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2543 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2545 * config/tc-ia64.c (ia64_do_align): Remove.
2546 (ia64_cons_align): Call do_align () directly.
2547 (dot_proc): Likewise.
2548 (stmt_float_cons): Likewise.
2550 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2552 * listing.c (listing_message): Use XNEW style allocation macros.
2553 * read.c (read_a_source_file): Likewise.
2554 (read_symbol_name): Likewise.
2555 (s_mri_common): Likewise.
2556 (assign_symbol): Likewise.
2557 (s_reloc): Likewise.
2558 (emit_expr_with_reloc): Likewise.
2559 (s_incbin): Likewise.
2560 (s_include): Likewise.
2561 * sb.c (sb_build): Likewise.
2562 (sb_check): Likewise.
2564 2016-03-22 Alan Modra <amodra@gmail.com>
2566 * write.c (record_alignment): Revert 2016-02-18 change.
2568 2016-03-22 Alan Modra <amodra@gmail.com>
2570 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2571 (emit_jsrjmp, tc_gen_reloc): Likewise.
2572 * config/tc-i370.c (i370_macro): Likewise.
2574 2016-03-22 Nick Clifton <nickc@redhat.com>
2576 * configure: Regenerate.
2578 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2580 * testsuite/gas/arc/nps400-0.d: New file.
2581 * testsuite/gas/arc/nps400-0.s: New file.
2582 * testsuite/gas/arc/nps400-1.d: New file.
2583 * testsuite/gas/arc/nps400-1.s: New file.
2585 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2587 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2588 declarations to start of block. Reset code on all flags before
2589 attempting to match them. Handle multiple hits on the same flag.
2591 * testsuite/gas/arc/asm-errors.d: New file.
2592 * testsuite/gas/arc/asm-errors.err: New file.
2593 * testsuite/gas/arc/asm-errors.s: New file.
2595 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2597 * config/tc-arc.c (cpu_types): Add nps400 entry.
2598 (check_zol): Handle nps400.
2600 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2602 * config/tc-arc.c (arc_select_cpu): Remove use of
2605 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2607 * config/tc-arc.c (arc_target): Delay initialisation until
2609 (arc_target_name): Likewise.
2610 (arc_features): Likewise.
2611 (arc_mach_type): Likewise.
2612 (cpu_types): Remove "all" entry.
2613 (arc_select_cpu): New function, most of the content is from...
2614 (md_parse_option): ... here. Call new arc_select_cpu.
2615 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2617 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2619 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2620 * testsuite/gas/arc/inline-data-2.d: New file.
2622 2016-03-21 Nick Clifton <nickc@redhat.com>
2624 * atof-generic.c: Replace use of alloca with call to xmalloc.
2626 * dwarf2dbg.c: Likewise.
2627 * macro.c: Likewise.
2628 * remap.c: Likewise.
2629 * stabs.c: Likewise.
2630 * symbols.c: Likewise.
2631 * config/obj-elf.c: Likewise.
2632 * config/tc-aarch64.c: Likewise.
2633 * config/tc-arc.c: Likewise.
2634 * config/tc-arm.c: Likewise.
2635 * config/tc-avr.c: Likewise.
2636 * config/tc-ia64.c: Likewise.
2637 * config/tc-mips.c: Likewise.
2638 * config/tc-msp430.c: Likewise.
2639 * config/tc-nds32.c: Likewise.
2640 * config/tc-ppc.c: Likewise.
2641 * config/tc-sh.c: Likewise.
2642 * config/tc-tic30.c: Likewise.
2643 * config/tc-tic54x.c: Likewise.
2644 * config/tc-xstormy16.c: Likewise.
2645 * config/te-vms.c: Likewise.
2646 * configure: Regenerate.
2648 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2650 * tc-i386.c (f32_1): Change type to unsigned char[].
2670 (jump_31): Likewise.
2671 (f32_patt): Likewise.
2672 (f16_patt): Likewise.
2681 (alt_patt): Likewise.
2683 2016-03-18 Nick Clifton <nickc@redhat.com>
2685 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2686 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2687 .tlsdescldr and .xword directives.
2690 * testsuite/gas/aarch64/pr19721.s: New test source file.
2691 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2693 * doc/as.texinfo: Place the target specific command line options
2694 into their own man page section.
2696 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2698 * config/tc-arm.c (N_S_32): New.
2699 (N_F_16_32): Likewise.
2700 (N_SUF_32): Support N_F16.
2701 (N_IF_32): Likewise.
2702 (neon_dyadic_misc): Likewise.
2703 (do_neon_cmp): Likewise.
2704 (do_neon_cmp_inv): Likewise.
2705 (do_neon_mul): Likewise.
2706 (do_neon_fcmp_absolute): Likewise.
2707 (do_neon_step): Likewise.
2708 (do_neon_abs_neg): Likewise.
2709 (CVT_FLAVOR_VAR): Likewise.
2710 (do_neon_cvt_1): Likewise.
2711 (do_neon_recip_est): Likewise.
2712 (do_vmaxnm): Likewise.
2713 (do_vrint_1): Likewise.
2714 (neon_check_type): Check architecture support for FP16 extension.
2715 (insns): Update comments.
2716 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2717 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2718 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2719 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2721 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2723 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2726 2016-03-16 Nick Clifton <nickc@redhat.com>
2728 * read.c (emit_expr_with_reloc): Add code check a bignum with
2730 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2732 * testsuite/gas/elf/bignum.s: New test source file.
2733 * testsuite/gas/elf/bignum.d: New test driver file.
2734 * testsuite/gas/elf/elf.exp: Run the new test.
2736 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2738 * doc/c-i386.texi (Register Naming): Update to details of the
2739 latest architecture version.
2741 2016-03-10 Mickael Guene <mickael.guene@st.com>
2744 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2746 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2747 (do_t_mov_cmp): Likewise.
2748 (do_t_add_sub): Protect against bad relocations usage.
2749 (do_t_mov_cmp): Likewise.
2750 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2751 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2752 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2753 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2755 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2757 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2759 (do_neon_ld_st_lane): Likewise.
2760 (do_neon_ld_dup): Likewise.
2762 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2764 * testsuite/gas/arc/inline-data-1.d: New file.
2765 * testsuite/gas/arc/inline-data-1.s: New file.
2767 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2769 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2770 * doc/c-arm.texi: Add cortex-r8.
2772 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2774 * config/tc-arc.c: Add const qualifiers.
2775 * config/tc-h8300.c (md_begin): Likewise.
2776 * config/tc-ia64.c (print_prmask): Likewise.
2777 * config/tc-msp430.c (msp430_operands): Likewise.
2778 * config/tc-nds32.c (struct suffix_name): Likewise.
2779 (struct nds32_parse_option_table): Likewise.
2780 (struct nds32_set_option_table): Likewise.
2781 (do_pseudo_pushpopm): Likewise.
2782 (do_pseudo_pushpop_stack): Likewise.
2783 (nds32_relax_relocs): Likewise.
2784 (nds32_flag): Likewise.
2785 (struct nds32_hint_map): Likewise.
2786 (nds32_find_reloc_table): Likewise.
2787 (nds32_match_hint_insn): Likewise.
2788 * config/tc-s390.c: Likewise.
2789 * config/tc-sh.c (get_specific): Likewise.
2790 * config/tc-tic30.c: Likewise.
2791 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2792 (tic4x_indirect_parse): Likewise.
2793 * config/tc-vax.c (vax_cons): Likewise.
2794 * config/tc-z80.c (struct reg_entry): Likewise.
2795 * config/tc-epiphany.c (md_assemble): Adjust.
2796 (epiphany_assemble): New function.
2797 (epiphany_elf_section_rtn): Call do_align directly.
2798 (epiphany_elf_section_text): Likewise.
2799 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2800 (ip2k_elf_section_text): Likewise.
2801 * read.c (do_align): Make it not static.
2802 * read.h (do_align): New prototype.
2804 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2806 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2807 for ARMv8.1 AdvSIMD use.
2808 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2809 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2811 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2813 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2815 (record_feature_use): New.
2816 (mark_feature_used): Use record_feature_use.
2817 (do_neon_qrdmlah): New.
2818 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2820 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2821 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2822 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2823 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2824 Make source file explicit.
2825 * testsuite/gas/arm/armv8-a+rdma.l: New.
2826 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2827 directives. Fix white-space.
2828 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2830 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2832 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2834 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2835 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2837 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2838 (tc_arc_fix_adjustable): Changed default return value to 1.
2839 * testsuite/gas/arc/j.d: Updated expected symbol
2840 * testsuite/gas/arc/jl.d: Likewise
2841 * testsuite/gas/arc/relax-avoid1.d: Likewise
2842 * testsuite/gas/arc/st.d: Likewise
2844 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2846 * config/tc-arc.c: Enable code density instructions for ARC EM.
2848 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2851 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2853 * as.c (flag_use_elf_stt_common): New.
2854 (show_usage): Add --elf-stt-common=.
2855 (option_values): Add OPTION_ELF_STT_COMMON.
2856 (std_longopts): Add --elf-stt-common=.
2857 (parse_args): Handle --elf-stt-common=.
2858 * as.h (flag_use_elf_stt_common): New.
2859 * config.in: Regenerated.
2860 * configure: Likewise.
2861 * configure.ac: Add --enable-elf-stt-common and define
2862 DEFAULT_GENERATE_ELF_STT_COMMON.
2863 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2864 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2865 * doc/as.texinfo: Document --elf-stt-common=.
2866 * testsuite/gas/elf/common3.s: New file.
2867 * testsuite/gas/elf/common3a.d: Likewise.
2868 * testsuite/gas/elf/common3b.d: Likewise.
2869 * testsuite/gas/elf/common4.s: Likewise.
2870 * testsuite/gas/elf/common4a.d: Likewise.
2871 * testsuite/gas/elf/common4b.d: Likewise.
2872 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2873 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2874 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2876 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2877 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2878 --elf-stt-common=no to as.
2879 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2880 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2881 --elf-stt-common=no to as.
2882 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2883 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2884 of dw2-compress-3 and dw2-compressed-3.
2886 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2888 * as.c (select_emulation_mode): Add const qualifiers.
2890 * config/bfin-defs.h: Likewise.
2891 * config/bfin-parse.y: Likewise.
2892 * config/rx-parse.y: Likewise.
2893 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2894 (struct aarch64_cpu_option_table): Likewise.
2895 (struct aarch64_arch_option_table): Likewise.
2896 (struct aarch64_option_cpu_value_table): Likewise.
2897 (struct aarch64_long_option_table): Likewise.
2898 (struct aarch64_option_abi_value_table): Likewise.
2899 * config/tc-arm.c (struct reloc_entry): Likewise.
2900 (tc_gen_reloc): Likewise.
2901 (struct arm_option_table): Likewise.
2902 (struct arm_legacy_option_table): Likewise.
2903 (struct arm_cpu_option_table): Likewise.
2904 (struct arm_arch_option_table): Likewise.
2905 (struct arm_option_extension_value_table): Likewise.
2906 (struct arm_option_fpu_value_table): Likewise.
2907 (struct arm_option_value_table): Likewise.
2908 (struct arm_long_option_table): Likewise.
2909 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2910 (struct mcu_type_s): Likewise.
2911 (struct exp_mod_s): Likewise.
2912 (avr_operand): Likewise.
2913 (avr_operands): Likewise.
2914 * config/tc-d10v.c (md_begin): Likewise.
2915 * config/tc-dlx.c: Likewise.
2916 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2917 * config/tc-ft32.c (parse_condition): Likewise.
2918 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2919 * config/tc-hppa.c (pa_ip): Likewise.
2920 (hppa_regname_to_dw2regnum): Likewise.
2921 * config/tc-i370.c (i370_elf_suffix): Likewise.
2922 * config/tc-i960.c (struct tabentry): Likewise.
2923 * config/tc-m32r.c: Likewise.
2924 * config/tc-m68k.c: Likewise.
2925 * config/tc-m68k.h: Likewise.
2926 * config/tc-mcore.c (parse_psrmod): Likewise.
2927 * config/tc-metag.c (struct metag_core_option): Likewise.
2928 (struct metag_long_option): Likewise.
2929 * config/tc-microblaze.c: Likewise.
2930 * config/tc-mips.c (macro): Likewise.
2931 * config/tc-mn10200.c: Likewise.
2932 * config/tc-mn10300.c: Likewise.
2933 * config/tc-msp430.c (struct rcodes_s): Likewise.
2934 (struct hcodes_s): Likewise.
2935 (md_parse_option): Likewise.
2936 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2937 (optlist): Likewise.
2938 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2939 (tc_ppc_regname_to_dw2regnum): Likewise.
2940 * config/tc-ppc.h: Likewise.
2941 * config/tc-rl78.c: Likewise.
2942 * config/tc-rx.c (struct cpu_type): Likewise.
2943 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2944 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2945 (sparc_ip): Likewise.
2946 * config/tc-spu.c (insn_fmt_string): Likewise.
2947 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2948 * config/tc-v850.c: Likewise.
2949 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2950 (struct visium_long_option_table): Likewise.
2951 * config/tc-xgate.c: Likewise.
2952 * config/tc-z8k.c: Likewise.
2953 * read.c (add_include_dir): Likewise.
2956 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2958 * testsuite/gas/all/gas.exp: Change target pattern to cover
2960 * testsuite/gas/all/redef3.d: Likewise.
2961 * testsuite/gas/elf/elf.exp: Likewise.
2963 2016-02-24 Renlin Li <renlin.li@arm.com>
2965 * config/tc-arm.c (BAD_FP16): New error message macro.
2966 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2967 fp16 scalar instructions.
2968 (neon_check_type): Allow different size from key.
2969 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2970 (try_vfp_nsyn): Likewise.
2971 (do_vfp_nsyn_mla_mls): Likewise.
2972 (do_vfp_nsyn_fma_fms): Likewise.
2973 (do_vfp_nsyn_ldm_stm): Likewise
2974 (do_vfp_nsyn_sqrt): Likewise
2975 (do_vfp_nsyn_div): Likewise
2976 (do_vfp_nsyn_nmul): Likewise.
2977 (do_vfp_nsyn_cmp): Likewise.
2978 (do_neon_shll): Likewise.
2979 (do_vfp_nsyn_cvt_fpv8): Likewise.
2980 (do_neon_cvttb_2): Likewise.
2981 (do_neon_mov): Likewise.
2982 (do_neon_rshift_round_imm): Likewise.
2983 (do_neon_ldr_str): Likewise.
2984 (do_vfp_nsyn_fpv8): Likewise.
2985 (do_vmaxnm): Likewise.
2986 (do_vrint_1): Likewise.
2987 (insns): New entry for vins, vmovx.
2988 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2989 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2990 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2991 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2992 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2993 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2994 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2996 2016-02-24 Renlin Li <renlin.li@arm.com>
2998 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2999 (neon_shape_class): New SC_HALF.
3000 (neon_shape_el): New SE_H.
3001 (neon_shape_el_size): New size for SE_H.
3002 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
3003 (neon_select_shape): Add SE_H support code.
3004 (el_type_of_type_chk): Use N_F_ALL.
3005 (do_vfp_nsyn_cvt): Add SE_H shape support.
3006 (do_neon_cvtz): Likewise.
3007 (do_neon_cvt_1): Likewise.
3008 (do_neon_cvttb_1): Likewise.
3010 2016-02-24 Renlin Li <renlin.li@arm.com>
3012 * testsuite/gas/arm/copro.d: Adjust output.
3013 * testsuite/gas/arm/copro.s: Adjust co-processor num.
3015 2016-02-24 Renlin Li <renlin.li@arm.com>
3017 * testsuite/gas/arm/mask_1.d: New.
3018 * testsuite/gas/arm/mask_1.s: New.
3020 2016-02-24 Renlin Li <renlin.li@arm.com>
3022 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
3023 * testsuite/gas/arm/copro.d: Update.
3025 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3027 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
3028 * doc/c-arm.texi (ARM Options): Document cortex-a32.
3030 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3032 * doc/c-arm.texi (ARM Options): Document cortex-a17.
3034 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3036 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
3039 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3041 * output-file.c (output_file_create): Make file name argument const.
3042 (output_file_close): Likewise.
3043 * output-file.h (output_file_create): Adjust.
3044 (output_file_close): Likewise.
3045 * depend.c (quote_string_for_make): Make src argument const char *.
3046 (register_dependency): Likewise.
3047 (wrap_output): Likewise.
3048 * as.h (register_dependency): Adjust.
3049 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
3051 * symbols.c (S_SET_EXTERNAL): Likewise.
3052 * input-scrub.c (as_where): Return the file name.
3053 * as.h (as_where): Adjust prototype.
3054 * app.c (do_scrub_chars): Adjust.
3055 * cond.c (s_elseif): Likewise.
3057 (initialize_cframe): Likewise.
3058 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3059 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3060 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3061 * config/tc-aarch64.c (output_info): Likewise.
3062 * config/tc-ia64.c (md_assemble): Likewise.
3063 (dot_alias): Likewise.
3064 * config/tc-m68k.c (m68k_frob_label): Likewise.
3065 * config/tc-mmix.c (s_bspec): Likewise.
3066 (mmix_handle_mmixal): Likewise.
3067 * config/tc-rx.c (rx_include): Likewise.
3068 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3069 (tic54x_adjust_symtab): Likewise.
3070 * config/tc-xtensa.c (directive_push): Likewise.
3071 (xtensa_sanity_check): Likewise.
3072 (xtensa_relax_frag): Likewise.
3073 (md_convert_frag): Likewise.
3074 (tinsn_to_slotbuf): Likewise.
3075 * dwarf2dbg.c (dwarf2_where): Likewise.
3076 * ecoff.c (add_file): Likewise.
3077 (ecoff_generate_asm_lineno): Likewise.
3078 * expr.c (make_expr_symbol): Likewise.
3079 * frags.c (frag_new): Likewise.
3080 (frag_var_init): Likewise.
3081 * listing.c (listing_newline): Likewise.
3082 * messages.c (identify): Likewise.
3083 (as_show_where): Likewise.
3084 (as_warn_internal): Likewise.
3085 (as_bad_internal): Likewise.
3086 * read.c (s_irp): Likewise.
3087 (s_macro): Likewise.
3088 (s_reloc): Likewise.
3089 * stabs.c (stabs_generate_asm_file): Likewise.
3090 (stabs_generate_asm_lineno): Likewise.
3091 (stabs_generate_asm_func): Likewise.
3092 * write.c (fix_new_internal): Likewise.
3093 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3094 (as_warn_value_out_of_range): Adjust prototype.
3095 (as_bad_value_out_of_range): Adjust prototype.
3096 * messages.c (identify): Make file name argument const char *.
3097 (as_warn_internal): Likewise.
3098 (as_warn_where): Likewise.
3099 (as_bad_internal): Likewise.
3100 (as_bad_where): Likewise.
3101 (as_internal_value_out_of_range): Likewise.
3102 (as_warn_value_out_of_range): Likewise.
3103 (as_bad_value_out_of_range): Likewise.
3104 * as.h (found_comment_file): Change type to const char *.
3105 * cond.c (file_line::file): Likewise.
3106 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3107 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3108 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3109 * config/tc-aarch64.c (output_info): Likewise.
3110 * config/tc-alpha.c (insert_operand): Likewise.
3111 * config/tc-arc.c (insert_operand): Likewise.
3112 * config/tc-d30v.c (check_size): Likewise.
3113 * config/tc-ia64.c (struct alias): Likewise.
3114 * config/tc-m68k.c (struct label_line): Likewise.
3115 * config/tc-mcore.c (md_apply_fix): Likewise.
3116 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3117 * config/tc-mips.c (mips16_immed): Likewise.
3118 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3119 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3120 * config/tc-rx.c (rx_include): Likewise.
3121 * config/tc-s390.c (s390_insert_operand): Likewise.
3122 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3123 (tic54x_adjust_symtab): Likewise.
3124 * config/tc-tilegx.c (insert_operand): Likewise.
3125 (apply_special_operator): Likewise.
3126 * config/tc-tilepro.c (insert_operand): Likewise.
3127 * config/tc-xtensa.c (directive_push): Likewise.
3128 * ecoff.c (add_file): Likewise.
3129 (ecoff_generate_asm_lineno): Likewise.
3130 * listing.c (listing_newline): Likewise.
3131 * read.c (s_irp): Likewise.
3132 * write.c (install_reloc): Likewise.
3133 * write.h (struct fix): Likewise.
3134 * input-file.c (file_name): Change type to const char *.
3135 (saved_file::file_name): Likewise.
3136 (input_file_open): Change type of argument to const char *.
3137 * input-file.h (input_file_open): Adjust.
3138 * input-scrub.c (logical_input_file): change type to const char *.
3139 (physical_input_file): Likewise.
3140 (struct input_save): Adjust.
3141 (input_scrub_push): Adjust.
3142 (input_scrub_begin): Adjust.
3144 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3145 (input_scrub_include_file): Likewise.
3146 (new_logical_line_flags): Likewise.
3147 (new_logical_line): Likewise.
3149 * frags.h (struct frag): Change type of fr_file to const char *.
3150 * expr.c (expr_symbol_where): Change type of file argument to
3152 * expr.h (expr_symbol_where): Likewise.
3153 * config/tc-i370.c (md_apply_fix): adjust.
3154 * config/tc-mmix.c (mmix_md_end): Likewise.
3155 * config/tc-ppc.c (md_apply_fix): Likewise.
3156 * config/tc-s390.c (md_apply_fix): Likewise.
3157 * symbols.c (report_op_error): Likewise.
3158 (resolve_symbol_value): Likewise.
3159 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3160 (rsrc::file): Likewise.
3161 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3163 (xtensa_relax_frag): Likewise.
3164 (md_convert_frag): Likewise.
3165 (tinsn_to_slotbuf): Likewise.
3166 * expr.c (expr_symbol_line): Likewise.
3167 * macro.c (define_macro): Likewise.
3168 * macro.h (macro_struct): Likewise.
3169 * messages.c (as_show_where): Likewise.
3170 * read.c (s_macro): Likewise.
3171 * stabs.c (stabs_generate_asm_file): Likewise.
3172 (generate_asm_file): Likewise.
3173 (stabs_generate_asm_lineno): Likewise.
3174 * write.h (struct reloc_list): Likewise.
3175 * input-scrub.c (as_where): Change return type to const char *.
3176 * as.h (as_wheree): Adjust.
3178 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3180 * write.c (compress_debug): Move BFD compression bits setting
3182 (write_object_file): Here.
3184 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3186 * config/tc-i386.c (register_number): Check RegVRex.
3187 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3188 with %zmm19 and %zmm3.
3189 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3190 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3192 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3193 Jiong Wang <jiong.wang@arm.com>
3195 * config/tc-arm.c (arm_ext_fp16): New.
3196 (arm_extensions): New entry for "fp16".
3198 2016-02-19 Nick Clifton <nickc@redhat.com>
3201 * read.c (read_a_source_file): Check for assemble_one returning
3202 with input_line_pointer set to NULL.
3204 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3206 * listing.c (rebuffer_line): Change return type to void.
3208 * symbols.c (decode_local_label_name): Make type a const char *.
3209 * listing.c (print_source): Make type of p const char *.
3210 (print_line): Make type of string const char *.
3211 (buffer_line): Return const char *.
3212 (title): Make type const char *.
3213 (subtitle): Likewise.
3214 (listing_listing): Make type of p const char *.
3215 * messages.c (as_internal_value_out_of_range): Make type of prefix
3217 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3218 and string const char *.
3219 * read.c (_bfd_rel): Make type of name const char *.
3220 * app.c (out_string): Change type to const char *.
3221 (struct app_save::out_string): Likewise.
3223 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3224 Nick Clifton <nickc@redhat.com>
3226 * read.c (finish_bundle): Avoid recording a negative alignment.
3227 (do_align): Use unsigned values for n, len and max. Only create
3228 a frag if the alignment requirement is greater than the minimum
3229 byte alignment. Avoid recording a negative alignment.
3230 (s_align): Use unsigned values where appropriate.
3231 (bss_alloc): Use an unsigned value for the alignment.
3232 (sizeof_sleb128): Add a comment noting that we encode one octet
3233 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3234 (emit_leb129_expr): Abort if the emitted encoding was longer than
3236 * read.h (output_leb128): Update prototype.
3237 (sizeof_leb128): Update prototype.
3238 (bss_alloc): Update prototype.
3239 * write.c (record_alignment): Use an unsigned value for the
3240 alignment. Do not record alignments less than the minimum
3241 alignment for a byte.
3242 * write.h (record_alignment): Update prototype.
3244 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3246 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3247 .init.literal/.fini.literal section name.
3248 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3249 list of xtensa tests.
3250 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3251 init-fini-literals test result patterns.
3252 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3253 init-fini-literals test.
3255 2016-02-17 Nick Clifton <nickc@redhat.com>
3257 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3258 devices.csv file as of March 2016.
3260 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3262 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3264 (tc_arc_regname_to_dw2regnum): Likewise.
3265 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3266 (tc_cfi_frame_initial_instructions): Likewise.
3267 (tc_regname_to_dw2regnum): Likewise.
3268 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3269 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3270 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3272 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3274 * doc/internals.texi (S_IS_EXTERN): Remove.
3276 2016-02-16 Nick Clifton <nickc@redhat.com>
3278 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3281 2016-02-16 Renlin Li <renlin.li@arm.com>
3284 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3285 * testsuite/gas/aarch64/movw_label.d: New.
3286 * testsuite/gas/aarch64/movw_label.s: New.
3288 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3291 * config/rx-parse.y (MOV): Opcode generation for index
3292 register addressing mode.
3293 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3294 * testsuite/gas/rx/pr19665.s: New file.
3295 * testsuite/gas/rx/pr19665.s: New file.
3296 * testsuite/gas/rx/mov.d: Update expected output.
3298 2016-02-15 Nick Clifton <nickc@redhat.com>
3300 * doc/as.texinfo (.section): Document that numeric values can now
3301 be used for the flags and type fields of the ELF target's .section
3302 directive. Add notes about the restrictions on setting flags and
3304 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3305 to be given processor specific section types. Allow processor and
3306 application specific flags of a section to be set after
3308 (obj_elf_parse_section_letters): Handle parsing numeric values.
3309 (obj_elf_section_type): Handle parsing numeric values.
3310 (obj_elf_section): Allow numeric type values.
3311 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3312 * testsuite/gas/elf/section10.d: New test.
3313 * testsuite/gas/elf/section10.s: Source file for new test.
3314 * testsuite/gas/elf/elf.exp: Run the new test.
3315 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3316 the description of the flags produced by readelf.
3317 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3318 * NEWS: Mention the new feature.
3320 2016-02-11 Nick Clifton <nickc@redhat.com>
3323 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3324 until it is actually used.
3325 (cfi_set_sections): Set cfi_sections_set to true.
3326 (dot_cfi_startproc): Likewise.
3327 (dot_cfi_endproc): Likewise.
3328 (dot_cfi_fde_data): Likewise.
3329 (cfi_finish): Likewise.
3330 (dot_cfi_sections): Do not set cfi_sections_set.
3331 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3332 their own cfi section name. Also note that the directive can be
3333 reissued provided that CFI generation has not started.
3334 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3335 .cfi_endproc directives so that the redefinition of .cfi_sections
3336 will trigger the generation of the error message.
3337 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3338 number of error message.
3340 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3341 Janek van Oirschot <jvanoirs@synopsys.com>
3343 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3344 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3346 (arc_flags, arc_relax_type): New structure.
3347 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3348 (RELAX_TABLE_ENTRY_MAX): New define.
3349 (relaxation_state, md_relax_table, arc_relaxable_insns)
3350 (arc_num_relaxable_ins): New variable.
3351 (rlx_operand_type, arc_rlx_types): New enums.
3352 (arc_relaxable_ins): New structure.
3353 (OPTION_RELAX): New option.
3354 (arc_insn): New relax member.
3355 (arc_flags): Remove.
3356 (relax_insn_p): New function.
3357 (apply_fixups): Likewise.
3358 (relaxable_operand): Likewise.
3359 (may_relax_expr): Likewise.
3360 (relaxable_flag): Likewise.
3361 (arc_pcrel_adjust): Likewise.
3362 (md_estimate_size_before_relax): Implement.
3363 (md_convert_frag): Likewise.
3364 (md_parse_option): Handle new mrelax option.
3365 (md_show_usage): Likewise.
3366 (assemble_insn): Set relax member.
3367 (emit_insn0): New function.
3368 (emit_insn1): Likewise.
3369 (emit_insn): Handle relaxation case.
3370 * NEWS: Mention the new relaxation option.
3371 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3372 * doc/as.texinfo (Target ARC Options): Likewise.
3373 * testsuite/gas/arc/relax-avoid1.d: New file.
3374 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3375 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3376 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3377 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3378 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3379 * testsuite/gas/arc/relax-b.d: Likewise.
3380 * testsuite/gas/arc/relax-b.s: Likewise.
3382 2016-02-08 Nick Clifton <nickc@redhat.com>
3384 * config/tc-ia64.c (dot_prologue): Fix formatting.
3386 2016-02-04 Nick Clifton <nickc@redhat.com>
3388 * config/obj-elf.c (obj_elf_change_section): Remove support for
3389 ARM NOREAD sections.
3390 * config/tc-arm.c (arm_elf_section_letter): Delete.
3391 * config/tc-arm.h (md_elf_section_letter): Delete.
3392 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3393 * testsuite/gas/arm/section-execute-only.d: Delete.
3394 * testsuite/gas/arm/section-execute-only.s: Delete.
3396 2016-02-04 Nick Clifton <nickc@redhat.com>
3399 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3400 to handle encoding of RRUX instruction.
3401 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3403 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3405 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3407 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3408 substitutions for BFD_RELOC_* as unsigned.
3409 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3410 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3411 * testsuite/gas/xtensa/loc.s: New file: loc test.
3413 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3415 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3417 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3420 * NEWS: Mention new command line option -mrelax-relocations and
3421 new configure option --enable-x86-relax-relocations for x86
3423 * config.in: Regenerated.
3424 * configure.ac: Add --enable-x86-relax-relocations.
3425 (ac_default_x86_relax_relocations): New. Default to 1 except
3426 for x86 Solaris targets older than Solaris 12.
3427 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3428 * configure: Likewise.
3429 * config/tc-i386.c (generate_relax_relocations): New.
3430 (OPTION_MRELAX_RELOCATIONS): Likewise.
3431 (output_disp): Don't generate relax relocations if
3432 generate_relax_relocations is 0.
3433 (md_longopts): Add -mrelax-relocations.
3434 (md_show_usage): Likewise.
3435 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3436 * doc/c-i386.texi: Document -mrelax-relocations=.
3437 * testsuite/gas/i386/got-no-relax.d: New file.
3438 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3439 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3440 * testsuite/gas/i386/localpic.d: Likewise.
3441 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3442 * testsuite/gas/i386/reloc32.d: Likewise.
3443 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3444 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3445 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3446 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3447 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3448 x86-64-gotpcrel-no-relax.
3450 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3452 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3455 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3457 * NEWS: Remove duplicated marker for 2.26.
3459 2016-02-02 Renlin Li <renlin.li@arm.com>
3461 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3463 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3465 * testsuite/gas/ip2k/allinsn.d: New file.
3466 * testsuite/gas/ip2k/allinsn.s: New file.
3467 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3469 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3471 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3472 some load instructions.
3473 * testsuite/gas/epiphany/allinsn.d: Likewise.
3474 * testsuite/gas/epiphany/regression.d: Likewise.
3476 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3478 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3479 suffixes from instruction mnemonics in expected output.
3480 * testsuite/gas/epiphany/allinsn.d: Likewise.
3481 * testsuite/gas/epiphany/regression.d: Likewise.
3482 * testsuite/gas/epiphany/sample.d: Likewise.
3484 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3486 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3488 * testsuite/gas/epiphany/allinsn.d: Likewise.
3489 * testsuite/gas/epiphany/sample.d: Likewise.
3491 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3493 * testsuite/gas/epiphany/sample.d: Update expected output.
3495 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3497 * config/tc-arc.c (md_apply_fix): Allow addendum.
3498 (arc_reloc_op): Allow complex expressions for tpoff.
3499 (md_apply_fix): Handle resolved TLS local symbol.
3500 * testsuite/gas/arc/tls-relocs1.d: New file.
3501 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3503 2016-02-01 Loria <Loria@phantasia.org>
3506 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3507 efficiency and avoid an LLVM loop optimization bug.
3509 2016-02-01 Nick Clifton <nickc@redhat.com>
3511 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3512 message extending a negative 32-bit value into a larger signed
3513 value on a 32-bit host.
3515 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3518 * configure.ac (compressed_debug_sections): Replace == with =.
3519 * configure: Regenerated.
3521 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3522 H.J. Lu <hongjiu.lu@intel.com>
3524 * config/tc-i386.c (avoid_fence): New.
3525 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3527 (OPTION_FENCE_AS_LOCK_ADD): New.
3528 (md_longopts): Add -mfence-as-lock-add.
3529 (md_parse_option): Handle -mfence-as-lock-add.
3530 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3531 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3532 * testsuite/gas/i386/i386.exp: Run new tests.
3533 * testsuite/gas/i386/fence-as-lock-add.s: New.
3534 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3535 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3536 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3537 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3539 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3541 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3542 * configure: Regenerated.
3544 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3546 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3547 (OPTION_MOMIT_LOCK_PREFIX): This.
3548 (md_longopts): Updated.
3549 (md_parse_option): Likewise.
3551 2016-01-25 Catherine Moore <clm@codesourcery.com>
3553 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3554 if abicalls are in effect.
3555 * testsuite/gas/mips/sdata-gp.s: New test.
3556 * testsuite/gas/mips/sdata-gp.d: New expected output
3557 * testsuite/gas/mips/mips.exp: Run new test.
3559 2016-01-25 Renlin Li <renlin.li@arm.com>
3561 * testsuite/gas/arm/thumb2_it_search.d: New.
3562 * testsuite/gas/arm/thumb2_it_search.s: New.
3564 2016-01-21 Nick Clifton <nickc@redhat.com>
3567 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3568 with arm-netbsdelf target.
3569 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3571 2016-01-20 Nick Clifton <nickc@redhat.com>
3574 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3575 * testsuite/gas/arm/blx-bl-convert.d
3576 * testsuite/gas/arm/plt-1.d: Likewise.
3577 * testsuite/gas/arm/reloc-bad.d: Likewise.
3578 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3579 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3580 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3581 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3584 * doc/as.texinfo (Errors): Correct documentation describing the
3585 interaction of .file and .line with warning and error messages.
3588 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3589 * testsuite/gas/arm/archv8m-main.d: Likewise.
3590 * testsuite/gas/arm/archv8m-base.d: Likewise.
3592 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3594 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3595 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3596 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3598 2016-01-20 Mickael Guene <mickael.guene@st.com>
3599 Terry Guo <terry.guo@arm.com>
3601 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3602 SHF_ARM_NOREAD section flag.
3603 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3605 (arm_elf_section_letter) : Declare it.
3606 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3607 SHF_ARM_NOREAD section flag.
3608 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3610 * testsuite/gas/arm/section-execute-only.s: New test case.
3611 * testsuite/gas/arm/section-execute-only.d: Expected output.
3613 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3615 * config/tc-mips.c (micromips_insn_length): Remove the mention
3616 of 48-bit microMIPS instructions.
3618 2016-01-18 Alan Modra <amodra@gmail.com>
3620 * configure: Regenerate.
3622 2016-01-17 Alan Modra <amodra@gmail.com>
3624 * configure: Regenerate.
3626 2016-01-17 Alan Modra <amodra@gmail.com>
3628 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3630 2016-01-14 Nick Clifton <nickc@redhat.com>
3632 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3633 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3634 * testsuite/gas/rl78/rl78.exp: Run the new test.
3636 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3638 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3639 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3641 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3643 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3645 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3647 * config/tc-h8300.c (get_operand): Remove spurious condition in
3648 test for closing parenthesis.
3650 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3652 * config/tc-arm.c (arm_ext_v8_2): New.
3654 * testsuite/gas/arm/armv8_2-a.d: New.
3655 * testsuite/gas/arm/armv8_2-a.s: New.
3657 2016-01-12 Alan Modra <amodra@gmail.com>
3659 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3661 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3663 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3664 xvcmpnesp, xvcmpnesp.>: Delete tests.
3665 * testsuite/gas/ppc/power9.s: Likewise.
3666 * testsuite/gas/ppc/vsx3.d: Likewise.
3667 * testsuite/gas/ppc/vsx3.s: Likewise.
3669 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3672 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3673 * testsuite/gas/m68k/p13050-1.s: New file.
3674 * testsuite/gas/m68k/p13050-2.d: New file.
3675 * testsuite/gas/m68k/p13050-2.s: New file.
3677 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3679 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3680 * testsuite/gas/arc/add.d: Likewise.
3681 * testsuite/gas/arc/and.d: Likewise.
3682 * testsuite/gas/arc/asl.d: Likewise.
3683 * testsuite/gas/arc/asr.d: Likewise.
3684 * testsuite/gas/arc/bic.d: Likewise.
3685 * testsuite/gas/arc/extb.d: Likewise.
3686 * testsuite/gas/arc/extw.d: Likewise.
3687 * testsuite/gas/arc/j.d: Likewise.
3688 * testsuite/gas/arc/jl.d: Likewise.
3689 * testsuite/gas/arc/ld2.d: Likewise.
3690 * testsuite/gas/arc/lsr.d: Likewise.
3691 * testsuite/gas/arc/mov.d: Likewise.
3692 * testsuite/gas/arc/or.d: Likewise.
3693 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3694 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3695 * testsuite/gas/arc/pic-relocs.d: Likewise.
3696 * testsuite/gas/arc/plt-relocs.d: Likewise.
3697 * testsuite/gas/arc/rlc.d: Likewise.
3698 * testsuite/gas/arc/ror.d: Likewise.
3699 * testsuite/gas/arc/rrc.d: Likewise.
3700 * testsuite/gas/arc/sbc.d: Likewise.
3701 * testsuite/gas/arc/sda-relocs.d: Likewise.
3702 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3703 * testsuite/gas/arc/sexb.d: Likewise.
3704 * testsuite/gas/arc/sexw.d: Likewise.
3705 * testsuite/gas/arc/st.d: Likewise.
3706 * testsuite/gas/arc/sub.d: Likewise.
3707 * testsuite/gas/arc/tls-relocs.d: Likewise.
3708 * testsuite/gas/arc/xor.d: Likewise.
3710 2016-01-01 Alan Modra <amodra@gmail.com>
3712 Update year range in copyright notice of all files.
3714 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3716 Copyright (C) 2016 Free Software Foundation, Inc.
3718 Copying and distribution of this file, with or without modification,
3719 are permitted in any medium without royalty provided the copyright
3720 notice and this notice are preserved.
3726 version-control: never