1 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
3 * testsuite/gas/mips/beq.s: Uncomment branches to undefined
5 * testsuite/gas/mips/beq.d: Update accordingly.
6 * testsuite/gas/mips/mipsr6@beq.d: Likewise.
7 * testsuite/gas/mips/micromips@beq.d: Likewise.
9 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
11 * testsuite/gas/mips/mips.exp: Restrict 64-bit `branch-mips'
12 tests to NewABI targets.
14 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
16 * testsuite/gas/mips/mips.exp: Group `branch-misc' tests
19 2016-07-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
21 * config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
23 (aarch64_features): Initialize require fields.
24 (aarch64_parse_features): Handle dependencies.
25 (aarch64_feature_enable_set, aarch64_feature_disable_set): New.
26 (md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
27 * testsuite/gas/aarch64/illegal-nofp16.s: New.
28 * testsuite/gas/aarch64/illegal-nofp16.l: New.
29 * testsuite/gas/aarch64/illegal-nofp16.d: New.
31 2016-07-01 Nick Clifton <nickc@redhat.com>
33 * macro.c (macro_expand_body): Use a buffer big enough to hold an
34 extremely large integer.
36 2016-07-01 Jan Beulich <jbeulich@suse.com>
38 * testsuite/gas/i386/mpx-inval-2.l: Relax for COFF targets.
40 2016-07-01 Tristan Gingold <gingold@adacore.com>
42 * NEWS: Add marker for 2.27.
44 2016-07-01 Jan Beulich <jbeulich@suse.com>
46 * tc-i386.c (i386_index_check): Add special checks for bndmk,
48 * testsuite/gas/i386/mpx-inval-2.s: Add %rip and %eip relative
49 as well as scaling by other than 1 tests.
50 * testsuite/gas/i386/mpx-inval-2.l: Adjust accordingly.
52 2016-07-01 Jan Beulich <jbeulich@suse.com>
54 * tc-i386.c (md_assemble): Alter address size checking for MPX
56 * testsuite/gas/i386/mpx-inval-2.s: New.
57 * testsuite/gas/i386/mpx-inval-2.l: New.
58 * testsuite/gas/i386/i386.exp: Run new test.
60 2016-07-01 Jan Beulich <jbeulich@suse.com>
63 * config/tc-i386.c (match_template): Add char parameter,
64 consumed in Intel mode for an extra suffix check.
65 (md_assemble): New local variable mnem_suffix.
66 * testsuite/gas/i386/suffix-bad.s: New.
67 * testsuite/gas/i386/suffix-bad.l: New.
68 * testsuite/gas/i386/i386.exp: Run new test (twice).
70 2016-07-01 Jan Beulich <jbeulich@suse.com>
72 * testsuite/gas/i386/movz.s: New.
73 * testsuite/gas/i386/movz32.d: New.
74 * testsuite/gas/i386/movz64.d: New.
75 * testsuite/gas/i386/i386.exp: Run new tests.
77 2016-07-01 Jan Beulich <jbeulich@suse.com>
79 * config/tc-i386.c (struct _i386_insn): New field memop1_string.
80 (md_assemble): Free first memory operand string.
81 (i386_index_check): Use repprefixok to distingush xlat from
82 other (real) string ops.
83 (maybe_adjust_templates): New.
84 (i386_att_operand). Call it. Store first memory operand string.
85 * config/tc-i386-intel.c (i386_intel_operand): Likewise.
86 * testsuite/gas/i386/intel-movs.s: New.
87 * testsuite/gas/i386/intel-movs32.d: New.
88 * testsuite/gas/i386/intel-movs64.d: New.
89 * testsuite/gas/i386/i386.exp: Run new tests. Invoke as for
90 64-bits tests with "--defsym x86_64=1 --strip-local-absolute".
92 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
94 * config/tc-mips.c (get_append_method): Fix a comment typo.
96 2016-06-30 Matthew Fortune <Matthew.Fortune@imgtec.com>
97 Maciej W. Rozycki <macro@imgtec.com>
99 * config/tc-mips.c (append_insn) <APPEND_SWAP>: Do not special
100 case MIPS16 handling.
101 * testsuite/gas/mips/branch-swap-3.d: New test.
102 * testsuite/gas/mips/branch-swap-4.d: New test.
103 * testsuite/gas/mips/mips16@branch-swap-3.d: New test.
104 * testsuite/gas/mips/mips16@branch-swap-4.d: New test.
105 * testsuite/gas/mips/micromips@branch-swap-3.d: New test.
106 * testsuite/gas/mips/micromips@branch-swap-4.d: New test.
107 * testsuite/gas/mips/branch-swap-3.s: New test source.
108 * testsuite/gas/mips/mips.exp: Run the new tests.
110 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
112 * config/tc-mips.c (append_insn): Simplify non-MIPS16 branch
115 2016-06-30 Maciej W. Rozycki <macro@imgtec.com>
118 * write.c (subsegs_finish_section): Force no section padding to
119 alignment on failed assembly, always set last frag's alignment
121 * testsuite/gas/all/pr20312.l: New list test.
122 * testsuite/gas/all/pr20312.s: New test source.
123 * testsuite/gas/all/gas.exp: Run the new test
125 2016-06-30 Andrew Burgess <andrew.burgess@embecosm.com>
127 * config.in (TARGET_WITH_CPU): Undefine.
128 * configure.ac: Add --with-cpu support, and define in config.h.
129 * configure: Regenerate.
130 * config/tc-arc.c: Use TARGET_WITH_CPU to select default CPU.
131 * NEWS: Mention new configure option.
133 2016-06-30 Matthew Wahab <matthew.wahab@arm.com>
135 * testsuite/gas/arm/armv8_2+rdma.d: New.
137 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
139 * NEWS: Mention --enable-compressed-debug-sections=gas is the
140 default for Linux/x86 targets.
141 * configure.tgt (ac_default_compressed_debug_sections): Default
142 to yes for Linux/x86 targets.
144 2016-06-29 Maciej W. Rozycki <macro@imgtec.com>
146 * write.c: Remove "libbfd.h" inclusion.
148 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
150 * testsuite/gas/elf/elf.exp: Use `supports_gnu_unique' with the
153 2016-06-28 Alan Modra <amodra@gmail.com>
156 * testsuite/gas/elf/section11.s: Don't start directives in first column.
158 2016-06-28 Richard Sandiford <richard.sandiford@arm.com>
160 * testsuite/gas/aarch64/diagnostic.s,
161 testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.
163 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
165 * config/tc-mips.c (mips16_reloc_p): Handle
166 BFD_RELOC_MIPS16_16_PCREL_S1.
167 (b_reloc_p): Likewise.
168 (limited_pcrel_reloc_p): Likewise.
169 (md_pcrel_from): Likewise.
170 (md_apply_fix): Likewise.
171 (tc_gen_reloc): Likewise.
172 (md_convert_frag): Likewise.
173 (mips_fix_adjustable): Update comment.
174 * testsuite/gas/mips/mips16-branch-reloc-2.d: Remove error
175 output, add dump patterns.
176 * testsuite/gas/mips/mips16-branch-reloc-3.d: Remove error
177 output, add dump patterns.
178 * testsuite/gas/mips/mips16-branch-addend-2.d: Remove error
179 output, add dump patterns.
180 * testsuite/gas/mips/mips16-branch-addend-3.d: Remove error
181 output, add dump patterns.
182 * testsuite/gas/mips/mips16-branch-absolute.d: Remove error
183 output, add dump patterns.
184 * testsuite/gas/mips/mips16-branch-reloc-2.l: Remove file.
185 * testsuite/gas/mips/mips16-branch-reloc-3.l: Remove file.
186 * testsuite/gas/mips/mips16-branch-addend-2.l: Remove file.
187 * testsuite/gas/mips/mips16-branch-addend-3.l: Remove file.
188 * testsuite/gas/mips/mips16-branch-absolute.l: Remove file.
189 * testsuite/gas/mips/mips16-branch-addend-2.s: Add padding.
190 * testsuite/gas/mips/branch-weak.s: Adjust alignment, avoid
191 implicit instruction padding, avoid MIPS16 JR->JRC conversion.
192 * testsuite/gas/mips/branch-weak-6.d: New test.
193 * testsuite/gas/mips/branch-weak-7.d: New test.
194 * testsuite/gas/mips/mips.exp: Run the new tests.
196 2016-06-27 Vineet Gupta <vgupta@synopsys.com>
198 * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
199 cfi_add_CFA_def_cfa to generate default CFA with offset
200 * testsuite/gas/cfi/cfi-arc-1.d: Update expected output.
202 2016-06-27 Nick Clifton <nickc@redhat.com>
205 * as.h (do_not_pad_sections_to_alignment): New global variable.
206 * as.c (show_usage): Add --no-pad-sections.
207 (parse_args): Likewise.
208 * write.c (size_seg): Skip padding the end of the section if
209 requested from the command line.
210 (SUB_SEGMENT_ALIGN): Likewise.
211 * doc/as.texinfo: Document the new option.
212 * NEWS: Mention the new feature.
213 * testsuite/gas/elf/section11.s: New test.
214 * testsuite/gas/elf/section11.d: New test driver.
215 * testsuite/gas/elf/elf.exp: Run the new test.
217 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
219 * config/tc-dlx.c: Include bfd/elf32-dlx.h.
220 * config/tc-dlx.h: Remove prototype of dlx_set_skip_hi16.
222 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
224 * config/tc-xtensa.c (xtensa_elf_suffix): Use ARRAY_SIZE instead of a
226 (map_suffix_reloc_to_operator): Likewise.
227 (map_operator_to_reloc): Likewise.
229 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
231 * config/tc-nds32.c (md_begin): Use ARRAY_SIZE instead of a sentinal
232 element in relax_table.
234 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
236 * config/tc-aarch64.c: Make the type of reg_entry::type
239 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
241 * config/tc-bfin.c (bfin_cpus): Remove sentinal.
242 (md_parse_option): Adjust.
243 * config/tc-aarch64.c (aarch64_parse_abi): Replace use of a sentinal
244 with iteration from 0 to ARRAY_SIZE.
245 * config/tc-mcore.c (md_begin): Likewise.
246 * config/tc-visium.c (visium_parse_arch): Likewise.
248 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
250 * config/tc-tic54x.c (tic54x_set_default_include): remove argument
251 and simplify accordingly.
252 (tic54x_include): Adjust.
253 (tic54x_mlib): Likewise.
255 2016-06-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
257 * config/tc-xtensa.c (xtensa_make_property_section): Remove prototype.
259 2016-06-24 Maciej W. Rozycki <macro@imgtec.com>
261 * config/tc-mips.c (append_insn): Use any `O_symbol' expression
262 unchanged with relaxed MIPS16 instructions.
263 (mips16_extended_frag): Adjust accordingly. Return 1 right
264 away if a relocation will be required for the symbol requested.
265 Remove dead first relaxation pass code.
266 (mips_relax_frag): Pass `sec' down to `mips16_extended_frag'.
267 (md_convert_frag): Adjust symbol value calculation. Raise an
268 error if a relocation is required for the symbol requested.
269 * testsuite/gas/mips/mips16@relax-swap3.d: Remove dump patterns,
271 * testsuite/gas/mips/mips16@relax-swap3.l: New error output.
272 * testsuite/gas/mips/mips16-pcrel-relax-0.d: New test.
273 * testsuite/gas/mips/mips16-pcrel-relax-1.d: New test.
274 * testsuite/gas/mips/mips16-pcrel-relax-2.d: New test.
275 * testsuite/gas/mips/mips16-pcrel-relax-3.d: New test.
276 * testsuite/gas/mips/mips16-pcrel-reloc-0.d: New test.
277 * testsuite/gas/mips/mips16-pcrel-reloc-1.d: New test.
278 * testsuite/gas/mips/mips16-pcrel-reloc-2.d: New test.
279 * testsuite/gas/mips/mips16-pcrel-reloc-3.d: New test.
280 * testsuite/gas/mips/mips16-pcrel-reloc-4.d: New test.
281 * testsuite/gas/mips/mips16-pcrel-reloc-5.d: New test.
282 * testsuite/gas/mips/mips16-pcrel-reloc-6.d: New test.
283 * testsuite/gas/mips/mips16-pcrel-reloc-7.d: New test.
284 * testsuite/gas/mips/mips16-pcrel-addend-0.d: New test.
285 * testsuite/gas/mips/mips16-pcrel-addend-1.d: New test.
286 * testsuite/gas/mips/mips16-pcrel-addend-2.d: New test.
287 * testsuite/gas/mips/mips16-pcrel-addend-3.d: New test.
288 * testsuite/gas/mips/mips16-pcrel-absolute.d: New test.
289 * testsuite/gas/mips/mips16-branch-reloc-0.d: New test.
290 * testsuite/gas/mips/mips16-branch-reloc-1.d: New test.
291 * testsuite/gas/mips/mips16-branch-reloc-2.d: New test.
292 * testsuite/gas/mips/mips16-branch-reloc-3.d: New test.
293 * testsuite/gas/mips/mips16-branch-addend-0.d: New test.
294 * testsuite/gas/mips/mips16-branch-addend-1.d: New test.
295 * testsuite/gas/mips/mips16-branch-addend-2.d: New test.
296 * testsuite/gas/mips/mips16-branch-addend-3.d: New test.
297 * testsuite/gas/mips/mips16-branch-absolute.d: New test.
298 * testsuite/gas/mips/mips16-absolute-reloc-0.d: New test.
299 * testsuite/gas/mips/mips16-absolute-reloc-1.d: New test.
300 * testsuite/gas/mips/mips16-absolute-reloc-2.d: New test.
301 * testsuite/gas/mips/mips16-absolute-reloc-3.d: New test.
302 * testsuite/gas/mips/mips16-pcrel-reloc-2.l: New error output.
303 * testsuite/gas/mips/mips16-pcrel-reloc-3.l: New error output.
304 * testsuite/gas/mips/mips16-pcrel-reloc-6.l: New error output.
305 * testsuite/gas/mips/mips16-pcrel-reloc-7.l: New error output.
306 * testsuite/gas/mips/mips16-pcrel-addend-2.l: New error output.
307 * testsuite/gas/mips/mips16-pcrel-addend-3.l: New error output.
308 * testsuite/gas/mips/mips16-pcrel-absolute.l: New error output.
309 * testsuite/gas/mips/mips16-branch-reloc-2.l: New error output.
310 * testsuite/gas/mips/mips16-branch-reloc-3.l: New error output.
311 * testsuite/gas/mips/mips16-branch-addend-2.l: New error output.
312 * testsuite/gas/mips/mips16-branch-addend-3.l: New error output.
313 * testsuite/gas/mips/mips16-branch-absolute.l: New error output.
314 * testsuite/gas/mips/mips16-absolute-reloc-2.l: New error output.
315 * testsuite/gas/mips/mips16-absolute-reloc-3.l: New error output.
316 * testsuite/gas/mips/mips16-pcrel-relax-0.s: New test source.
317 * testsuite/gas/mips/mips16-pcrel-relax-2.s: New test source.
318 * testsuite/gas/mips/mips16-pcrel-reloc-0.s: New test source.
319 * testsuite/gas/mips/mips16-pcrel-reloc-1.s: New test source.
320 * testsuite/gas/mips/mips16-pcrel-reloc-2.s: New test source.
321 * testsuite/gas/mips/mips16-pcrel-reloc-3.s: New test source.
322 * testsuite/gas/mips/mips16-pcrel-reloc-4.s: New test source.
323 * testsuite/gas/mips/mips16-pcrel-reloc-5.s: New test source.
324 * testsuite/gas/mips/mips16-pcrel-reloc-6.s: New test source.
325 * testsuite/gas/mips/mips16-pcrel-reloc-7.s: New test source.
326 * testsuite/gas/mips/mips16-pcrel-addend-0.s: New test source.
327 * testsuite/gas/mips/mips16-pcrel-addend-1.s: New test source.
328 * testsuite/gas/mips/mips16-pcrel-addend-2.s: New test source.
329 * testsuite/gas/mips/mips16-pcrel-addend-3.s: New test source.
330 * testsuite/gas/mips/mips16-pcrel-absolute.s: New test source.
331 * testsuite/gas/mips/mips16-branch-reloc-0.s: New test source.
332 * testsuite/gas/mips/mips16-branch-reloc-1.s: New test source.
333 * testsuite/gas/mips/mips16-branch-reloc-2.s: New test source.
334 * testsuite/gas/mips/mips16-branch-reloc-3.s: New test source.
335 * testsuite/gas/mips/mips16-branch-addend-0.s: New test source.
336 * testsuite/gas/mips/mips16-branch-addend-1.s: New test source.
337 * testsuite/gas/mips/mips16-branch-addend-2.s: New test source.
338 * testsuite/gas/mips/mips16-branch-addend-3.s: New test source.
339 * testsuite/gas/mips/mips16-branch-absolute.s: New test source.
340 * testsuite/gas/mips/mips16-absolute-reloc-0.s: New test source.
341 * testsuite/gas/mips/mips16-absolute-reloc-1.s: New test source.
342 * testsuite/gas/mips/mips16-absolute-reloc-2.s: New test source.
343 * testsuite/gas/mips/mips16-absolute-reloc-3.s: New test source.
344 * testsuite/gas/mips/mips.exp: Run the new tests.
346 2016-06-24 Alan Modra <amodra@gmail.com>
348 * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
350 2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
352 * config/tc-mips.c (b_reloc_p): New function.
353 (mips_fix_adjustable): Also keep the original microMIPS symbol
354 referred from branch relocations.
355 * testsuite/gas/mips/branch-local-1.d: New test.
356 * testsuite/gas/mips/branch-local-n32-1.d: New test.
357 * testsuite/gas/mips/branch-local-n64-1.d: New test.
358 * testsuite/gas/mips/micromips@branch-misc-4-64.d: Update
360 * testsuite/gas/mips/branch-local-1.s: New test source.
361 * testsuite/gas/mips/mips.exp: Run the new cases.
363 2016-06-23 Graham Markall <graham.markall@embecosm.com>
365 * config/tc-arc.c (options, md_longopts, md_parse_option): Move
366 -mspfp, -mdpfp and -mfpuda out of the sections for dummy
367 options. Correct erroneous enabling of SPFP instructions when
370 2016-06-22 Peter Bergner <bergner@vnet.ibm.com>
372 * testsuite/gas/ppc/power9.d <brd, brh, brw, mffs, mffs., mffsce,
373 mffscdrn, mffscdrni, mffscrn, mffscrni, mffsl, nandxor, rldixor,
374 setbool, xor3>: New tests.
375 * testsuite/gas/ppc/power9.s: Likewise.
377 2016-06-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
379 * config/tc-xtensa.c: Include elf/xtensa.h.
381 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
383 * config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
384 <BFD_RELOC_LO16_PCREL>: New switch cases.
385 (md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
386 Move switch cases along `BFD_RELOC_MIPS_JMP'.
387 <BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
388 <BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
390 * testsuite/gas/mips/pcrel-reloc-4.d: New test.
391 * testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
392 * testsuite/gas/mips/pcrel-reloc-5.d: New test.
393 * testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
394 * testsuite/gas/mips/pcrel-reloc-6.d: New test.
395 * testsuite/gas/mips/pcrel-reloc-6.l: New list test.
396 * testsuite/gas/mips/pcrel-reloc-4.s: New test source.
397 * testsuite/gas/mips/pcrel-reloc-6.s: New test source.
398 * testsuite/gas/mips/mips.exp: Run the new tests.
400 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
402 * config/tc-mips.c (md_apply_fix) <BFD_RELOC_MIPS_18_PCREL_S3>
403 <BFD_RELOC_MIPS_19_PCREL_S2>: Avoid null pointer dereferences
404 via `fixP->fx_addsy'.
406 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
408 * config/tc-mips.c (md_pcrel_from) <BFD_RELOC_MIPS_18_PCREL_S3>:
409 Calculate relocation from the containing aligned doubleword.
410 (tc_gen_reloc) <BFD_RELOC_MIPS_18_PCREL_S3>: Calculate the
411 addend from the containing aligned doubleword.
413 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
415 * config/tc-mips.c (mips_force_relocation): Use `file_mips_opts'
416 rather than `mips_opts' for the R6 ISA check.
417 (mips_fix_adjustable): Likewise.
418 * testsuite/gas/mips/pcrel-reloc-1.d: New test.
419 * testsuite/gas/mips/pcrel-reloc-1-r6.d: New test.
420 * testsuite/gas/mips/pcrel-reloc-2.d: New test.
421 * testsuite/gas/mips/pcrel-reloc-2-r6.d: New test.
422 * testsuite/gas/mips/pcrel-reloc-3.d: New test.
423 * testsuite/gas/mips/pcrel-reloc-3-r6.d: New test.
424 * testsuite/gas/mips/pcrel-reloc-1.s: New test source.
425 * testsuite/gas/mips/mips.exp: Run the new tests.
427 2016-06-21 Graham Markall <graham.markall@embecosm.com>
429 * config/tc-arc.c (check_cpu_feature, md_parse_option):
430 Add nps400 option and feature. Add check for nps400
431 feature. Refactor existing checks to check subclass before
433 (md_show_usage): Document flags for NPS-400 and add some other
435 (cpu_type): Remove nps400 CPU type entry
436 (check_zol): Remove bfd_mach_arc_nps400 case.
437 (md_show_usage): Add help on -mcpu=nps400.
438 (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
440 * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
441 -fpuda flags. Document -mcpu=nps400.
442 * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
443 expected flags to match ARC700 instead of NPS400.
444 * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
445 * testsuite/gas/arc/nps-400-2.d: Likewise.
446 * testsuite/gas/arc/nps-400-3.d: Likewise.
447 * testsuite/gas/arc/nps-400-4.d: Likewise.
448 * testsuite/gas/arc/nps-400-5.d: Likewise.
449 * testsuite/gas/arc/nps-400-6.d: Likewise.
450 * testsuite/gas/arc/nps-400-7.d: Likewise.
451 * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
452 avoid clash with cbba instruction.
453 * testsuite/gas/arc/textinsn2op01.d: Likewise.
454 * testsuite/gas/arc/textinsn3op.d: Likewise.
455 * testsuite/gas/arc/textinsn3op.s: Likewise.
456 * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
457 -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
459 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
461 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
462 * testsuite/gas/mips/r6-64-n64.d: Likewise.
464 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
466 * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
469 2016-06-20 Virendra Pathak <virendra.pathak@broadcom.com>
471 * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
473 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
475 * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
476 %hmcddfr and %hva_mask_nz.
477 (sparc_ip): New handling of asr/privileged/hyperprivileged
478 registers, adapted to the new form of the sparc opcodes table.
479 * testsuite/gas/sparc/rdasr.s: New file.
480 * testsuite/gas/sparc/rdasr.d: Likewise.
481 * testsuite/gas/sparc/wrasr.s: Likewise.
482 * testsuite/gas/sparc/wrasr.d: Likewise.
483 * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
485 * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
486 registers require it.
487 * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
488 registers and write instruction modalities.
489 * testsuite/gas/sparc/wrpr.d: Likewise.
490 * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
492 * testsuite/gas/sparc/rdhpr.d: Likewise.
493 * testsuite/gas/sparc/wrhpr.s: Likewise.
494 * testsuite/gas/sparc/wrhpr.d: Likewise.
496 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
498 * config/tc-sparc.c (sparc_arch_table): adjust the GAS
499 architectures to use the right opcode architecture.
500 (sparc_md_end): Handle v9{c,d,e,v,m}.
501 (sparc_ip): Fix some comments.
502 * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
503 instruction, which is v9d.
504 * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
505 instruction from the test, as %mwait is not readable.
506 * testsuite/gas/sparc/mwait.d: Likewise.
507 * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
508 mismatch architecture errors.
509 * testsuite/gas/sparc/mism-2.s: New file.
511 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
513 * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
514 empty string to mark the end of the array.
515 (hpriv_reg_table): Likewise.
516 (v9a_asr_table): Likewise.
517 (cmp_reg_entry): Handle entries with NULL names.
519 (F_POP_PCREL): Likewise.
520 (F_POP_TLS_CALL): Likewise.
521 (F_POP_POSTFIX): Likewise.
522 (struct pop_entry): New type.
523 (pop_table): New variable.
524 (enum pop_entry_type): New type.
525 (struct perc_entry): Likewise.
526 (NUM_PERC_ENTRIES): Define.
527 (perc_table): New variable.
528 (cmp_perc_entry): New function.
529 (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
531 (sparc_ip): Handle entries with NULL names in priv_reg_table,
532 hpriv_reg_table and v9a_asr_table. Use perc_table to handle
535 2016-06-15 Nick Clifton <nickc@redhat.com>
537 * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
539 * config/tc-mcore.c (md_assemble): Likewise.
540 * config/tc-mn10200.c (md_assemble): Likewise.
541 * config/tc-moxie.c (md_assemble): Likewise.
542 * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
543 * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
544 exception targets. Add alpha, hppa, microblaze and rl78 to list
546 (forward): Add microblaze to list of exceptions.
547 (fwdexp): Add alpha to list of exceptions.
548 (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
549 (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
550 (do_930509a): Alpha sort list of exception targets. Add h8300 and
551 mn10200 to list of exceptions.
552 (align2): Expect to fail for nds32.
553 (cond): Add alpha and rl78 to list of exceptions.
554 * testsuite/gas/all/none.d: Skip for ft32 and hppa.
555 * testsuite/gas/all/string.d: Skip for tic4x.
556 * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
557 target does not support ELF.
558 * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
559 * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
560 * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets. Skip SH
561 tests for sh-pe and sh-rtemscoff targets.
562 * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
564 (type): Run the noifunc version for alpha-freebsd and visium.
565 * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
566 mn10200 or moxie targets.
567 * testsuite/gas/ft32/insn.d: Update expected disassembly.
568 * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
570 * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
571 mcore and rx targets.
572 * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
574 (purge): Expect to fail on the ns32k and vax.
575 * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
576 * testsuite/gas/nds32/ls.d: Likewise.
577 * testsuite/gas/nds32/sys-reg.d: Likewise.
578 * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
579 * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
580 * testsuite/gas/pe/section-align-3.d: Likewise.
581 * testsuite/gas/pe/section-exclude.d: Likewise.
582 * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
584 * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
585 for variations in whitespace.
586 * testsuite/gas/tilepro/t_constants.d: Pass once all the required
588 * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
589 Installs a 32-bit value without generating warnings on 64-bit
591 Use the new macro to replace the .word directives.
593 2016-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
595 * testsuite/gas/arc/add_s.d: New file.
596 * testsuite/gas/arc/add_s.s: New file.
598 2016-06-14 Graham Markall <graham.markall@embecosm.com>
600 * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
601 * testsuite/gas/arc/nps400-6.d: Likewise.
603 2016-06-14 Graham Markall <graham.markall@embecosm.com>
605 * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
607 * testsuite/gas/arc/nps400-6.d: Likewise.
609 2016-06-14 Graham Markall <graham.markall@embecosm.com>
611 * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
612 calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
613 lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
614 * testsuite/gas/arc/nps400-6.d: Likewise.
616 2016-06-14 Nick Clifton <nickc@redhat.com>
618 * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
621 2016-06-13 Maciej W. Rozycki <macro@imgtec.com>
623 * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
624 JALR relocations on R6.
625 * testsuite/gas/mips/jal-svr4pic-local.d: New test.
626 * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
627 * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
628 * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
629 * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
630 * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
632 * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
633 * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
635 * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
636 * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
638 * testsuite/gas/mips/mips.exp: Run the new tests.
640 2016-06-13 Virendra Pathak <virendra.pathak@broadcom.com>
642 * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
643 * doc/c-aarch64.texi: Document that vulcan is a valid processor
646 2016-06-13 Nick Clifton <nickc@redhat.com>
648 * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
649 that are not supported.
651 * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
653 * config/tc-cr16.c (check_range): Likewise.
654 * config/tc-nios2.c (nios2_check_overflow): Likewise.
656 2016-06-08 Renlin Li <renlin.li@arm.com>
658 * config/tc-aarch64.c (print_operands): Substitute size.
659 (output_operand_error_record): Likewise.
661 2016-06-07 Alan Modra <amodra@gmail.com>
663 * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
664 PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
665 PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
666 (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
667 by vle_opcodes, and that vle flag doesn't enable opcodes. Don't
668 add vle_opcodes twice.
669 (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
671 2016-06-07 Matthew Wahab <matthew.wahab@arm.com>
673 * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
674 (arm_ext_ras): Renamed from arm_ext_v8_2.
675 (insns): Update for arm_ext_v8_2 renaming.
676 (arm_extensions): Add "ras".
677 * doc/c-arm.texi (ARM Options): Add an entry for "ras".
678 * testsuite/gas/arm/armv8-a+ras.d: New.
679 * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
682 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
684 * itbl-parse.y (yyerror): Use modern argument declaration style.
686 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
688 * config/tc-sh.c (parse_reg): Change type of mode argument to
690 (get_operand): Adjust.
691 (insert): Change type of how to bfd_reloc_code_real_type.
693 * config/tc-sh64.c (shmedia_get_operand): Adjust.
694 (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
696 2016-06-05 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
698 * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
701 2016-06-03 Peter Bergner <bergner@vnet.ibm.com>
704 * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
705 stbcx., sthcx., stwcx., stdcx.>: Add tests.
706 * gas/testsuite/gas/ppc/e6500.d: Likewise.
707 * gas/testsuite/gas/ppc/power8.s: Likewise.
708 * gas/testsuite/gas/ppc/power8.d: Likewise.
709 * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
711 * gas/testsuite/gas/ppc/power4.d: Likewise.
713 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
716 * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
717 * testsuite/gas/i386/x86-64-branch.d: Updated.
718 * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
719 * testsuite/gas/i386/x86-64-branch-4.l: New file.
720 * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
722 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
724 * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
725 * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
727 2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
729 * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
730 * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
732 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
734 * configure.tgt: Replace -uclibc with *.
736 2016-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
738 * config/tc-arc.c (parse_opcode_flags): New function.
739 (find_opcode_match): Move flag parsing code out to new function.
740 Ignore operands marked IGNORE.
741 (build_fake_opcode_hash_entry): New function.
742 (find_special_case_long_opcode): New function.
743 (find_special_case): Lookup long opcodes.
744 * testsuite/gas/arc/nps400-7.d: New file.
745 * testsuite/gas/arc/nps400-7.s: New file.
747 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
749 * config/tc-ns32k.c: Remove definition of input_line_pointer.
751 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
753 * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
754 sentinal with iteration to array size.
756 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
758 * config/xtensa-relax.h: Move typedefs of enums to the enums
761 2016-06-01 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
763 * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
766 2016-06-01 Graham Markall <graham.markall@embecosm.com>
768 * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
769 operands of types a,b,u6, 0,b,u6, and 0,b,limm.
770 * testsuite/gas/arc/nps-400-1.d: Likewise.
772 2016-05-29 H.J. Lu <hongjiu.lu@intel.com>
775 * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
776 noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
777 noavx512ifma and noavx512vbmi.
778 * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
779 noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
781 * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
782 * testsuite/gas/i386/noavx512-1.l: New file.
783 * testsuite/gas/i386/noavx512-1.s: Likewise.
784 * testsuite/gas/i386/noavx512-2.l: Likewise.
785 * testsuite/gas/i386/noavx512-2.s: Likewise.
787 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
790 * config/tc-i386.c (cpu_arch): Add 687.
791 (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
792 nosse4.1, nosse4.2, nosse4 and noavx2.
793 (parse_real_register): Check cpuregmmx instead of cpummx for MMX
794 register. Check cpuregxmm instead of cpusse for XMM register.
795 Check cpuregymm instead of cpuavx for YMM register. Check
796 cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
797 * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
798 nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
799 * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
800 * testsuite/gas/i386/arch-10.d (as): Likewise.
801 * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
802 * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
803 arch-10-3 and arch-10-4. Run no87-3, nosse-4, nosse-5, noavx-3
805 * testsuite/gas/i386/no87-3.l: New file.
806 * testsuite/gas/i386/no87-3.s: Likewise.
807 * testsuite/gas/i386/noavx-3.l: Likewise.
808 * testsuite/gas/i386/noavx-3.s: Likewise.
809 * testsuite/gas/i386/noavx-4.d: Likewise.
810 * testsuite/gas/i386/noavx-4.s: Likewise.
811 * testsuite/gas/i386/nosse-4.l: Likewise.
812 * testsuite/gas/i386/nosse-4.s: Likewise.
813 * testsuite/gas/i386/nosse-5.d: Likewise.
814 * testsuite/gas/i386/nosse-5.s: Likewise.
816 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
819 * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
821 (match_template): Check Intel64/AMD64 ISA.
823 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
826 * config/tc-i386.c (intel64): New.
827 (cpu_flags_match): Set cpuamd64 and cpuintel64.
828 (md_parse_option): Set intel64 instead of cpuamd64 and
831 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
833 * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
836 2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
838 * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
839 * testsuite/gas/ppc/altivec3.s: Likewise.
840 * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
841 * testsuite/gas/ppc/power9.s: Likewise.
843 2016-05-26 H.J. Lu <hongjiu.lu@intel.com>
845 * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
846 * testsuite/gas/i386/noavx-1.l: Likewise.
847 * testsuite/gas/i386/nommx-1.l: Likewise.
848 * testsuite/gas/i386/nosse-1.l: Likewise.
849 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
850 * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
851 * testsuite/gas/i386/noavx-1.s: Likewise.
852 * testsuite/gas/i386/nommx-1.s: Likewise.
853 * testsuite/gas/i386/nosse-1.s: Likewise.
854 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
856 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
858 * config/tc-metag.c (metag_handle_align): Make the type of noop
861 2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
863 * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
864 bfd_reloc_code_real_type.
866 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
869 * config/tc-i386.c (cpu_flags_match): Require another match
871 * testsuite/gas/i386/i386.exp: Run avx512vl-1, avx512vl-2,
872 x86-64-avx512vl-1 and x86-64-avx512vl-2.
873 * testsuite/gas/i386/avx512vl-1.l: New file.
874 * testsuite/gas/i386/avx512vl-1.s: Likewise.
875 * testsuite/gas/i386/avx512vl-2.l: Likewise.
876 * testsuite/gas/i386/avx512vl-2.s: Likewise.
877 * testsuite/gas/i386/x86-64-avx512vl-1.l: Likewise.
878 * testsuite/gas/i386/x86-64-avx512vl-1.s: Likewise.
879 * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
880 * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
882 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
885 * testsuite/gas/i386/i386.exp: Run x86-64-pr20141.
886 * testsuite/gas/i386/x86-64-pr20141.d: New file.
887 * testsuite/gas/i386/x86-64-pr20141.s: Likewise.
889 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
891 * config/tc-i386.c (arch_entry): Remove negated.
892 (noarch_entry): New struct.
893 (cpu_arch): Updated. Remove .no87, .nommx, .nosse and .noavx.
895 (set_cpu_arch): Check cpu_noarch after cpu_arch.
896 (md_parse_option): Allow -march=+nosse. Check cpu_noarch after
898 (output_message): New function.
899 (show_arch): Use it. Handle cpu_noarch.
900 * testsuite/gas/i386/i386.exp: Run nommx-1, nommx-2, nommx-3,
901 nosse-1, nosse-2, nosse-3, noavx-1 and noavx-2.
902 * testsuite/gas/i386/noavx-1.l: New file.
903 * testsuite/gas/i386/noavx-1.s: Likewise.
904 * testsuite/gas/i386/noavx-2.s: Likewise.
905 * testsuite/gas/i386/noavx-2.l: Likewise.
906 * testsuite/gas/i386/nommx-1.s: Likewise.
907 * testsuite/gas/i386/nommx-1.l: Likewise.
908 * testsuite/gas/i386/nommx-2.s: Likewise.
909 * testsuite/gas/i386/nommx-2.l: Likewise.
910 * testsuite/gas/i386/nommx-3.s: Likewise.
911 * testsuite/gas/i386/nommx-3.l: Likewise.
912 * testsuite/gas/i386/nosse-1.s: Likewise.
913 * testsuite/gas/i386/nosse-1.l: Likewise.
914 * testsuite/gas/i386/nosse-2.s: Likewise.
915 * testsuite/gas/i386/nosse-2.l: Likewise.
916 * testsuite/gas/i386/nosse-3.s: Likewise.
917 * testsuite/gas/i386/nosse-3.l: Likewise.
919 2016-05-25 Chua Zheng Leong <chuazl@comp.nus.edu.sg>
922 * config/tc-arm.c (move_or_literal_pool): Only generate a VMOV.I64
923 instruction if supported by the currently selected fpu variant.
924 * testsuite/gas/arm/vfpv3-ldr_immediate.s: Add test of this PR.
925 * testsuite/gas/arm/vfpv3-ldr_immediate.d: Update expected disassembly.
927 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
929 * config/tc-mips.c (mips_fix_adjustable): Also return 0 for
930 jump relocations against MIPS16 or microMIPS symbols on RELA
932 * testsuite/gas/mips/jalx-local.d: New test.
933 * testsuite/gas/mips/jalx-local-n32.d: New test.
934 * testsuite/gas/mips/jalx-local-n64.d: New test.
935 * testsuite/gas/mips/jalx-local.s: New test source.
936 * testsuite/gas/mips/mips.exp: Run the new tests.
938 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
940 * config/tc-mips.c (md_apply_fix)
941 <BFD_RELOC_MIPS16_TLS_TPREL_LO16>: Remove fall-through, adjust
944 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
946 * config/tc-xtensa.c (struct suffix_reloc_map): Change type of field
947 operator to operatorT.
948 (map_suffix_reloc_to_operator): Change return type to operatorT.
950 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
952 * config/tc-d30v.c (find_format): Change type of X_op to operatorT.
954 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
956 * config/tc-mmix.c (mmix_parse_predefined_name): Change type of
957 handler_charp to const char *.
959 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
961 * config/tc-ft32.h (DEFAULT_TARGET_FORMAT): Remove.
962 (ft32_target_format): Likewise.
963 (TARGET_FORMAT): Adjust.
965 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
967 * config/tc-ia64.c (dot_rot): simplify allocations from obstacks.
968 (ia64_frob_label): Likewise.
970 2016-05-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
972 * config/tc-cr16.c (check_range): Make type of retval op_err.
973 * config/tc-crx.c: Likewise.
975 2016-05-23 Claudiu Zissulescu <claziss@synopsys.com>
977 * config/tc-arc.c (md_begin): Add XY registers.
978 (cpu_types): Code density is default off for ARC EM.
980 2016-05-23 Cupertino Miranda <cmiranda@synopsys.com>
982 * config/tc-arc.c (attributes_t): Renamed attribute class to
984 (find_opcode_match, assemble_insn, tokenize_extinsn): Changed.
986 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
988 * configuse.tgt: Add entry for arm-phoenix.
990 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
992 * config/tc-tic54x.c (tic54x_sect): simplify string creation.
994 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
996 * config/tc-spu.c (APUOP): Use OPCODE as an unsigned constant.
998 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1000 * config/tc-tic54x.c (tic54x_mmregs): Adjust.
1001 (md_begin): Likewise.
1002 (encode_condition): Likewise.
1003 (encode_cc3): Likewise.
1004 (encode_cc2): Likewise.
1005 (encode_operand): Likewise.
1006 (tic54x_undefined_symbol): Likewise.
1008 2016-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
1010 * config/tc-mips.c (mips_cpu_info_table): Update comment. Add
1012 * doc/c-mips.texi: Document p6600 -march option.
1014 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
1017 * config/tc-i386.c (md_apply_fix): Preserve addend for
1018 BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32.
1019 * testsuite/gas/i386/addend.d: New file.
1020 * testsuite/gas/i386/addend.s: Likewise.
1021 * testsuite/gas/i386/x86-64-addend.d: Likewise.
1022 * testsuite/gas/i386/x86-64-addend.s: Likewise.
1023 * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend.
1024 * testsuite/gas/i386/reloc32.d: Updated.
1026 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1028 * config/tc-mips.c (append_insn): Correct the encoding of a
1029 constant argument for microMIPS JALX.
1030 (tc_gen_reloc): Correct the encoding of an in-place addend for
1032 * testsuite/gas/mips/jalx-addend.d: New test.
1033 * testsuite/gas/mips/jalx-addend-n32.d: New test.
1034 * testsuite/gas/mips/jalx-addend-n64.d: New test.
1035 * testsuite/gas/mips/jalx-imm.d: New test.
1036 * testsuite/gas/mips/jalx-imm-n32.d: New test.
1037 * testsuite/gas/mips/jalx-imm-n64.d: New test.
1038 * testsuite/gas/mips/jalx-addend.s: New test source.
1039 * testsuite/gas/mips/jalx-imm.s: New test source.
1040 * testsuite/gas/mips/mips.exp: Run the new tests.
1042 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1044 * config/tc-mips.c: Correct tab-after-space formatting mistakes
1047 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1049 * config/tc-arc.c (find_opcode_match): Remove casting away of
1051 * config/tc-arc.h (struct arc_flags): Make flgp field const.
1053 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1055 * config/tc-arc.c (md_pcrel_from_section): Use BFD_VMA_FMT where
1057 (md_convert_frag): Likewise.
1059 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1061 * config/tc-arc.c (arc_opcode_hash_entry_iterator_next): Set
1062 cached opcode to NULL when we reach a non-matching opcode.
1063 * testsuite/gas/arc/asm-errors-2.d: New file.
1064 * testsuite/gas/arc/asm-errors-2.err: New file.
1065 * testsuite/gas/arc/asm-errors-2.s: New file.
1067 2016-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1069 * config/tc-arc.c (tokenize_arguments): Add checks for array
1071 * testsuite/gas/arc/asm-errors.s: Addition test line added.
1072 * testsuite/gas/arc/asm-errors.err: Update expected results.
1074 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1076 * config/tc-rx.c (struct cpu_type): Change the type of a field from
1077 int to enum rx_cpu_types.
1079 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1081 * config/tc-dlx.c (struct machine_it): change the type of a field from
1082 int to bfd_reloc_code_real_type.
1083 * config/tc-tic4x.c: Likewise.
1085 2016-05-18 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1087 * config/tc-v850.c (v850_target_arch): change type to enum
1089 * config/tc-v850.h (v850_target_arch): Likewise.
1091 2016-05-18 Alan Modra <amodra@gmail.com>
1093 * config/tc-ppc.c (ppc_insert_operand): Trim PPC_OPERAND_SIGNOPT
1094 allowed negative range.
1095 * testsuite/gas/ppc/power9.s: Test xxspltib of -128, not -256.
1096 * testsuite/gas/ppc/power9.d: Update.
1098 2016-05-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1100 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Force Thumb when
1101 disassembling and stop skipping targets.
1102 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1103 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1104 * testsuite/gas/arm/archv8m-base.d: Also allow nops after the last
1105 instruction for targets that have stronger alignment requirement.
1106 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1107 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1108 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1109 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1110 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1111 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1112 * testsuite/gas/arm/archv8m-main.d: Likewise.
1113 * testsuite/gas/arm/archv8m.s: Add label.
1114 * testsuite/gas/arm/archv8m-cmse.s: Likewise.
1115 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1116 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise.
1118 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1120 * config/tc-m32r.c (mach_table): Make static and const.
1122 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1124 * config/tc-vax.c (flonum_gen2vax): Adjust prototype to match
1127 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1129 * config/tc-mn10300.c (md_begin): set linkrelax here instead of
1131 * config/tc-msp430.c (md_begin): Likewise.
1133 2016-05-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1135 * config/tc-m68hc11.c (fixup8): Change variables type from int to
1136 bfd_reloc_code_real_type where appropriate.
1137 (fixup16): Likewise.
1138 (fixup8_xg): Likewise.
1140 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
1142 * config/tc-sh64.c (shmedia_check_limits): Constify `msg'.
1144 2016-05-13 Peter Bergner <bergner@vnet.ibm.com>
1146 * testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
1147 * testsuite/gas/ppc/power9.s: Likewise.
1149 2016-05-13 Alan Modra <amodra@gmail.com>
1151 * config/obj-coff.c (weak_uniquify): Delete unused var.
1153 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1155 * app.c (app_push): Use XNEW and related macros.
1156 * as.c (parse_args): Likewise.
1157 * cgen.c (make_right_shifted_expr): Likewise.
1158 (gas_cgen_tc_gen_reloc): Likewise.
1159 * config/bfin-defs.h: Likewise.
1160 * config/bfin-parse.y: Likewise.
1161 * config/obj-coff.c (stack_init): Likewise.
1162 (stack_push): Likewise.
1163 (coff_obj_symbol_new_hook): Likewise.
1164 (coff_obj_symbol_clone_hook): Likewise.
1165 (add_lineno): Likewise.
1166 (coff_frob_symbol): Likewise.
1167 * config/obj-elf.c (obj_elf_section_name): Likewise.
1168 (build_group_lists): Likewise.
1169 * config/obj-evax.c (evax_symbol_new_hook): Likewise.
1170 * config/obj-macho.c (obj_mach_o_indirect_symbol): Likewise.
1171 * config/tc-aarch64.c (insert_reg_alias): Likewise.
1172 (find_or_make_literal_pool): Likewise.
1173 (add_to_lit_pool): Likewise.
1174 (fill_instruction_hash_table): Likewise.
1175 * config/tc-alpha.c (load_expression): Likewise.
1176 (emit_jsrjmp): Likewise.
1177 (s_alpha_ent): Likewise.
1178 (s_alpha_end): Likewise.
1179 (s_alpha_linkage): Likewise.
1180 (md_begin): Likewise.
1181 (tc_gen_reloc): Likewise.
1182 * config/tc-arc.c (arc_insert_opcode): Likewise.
1183 (arc_extcorereg): Likewise.
1184 * config/tc-bfin.c: Likewise.
1185 * config/tc-cr16.c: Likewise.
1186 * config/tc-cris.c: Likewise.
1187 * config/tc-crx.c (preprocess_reglist): Likewise.
1188 * config/tc-d10v.c: Likewise.
1189 * config/tc-frv.c (frv_insert_vliw_insn): Likewise.
1190 (frv_tomcat_shuffle): Likewise.
1191 * config/tc-h8300.c: Likewise.
1192 * config/tc-i370.c (i370_macro): Likewise.
1193 * config/tc-i386.c (lex_got): Likewise.
1194 (md_parse_option): Likewise.
1195 * config/tc-ia64.c (alloc_record): Likewise.
1196 (set_imask): Likewise.
1197 (save_prologue_count): Likewise.
1198 (dot_proc): Likewise.
1199 (dot_endp): Likewise.
1200 (ia64_frob_label): Likewise.
1201 (add_qp_imply): Likewise.
1202 (add_qp_mutex): Likewise.
1203 (mark_resource): Likewise.
1204 (dot_alias): Likewise.
1205 * config/tc-m68hc11.c: Likewise.
1206 * config/tc-m68k.c (m68k_frob_label): Likewise.
1208 (mri_control_label): Likewise.
1209 (push_mri_control): Likewise.
1210 (build_mri_control_operand): Likewise.
1211 (s_mri_else): Likewise.
1212 (s_mri_break): Likewise.
1213 (s_mri_next): Likewise.
1214 (s_mri_for): Likewise.
1215 (s_mri_endw): Likewise.
1216 * config/tc-metag.c (create_mnemonic_htab): Likewise.
1217 * config/tc-microblaze.c: Likewise.
1218 * config/tc-mmix.c (s_loc): Likewise.
1219 * config/tc-nds32.c (nds32_relax_hint): Likewise.
1220 * config/tc-nios2.c (nios2_insn_reloc_new): Likewise.
1221 * config/tc-rl78.c: Likewise.
1222 * config/tc-rx.c (rx_include): Likewise.
1223 * config/tc-sh.c: Likewise.
1224 * config/tc-sh64.c (shmedia_frob_section_type): Likewise.
1225 * config/tc-sparc.c: Likewise.
1226 * config/tc-spu.c: Likewise.
1227 * config/tc-tic6x.c (static tic6x_unwind_info *tic6x_get_unwind): Likewise.
1228 (tic6x_start_unwind_section): Likewise.
1229 * config/tc-tilegx.c: Likewise.
1230 * config/tc-tilepro.c: Likewise.
1231 * config/tc-v850.c: Likewise.
1232 * config/tc-visium.c: Likewise.
1233 * config/tc-xgate.c: Likewise.
1234 * config/tc-xtensa.c (xtensa_translate_old_userreg_ops): Likewise.
1235 (new_resource_table): Likewise.
1236 (resize_resource_table): Likewise.
1237 (xtensa_create_trampoline_frag): Likewise.
1238 (xtensa_maybe_create_literal_pool_frag): Likewise.
1239 (cache_literal_section): Likewise.
1240 * config/xtensa-relax.c (append_transition): Likewise.
1241 (append_condition): Likewise.
1242 (append_value_condition): Likewise.
1243 (append_constant_value_condition): Likewise.
1244 (append_literal_op): Likewise.
1245 (append_label_op): Likewise.
1246 (append_constant_op): Likewise.
1247 (append_field_op): Likewise.
1248 (append_user_fn_field_op): Likewise.
1249 (enter_opname_n): Likewise.
1250 (enter_opname): Likewise.
1251 (split_string): Likewise.
1252 (parse_insn_templ): Likewise.
1253 (clone_req_or_option_list): Likewise.
1254 (clone_req_option_list): Likewise.
1255 (parse_option_cond): Likewise.
1256 (parse_insn_pattern): Likewise.
1257 (parse_insn_repl): Likewise.
1258 (build_transition): Likewise.
1259 (build_transition_table): Likewise.
1260 * dw2gencfi.c (alloc_fde_entry): Likewise.
1261 (alloc_cfi_insn_data): Likewise.
1262 (cfi_add_CFA_remember_state): Likewise.
1263 (dot_cfi_escape): Likewise.
1264 (dot_cfi_fde_data): Likewise.
1265 (select_cie_for_fde): Likewise.
1266 * dwarf2dbg.c (dwarf2_directive_loc): Likewise.
1267 * ecoff.c (ecoff_add_bytes): Likewise.
1268 (ecoff_build_debug): Likewise.
1269 * input-scrub.c (input_scrub_push): Likewise.
1270 (input_scrub_begin): Likewise.
1271 (input_scrub_next_buffer): Likewise.
1272 * itbl-ops.c (append_insns_as_macros): Likewise.
1273 (alloc_entry): Likewise.
1274 (alloc_field): Likewise.
1275 * listing.c (listing_newline): Likewise.
1276 (listing_listing): Likewise.
1277 * macro.c (get_any_string): Likewise.
1278 (delete_macro): Likewise.
1279 * stabs.c (generate_asm_file): Likewise.
1280 (stabs_generate_asm_lineno): Likewise.
1281 * subsegs.c (subseg_change): Likewise.
1282 (subseg_get): Likewise.
1283 * symbols.c (define_dollar_label): Likewise.
1284 (symbol_relc_make_sym): Likewise.
1285 * write.c (write_relocs): Likewise.
1287 2016-05-13 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1289 * config/obj-coff.c (obj_coff_def): Simplify string copying.
1290 (weak_name2altname): Likewise.
1291 (weak_uniquify): Likewise.
1292 (obj_coff_section): Likewise.
1293 (obj_coff_init_stab_section): Likewise.
1294 * config/obj-elf.c (obj_elf_section_name): Likewise.
1295 (obj_elf_init_stab_section): Likewise.
1296 * config/obj-evax.c (evax_shorten_name): Likewise.
1297 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Likewise.
1298 * config/tc-aarch64.c (create_register_alias): Likewise.
1299 * config/tc-alpha.c (load_expression): Likewise.
1300 (s_alpha_file): Likewise.
1301 (s_alpha_section_name): Likewise.
1302 (tc_gen_reloc): Likewise.
1303 * config/tc-arc.c (md_assemble): Likewise.
1304 * config/tc-arm.c (create_neon_reg_alias): Likewise.
1305 (start_unwind_section): Likewise.
1306 * config/tc-hppa.c (pa_build_unwind_subspace): Likewise.
1307 (hppa_elf_mark_end_of_function): Likewise.
1308 * config/tc-nios2.c (nios2_modify_arg): Likewise.
1309 (nios2_negate_arg): Likewise.
1310 * config/tc-rx.c (rx_section): Likewise.
1311 * config/tc-sh64.c (sh64_consume_datalabel): Likewise.
1312 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
1313 * config/tc-tic54x.c (tic54x_include): Likewise.
1314 (tic54x_macro_info): Likewise.
1315 (subsym_get_arg): Likewise.
1316 (subsym_substitute): Likewise.
1317 (tic54x_start_line_hook): Likewise.
1318 * config/tc-xtensa.c (xtensa_literal_prefix): Likewise.
1319 (xg_reverse_shift_count): Likewise.
1320 * config/xtensa-relax.c (enter_opname_n): Likewise.
1321 (split_string): Likewise.
1322 * dwarf2dbg.c (get_filenum): Likewise.
1323 (process_entries): Likewise.
1324 * expr.c (operand): Likewise.
1325 * itbl-ops.c (alloc_entry): Likewise.
1326 * listing.c (listing_message): Likewise.
1327 (listing_title): Likewise.
1328 * macro.c (check_macro): Likewise.
1329 * stabs.c (s_xstab): Likewise.
1330 * symbols.c (symbol_relc_make_expr): Likewise.
1331 * write.c (compress_debug): Likewise.
1333 2016-05-12 Nick Clifton <nickc@redhat.com>
1336 * testsuite/gas/arm/pr20068.d: Use correct regexp syntax.
1338 2016-05-11 Nick Clifton <nickc@redhat.com>
1341 * testsuite/gas/arm/pr20068.d: Adjust expected output to allow for
1342 big endian ARM configurations.
1344 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
1345 Matthew Fortune <matthew.fortune@imgtec.com>
1347 * config/tc-mips.c (options): Add OPTION_DSPR3 and
1349 (md_longopts): Likewise.
1350 (md_show_usage): Add help for -mdspr3 and -mno-dspr3.
1351 (mips_ases): Define availability for DSPr3.
1352 (mips_ase_groups): Add ASE_DSPR3 to the DSP group.
1353 (mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
1354 * doc/as.texinfo: Document -mdspr3, -mno-dspr3. Fix -mdspr2
1356 * doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
1357 .set nodspr3. Fix -mdspr2 formatting.
1358 * testsuite/gas/mips/mips32-dspr3.d: New file.
1359 * testsuite/gas/mips/mips32-dspr3.s: Likewise.
1360 * testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.
1362 2016-05-11 Nick Clifton <nickc@redhat.com>
1365 * config/tc-arm.c (add_to_lit_pool): Ensure that the padding added
1366 to the pool uses O_constant.
1367 * testsuite/gas/arm/pr20068.s: New test.
1368 * testsuite/gas/arm/pr20068.d: Test driver.
1370 2016-05-11 Nick Clifton <nickc@redhat.com>
1372 * testsuite/gas/arm/archv8m-cmse-base.d: Skip for non-ELF ARM targets.
1373 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1374 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1375 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1376 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1377 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1378 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1379 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1380 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1382 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1384 * testsuite/gas/i386/i386.exp: Run RDPID tests.
1385 * testsuite/gas/i386/prefix.d: Adjust.
1386 * testsuite/gas/i386/rdpid.s: New test.
1387 * testsuite/gas/i386/rdpid.d: Ditto.
1388 * testsuite/gas/i386/rdpid-intel.d: Ditto.
1389 * testsuite/gas/i386/x86-64-rdpid.s: Ditto.
1390 * testsuite/gas/i386/x86-64-rdpid.d: Ditto.
1391 * testsuite/gas/i386/x86-64-rdpid-intel.d: Ditto.
1393 2016-05-10 Alexander Fomin <alexander.fomin@intel.com>
1395 * config/tc-i386.c (cpu_arch): Add RDPID.
1396 * doc/c-i386.texi: Document RDPID.
1398 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1400 * config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
1401 set branch type of a symbol.
1403 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1405 * NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
1406 * config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
1408 (arm_extensions): Add dsp extension for ARMv8-M Mainline.
1409 (aeabi_set_public_attributes): Memorize the feature bits of the
1410 architecture selected for Tag_CPU_arch. Use it to set
1411 Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
1412 (arm_convert_symbolic_attribute): Define Tag_DSP_extension.
1413 * testsuite/gas/arm/arch7em-bad.d: Rename to ...
1414 * testsuite/gas/arm/arch7em-bad-1.d: This.
1415 * testsuite/gas/arm/arch7em-bad-2.d: New file.
1416 * testsuite/gas/arm/arch7em-bad-3.d: Likewise.
1417 * testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
1418 * testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
1419 * testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
1420 * testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
1421 * testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
1422 * testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.
1424 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1426 * config/tc-arm.c (struct arm_option_extension_value_table): Make
1427 allowed_archs an array with 2 entries.
1428 (ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
1429 (ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
1430 (arm_extensions): Use separate entries in allowed_archs when several
1431 archs are allowed to use an extension and change ARCH_ANY in
1432 ARM_ARCH_NONE in allowed_archs.
1433 (arm_parse_extension): Check that, for each allowed_archs entry, all
1434 bits are set in the current architecture, ignoring ARM_ANY entries.
1435 (s_arm_arch_extension): Likewise.
1437 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1439 * config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
1440 (arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
1441 (arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
1442 shared with a non M profile architecture.
1443 (do_rn): New function.
1444 (known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
1446 (v7m_psrs): Add ARMv8-M security extensions new special registers.
1447 (insns): Add ARMv8-M Security Extensions instructions.
1448 (aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
1449 arm_ext_v8m_m to decide the profile and the Thumb ISA.
1450 * testsuite/gas/arm/archv8m-cmse.s: New file.
1451 * testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
1452 * testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
1453 * testsuite/gas/arm/any-cmse.d: Likewise.
1454 * testsuite/gas/arm/any-cmse-main.d: Likewise.
1455 * testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
1456 * testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
1457 * testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
1458 * testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
1459 * testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
1461 2016-05-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1463 * testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
1464 * testsuite/gas/sparc/sparc5vis4.d: Likewise.
1466 2016-05-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1468 * config/tc-arm.c (fpu_arch_vfp_v1): Mark with ATTRIBUTE_UNUSED.
1469 (fpu_arch_vfp_v3): Likewise.
1470 (fpu_arch_neon_v1): Likewise.
1471 (arm_arch_full): Likewise.
1472 (parse_neon_el_struct_list): Initialize fields of firsttype.
1474 2016-05-03 Claudiu Zissulescu <claziss@synopsys.com>
1476 * config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
1477 (arc_extinsn): Handle new introduced syntax.
1478 * testsuite/gas/arc/textinsn1op.d: New file.
1479 * testsuite/gas/arc/textinsn1op.s: Likewise.
1480 * doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.
1482 2016-05-03 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1484 * testsuite/gas/lns/lns.exp: Add avr to list of targets using
1485 DW_LNS_fixed_advance_pc.
1487 2016-04-27 Alan Modra <amodra@gmail.com>
1489 * as.h (inline, __PTR_TO_INT, __INT_TO_PTR): Don't define.
1490 (xmemdup0): New inline function.
1492 2016-04-22 Maciej W. Rozycki <macro@imgtec.com>
1494 * config/tc-mips.c (code_option_type): New enum.
1495 (parse_code_option): Return status indicating option type.
1496 (s_mipsset): Update `parse_code_option' call site accordingly.
1497 Always set register sizes from the ISA with ISA overrides.
1498 (s_module): Update `parse_code_option' call site.
1499 * testsuite/gas/mips/isa-override-1.d: New test.
1500 * testsuite/gas/mips/micromips@isa-override-1.d: New test.
1501 * testsuite/gas/mips/mips1@isa-override-1.d: New test.
1502 * testsuite/gas/mips/mips2@isa-override-1.d: New test.
1503 * testsuite/gas/mips/mips32@isa-override-1.d: New test.
1504 * testsuite/gas/mips/mips32r2@isa-override-1.d: New test.
1505 * testsuite/gas/mips/mips32r3@isa-override-1.d: New test.
1506 * testsuite/gas/mips/mips32r5@isa-override-1.d: New test.
1507 * testsuite/gas/mips/mips32r6@isa-override-1.d: New test.
1508 * testsuite/gas/mips/mips64r2@isa-override-1.d: New test.
1509 * testsuite/gas/mips/mips64r3@isa-override-1.d: New test.
1510 * testsuite/gas/mips/mips64r5@isa-override-1.d: New test.
1511 * testsuite/gas/mips/mips64r6@isa-override-1.d: New test.
1512 * testsuite/gas/mips/r3000@isa-override-1.d: New test.
1513 * testsuite/gas/mips/r3900@isa-override-1.d: New test.
1514 * testsuite/gas/mips/r5900@isa-override-1.d: New test.
1515 * testsuite/gas/mips/octeon@isa-override-1.d: New test.
1516 * testsuite/gas/mips/octeon3@isa-override-1.d: New test.
1517 * testsuite/gas/mips/isa-override-2.l: New list test.
1518 * testsuite/gas/mips/mips1@isa-override-2.l: New list test.
1519 * testsuite/gas/mips/mips2@isa-override-2.l: New list test.
1520 * testsuite/gas/mips/mips32@isa-override-2.l: New list test.
1521 * testsuite/gas/mips/mips32r2@isa-override-2.l: New list test.
1522 * testsuite/gas/mips/mips32r3@isa-override-2.l: New list test.
1523 * testsuite/gas/mips/mips32r5@isa-override-2.l: New list test.
1524 * testsuite/gas/mips/mips32r6@isa-override-2.l: New list test.
1525 * testsuite/gas/mips/r3000@isa-override-2.l: New list test.
1526 * testsuite/gas/mips/r3900@isa-override-2.l: New list test.
1527 * testsuite/gas/mips/octeon3@isa-override-2.l: New list test.
1528 * testsuite/gas/mips/octeon3@isa-override-1.l: New stderr
1530 * testsuite/gas/mips/isa-override-1.s: New test source.
1531 * testsuite/gas/mips/r5900@isa-override-1.s: New test source.
1532 * testsuite/gas/mips/isa-override-2.s: New test source.
1533 * testsuite/gas/mips/mips1@isa-override-2.s: New test source.
1534 * testsuite/gas/mips/mips2@isa-override-2.s: New test source.
1535 * testsuite/gas/mips/mips32@isa-override-2.s: New test source.
1536 * testsuite/gas/mips/mips32r2@isa-override-2.s: New test source.
1537 * testsuite/gas/mips/mips32r3@isa-override-2.s: New test source.
1538 * testsuite/gas/mips/mips32r5@isa-override-2.s: New test source.
1539 * testsuite/gas/mips/mips32r6@isa-override-2.s: New test source.
1540 * testsuite/gas/mips/r3000@isa-override-2.s: New test source.
1541 * testsuite/gas/mips/r3900@isa-override-2.s: New test source.
1542 * testsuite/gas/mips/octeon3@isa-override-2.s: New test source.
1543 * testsuite/gas/mips/mips.exp: Run the new tests.
1545 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1548 * config/tc-bfin.c: Likewise.
1549 * config/tc-ia64.c: Likewise.
1550 * config/tc-mep.c: Likewise.
1551 * config/tc-metag.c: Likewise.
1552 * config/tc-nios2.c: Likewise.
1553 * config/tc-rl78.c: Likewise.
1555 2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
1557 * doc/c-arc.texi (ARC Options): Add nps400 to list of valus for
1558 -mcpu. Add cross reference to .cpu directive from -mcpu option.
1559 (ARC Directives): Add NPS400 to .cpu directive list.
1561 2016-04-20 Matthew Wahab <matthew.wahab@arm.com>
1563 * config/tc-aarch64.c (aarch64_features): Add "ras".
1564 * doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
1565 * testsuite/gas/aarch64/armv8-ras-1.d: New.
1566 * testsuite/gas/aarch64/armv8-ras-1.s: New.
1567 * testsuite/gas/aarch64/illegal-ras-1.d: New.
1568 * testsuite/gas/aarch64/illegal-ras-1.s: New.
1570 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1572 * testsuite/gas/arc/nps400-6.d: New file.
1573 * testsuite/gas/arc/nps400-6.s: New file.
1575 2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
1577 * testsuite/gas/arc/nps400-4.d: New file.
1578 * testsuite/gas/arc/nps400-4.s: New file.
1579 * testsuite/gas/arc/nps400-5.d: New file.
1580 * testsuite/gas/arc/nps400-5.s: New file.
1582 2016-04-19 Martin Galvan <martin.galvan@tallertechnologies.com>
1584 * doc/as.texinfo (.cfi_remember_state, .cfi_restore_state): Improve
1587 2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
1589 Revert prevous change.
1590 * config/tc-arc.c (arc_option): Make .cpu directive
1591 case-sensitive again.
1593 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1595 * config/tc-arc.c (arc_option): Make .cpu directive
1598 2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
1600 * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
1602 2016-04-15 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1604 * config/tc-mips.c (md_begin): Remove useless assignment.
1606 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1608 * Makefile.in: Regenerated with automake 1.11.6.
1609 * aclocal.m4: Likewise.
1610 * doc/Makefile.in: Likewise.
1612 2016-04-15 Alan Modra <amodra@gmail.com>
1614 * config/tc-ppc.c (toc_reloc_types): Wrap in #ifdef OBJ_ELF
1616 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1618 * config/tc-nios2.c (nios2_as_options): Make file static.
1619 * config/tc-ppc.c (toc_reloc_ypes): Likewise.
1620 * config/tc-sparc.c (native_op_table): Likewise.
1622 2016-04-14 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1624 * config/tc-m32c.c (M32C_Macros): Remove.
1625 * config/tc-msp430.c (option_numbers): Likewise.
1627 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1629 * testsuite/gas/arc/nps400-3.d: New file.
1630 * testsuite/gas/arc/nps400-3.s: New file.
1632 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1634 * testsuite/gas/arc/add_s-err.s: Update target pattern.
1635 * testsuite/gas/arc/warn.s: Likewise.
1636 * testsuite/gas/elf/elf.exp: Run test for arc.
1638 2016-04-14 Nick Clifton <nickc@redhat.com>
1641 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
1642 sections possibly having the SHF_STRINGS flag bit set.
1643 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
1645 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1647 * config/tc-arc.c (mach_type_specified_p): Change type to
1649 (arc_option): Set private flags when parsing cpu pseudo-op.
1650 (md_parse_option): Set mach_type_specified_p to TRUE.
1652 2016-04-13 Nick Clifton <nickc@redhat.com>
1655 * testsuite/gas/v850/pr19937.s: New test.
1656 * testsuite/gas/v850/pr19937.d: New test control file.
1657 * testsuite/gas/v850/basic.exp: Run the new test.
1659 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1660 Andrew Bennett <andrew.bennett@imgtec.com>
1662 * config/tc-mips.c (relaxed_branch_length): Use the long
1663 sequence where the target is a weak symbol.
1664 (relaxed_micromips_32bit_branch_length): Likewise.
1665 (relaxed_micromips_16bit_branch_length): Likewise.
1666 * testsuite/gas/mips/branch-weak-1.d: New test.
1667 * testsuite/gas/mips/branch-weak-2.d: New test.
1668 * testsuite/gas/mips/branch-weak-3.d: New test.
1669 * testsuite/gas/mips/branch-weak-4.d: New test.
1670 * testsuite/gas/mips/branch-weak-5.d: New test.
1671 * testsuite/gas/mips/branch-weak.l: New stderr output.
1672 * testsuite/gas/mips/branch-weak.s: New test source.
1673 * testsuite/gas/mips/mips.exp: Run the new tests.
1675 2016-04-13 Maciej W. Rozycki <macro@imgtec.com>
1677 * config/tc-mips.c (relaxed_branch_length): Use the long
1678 sequence where the distance cannot be determined.
1679 (relaxed_micromips_32bit_branch_length): Likewise.
1680 * testsuite/gas/mips/branch-extern-1.d: New test.
1681 * testsuite/gas/mips/branch-extern-2.d: New test.
1682 * testsuite/gas/mips/branch-extern-3.d: New test.
1683 * testsuite/gas/mips/branch-extern-4.d: New test.
1684 * testsuite/gas/mips/branch-extern.l: New stderr output.
1685 * testsuite/gas/mips/branch-extern.s: New test source.
1686 * testsuite/gas/mips/branch-section-1.d: New test.
1687 * testsuite/gas/mips/branch-section-2.d: New test.
1688 * testsuite/gas/mips/branch-section-3.d: New test.
1689 * testsuite/gas/mips/branch-section-4.d: New test.
1690 * testsuite/gas/mips/branch-section.l: New stderr output.
1691 * testsuite/gas/mips/branch-section.s: New test source.
1692 * testsuite/gas/mips/mips.exp: Run the new tests.
1694 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1696 * testsuite/gas/arc/textauxregister.d: New file.
1697 * testsuite/gas/arc/textauxregister.s: Likewise.
1698 * testsuite/gas/arc/textcondcode.d: Likewise.
1699 * testsuite/gas/arc/textcondcode.s: Likewise.
1700 * testsuite/gas/arc/textcoreregister.d: Likewise.
1701 * testsuite/gas/arc/textcoreregister.s: Likewise.
1702 * testsuite/gas/arc/textpseudoop.d: Likewise.
1703 * testsuite/gas/arc/textpseudoop.s: Likewise.
1704 * testsuite/gas/arc/ld2.d: Update test.
1705 * testsuite/gas/arc/st.d: Likewise.
1706 * testsuite/gas/arc/taux.d: Likewise.
1707 * doc/c-arc.texi (ARC Directives): Add .extCondCode,
1708 .extCoreRegister and .extAuxRegister documentation.
1709 * config/tc-arc.c (arc_extcorereg): New function.
1710 (md_pseudo_table): Add .extCondCode, .extCoreRegister and
1711 .extAuxRegister pseudo-ops.
1712 (extRegister_t): New type.
1713 (ext_condcode, arc_aux_hash): New global variable.
1714 (find_opcode_match): Check for extensions.
1715 (preprocess_operands): Likewise.
1716 (md_begin): Add aux registers in a hash.
1717 (assemble_insn): Update use arc_flags member.
1718 (tokenize_extregister): New function.
1719 (create_extcore_section): Likewise.
1720 * config/tc-arc.h (arc_flags): Delete code, add flgp.
1722 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1724 * testsuite/gas/arc/noargs_a7.d: New file.
1725 * testsuite/gas/arc/noargs_a7.s: Likewise.
1726 * testsuite/gas/arc/noargs_hs.d: Likewise.
1727 * testsuite/gas/arc/noargs_hs.s: Likewise.
1729 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1731 * testsuite/gas/arc/textinsn-errors.d: New File.
1732 * testsuite/gas/arc/textinsn-errors.err: Likewise.
1733 * testsuite/gas/arc/textinsn-errors.s: Likewise.
1734 * testsuite/gas/arc/textinsn2op.d: Likewise.
1735 * testsuite/gas/arc/textinsn2op.s: Likewise.
1736 * testsuite/gas/arc/textinsn2op01.d: Likewise.
1737 * testsuite/gas/arc/textinsn2op01.s: Likewise.
1738 * testsuite/gas/arc/textinsn3op.d: Likewise.
1739 * testsuite/gas/arc/textinsn3op.s: Likewise.
1740 * doc/c-arc.texi (ARC Directives): Add .extInstruction
1742 * config/tc-arc.c (arcext_section): New variable.
1743 (arc_extinsn): New function.
1744 (md_pseudo_table): Add .extInstruction pseudo op.
1745 (attributes_t): New type.
1746 (suffixclass, syntaxclass, syntaxclassmod): New constant
1748 (find_opcode_match): Remove arc_num_opcodes.
1749 (md_begin): Likewise.
1750 (tokenize_extinsn): New function.
1751 (arc_set_ext_seg): Likewise.
1752 (create_extinst_section): Likewise.
1754 2016-04-12 Claudiu Zissulescu <claziss@synopsys.com>
1756 * config/tc-arc.c (preprocess_operands): Mark AUX symbol.
1757 (arc_adjust_symtab): New function.
1758 * config/tc-arc.h (ARC_FLAG_AUX): Define.
1759 (obj_adjust_symtab): Likewise.
1760 * testsuite/gas/arc/taux.d: New file.
1761 * testsuite/gas/arc/taux.s: Likewise.
1763 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1765 * config/tc-mips.c (s_option): Sanitize `.option picX'
1767 * testsuite/gas/mips/option-pic-1.d: New test.
1768 * testsuite/gas/mips/option-pic-2.l: New list test.
1769 * testsuite/gas/mips/option-pic-1.s: New test source.
1770 * testsuite/gas/mips/option-pic-2.s: New test source.
1771 * testsuite/gas/mips/mips.exp: Run the new tests.
1773 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1775 * config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
1777 * testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
1778 * testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
1779 * testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
1780 * testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
1781 * testsuite/gas/mips/mips.exp: Run the new tests.
1783 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1785 * config/tc-mips.c (can_swap_branch_p): Correct call formatting.
1787 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1789 * messages.c (as_bad): Fix a typo in description.
1791 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1793 * config/tc-mips.c (mips_check_options): Unify messages.
1795 2016-04-09 Maciej W. Rozycki <macro@imgtec.com>
1797 * config/tc-mips.c (mips_check_options): Use `opts->isa'
1800 2016-04-08 Nick Clifton <nickc@redhat.com>
1803 * testsuite/gas/sparc/pr19910-1.d: Adjust regexps to work with
1804 COFF and AOUT sparc targets.
1806 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1808 * config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
1809 * testsuite/gas/arc/nps400-2.d: New file.
1810 * testsuite/gas/arc/nps400-2.s: New file.
1812 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1814 * config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
1816 (arc_opcode_hash_entry_iterator_init): New function.
1817 (arc_opcode_hash_entry_iterator_next): New function.
1818 (find_opcode_match): Iterate over all arc_opcode entries
1819 referenced by the arc_opcode_hash_entry passed in as a parameter.
1821 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1823 * config/tc-arc.c (arc_find_opcode): Now returns
1824 arc_opcode_hash_entry pointer.
1825 (find_opcode_match): Update argument type, extract arc_opcode from
1826 incoming arc_opcode_hash_entry.
1827 (find_special_case_pseudo): Update return type.
1828 (find_special_case_flag): Update return type.
1829 (find_special_case): Update return type.
1830 (assemble_tokens): Lookup arc_opcode_hash_entry based on
1831 instruction mnemonic, then use find_opcode_match to identify
1832 specific arc_opcode.
1834 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1836 * config/tc-arc.c (struct arc_opcode_hash_entry): New structure.
1837 (arc_find_opcode): New function.
1838 (find_special_case_pseudo): Use arc_find_opcode.
1839 (find_special_case_flag): Likewise.
1840 (assemble_tokens): Likewise.
1841 (md_begin): Build hash using struct arc_opcode_hash_entry.
1843 2016-04-07 Claudiu Zissulescu <claziss@synopsys.com>
1845 * config/tc-arc.c (arc_option): Prepare string for automatic
1847 (declare_register): Likewise.
1849 2016-04-06 James Greenhalgh <james.greenhalgh@arm.com>
1851 * doc/c-aarch64.texi (Architecture Extensions): Add entry for LSE.
1852 Correct entry for RDMA. Alpha sort entries.
1854 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1856 * config/tc-arc.c (tokenize_flags): Allow greater range of
1857 characters into flag names.
1859 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1861 * config/tc-arc.c (find_opcode_match): Handle O_symbol case, add
1863 (preprocess_operands): Delete.
1864 (assemble_tokens): Remove call to preprocess_operands.
1866 2016-04-07 Nick Clifton <nickc@redhat.com>
1869 * config/tc-sparc.c (sparc_ip): Report an error if the expression
1870 inside a %-macro could not be fully parsed.
1871 * expr.c (integer_constant): Accept and ignore U suffixes to
1873 (operand): When a missing closing parenthesis is encountered,
1874 report the character that was found instead.
1875 * testsuite/gas/mips/tls-ill.l: Update expected error message.
1876 * testsuite/gas/sparc/pr19910-1.d: New test driver.
1877 * testsuite/gas/sparc/pr19910-1.s: New test.
1878 * testsuite/gas/sparc/pr19910-2.l: Expected error output.
1879 * testsuite/gas/sparc/pr19910-2.s: New test.
1880 * testsuite/gas/sparc/sparc.exp: Run the new tests.
1882 2016-04-06 Nick Clifton <nickc@redhat.com>
1884 * config/tc-msp430.c (msp430_operands): Check for a NOP preceding
1885 an EINT instruction. Warn/fix as necessary.
1886 * testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
1887 * testsuite/gas/msp430/bad.l: Update expected messages.
1889 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1891 * testsuite/gas/arc/nps400-1.d: Update expected results.
1892 * testsuite/gas/arc/nps400-1.s: Additional test cases.
1894 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1896 * config/tc-arc.c (is_code_density_p): Compare directly the
1898 (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
1899 (check_cpu_feature): New function.
1900 (find_opcode_match): Use check_cpu_feature function.
1901 (preprocess_operands): Likewise.
1902 (md_parse_option): Use mfpuda, mdpfp, mspfp options.
1903 * testsuite/gas/arc/tdpfp.d: New file.
1904 * testsuite/gas/arc/tfpuda.d: Likewise.
1905 * testsuite/gas/arc/tfpx.s: Likewise.
1907 2016-04-05 Jiong Wang <jiong.wang@arm.com>
1909 * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
1910 * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
1911 * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
1912 * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
1913 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
1914 * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
1915 * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
1916 * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise
1918 * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.
1920 2016-04-05 Claudiu Zissulescu <claziss@synopsys.com>
1922 * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
1923 JUMP instructions type.
1924 * testsuite/gas/arc/relocs-errors.d: New file.
1925 * testsuite/gas/arc/relocs-errors.err: Likewise.
1926 * testsuite/gas/arc/relocs-errors.s: Likewise.
1928 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1931 * config/tc-i386.c (check_VecOperands): Try vec_disp8 encoding
1932 only if i.disp_encoding != disp_encoding_32bit.
1933 * gas/testsuite/gas/i386/disp32.s: Add tests for vmovdqu64.d32.
1934 * gas/testsuite/gas/i386/x86-64-disp32.s: Likewise.
1935 * gas/testsuite/gas/i386/disp32.d: Updated.
1936 * gas/testsuite/gas/i386/x86-64-disp32.d: Likewise.
1938 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1941 * testsuite/gas/i386/i386.exp: Run pr19498.
1942 * testsuite/gas/i386/pr19498.d: New file.
1943 * testsuite/gas/i386/pr19498.s: Likewise.
1945 2016-04-04 Andrew Burgess <andrew.burgess@embecosm.com>
1947 * config/tc-arc.h: Include 'opcode/arc.h'.
1948 (MAX_INSN_ARGS): Delete.
1949 (MAX_INSN_FLGS): Delete.
1951 2016-04-04 Alan Modra <amodra@gmail.com>
1954 * symbols.c (resolve_symbol_value): Clear sy_resolving on exit
1955 from function on all paths that set sy_resolving.
1957 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1959 * app.c (app_push): use XNEW macro.
1961 * config/obj-elf.c (obj_elf_change_section): Likewise.
1962 (elf_copy_symbol_attributes): Likewise.
1963 (obj_elf_size): Likewise.
1964 (build_group_lists): Likewise.
1965 * config/tc-aarch64.c (add_operand_error_record): Likewise.
1966 (md_assemble): Likewise.
1967 (tc_gen_reloc): Likewise.
1968 (get_upper_str): Likewise.
1969 (aarch64_parse_features): Likewise.
1970 * config/tc-arm.c (insert_reg_alias): Likewise.
1971 (insert_neon_reg_alias): Likewise.
1972 (find_or_make_literal_pool): Likewise.
1973 (s_arm_elf_cons): Likewise.
1974 (add_unwind_opcode): Likewise.
1975 (arm_parse_extension): Likewise.
1976 * config/tc-avr.c (create_record_for_frag): Likewise.
1977 * config/tc-crx.c: Likewise.
1978 * config/tc-d30v.c: Likewise.
1979 * config/tc-dlx.c (s_proc): Likewise.
1980 * config/tc-ft32.c: Likewise.
1981 * config/tc-h8300.c: Likewise.
1982 * config/tc-hppa.c (pa_proc): Likewise.
1983 (create_new_space): Likewise.
1984 (create_new_subspace): Likewise.
1985 * config/tc-i860.c: Likewise.
1986 * config/tc-i960.c: Likewise.
1987 * config/tc-ia64.c: Likewise.
1988 * config/tc-iq2000.c (iq2000_add_macro): Likewise.
1989 (iq2000_record_hi16): Likewise.
1990 * config/tc-m32c.c (m32c_indirect_operand): Likewise.
1991 * config/tc-m32r.c (debug_sym): Likewise.
1992 (m32r_record_hi16): Likewise.
1993 * config/tc-m68k.c (m68k_ip): Likewise.
1994 (md_begin): Likewise.
1995 * config/tc-mcore.c: Likewise.
1996 * config/tc-microblaze.c (check_got): Likewise.
1997 * config/tc-mips.c (append_insn): Likewise.
1998 (s_mipsset): Likewise.
1999 (mips_record_label): Likewise.
2000 (s_mips_end): Likewise.
2001 * config/tc-mmix.c (mmix_frob_file): Likewise.
2002 * config/tc-mn10200.c: Likewise.
2003 * config/tc-mn10300.c: Likewise.
2004 * config/tc-moxie.c: Likewise.
2005 * config/tc-msp430.c: Likewise.
2006 * config/tc-nds32.c (nds32_elf_save_pseudo_pattern): Likewise.
2007 * config/tc-ns32k.c: Likewise.
2008 * config/tc-or1k.c: Likewise.
2009 * config/tc-pdp11.c: Likewise.
2010 * config/tc-pj.c (fake_opcode): Likewise.
2011 * config/tc-ppc.c (ppc_apuinfo_section_add): Likewise.
2012 (ppc_macro): Likewise.
2013 (ppc_dwsect): Likewise.
2014 (ppc_machine): Likewise.
2015 * config/tc-rl78.c (rl78_frag_init): Likewise.
2016 * config/tc-rx.c (rx_frag_init): Likewise.
2017 * config/tc-s390.c (s390_lit_suffix): Likewise.
2018 (s390_machine): Likewise.
2019 (s390_machinemode): Likewise.
2020 * config/tc-score.c (s3_insert_reg): Likewise.
2021 (s3_gen_reloc): Likewise.
2022 * config/tc-score7.c (s7_insert_reg): Likewise.
2023 (s7_gen_reloc): Likewise.
2024 * config/tc-tic30.c (tic30_operand): Likewise.
2025 * config/tc-tic4x.c (tic4x_inst_make): Likewise.
2026 * config/tc-tic54x.c (stag_add_field): Likewise.
2027 (tic54x_struct): Likewise.
2028 (tic54x_space): Likewise.
2029 (tic54x_field): Likewise.
2030 (tic54x_mlib): Likewise.
2031 (subsym_substitute): Likewise.
2032 * config/tc-tic6x.c (tic6x_frob_label): Likewise.
2033 * config/tc-vax.c: Likewise.
2034 * config/tc-xc16x.c: Likewise.
2035 * config/tc-xtensa.c (xtensa_add_insn_label): Likewise.
2036 (directive_push): Likewise.
2037 (xtensa_begin_directive): Likewise.
2038 (tokenize_arguments): Likewise.
2039 (xtensa_add_literal_sym): Likewise.
2040 (new_resource_table): Likewise.
2041 (resize_resource_table): Likewise.
2042 (emit_single_op): Likewise.
2043 (xtensa_create_trampoline_frag): Likewise.
2044 (xtensa_maybe_create_literal_pool_frag): Likewise.
2045 (xtensa_add_config_info): Likewise.
2046 (xtensa_realloc_fixup_cache): Likewise.
2047 (add_subseg_info): Likewise.
2048 (cache_literal_section): Likewise.
2049 (add_xt_block_frags): Likewise.
2050 (add_xt_prop_frags): Likewise.
2051 (init_op_placement_info_table): Likewise.
2052 (build_section_rename): Likewise.
2053 * config/tc-z80.c: Likewise.
2054 * config/tc-z8k.c: Likewise.
2055 * depend.c (register_dependency): Likewise.
2056 * dwarf2dbg.c (get_line_subseg): Likewise.
2057 (dwarf2_gen_line_info_1): Likewise.
2058 (get_filenum): Likewise.
2059 * ecoff.c (allocate_scope): Likewise.
2060 (allocate_vlinks): Likewise.
2061 (allocate_shash): Likewise.
2062 (allocate_thash): Likewise.
2063 (allocate_tag): Likewise.
2064 (allocate_forward): Likewise.
2065 (allocate_thead): Likewise.
2066 (allocate_lineno_list): Likewise.
2067 * expr.c (make_expr_symbol): Likewise.
2068 * hash.c (hash_new_sized): Likewise.
2069 * input-file.c (input_file_push): Likewise.
2070 * listing.c (file_info): Likewise.
2071 (listing_newline): Likewise.
2072 * macro.c (new_formal): Likewise.
2073 (define_macro): Likewise.
2074 * remap.c (add_debug_prefix_map): Likewise.
2075 * symbols.c (symbol_find_noref): Likewise.
2076 (define_dollar_label): Likewise.
2077 (fb_label_instance_inc): Likewise.
2078 (symbol_relc_make_value): Likewise.
2080 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2082 * config/obj-elf.c (obj_elf_vendor_attribute): Use xstrdup.
2083 * config/tc-ppc.c (ppc_frob_file_before_adjust): Likewise.
2084 (ppc_znop): Likewise.
2085 (ppc_pe_section): Likewise.
2086 (ppc_frob_symbol): Likewise.
2087 * config/tc-tic30.c (tic30_operand): Likewise.
2088 * config/tc-tic4x.c (tic4x_sect): Likewise.
2089 (tic4x_usect): Likewise.
2091 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2093 * config/tc-alpha.c: Const qualify FLT_CHARS.
2094 * config/atof-ieee.c: Remove declarations of FLT_CHARS and EXP_CHARS.
2095 * config/tc-cris.h: Likewise.
2097 * config/tc-mmix.c (md_atof): Adjust comment.
2098 * config/tc-mmix.h: Stop defining FLT_CHARS and EXP_CHARS as macros.
2099 * tc.h: Declare FLT_CHARS and EXP_CHARS.
2101 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2103 * config/tc-score.c (s3_gen_reloc): Add const qualifiers.
2104 * config/tc-score7.c (s7_gen_reloc): Likewise.
2106 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2108 * config/tc-arm.c (do_t_branch): Change the type of reloc to
2109 bfd_reloc_code_real_type.
2111 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2113 * config/bfin-parse.y (current_inputline): Remove definition.
2114 * config/tc-bfin.c (md_assemble): Simplify use of current_inputline.
2116 2016-04-03 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2118 * config/tc-avr.c (md_parse_option): Use strcasecmp () to compare
2121 2016-04-02 Alan Modra <amodra@gmail.com>
2124 * read.c (assign_symbol): Consume rest of line after an error
2125 rather than continuing to process the line.
2127 2016-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2129 * config/tc-arc.h (MAX_FLAG_NAME_LENGHT): Rename to...
2130 (MAX_FLAG_NAME_LENGTH): ...this.
2131 (struct arc_flags): Update to use MAX_FLAG_NAME_LENGTH.
2132 * config/tc-arc.c (tokenize_flags): Likewise.
2134 2016-04-01 Alan Modra <amodra@gmail.com>
2136 * cgen.c (weak_operand_overflow_check): Return const char*.
2137 * messages.c (as_internal_value_out_of_range): Formatting.
2138 (as_warn_value_out_of_range): Consify prefix param.
2139 (as_bad_value_out_of_range): Likewise.
2140 * read.c (s_errwarn): Constify msg..
2141 (s_float_space, float_cons): ..and err.
2142 * as.h (as_warn_value_out_of_range, as_bad_value_out_of_range,
2143 ieee_md_atof, vax_md_atof): Update prototypes.
2144 * tc.h (md_atof): Update prototype.
2145 * config/atof-ieee.c (ieee_md_atof): Return const char*.
2146 * config/atof-vax.c (vax_md_atof): Likewise.
2147 * config/obj-elf.c (obj_elf_parse_section_letters): Constify bad_msg.
2148 * config/tc-aarch64.c (md_atof): Return const char*.
2149 * config/tc-alpha.c (s_alpha_section_name): Likewise.
2150 (s_alpha_comm): Constify sec_name.
2151 (section_name): Constify.
2152 (s_alpha_section): Consify name..
2153 (alpha_elf_section_letter): ..and ptr_msg param..
2154 (md_atof): ..and return.
2155 * config/tc-alpha.h (alpha_elf_section_letter): Update prototype.
2156 * config/tc-arc.c (md_atof): Return const char*.
2157 * config/tc-arm.c (md_atof): Likewise.
2158 * config/tc-avr.c (md_atof): Likewise.
2159 * config/tc-bfin.c (md_atof): Likewise.
2160 * config/tc-cr16.c (md_atof): Likewise.
2161 * config/tc-cris.c (md_atof): Likewise.
2162 * config/tc-crx.c (md_atof): Likewise.
2163 * config/tc-d10v.c (md_atof): Likewise.
2164 * config/tc-d30v.c (md_atof): Likewise.
2165 * config/tc-dlx.c (md_atof): Likewise.
2166 * config/tc-epiphany.c (md_atof): Likewise.
2167 * config/tc-fr30.c (md_atof): Likewise.
2168 * config/tc-frv.c (md_atof): Likewise.
2169 * config/tc-ft32.c (md_atof): Likewise.
2170 * config/tc-h8300.c (md_atof): Likewise.
2171 * config/tc-hppa.c (struct default_subspace_dict): Constify name.
2172 (struct default_space_dict): Likewise.
2173 (create_new_space): Constify name param.
2174 (create_new_subspace): Likewise.
2175 (is_defined_space, is_defined_subspace): Likewise.
2176 (pa_parse_space_stmt): Constify space_name param.
2177 (md_atof): Return const char*.
2178 (pa_spaces_begin): Constify name.
2179 * config/tc-i370.c (md_atof): Return const char*.
2180 * config/tc-i386.c (md_atof): Likewise.
2181 (x86_64_section_letter): Constify ptr_msg param.
2182 * config/tc-i386.h (x86_64_section_letter): Update prototype.
2183 * config/tc-i860.c (struct i860_it): Constify error.
2184 (md_atof): Return const char*.
2185 * config/tc-i960.c (md_atof): Likewise.
2186 * config/tc-ia64.c (md_atof): Likewise.
2187 (ia64_elf_section_letter): Constify ptr_msg param.
2188 * config/tc-ia64.h (ia64_elf_section_letter): Update prototype.
2189 * config/tc-ip2k.c (md_atof): Return const char*.
2190 * config/tc-iq2000.c (md_atof): Likewise.
2191 * config/tc-lm32.c (md_atof): Likewise.
2192 * config/tc-m32c.c (md_atof): Likewise.
2193 * config/tc-m32r.c (md_atof): Likewise.
2194 * config/tc-m68hc11.c (md_atof): Likewise.
2195 * config/tc-m68k.c (md_atof): Likewise.
2196 * config/tc-mcore.c (md_atof): Likewise.
2197 * config/tc-mep.c (md_atof): Likewise.
2198 (mep_elf_section_letter): Constify ptr_msg param.
2199 * config/tc-mep.h (mep_elf_section_letter): Update prototype.
2200 * config/tc-metag.c (md_atof): Return const char*.
2201 * config/tc-microblaze.c (md_atof): Likewise.
2202 * config/tc-microblaze.h (md_atof): Delete prototype.
2203 * config/tc-mips.c (mips_parse_argument_token): Constify err.
2204 (md_atof): Return const char*.
2205 * config/tc-mmix.c (md_atof): Likewise.
2206 * config/tc-mn10200.c (md_atof): Likewise.
2207 * config/tc-mn10300.c (md_atof): Likewise.
2208 * config/tc-moxie.c (md_atof): Likewise.
2209 * config/tc-msp430.c (md_atof): Likewise.
2210 * config/tc-mt.c (md_atof): Likewise.
2211 * config/tc-nds32.c (md_atof): Likewise.
2212 * config/tc-nios2.c (md_atof): Likewise.
2213 (nios2_elf_section_letter): Constify ptr_msg param.
2214 * config/tc-nios2.h (nios2_elf_section_letter): Update prototype.
2215 * config/tc-ns32k.c (md_atof): Return const char*.
2216 * config/tc-or1k.c (md_atof): Likewise.
2217 * config/tc-pdp11.c (struct pdp11_code): Constify error.
2218 (md_atof): Return const char*.
2219 * config/tc-pj.c (md_atof): Likewise.
2220 * config/tc-ppc.c (md_atof): Likewise.
2221 * config/tc-rl78.c (md_atof): Likewise.
2222 * config/tc-rx.c (md_atof): Likewise.
2223 * config/tc-s390.c (md_atof): Likewise.
2224 * config/tc-score.c (s3_atof, md_atof): Likewise.
2225 * config/tc-sh.c (md_atof): Likewise.
2226 * config/tc-sparc.c (struct sparc_it): Constify error.
2227 (md_atof): Return const char*.
2228 * config/tc-spu.c (md_atof): Likewise.
2229 * config/tc-tic30.c (md_atof): Likewise.
2230 * config/tc-tic4x.c (md_atof): Likewise.
2231 * config/tc-tic54x.c (md_atof): Likewise.
2232 * config/tc-tic6x.c (md_atof): Likewise.
2233 * config/tc-tilegx.c (md_atof): Likewise.
2234 * config/tc-tilepro.c (md_atof): Likewise.
2235 * config/tc-v850.c (parse_register_list, md_atof): Likewise.
2236 * config/tc-vax.c (md_atof): Likewise.
2237 * config/tc-visium.c (md_atof): Likewise.
2238 * config/tc-xc16x.c (md_atof): Likewise.
2239 * config/tc-xgate.c (md_atof): Likewise.
2240 * config/tc-xstormy16.c (md_atof): Likewise.
2241 * config/tc-xtensa.c (md_atof): Likewise.
2242 * config/tc-z80.c (md_atof): Likewise.
2243 * config/tc-z8k.c (md_atof): Likewise.
2245 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2247 * config/tc-xtensa.c (struct rename_section_struct): Make old_name
2249 (xtensa_section_rename): Make argument type const char *.
2250 * config/tc-xtensa.h (xtensa_section_rename): Adjust.
2252 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2254 * config/tc-i960.c (parse_ldconst): Cast to char * when assigning to
2257 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2259 * config/tc-m32c.c (m32c_md_end): cast the argument to md_assemble to
2261 (m32c_indirect_operand): Likewise.
2262 * config/tc-nds32.c (do_pseudo_b): Likewise.
2263 (do_pseudo_bal): Likewise.
2264 (do_pseudo_ls_bhw): Likewise.
2266 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2268 * as.c (parse_args): Cast literal to char * when assigning to optarg.
2270 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2272 * config/tc-ia64.c (md_assemble): Add temporary variable to pass to
2274 * config/tc-sparc.c (s_register): Cast a literal to char * in
2277 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2279 * config/tc-i960.c (parse_expr): Cast to char * when assigning to
2281 * config/tc-m32r.c (expand_debug_syms): Likewise.
2282 * config/tc-msp430.c (msp430_dstoperand): Likewise.
2283 * config/tc-z80.c (md_begin): Likewise.
2284 * stabs.c (stabs_generate_asm_func): Likewise.
2286 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2288 * cgen.c: Modernize the way functions declare arguments.
2289 * config/tc-bfin.c: Likewise.
2290 * config/tc-pdp11.c: Likewise.
2291 * literal.c: Likewise.
2293 * stabs.c: Likewise.
2295 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2297 * config/tc-aarch64.c (aarch64_handle_align): Make the type of some
2298 variables unsigned char[].
2299 * config/tc-alpha.c (alpha_handle_align): Likewise.
2300 * config/tc-arm.c (arm_handle_align): Likewise.
2301 * config/tc-z80.c: Likewise.
2303 2016-03-30 Nick Clifton <nickc@redhat.com>
2306 * config/tc-arm.c (do_t_push_pop): Cast bitmask to unsigned before
2309 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2311 * testsuite/gas/all/gas.exp: Don't xfail on ARC.
2312 * testsuite/gas/elf/elf.exp: Likewise.
2313 * testsuite/gas/all/redef3.d: Allow execution for ARC.
2315 2016-03-30 Claudiu Zissulescu <claziss@synopsys.com>
2317 * testsuite/gas/arc/warn.exp: Fix matching pattern.
2319 2016-03-29 Claudiu Zissulescu <claziss@synopsys.com>
2321 * testsuite/gas/arc/ext2op.d: New file.
2322 * testsuite/gas/arc/ext2op.s: Likewise.
2323 * testsuite/gas/arc/ext3op.d: Likewise.
2324 * testsuite/gas/arc/ext3op.s: Likewise.
2326 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2328 * config/tc-aarch64.c (struct aarch64_long_option_table): Ad const
2330 * config/tc-alpha.c (md_parse_option): Likewise.
2331 * config/tc-arc.c (md_parse_option): Likewise.
2332 * config/tc-arm.c (struct arm_long_option_table): Likewise.
2333 (md_parse_option): Likewise.
2334 * config/tc-avr.c (md_parse_option): Likewise.
2335 * config/tc-bfin.c (md_parse_option): Likewise.
2336 * config/tc-cr16.c (md_parse_option): Likewise.
2337 * config/tc-cris.c (s_cris_arch): Likewise.
2338 (md_parse_option): Likewise.
2339 * config/tc-crx.c (md_parse_option): Likewise.
2340 * config/tc-d10v.c (md_parse_option): Likewise.
2341 * config/tc-d30v.c (md_parse_option): Likewise.
2342 * config/tc-dlx.c (md_parse_option): Likewise.
2343 * config/tc-epiphany.c (md_parse_option): Likewise.
2344 * config/tc-fr30.c (md_parse_option): Likewise.
2345 * config/tc-frv.c (md_parse_option): Likewise.
2346 * config/tc-ft32.c (md_parse_option): Likewise.
2347 * config/tc-h8300.c (md_parse_option): Likewise.
2348 * config/tc-hppa.c (md_parse_option): Likewise.
2349 * config/tc-i370.c (md_parse_option): Likewise.
2350 * config/tc-i386.c (md_parse_option): Likewise.
2351 * config/tc-i860.c (md_parse_option): Likewise.
2352 * config/tc-i960.c (md_parse_option): Likewise.
2353 * config/tc-ia64.c (md_parse_option): Likewise.
2354 * config/tc-ip2k.c (md_parse_option): Likewise.
2355 * config/tc-iq2000.c (md_parse_option): Likewise.
2356 * config/tc-lm32.c (md_parse_option): Likewise.
2357 * config/tc-m32c.c (md_parse_option): Likewise.
2358 * config/tc-m32r.c (md_parse_option): Likewise.
2359 * config/tc-m68hc11.c (md_parse_option): Likewise.
2360 * config/tc-m68k.c (md_parse_option): Likewise.
2361 * config/tc-mcore.c (md_parse_option): Likewise.
2362 * config/tc-mep.c (md_parse_option): Likewise.
2363 * config/tc-metag.c (struct metag_long_option): Likewise.
2364 (md_parse_option): Likewise.
2365 * config/tc-microblaze.c (md_parse_option): Likewise.
2366 * config/tc-microblaze.h (md_parse_option): Remove prototype.
2367 * config/tc-mips.c (md_parse_option): Adjust.
2368 * config/tc-mmix.c (md_parse_option): Likewise.
2369 * config/tc-mn10200.c (md_parse_option): Likewise.
2370 * config/tc-mn10300.c (md_parse_option): Likewise.
2371 * config/tc-moxie.c (md_parse_option): Likewise.
2372 * config/tc-msp430.c (md_parse_option): Likewise.
2373 * config/tc-mt.c (md_parse_option): Likewise.
2374 * config/tc-nds32.c (md_parse_option): Likewise.
2375 * config/tc-nds32.h (nds32_parse_option): Likewise.
2376 * config/tc-nios2.c (md_parse_option): Likewise.
2377 * config/tc-ns32k.c (md_parse_option): Likewise.
2378 * config/tc-or1k.c (md_parse_option): Likewise.
2379 * config/tc-pdp11.c (md_parse_option): Likewise.
2380 * config/tc-pj.c (md_parse_option): Likewise.
2381 * config/tc-ppc.c (md_parse_option): Likewise.
2382 * config/tc-rl78.c (md_parse_option): Likewise.
2383 * config/tc-rx.c (md_parse_option): Likewise.
2384 * config/tc-s390.c (s390_parse_cpu): Likewise.
2385 * config/tc-score.c (md_parse_option): Likewise.
2386 * config/tc-sh.c (md_parse_option): Likewise.
2387 * config/tc-sparc.c (md_parse_option): Likewise.
2388 * config/tc-spu.c (md_parse_option): Likewise.
2389 * config/tc-tic30.c (md_parse_option): Likewise.
2390 * config/tc-tic4x.c (md_parse_option): Likewise.
2391 * config/tc-tic54x.c (md_parse_option): Likewise.
2392 * config/tc-tic6x.c (md_parse_option): Likewise.
2393 * config/tc-tilegx.c (md_parse_option): Likewise.
2394 * config/tc-tilepro.c (md_parse_option): Likewise.
2395 * config/tc-v850.c (md_parse_option): Likewise.
2396 * config/tc-vax.c (md_parse_option): Likewise.
2397 * config/tc-visium.c (struct visium_long_option_table): Likewise.
2398 * config/tc-xc16x.c (md_parse_option): Likewise.
2399 * config/tc-xgate.c (md_parse_option): Likewise.
2400 * config/tc-xstormy16.c (md_parse_option): Likewise.
2401 * config/tc-xtensa.c (md_parse_option): Likewise.
2402 * config/tc-z80.c (md_parse_option): Likewise.
2403 * config/tc-z8k.c (md_parse_option): Likewise.
2404 * tc.h (md_parse_option): Likewise.
2406 2016-03-29 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2408 * config/tc-bfin.c (gencode): Use XOBNEW obstack_alloc () wrapper.
2409 * config/tc-hppa.c (fix_new_hppa): Likewise.
2410 (pa_vtable_entry): Likewise.
2411 (pa_vtable_inherit): Likewise.
2412 * config/tc-m68k.c (md_begin): Likewise.
2414 2016-03-28 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2416 * config/obj-elf.c (obj_elf_section_name): Return const char *.
2417 * config/obj-elf.h (obj_elf_section_name): Adjust.
2418 * config/tc-aarch64.c (aarch64_parse_features): Likewise.
2419 (aarch64_parse_cpu): Likewise.
2420 (aarch64_parse_arch): Likewise.
2421 * config/tc-arm.c (arm_parse_extension): Likewise.
2422 (arm_parse_cpu): Likewise.
2423 (arm_parse_arch): Likewise.
2424 * config/tc-nds32.c: Likewise.
2425 * config/xtensa-relax.c (parse_special_fn): Likewise.
2426 * stabs.c (generate_asm_file): Likewise.
2428 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2430 * config/tc-cr16.c (cr16_assemble): New function.
2431 (md_assemble): Call cr16_assemble.
2433 2016-03-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2435 * as.c (parse_args): Adjust.
2436 * as.h (flag_size_check): Rename to flag_allow_nonconst_size.
2437 * config/obj-elf.c (elf_frob_symbol): Adjust.
2439 2016-03-24 Jose E. Marchesi <jose.marchesi@oracle.com>
2441 * config/tc-sparc.c (sparc_ip): Remove the V9 restriction on ASR
2442 registers to be in the 16..31 range.
2444 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2446 * config/tc-microblaze.c (md_assemble): Cast opc to char * when calling
2449 2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2451 * config/tc-visium.c (md_atof): Localize the string returned on
2454 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2456 * config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
2457 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
2458 * config/tc-m68hc11.c (md_begin): Likewise.
2459 (print_opcode_list): Likewise.
2460 * config/tc-msp430.c (msp430_section): Likewise.
2461 * config/tc-score.c (struct s3_insn_to_dependency): Likewise.
2462 (s3_build_dependency_insn_hsh): Likewise.
2463 * config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
2464 (s7_build_dependency_insn_hsh): Likewise.
2465 * config/tc-tic4x.c: Likewise.
2466 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2467 (subsym_get_arg): Likewise.
2468 * config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
2469 (get_directive): Likewise.
2470 (cache_literal_section): Likewise.
2471 * config/xtensa-relax.c: Likewise.
2472 * symbols.c (symbol_create): Likewise.
2473 (local_symbol_make): Likewise.
2474 (symbol_relc_make_expr): Likewise.
2476 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2478 * config/tc-pdp11.c (md_assemble): Remove useless if and assignment to
2481 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2483 * config/tc-sparc.c (sparc_regname_to_dw2regnum): Replace strchr ()
2486 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2488 * config/tc-ia64.c (ia64_do_align): Remove.
2489 (ia64_cons_align): Call do_align () directly.
2490 (dot_proc): Likewise.
2491 (stmt_float_cons): Likewise.
2493 2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2495 * listing.c (listing_message): Use XNEW style allocation macros.
2496 * read.c (read_a_source_file): Likewise.
2497 (read_symbol_name): Likewise.
2498 (s_mri_common): Likewise.
2499 (assign_symbol): Likewise.
2500 (s_reloc): Likewise.
2501 (emit_expr_with_reloc): Likewise.
2502 (s_incbin): Likewise.
2503 (s_include): Likewise.
2504 * sb.c (sb_build): Likewise.
2505 (sb_check): Likewise.
2507 2016-03-22 Alan Modra <amodra@gmail.com>
2509 * write.c (record_alignment): Revert 2016-02-18 change.
2511 2016-03-22 Alan Modra <amodra@gmail.com>
2513 * config/tc-alpha.c (load_expression): Replace alloca with xmalloc.
2514 (emit_jsrjmp, tc_gen_reloc): Likewise.
2515 * config/tc-i370.c (i370_macro): Likewise.
2517 2016-03-22 Nick Clifton <nickc@redhat.com>
2519 * configure: Regenerate.
2521 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2523 * testsuite/gas/arc/nps400-0.d: New file.
2524 * testsuite/gas/arc/nps400-0.s: New file.
2525 * testsuite/gas/arc/nps400-1.d: New file.
2526 * testsuite/gas/arc/nps400-1.s: New file.
2528 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2530 * config/tc-arc.c (find_opcode_match): Move lnflg, and i
2531 declarations to start of block. Reset code on all flags before
2532 attempting to match them. Handle multiple hits on the same flag.
2534 * testsuite/gas/arc/asm-errors.d: New file.
2535 * testsuite/gas/arc/asm-errors.err: New file.
2536 * testsuite/gas/arc/asm-errors.s: New file.
2538 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2540 * config/tc-arc.c (cpu_types): Add nps400 entry.
2541 (check_zol): Handle nps400.
2543 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2545 * config/tc-arc.c (arc_select_cpu): Remove use of
2548 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2550 * config/tc-arc.c (arc_target): Delay initialisation until
2552 (arc_target_name): Likewise.
2553 (arc_features): Likewise.
2554 (arc_mach_type): Likewise.
2555 (cpu_types): Remove "all" entry.
2556 (arc_select_cpu): New function, most of the content is from...
2557 (md_parse_option): ... here. Call new arc_select_cpu.
2558 (md_begin): Call arc_select_cpu if needed, default is now arc700.
2560 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2562 * testsuite/gas/arc/inline-data-1.d: Add target restriction.
2563 * testsuite/gas/arc/inline-data-2.d: New file.
2565 2016-03-21 Nick Clifton <nickc@redhat.com>
2567 * atof-generic.c: Replace use of alloca with call to xmalloc.
2569 * dwarf2dbg.c: Likewise.
2570 * macro.c: Likewise.
2571 * remap.c: Likewise.
2572 * stabs.c: Likewise.
2573 * symbols.c: Likewise.
2574 * config/obj-elf.c: Likewise.
2575 * config/tc-aarch64.c: Likewise.
2576 * config/tc-arc.c: Likewise.
2577 * config/tc-arm.c: Likewise.
2578 * config/tc-avr.c: Likewise.
2579 * config/tc-ia64.c: Likewise.
2580 * config/tc-mips.c: Likewise.
2581 * config/tc-msp430.c: Likewise.
2582 * config/tc-nds32.c: Likewise.
2583 * config/tc-ppc.c: Likewise.
2584 * config/tc-sh.c: Likewise.
2585 * config/tc-tic30.c: Likewise.
2586 * config/tc-tic54x.c: Likewise.
2587 * config/tc-xstormy16.c: Likewise.
2588 * config/te-vms.c: Likewise.
2589 * configure: Regenerate.
2591 2016-03-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2593 * tc-i386.c (f32_1): Change type to unsigned char[].
2613 (jump_31): Likewise.
2614 (f32_patt): Likewise.
2615 (f16_patt): Likewise.
2624 (alt_patt): Likewise.
2626 2016-03-18 Nick Clifton <nickc@redhat.com>
2628 * doc/c-aarch64.texi (AArch64 Directives): Add descriptions of
2629 .cpu, .dword, .even, .inst. .tlsdescadd, .tlsdesccall,
2630 .tlsdescldr and .xword directives.
2633 * testsuite/gas/aarch64/pr19721.s: New test source file.
2634 * testsuite/gas/aarch64/pr19721.d: New test driver file.
2636 * doc/as.texinfo: Place the target specific command line options
2637 into their own man page section.
2639 2016-03-16 Jiong Wang <jiong.wang@arm.com>
2641 * config/tc-arm.c (N_S_32): New.
2642 (N_F_16_32): Likewise.
2643 (N_SUF_32): Support N_F16.
2644 (N_IF_32): Likewise.
2645 (neon_dyadic_misc): Likewise.
2646 (do_neon_cmp): Likewise.
2647 (do_neon_cmp_inv): Likewise.
2648 (do_neon_mul): Likewise.
2649 (do_neon_fcmp_absolute): Likewise.
2650 (do_neon_step): Likewise.
2651 (do_neon_abs_neg): Likewise.
2652 (CVT_FLAVOR_VAR): Likewise.
2653 (do_neon_cvt_1): Likewise.
2654 (do_neon_recip_est): Likewise.
2655 (do_vmaxnm): Likewise.
2656 (do_vrint_1): Likewise.
2657 (neon_check_type): Check architecture support for FP16 extension.
2658 (insns): Update comments.
2659 * testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
2660 * testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
2661 * testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
2662 * testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
2664 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
2666 * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
2669 2016-03-16 Nick Clifton <nickc@redhat.com>
2671 * read.c (emit_expr_with_reloc): Add code check a bignum with
2673 * config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
2675 * testsuite/gas/elf/bignum.s: New test source file.
2676 * testsuite/gas/elf/bignum.d: New test driver file.
2677 * testsuite/gas/elf/elf.exp: Run the new test.
2679 2016-03-15 Ulrich Drepper <drepper@gmail.com>
2681 * doc/c-i386.texi (Register Naming): Update to details of the
2682 latest architecture version.
2684 2016-03-10 Mickael Guene <mickael.guene@st.com>
2687 * config/tc-arm.c (do_arit): Protect against bad relocations usage.
2689 (do_t_add_sub): Allow pcrop relocations for Thumb-2 targets.
2690 (do_t_mov_cmp): Likewise.
2691 (do_t_add_sub): Protect against bad relocations usage.
2692 (do_t_mov_cmp): Likewise.
2693 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.s: New.
2694 * testsuite/gas/arm/adds-thumb1-reloc-local-armv7-m.d: New.
2695 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.s: New.
2696 * testsuite/gas/arm/movs-thumb1-reloc-local-armv7-m.d: New.
2698 2016-03-09 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2700 * config/tc-arm.c (neon_alignment_bit): Rename do_align to
2702 (do_neon_ld_st_lane): Likewise.
2703 (do_neon_ld_dup): Likewise.
2705 2016-03-08 Andrew Burgess <andrew.burgess@embecosm.com>
2707 * testsuite/gas/arc/inline-data-1.d: New file.
2708 * testsuite/gas/arc/inline-data-1.s: New file.
2710 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
2712 * config/tc-arm.c (arm_cpus): Add cortex-r8.
2713 * doc/c-arm.texi: Add cortex-r8.
2715 2016-03-07 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2717 * config/tc-arc.c: Add const qualifiers.
2718 * config/tc-h8300.c (md_begin): Likewise.
2719 * config/tc-ia64.c (print_prmask): Likewise.
2720 * config/tc-msp430.c (msp430_operands): Likewise.
2721 * config/tc-nds32.c (struct suffix_name): Likewise.
2722 (struct nds32_parse_option_table): Likewise.
2723 (struct nds32_set_option_table): Likewise.
2724 (do_pseudo_pushpopm): Likewise.
2725 (do_pseudo_pushpop_stack): Likewise.
2726 (nds32_relax_relocs): Likewise.
2727 (nds32_flag): Likewise.
2728 (struct nds32_hint_map): Likewise.
2729 (nds32_find_reloc_table): Likewise.
2730 (nds32_match_hint_insn): Likewise.
2731 * config/tc-s390.c: Likewise.
2732 * config/tc-sh.c (get_specific): Likewise.
2733 * config/tc-tic30.c: Likewise.
2734 * config/tc-tic4x.c (tic4x_inst_add): Likewise.
2735 (tic4x_indirect_parse): Likewise.
2736 * config/tc-vax.c (vax_cons): Likewise.
2737 * config/tc-z80.c (struct reg_entry): Likewise.
2738 * config/tc-epiphany.c (md_assemble): Adjust.
2739 (epiphany_assemble): New function.
2740 (epiphany_elf_section_rtn): Call do_align directly.
2741 (epiphany_elf_section_text): Likewise.
2742 * config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
2743 (ip2k_elf_section_text): Likewise.
2744 * read.c (do_align): Make it not static.
2745 * read.h (do_align): New prototype.
2747 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2749 * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
2750 for ARMv8.1 AdvSIMD use.
2751 * testsuite/gas/arm/attr-march-armv8-a+rdma.d: New.
2752 * testsuite/gas/arm/attr-march-armv8_1-a+simd.d: New.
2754 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
2756 * config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
2758 (record_feature_use): New.
2759 (mark_feature_used): Use record_feature_use.
2760 (do_neon_qrdmlah): New.
2761 (insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
2763 (arm_extensions): Put into alphabetical order. Re-indent "simd"
2764 and "rdma" entries. Fix the incorrect merge value for "+rdma".
2765 * testsuite/gas/arm/armv8-a+rdma-warning.d: New.
2766 * testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
2767 Make source file explicit.
2768 * testsuite/gas/arm/armv8-a+rdma.l: New.
2769 * testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
2770 directives. Fix white-space.
2771 * testsuite/gas/arm/armv8_1-a+simd.d: New.
2773 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2775 * testsuite/gas/i386/x86_64-intel.d: Adjusted for COFF.
2777 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2778 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2780 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
2781 (tc_arc_fix_adjustable): Changed default return value to 1.
2782 * testsuite/gas/arc/j.d: Updated expected symbol
2783 * testsuite/gas/arc/jl.d: Likewise
2784 * testsuite/gas/arc/relax-avoid1.d: Likewise
2785 * testsuite/gas/arc/st.d: Likewise
2787 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
2789 * config/tc-arc.c: Enable code density instructions for ARC EM.
2791 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2794 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
2796 * as.c (flag_use_elf_stt_common): New.
2797 (show_usage): Add --elf-stt-common=.
2798 (option_values): Add OPTION_ELF_STT_COMMON.
2799 (std_longopts): Add --elf-stt-common=.
2800 (parse_args): Handle --elf-stt-common=.
2801 * as.h (flag_use_elf_stt_common): New.
2802 * config.in: Regenerated.
2803 * configure: Likewise.
2804 * configure.ac: Add --enable-elf-stt-common and define
2805 DEFAULT_GENERATE_ELF_STT_COMMON.
2806 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
2807 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
2808 * doc/as.texinfo: Document --elf-stt-common=.
2809 * testsuite/gas/elf/common3.s: New file.
2810 * testsuite/gas/elf/common3a.d: Likewise.
2811 * testsuite/gas/elf/common3b.d: Likewise.
2812 * testsuite/gas/elf/common4.s: Likewise.
2813 * testsuite/gas/elf/common4a.d: Likewise.
2814 * testsuite/gas/elf/common4b.d: Likewise.
2815 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
2816 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
2817 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
2819 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
2820 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
2821 --elf-stt-common=no to as.
2822 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
2823 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
2824 --elf-stt-common=no to as.
2825 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
2826 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
2827 of dw2-compress-3 and dw2-compressed-3.
2829 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2831 * as.c (select_emulation_mode): Add const qualifiers.
2833 * config/bfin-defs.h: Likewise.
2834 * config/bfin-parse.y: Likewise.
2835 * config/rx-parse.y: Likewise.
2836 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
2837 (struct aarch64_cpu_option_table): Likewise.
2838 (struct aarch64_arch_option_table): Likewise.
2839 (struct aarch64_option_cpu_value_table): Likewise.
2840 (struct aarch64_long_option_table): Likewise.
2841 (struct aarch64_option_abi_value_table): Likewise.
2842 * config/tc-arm.c (struct reloc_entry): Likewise.
2843 (tc_gen_reloc): Likewise.
2844 (struct arm_option_table): Likewise.
2845 (struct arm_legacy_option_table): Likewise.
2846 (struct arm_cpu_option_table): Likewise.
2847 (struct arm_arch_option_table): Likewise.
2848 (struct arm_option_extension_value_table): Likewise.
2849 (struct arm_option_fpu_value_table): Likewise.
2850 (struct arm_option_value_table): Likewise.
2851 (struct arm_long_option_table): Likewise.
2852 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
2853 (struct mcu_type_s): Likewise.
2854 (struct exp_mod_s): Likewise.
2855 (avr_operand): Likewise.
2856 (avr_operands): Likewise.
2857 * config/tc-d10v.c (md_begin): Likewise.
2858 * config/tc-dlx.c: Likewise.
2859 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
2860 * config/tc-ft32.c (parse_condition): Likewise.
2861 * config/tc-h8300.c (do_a_fix_imm): Likewise.
2862 * config/tc-hppa.c (pa_ip): Likewise.
2863 (hppa_regname_to_dw2regnum): Likewise.
2864 * config/tc-i370.c (i370_elf_suffix): Likewise.
2865 * config/tc-i960.c (struct tabentry): Likewise.
2866 * config/tc-m32r.c: Likewise.
2867 * config/tc-m68k.c: Likewise.
2868 * config/tc-m68k.h: Likewise.
2869 * config/tc-mcore.c (parse_psrmod): Likewise.
2870 * config/tc-metag.c (struct metag_core_option): Likewise.
2871 (struct metag_long_option): Likewise.
2872 * config/tc-microblaze.c: Likewise.
2873 * config/tc-mips.c (macro): Likewise.
2874 * config/tc-mn10200.c: Likewise.
2875 * config/tc-mn10300.c: Likewise.
2876 * config/tc-msp430.c (struct rcodes_s): Likewise.
2877 (struct hcodes_s): Likewise.
2878 (md_parse_option): Likewise.
2879 * config/tc-ns32k.c (struct ns32k_option): Likewise.
2880 (optlist): Likewise.
2881 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
2882 (tc_ppc_regname_to_dw2regnum): Likewise.
2883 * config/tc-ppc.h: Likewise.
2884 * config/tc-rl78.c: Likewise.
2885 * config/tc-rx.c (struct cpu_type): Likewise.
2886 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
2887 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
2888 (sparc_ip): Likewise.
2889 * config/tc-spu.c (insn_fmt_string): Likewise.
2890 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
2891 * config/tc-v850.c: Likewise.
2892 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
2893 (struct visium_long_option_table): Likewise.
2894 * config/tc-xgate.c: Likewise.
2895 * config/tc-z8k.c: Likewise.
2896 * read.c (add_include_dir): Likewise.
2899 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
2901 * testsuite/gas/all/gas.exp: Change target pattern to cover
2903 * testsuite/gas/all/redef3.d: Likewise.
2904 * testsuite/gas/elf/elf.exp: Likewise.
2906 2016-02-24 Renlin Li <renlin.li@arm.com>
2908 * config/tc-arm.c (BAD_FP16): New error message macro.
2909 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
2910 fp16 scalar instructions.
2911 (neon_check_type): Allow different size from key.
2912 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
2913 (try_vfp_nsyn): Likewise.
2914 (do_vfp_nsyn_mla_mls): Likewise.
2915 (do_vfp_nsyn_fma_fms): Likewise.
2916 (do_vfp_nsyn_ldm_stm): Likewise
2917 (do_vfp_nsyn_sqrt): Likewise
2918 (do_vfp_nsyn_div): Likewise
2919 (do_vfp_nsyn_nmul): Likewise.
2920 (do_vfp_nsyn_cmp): Likewise.
2921 (do_neon_shll): Likewise.
2922 (do_vfp_nsyn_cvt_fpv8): Likewise.
2923 (do_neon_cvttb_2): Likewise.
2924 (do_neon_mov): Likewise.
2925 (do_neon_rshift_round_imm): Likewise.
2926 (do_neon_ldr_str): Likewise.
2927 (do_vfp_nsyn_fpv8): Likewise.
2928 (do_vmaxnm): Likewise.
2929 (do_vrint_1): Likewise.
2930 (insns): New entry for vins, vmovx.
2931 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
2932 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
2933 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
2934 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
2935 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
2936 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
2937 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
2939 2016-02-24 Renlin Li <renlin.li@arm.com>
2941 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
2942 (neon_shape_class): New SC_HALF.
2943 (neon_shape_el): New SE_H.
2944 (neon_shape_el_size): New size for SE_H.
2945 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
2946 (neon_select_shape): Add SE_H support code.
2947 (el_type_of_type_chk): Use N_F_ALL.
2948 (do_vfp_nsyn_cvt): Add SE_H shape support.
2949 (do_neon_cvtz): Likewise.
2950 (do_neon_cvt_1): Likewise.
2951 (do_neon_cvttb_1): Likewise.
2953 2016-02-24 Renlin Li <renlin.li@arm.com>
2955 * testsuite/gas/arm/copro.d: Adjust output.
2956 * testsuite/gas/arm/copro.s: Adjust co-processor num.
2958 2016-02-24 Renlin Li <renlin.li@arm.com>
2960 * testsuite/gas/arm/mask_1.d: New.
2961 * testsuite/gas/arm/mask_1.s: New.
2963 2016-02-24 Renlin Li <renlin.li@arm.com>
2965 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
2966 * testsuite/gas/arm/copro.d: Update.
2968 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2970 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
2971 * doc/c-arm.texi (ARM Options): Document cortex-a32.
2973 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2975 * doc/c-arm.texi (ARM Options): Document cortex-a17.
2977 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2979 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
2982 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2984 * output-file.c (output_file_create): Make file name argument const.
2985 (output_file_close): Likewise.
2986 * output-file.h (output_file_create): Adjust.
2987 (output_file_close): Likewise.
2988 * depend.c (quote_string_for_make): Make src argument const char *.
2989 (register_dependency): Likewise.
2990 (wrap_output): Likewise.
2991 * as.h (register_dependency): Adjust.
2992 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
2994 * symbols.c (S_SET_EXTERNAL): Likewise.
2995 * input-scrub.c (as_where): Return the file name.
2996 * as.h (as_where): Adjust prototype.
2997 * app.c (do_scrub_chars): Adjust.
2998 * cond.c (s_elseif): Likewise.
3000 (initialize_cframe): Likewise.
3001 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
3002 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3003 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3004 * config/tc-aarch64.c (output_info): Likewise.
3005 * config/tc-ia64.c (md_assemble): Likewise.
3006 (dot_alias): Likewise.
3007 * config/tc-m68k.c (m68k_frob_label): Likewise.
3008 * config/tc-mmix.c (s_bspec): Likewise.
3009 (mmix_handle_mmixal): Likewise.
3010 * config/tc-rx.c (rx_include): Likewise.
3011 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3012 (tic54x_adjust_symtab): Likewise.
3013 * config/tc-xtensa.c (directive_push): Likewise.
3014 (xtensa_sanity_check): Likewise.
3015 (xtensa_relax_frag): Likewise.
3016 (md_convert_frag): Likewise.
3017 (tinsn_to_slotbuf): Likewise.
3018 * dwarf2dbg.c (dwarf2_where): Likewise.
3019 * ecoff.c (add_file): Likewise.
3020 (ecoff_generate_asm_lineno): Likewise.
3021 * expr.c (make_expr_symbol): Likewise.
3022 * frags.c (frag_new): Likewise.
3023 (frag_var_init): Likewise.
3024 * listing.c (listing_newline): Likewise.
3025 * messages.c (identify): Likewise.
3026 (as_show_where): Likewise.
3027 (as_warn_internal): Likewise.
3028 (as_bad_internal): Likewise.
3029 * read.c (s_irp): Likewise.
3030 (s_macro): Likewise.
3031 (s_reloc): Likewise.
3032 * stabs.c (stabs_generate_asm_file): Likewise.
3033 (stabs_generate_asm_lineno): Likewise.
3034 (stabs_generate_asm_func): Likewise.
3035 * write.c (fix_new_internal): Likewise.
3036 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
3037 (as_warn_value_out_of_range): Adjust prototype.
3038 (as_bad_value_out_of_range): Adjust prototype.
3039 * messages.c (identify): Make file name argument const char *.
3040 (as_warn_internal): Likewise.
3041 (as_warn_where): Likewise.
3042 (as_bad_internal): Likewise.
3043 (as_bad_where): Likewise.
3044 (as_internal_value_out_of_range): Likewise.
3045 (as_warn_value_out_of_range): Likewise.
3046 (as_bad_value_out_of_range): Likewise.
3047 * as.h (found_comment_file): Change type to const char *.
3048 * cond.c (file_line::file): Likewise.
3049 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
3050 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
3051 * config/obj-som.c (obj_som_init_stab_section): Likewise.
3052 * config/tc-aarch64.c (output_info): Likewise.
3053 * config/tc-alpha.c (insert_operand): Likewise.
3054 * config/tc-arc.c (insert_operand): Likewise.
3055 * config/tc-d30v.c (check_size): Likewise.
3056 * config/tc-ia64.c (struct alias): Likewise.
3057 * config/tc-m68k.c (struct label_line): Likewise.
3058 * config/tc-mcore.c (md_apply_fix): Likewise.
3059 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
3060 * config/tc-mips.c (mips16_immed): Likewise.
3061 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
3062 * config/tc-ppc.c (ppc_insert_operand): Likewise.
3063 * config/tc-rx.c (rx_include): Likewise.
3064 * config/tc-s390.c (s390_insert_operand): Likewise.
3065 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
3066 (tic54x_adjust_symtab): Likewise.
3067 * config/tc-tilegx.c (insert_operand): Likewise.
3068 (apply_special_operator): Likewise.
3069 * config/tc-tilepro.c (insert_operand): Likewise.
3070 * config/tc-xtensa.c (directive_push): Likewise.
3071 * ecoff.c (add_file): Likewise.
3072 (ecoff_generate_asm_lineno): Likewise.
3073 * listing.c (listing_newline): Likewise.
3074 * read.c (s_irp): Likewise.
3075 * write.c (install_reloc): Likewise.
3076 * write.h (struct fix): Likewise.
3077 * input-file.c (file_name): Change type to const char *.
3078 (saved_file::file_name): Likewise.
3079 (input_file_open): Change type of argument to const char *.
3080 * input-file.h (input_file_open): Adjust.
3081 * input-scrub.c (logical_input_file): change type to const char *.
3082 (physical_input_file): Likewise.
3083 (struct input_save): Adjust.
3084 (input_scrub_push): Adjust.
3085 (input_scrub_begin): Adjust.
3087 * input-scrub.c (input_scrub_new_file): Make file name argument const.
3088 (input_scrub_include_file): Likewise.
3089 (new_logical_line_flags): Likewise.
3090 (new_logical_line): Likewise.
3092 * frags.h (struct frag): Change type of fr_file to const char *.
3093 * expr.c (expr_symbol_where): Change type of file argument to
3095 * expr.h (expr_symbol_where): Likewise.
3096 * config/tc-i370.c (md_apply_fix): adjust.
3097 * config/tc-mmix.c (mmix_md_end): Likewise.
3098 * config/tc-ppc.c (md_apply_fix): Likewise.
3099 * config/tc-s390.c (md_apply_fix): Likewise.
3100 * symbols.c (report_op_error): Likewise.
3101 (resolve_symbol_value): Likewise.
3102 * config/tc-ia64.c (slot::src_file): Change type to const char *.
3103 (rsrc::file): Likewise.
3104 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
3106 (xtensa_relax_frag): Likewise.
3107 (md_convert_frag): Likewise.
3108 (tinsn_to_slotbuf): Likewise.
3109 * expr.c (expr_symbol_line): Likewise.
3110 * macro.c (define_macro): Likewise.
3111 * macro.h (macro_struct): Likewise.
3112 * messages.c (as_show_where): Likewise.
3113 * read.c (s_macro): Likewise.
3114 * stabs.c (stabs_generate_asm_file): Likewise.
3115 (generate_asm_file): Likewise.
3116 (stabs_generate_asm_lineno): Likewise.
3117 * write.h (struct reloc_list): Likewise.
3118 * input-scrub.c (as_where): Change return type to const char *.
3119 * as.h (as_wheree): Adjust.
3121 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
3123 * write.c (compress_debug): Move BFD compression bits setting
3125 (write_object_file): Here.
3127 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3129 * config/tc-i386.c (register_number): Check RegVRex.
3130 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
3131 with %zmm19 and %zmm3.
3132 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
3133 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
3135 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
3136 Jiong Wang <jiong.wang@arm.com>
3138 * config/tc-arm.c (arm_ext_fp16): New.
3139 (arm_extensions): New entry for "fp16".
3141 2016-02-19 Nick Clifton <nickc@redhat.com>
3144 * read.c (read_a_source_file): Check for assemble_one returning
3145 with input_line_pointer set to NULL.
3147 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
3149 * listing.c (rebuffer_line): Change return type to void.
3151 * symbols.c (decode_local_label_name): Make type a const char *.
3152 * listing.c (print_source): Make type of p const char *.
3153 (print_line): Make type of string const char *.
3154 (buffer_line): Return const char *.
3155 (title): Make type const char *.
3156 (subtitle): Likewise.
3157 (listing_listing): Make type of p const char *.
3158 * messages.c (as_internal_value_out_of_range): Make type of prefix
3160 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
3161 and string const char *.
3162 * read.c (_bfd_rel): Make type of name const char *.
3163 * app.c (out_string): Change type to const char *.
3164 (struct app_save::out_string): Likewise.
3166 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
3167 Nick Clifton <nickc@redhat.com>
3169 * read.c (finish_bundle): Avoid recording a negative alignment.
3170 (do_align): Use unsigned values for n, len and max. Only create
3171 a frag if the alignment requirement is greater than the minimum
3172 byte alignment. Avoid recording a negative alignment.
3173 (s_align): Use unsigned values where appropriate.
3174 (bss_alloc): Use an unsigned value for the alignment.
3175 (sizeof_sleb128): Add a comment noting that we encode one octet
3176 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
3177 (emit_leb129_expr): Abort if the emitted encoding was longer than
3179 * read.h (output_leb128): Update prototype.
3180 (sizeof_leb128): Update prototype.
3181 (bss_alloc): Update prototype.
3182 * write.c (record_alignment): Use an unsigned value for the
3183 alignment. Do not record alignments less than the minimum
3184 alignment for a byte.
3185 * write.h (record_alignment): Update prototype.
3187 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3189 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
3190 .init.literal/.fini.literal section name.
3191 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
3192 list of xtensa tests.
3193 * testsuite/gas/xtensa/init-fini-literals.d: New file:
3194 init-fini-literals test result patterns.
3195 * testsuite/gas/xtensa/init-fini-literals.s: New file:
3196 init-fini-literals test.
3198 2016-02-17 Nick Clifton <nickc@redhat.com>
3200 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
3201 devices.csv file as of March 2016.
3203 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
3205 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
3207 (tc_arc_regname_to_dw2regnum): Likewise.
3208 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
3209 (tc_cfi_frame_initial_instructions): Likewise.
3210 (tc_regname_to_dw2regnum): Likewise.
3211 * testsuite/gas/cfi/cfi-arc-1.d: New file.
3212 * testsuite/gas/cfi/cfi-arc-1.s: Likewise.
3213 * testsuite/gas/cfi/cfi.exp: Allow running tests for arc.
3215 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
3217 * doc/internals.texi (S_IS_EXTERN): Remove.
3219 2016-02-16 Nick Clifton <nickc@redhat.com>
3221 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
3224 2016-02-16 Renlin Li <renlin.li@arm.com>
3227 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
3228 * testsuite/gas/aarch64/movw_label.d: New.
3229 * testsuite/gas/aarch64/movw_label.s: New.
3231 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
3234 * config/rx-parse.y (MOV): Opcode generation for index
3235 register addressing mode.
3236 * testsuite/gas/rx/rx.exp: Updated for new testcase.
3237 * testsuite/gas/rx/pr19665.s: New file.
3238 * testsuite/gas/rx/pr19665.s: New file.
3239 * testsuite/gas/rx/mov.d: Update expected output.
3241 2016-02-15 Nick Clifton <nickc@redhat.com>
3243 * doc/as.texinfo (.section): Document that numeric values can now
3244 be used for the flags and type fields of the ELF target's .section
3245 directive. Add notes about the restrictions on setting flags and
3247 * config/obj-elf.c (obj_elf_change_section): Allow known sections
3248 to be given processor specific section types. Allow processor and
3249 application specific flags of a section to be set after
3251 (obj_elf_parse_section_letters): Handle parsing numeric values.
3252 (obj_elf_section_type): Handle parsing numeric values.
3253 (obj_elf_section): Allow numeric type values.
3254 * config/obj-elf.h (obj_elf_change_section): Update prototype.
3255 * testsuite/gas/elf/section10.d: New test.
3256 * testsuite/gas/elf/section10.s: Source file for new test.
3257 * testsuite/gas/elf/elf.exp: Run the new test.
3258 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
3259 the description of the flags produced by readelf.
3260 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
3261 * NEWS: Mention the new feature.
3263 2016-02-11 Nick Clifton <nickc@redhat.com>
3266 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
3267 until it is actually used.
3268 (cfi_set_sections): Set cfi_sections_set to true.
3269 (dot_cfi_startproc): Likewise.
3270 (dot_cfi_endproc): Likewise.
3271 (dot_cfi_fde_data): Likewise.
3272 (cfi_finish): Likewise.
3273 (dot_cfi_sections): Do not set cfi_sections_set.
3274 * doc/as.texinfo (.cfi_sections): Note that targets can provide
3275 their own cfi section name. Also note that the directive can be
3276 reissued provided that CFI generation has not started.
3277 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
3278 .cfi_endproc directives so that the redefinition of .cfi_sections
3279 will trigger the generation of the error message.
3280 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
3281 number of error message.
3283 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
3284 Janek van Oirschot <jvanoirs@synopsys.com>
3286 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
3287 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
3289 (arc_flags, arc_relax_type): New structure.
3290 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
3291 (RELAX_TABLE_ENTRY_MAX): New define.
3292 (relaxation_state, md_relax_table, arc_relaxable_insns)
3293 (arc_num_relaxable_ins): New variable.
3294 (rlx_operand_type, arc_rlx_types): New enums.
3295 (arc_relaxable_ins): New structure.
3296 (OPTION_RELAX): New option.
3297 (arc_insn): New relax member.
3298 (arc_flags): Remove.
3299 (relax_insn_p): New function.
3300 (apply_fixups): Likewise.
3301 (relaxable_operand): Likewise.
3302 (may_relax_expr): Likewise.
3303 (relaxable_flag): Likewise.
3304 (arc_pcrel_adjust): Likewise.
3305 (md_estimate_size_before_relax): Implement.
3306 (md_convert_frag): Likewise.
3307 (md_parse_option): Handle new mrelax option.
3308 (md_show_usage): Likewise.
3309 (assemble_insn): Set relax member.
3310 (emit_insn0): New function.
3311 (emit_insn1): Likewise.
3312 (emit_insn): Handle relaxation case.
3313 * NEWS: Mention the new relaxation option.
3314 * doc/c-arc.texi (ARC Options): Document new mrelax option.
3315 * doc/as.texinfo (Target ARC Options): Likewise.
3316 * testsuite/gas/arc/relax-avoid1.d: New file.
3317 * testsuite/gas/arc/relax-avoid1.s: Likewise.
3318 * testsuite/gas/arc/relax-avoid2.d: Likewise.
3319 * testsuite/gas/arc/relax-avoid2.s: Likewise.
3320 * testsuite/gas/arc/relax-avoid3.d: Likewise.
3321 * testsuite/gas/arc/relax-avoid3.s: Likewise.
3322 * testsuite/gas/arc/relax-b.d: Likewise.
3323 * testsuite/gas/arc/relax-b.s: Likewise.
3325 2016-02-08 Nick Clifton <nickc@redhat.com>
3327 * config/tc-ia64.c (dot_prologue): Fix formatting.
3329 2016-02-04 Nick Clifton <nickc@redhat.com>
3331 * config/obj-elf.c (obj_elf_change_section): Remove support for
3332 ARM NOREAD sections.
3333 * config/tc-arm.c (arm_elf_section_letter): Delete.
3334 * config/tc-arm.h (md_elf_section_letter): Delete.
3335 * doc/c-arm.texi (ARM Section Attribute): Delete section.
3336 * testsuite/gas/arm/section-execute-only.d: Delete.
3337 * testsuite/gas/arm/section-execute-only.s: Delete.
3339 2016-02-04 Nick Clifton <nickc@redhat.com>
3342 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
3343 to handle encoding of RRUX instruction.
3344 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
3346 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
3348 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
3350 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
3351 substitutions for BFD_RELOC_* as unsigned.
3352 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
3353 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
3354 * testsuite/gas/xtensa/loc.s: New file: loc test.
3356 2016-02-03 Kevin Buettner <kevinb@redhat.com>
3358 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
3360 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3363 * NEWS: Mention new command line option -mrelax-relocations and
3364 new configure option --enable-x86-relax-relocations for x86
3366 * config.in: Regenerated.
3367 * configure.ac: Add --enable-x86-relax-relocations.
3368 (ac_default_x86_relax_relocations): New. Default to 1 except
3369 for x86 Solaris targets older than Solaris 12.
3370 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
3371 * configure: Likewise.
3372 * config/tc-i386.c (generate_relax_relocations): New.
3373 (OPTION_MRELAX_RELOCATIONS): Likewise.
3374 (output_disp): Don't generate relax relocations if
3375 generate_relax_relocations is 0.
3376 (md_longopts): Add -mrelax-relocations.
3377 (md_show_usage): Likewise.
3378 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
3379 * doc/c-i386.texi: Document -mrelax-relocations=.
3380 * testsuite/gas/i386/got-no-relax.d: New file.
3381 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
3382 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
3383 * testsuite/gas/i386/localpic.d: Likewise.
3384 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
3385 * testsuite/gas/i386/reloc32.d: Likewise.
3386 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
3387 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
3388 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
3389 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
3390 * testsuite/gas/i386/i386.exp: Run got-no-relax and
3391 x86-64-gotpcrel-no-relax.
3393 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3395 * NEWS: Mention new command line option -mfence-as-lock-add=yes
3398 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3400 * NEWS: Remove duplicated marker for 2.26.
3402 2016-02-02 Renlin Li <renlin.li@arm.com>
3404 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
3406 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3408 * testsuite/gas/ip2k/allinsn.d: New file.
3409 * testsuite/gas/ip2k/allinsn.s: New file.
3410 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
3412 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3414 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
3415 some load instructions.
3416 * testsuite/gas/epiphany/allinsn.d: Likewise.
3417 * testsuite/gas/epiphany/regression.d: Likewise.
3419 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3421 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
3422 suffixes from instruction mnemonics in expected output.
3423 * testsuite/gas/epiphany/allinsn.d: Likewise.
3424 * testsuite/gas/epiphany/regression.d: Likewise.
3425 * testsuite/gas/epiphany/sample.d: Likewise.
3427 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3429 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
3431 * testsuite/gas/epiphany/allinsn.d: Likewise.
3432 * testsuite/gas/epiphany/sample.d: Likewise.
3434 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
3436 * testsuite/gas/epiphany/sample.d: Update expected output.
3438 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3440 * config/tc-arc.c (md_apply_fix): Allow addendum.
3441 (arc_reloc_op): Allow complex expressions for tpoff.
3442 (md_apply_fix): Handle resolved TLS local symbol.
3443 * testsuite/gas/arc/tls-relocs1.d: New file.
3444 * testsuite/gas/arc/tls-relocs1.s: Likewise.
3446 2016-02-01 Loria <Loria@phantasia.org>
3449 * config/tc-arm.c (encode_arm_immediate): Recode to improve
3450 efficiency and avoid an LLVM loop optimization bug.
3452 2016-02-01 Nick Clifton <nickc@redhat.com>
3454 * config/tc-microblaze.c (parse_imm): Fix compile time warning
3455 message extending a negative 32-bit value into a larger signed
3456 value on a 32-bit host.
3458 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3461 * configure.ac (compressed_debug_sections): Replace == with =.
3462 * configure: Regenerated.
3464 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
3465 H.J. Lu <hongjiu.lu@intel.com>
3467 * config/tc-i386.c (avoid_fence): New.
3468 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
3470 (OPTION_FENCE_AS_LOCK_ADD): New.
3471 (md_longopts): Add -mfence-as-lock-add.
3472 (md_parse_option): Handle -mfence-as-lock-add.
3473 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
3474 * doc/c-i386.texi (-mfence-as-lock-add): Document.
3475 * testsuite/gas/i386/i386.exp: Run new tests.
3476 * testsuite/gas/i386/fence-as-lock-add.s: New.
3477 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
3478 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
3479 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
3480 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
3482 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
3484 * configure.ac (compressed_debug_sections): Remove trailing `]'.
3485 * configure: Regenerated.
3487 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
3489 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
3490 (OPTION_MOMIT_LOCK_PREFIX): This.
3491 (md_longopts): Updated.
3492 (md_parse_option): Likewise.
3494 2016-01-25 Catherine Moore <clm@codesourcery.com>
3496 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
3497 if abicalls are in effect.
3498 * testsuite/gas/mips/sdata-gp.s: New test.
3499 * testsuite/gas/mips/sdata-gp.d: New expected output
3500 * testsuite/gas/mips/mips.exp: Run new test.
3502 2016-01-25 Renlin Li <renlin.li@arm.com>
3504 * testsuite/gas/arm/thumb2_it_search.d: New.
3505 * testsuite/gas/arm/thumb2_it_search.s: New.
3507 2016-01-21 Nick Clifton <nickc@redhat.com>
3510 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
3511 with arm-netbsdelf target.
3512 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
3514 2016-01-20 Nick Clifton <nickc@redhat.com>
3517 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
3518 * testsuite/gas/arm/blx-bl-convert.d
3519 * testsuite/gas/arm/plt-1.d: Likewise.
3520 * testsuite/gas/arm/reloc-bad.d: Likewise.
3521 * testsuite/gas/arm/thumb-w-good.d: Likewise.
3522 * testsuite/gas/arm/thumb2_pool.d: Likewise.
3523 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
3524 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
3527 * doc/as.texinfo (Errors): Correct documentation describing the
3528 interaction of .file and .line with warning and error messages.
3531 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
3532 * testsuite/gas/arm/archv8m-main.d: Likewise.
3533 * testsuite/gas/arm/archv8m-base.d: Likewise.
3535 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
3537 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
3538 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
3539 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
3541 2016-01-20 Mickael Guene <mickael.guene@st.com>
3542 Terry Guo <terry.guo@arm.com>
3544 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
3545 SHF_ARM_NOREAD section flag.
3546 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
3548 (arm_elf_section_letter) : Declare it.
3549 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
3550 SHF_ARM_NOREAD section flag.
3551 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
3553 * testsuite/gas/arm/section-execute-only.s: New test case.
3554 * testsuite/gas/arm/section-execute-only.d: Expected output.
3556 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
3558 * config/tc-mips.c (micromips_insn_length): Remove the mention
3559 of 48-bit microMIPS instructions.
3561 2016-01-18 Alan Modra <amodra@gmail.com>
3563 * configure: Regenerate.
3565 2016-01-17 Alan Modra <amodra@gmail.com>
3567 * configure: Regenerate.
3569 2016-01-17 Alan Modra <amodra@gmail.com>
3571 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
3573 2016-01-14 Nick Clifton <nickc@redhat.com>
3575 * testsuite/gas/rl78/sp-relative-movw.s: New test.
3576 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
3577 * testsuite/gas/rl78/rl78.exp: Run the new test.
3579 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
3581 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
3582 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
3584 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
3586 * config/tc-nios2.c (output_movia): Preset `code' to 0.
3588 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
3590 * config/tc-h8300.c (get_operand): Remove spurious condition in
3591 test for closing parenthesis.
3593 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
3595 * config/tc-arm.c (arm_ext_v8_2): New.
3597 * testsuite/gas/arm/armv8_2-a.d: New.
3598 * testsuite/gas/arm/armv8_2-a.s: New.
3600 2016-01-12 Alan Modra <amodra@gmail.com>
3602 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
3604 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
3606 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
3607 xvcmpnesp, xvcmpnesp.>: Delete tests.
3608 * testsuite/gas/ppc/power9.s: Likewise.
3609 * testsuite/gas/ppc/vsx3.d: Likewise.
3610 * testsuite/gas/ppc/vsx3.s: Likewise.
3612 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
3615 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
3616 * testsuite/gas/m68k/p13050-1.s: New file.
3617 * testsuite/gas/m68k/p13050-2.d: New file.
3618 * testsuite/gas/m68k/p13050-2.s: New file.
3620 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
3622 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
3623 * testsuite/gas/arc/add.d: Likewise.
3624 * testsuite/gas/arc/and.d: Likewise.
3625 * testsuite/gas/arc/asl.d: Likewise.
3626 * testsuite/gas/arc/asr.d: Likewise.
3627 * testsuite/gas/arc/bic.d: Likewise.
3628 * testsuite/gas/arc/extb.d: Likewise.
3629 * testsuite/gas/arc/extw.d: Likewise.
3630 * testsuite/gas/arc/j.d: Likewise.
3631 * testsuite/gas/arc/jl.d: Likewise.
3632 * testsuite/gas/arc/ld2.d: Likewise.
3633 * testsuite/gas/arc/lsr.d: Likewise.
3634 * testsuite/gas/arc/mov.d: Likewise.
3635 * testsuite/gas/arc/or.d: Likewise.
3636 * testsuite/gas/arc/pcl-relocs.d: Likewise.
3637 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
3638 * testsuite/gas/arc/pic-relocs.d: Likewise.
3639 * testsuite/gas/arc/plt-relocs.d: Likewise.
3640 * testsuite/gas/arc/rlc.d: Likewise.
3641 * testsuite/gas/arc/ror.d: Likewise.
3642 * testsuite/gas/arc/rrc.d: Likewise.
3643 * testsuite/gas/arc/sbc.d: Likewise.
3644 * testsuite/gas/arc/sda-relocs.d: Likewise.
3645 * testsuite/gas/arc/sda-relocs2.d: Likewise.
3646 * testsuite/gas/arc/sexb.d: Likewise.
3647 * testsuite/gas/arc/sexw.d: Likewise.
3648 * testsuite/gas/arc/st.d: Likewise.
3649 * testsuite/gas/arc/sub.d: Likewise.
3650 * testsuite/gas/arc/tls-relocs.d: Likewise.
3651 * testsuite/gas/arc/xor.d: Likewise.
3653 2016-01-01 Alan Modra <amodra@gmail.com>
3655 Update year range in copyright notice of all files.
3657 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3659 Copyright (C) 2016 Free Software Foundation, Inc.
3661 Copying and distribution of this file, with or without modification,
3662 are permitted in any medium without royalty provided the copyright
3663 notice and this notice are preserved.
3669 version-control: never