opcodes,gas: associate SPARC ASIs with an architecture level.
[binutils-gdb.git] / gas / ChangeLog
1 2017-02-23 Sheldon Lobo <sheldon.lobo@oracle.com>
2
3 Add support for associating SPARC ASIs with an architecture level.
4 * config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.
5
6 2017-02-23 Jan Beulich <jbeulich@suse.com>
7
8 * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
9 of symbols as expression.
10
11 2017-02-23 Jan Beulich <jbeulich@suse.com>
12
13 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
14 bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
15 Intel syntax forms of BNDMK, BNDSTX, and BNDLDX.
16 * gas/testsuite/gas/i386/x86-64-mpx-inval-2.l: Adjust.
17
18 2017-02-22 Maciej W. Rozycki <macro@imgtec.com>
19
20 * ecoff.c (ecoff_directive_end) [md_flush_pending_output]: Call
21 `md_flush_pending_output'.
22 * config/tc-mips.c (s_mips_end) [md_flush_pending_output]: Call
23 `md_flush_pending_output' unconditionally.
24 * testsuite/gas/mips/debug-label-end-1.d: New test.
25 * testsuite/gas/mips/debug-label-end-2.d: New test.
26 * testsuite/gas/mips/debug-label-end-3.d: New test.
27 * testsuite/gas/mips/debug-label-end.s: New test source.
28 * testsuite/gas/mips/mips.exp: Run the new tests.
29
30 2017-02-22 Hans-Peter Nilsson <hp@axis.com>
31
32 * testsuite/gas/all/err-sizeof.s: Include cris*-*-* in the list of
33 targets yielding an error message matching "too complex".
34
35 2017-02-22 Nick Clifton <nickc@redhat.com>
36
37 * testsuite/gas/arm/vcmp-noprefix-imm.d: Skip for non-ELF targets.
38
39 2017-02-21 Jan Beulich <jbeulich@suse.com>
40
41 * expr.c (operand): Handle missing operand to .startof.() and
42 .sizeof.().
43 * testsuite/gas/all/err-sizeof.s: New.
44
45 2017-02-20 Alan Modra <amodra@gmail.com>
46
47 PR 21118
48 * NEWS: Revise powerpc register check.
49 * config/tc-ppc.c (ppc_optimize_expr, md_assemble): Make "invalid
50 register expression" a warning.
51
52 2017-02-17 Maciej W. Rozycki <macro@imgtec.com>
53
54 * ecoff.c (ecoff_directive_ent, add_procedure): Handle `.aent'.
55 * config/obj-ecoff.c (obj_pseudo_table): Add "aent" entry.
56 * config/obj-elf.c (ecoff_debug_pseudo_table): Likewise.
57 * testsuite/gas/mips/aent-2.d: New test.
58 * testsuite/gas/mips/aent-mdebug.d: New test.
59 * testsuite/gas/mips/aent-mdebug-2.d: New test.
60 * testsuite/gas/mips/mips.exp: Run the new tests.
61
62 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
63
64 * testsuite/gas/aarch64/sve-sysreg.s,
65 testsuite/gas/aarch64/sve-sysreg.d,
66 testsuite/gas/aarch64/sve-sysreg-invalid.d,
67 testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.
68
69 2017-02-15 Richard Sandiford <richard.sandiford@arm.com>
70
71 * doc/c-aarch64.texi: Fix sve entry.
72
73 2017-02-15 Claudiu Zissulescu <claziss@synopsys.com>
74
75 * config/tc-arc.c (md_convert_frag): Remove @pcl relocation
76 information from input expression.
77 (assemble_insn): Make sure pcrel is correctly set.
78 (arc_pcrel_adjust): Compensate for PCL rounding.
79 * testsuite/gas/arc/relax-add01.d: New file.
80 * testsuite/gas/arc/relax-add01.s: Likewise.
81 * testsuite/gas/arc/relax-add02.d: Likewise.
82 * testsuite/gas/arc/relax-add02.s: Likewise.
83 * testsuite/gas/arc/relax-add03.d: Likewise.
84 * testsuite/gas/arc/relax-add03.s: Likewise.
85 * testsuite/gas/arc/relax-add04.d: Likewise.
86 * testsuite/gas/arc/relax-add04.s: Likewise.
87 * testsuite/gas/arc/relax-ld01.d: Likewise.
88 * testsuite/gas/arc/relax-ld01.s: Likewise.
89 * testsuite/gas/arc/relax-ld02.d: Likewise.
90 * testsuite/gas/arc/relax-ld02.s: Likewise.
91 * testsuite/gas/arc/relax-mov01.d: Likewise.
92 * testsuite/gas/arc/relax-mov01.s: Likewise.
93 * testsuite/gas/arc/relax-mov02.d: Likewise.
94 * testsuite/gas/arc/relax-mov02.s: Likewise.
95 * testsuite/gas/arc/relax-mpy01.d: Likewise.
96 * testsuite/gas/arc/relax-mpy01.s: Likewise.
97 * testsuite/gas/arc/relax-sub01.d: Likewise.
98 * testsuite/gas/arc/relax-sub01.s: Likewise.
99 * testsuite/gas/arc/relax-sub02.d: Likewise.
100 * testsuite/gas/arc/relax-sub02.s: Likewise.
101 * testsuite/gas/arc/relax-sub03.d: Likewise.
102 * testsuite/gas/arc/relax-sub03.s: Likewise.
103 * testsuite/gas/arc/relax-sub04.d: Likewise.
104 * testsuite/gas/arc/relax-sub04.s: Likewise.
105
106 2017-02-09 Vineet Gupta <vgupta@synopsys.com>
107
108 * testsuite/gas/arc/st.d: Update for 0xe having a name now
109
110 2017-02-14 Alan Modra <amodra@gmail.com>
111
112 PR 21118
113 * NEWS: Mention powerpc register checks.
114 * config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
115 (pre_defined_registers): Delete fpscr and pmr entries. Set
116 register type in flags.
117 (cr_names): Set type in flags.
118 (reg_name_search): Return pointer to struct pd_reg rather than value.
119 (register_name): Adjust to suit. Set X_md from flags.
120 (ppc_parse_name): Likewise.
121 (ppc_optimize_expr): New function.
122 (md_assemble): Verify expresion reg flags match operand.
123 * config/tc-ppc.h (md_optimize_expr): Define.
124 (ppc_optimize_expr): Declare.
125
126 2017-02-14 Alan Modra <amodra@gmail.com>
127
128 * testsuite/gas/ppc/cell.s: Correct invalid registers.
129 * testsuite/gas/ppc/vle-simple-1.s: Likewise.
130 * testsuite/gas/ppc/vle-simple-2.s: Likewise.
131
132 2017-02-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
133
134 * config/tc-arm.c (parse_ifimm_zero): Make prefix optional in unified
135 syntax.
136 * testsuite/gas/arm/vcmp-noprefix-imm.d: New file.
137 * testsuite/gas/arm/vcmp-noprefix-imm.s: New file.
138
139 2017-02-10 Nicholas Piggin <npiggin@gmail.com>
140
141 * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
142
143 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
144
145 * doc/as.texinfo (Overview): Select MIPS options for man page
146 inclusion.
147
148 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
149
150 * config/tc-mips.c (mips_ignore_branch_isa): New variable.
151 (options): Add OPTION_IGNORE_BRANCH_ISA and
152 OPTION_NO_IGNORE_BRANCH_ISA enum values.
153 (md_longopts): Add "mignore-branch-isa" and
154 "mno-ignore-branch-isa" options.
155 (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
156 OPTION_NO_IGNORE_BRANCH_ISA.
157 (fix_bad_cross_mode_branch_p): Return FALSE if
158 `mips_ignore_branch_isa' has been set.
159 (md_show_usage): Add `-mignore-branch-isa' and
160 `-mno-ignore-branch-isa'.
161
162 * doc/as.texinfo (Target MIPS options): Add
163 `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
164 (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
165 * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
166 `-mno-ignore-branch-isa' options.
167
168 * testsuite/gas/mips/branch-local-ignore-2.d: New test.
169 * testsuite/gas/mips/branch-local-ignore-3.d: New test.
170 * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
171 * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
172 * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
173 * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
174 * testsuite/gas/mips/mips.exp: Run the new tests.
175
176 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
177
178 * testsuite/gas/mips/branch-local-2.d: New test.
179 * testsuite/gas/mips/branch-local-3.d: New test.
180 * testsuite/gas/mips/branch-local-n32-2.d: New test.
181 * testsuite/gas/mips/branch-local-n32-3.d: New test.
182 * testsuite/gas/mips/branch-local-n64-2.d: New test.
183 * testsuite/gas/mips/branch-local-n64-3.d: New test.
184 * testsuite/gas/mips/mips.exp: Fold corresponding list tests
185 into the new tests.
186
187 2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
188
189 PR 21056
190 * testsuite/gas/tic6x/insns16-parallel.s: New test case.
191 * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
192
193 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
194
195 * configure.tgt (aarch64*-*-rtems*): Remove.
196 (bfin-*-rtems*): Likewise.
197 (h8300-*-rtems*): Likewise.
198 (i386-*-rtems*): Likewise.
199 (m32c-*-rtems*): Likewise.
200 (m32r-*-rtems*): Likewise.
201 (m68k-*-rtems*): Likewise.
202 (mips-*-rtems*): Likewise.
203 (nios2-*-rtems*): Likewise.
204 (ppc-*-rtems*): Likewise.
205 (sh-*-rtems*): Likewise.
206 (sparc64-*-rtems*): Likewise.
207 (sparc-*-rtems*): Likewise.
208 (*-*-rtems*) Use ELF format.
209
210 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
211
212 * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
213
214 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
215
216 * configure.tgt (sh-*-rtemscoff*): Remove.
217
218 2017-01-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
219
220 * configure.tgt (riscv*-*-*): Remove em=linux.
221
222 2017-01-23 Sebastian Rasmussen <sebras@gmail.com>
223
224 PR gas/21072
225 * asintl.h: Fix spelling mistakes and typos.
226 * atof-generic.c: Likewise.
227 * bit_fix.h: Likewise.
228 * config/atof-ieee.c: Likewise.
229 * config/bfin-defs.h: Likewise.
230 * config/bfin-parse.y: Likewise.
231 * config/obj-coff-seh.h: Likewise.
232 * config/obj-coff.c: Likewise.
233 * config/obj-evax.c: Likewise.
234 * config/obj-macho.c: Likewise.
235 * config/rx-parse.y: Likewise.
236 * config/tc-aarch64.c: Likewise.
237 * config/tc-alpha.c: Likewise.
238 * config/tc-arc.c: Likewise.
239 * config/tc-arm.c: Likewise.
240 * config/tc-avr.c: Likewise.
241 * config/tc-bfin.c: Likewise.
242 * config/tc-cr16.c: Likewise.
243 * config/tc-cris.c: Likewise.
244 * config/tc-crx.c: Likewise.
245 * config/tc-d10v.c: Likewise.
246 * config/tc-d30v.c: Likewise.
247 * config/tc-dlx.c: Likewise.
248 * config/tc-epiphany.c: Likewise.
249 * config/tc-frv.c: Likewise.
250 * config/tc-hppa.c: Likewise.
251 * config/tc-i370.c: Likewise.
252 * config/tc-i386-intel.c: Likewise.
253 * config/tc-i386.c: Likewise.
254 * config/tc-i960.c: Likewise.
255 * config/tc-ia64.c: Likewise.
256 * config/tc-m32r.c: Likewise.
257 * config/tc-m68hc11.c: Likewise.
258 * config/tc-m68k.c: Likewise.
259 * config/tc-mcore.c: Likewise.
260 * config/tc-mep.c: Likewise.
261 * config/tc-mep.h: Likewise.
262 * config/tc-metag.c: Likewise.
263 * config/tc-microblaze.c: Likewise.
264 * config/tc-mips.c: Likewise.
265 * config/tc-mmix.c: Likewise.
266 * config/tc-mn10200.c: Likewise.
267 * config/tc-mn10300.c: Likewise.
268 * config/tc-msp430.c: Likewise.
269 * config/tc-msp430.h: Likewise.
270 * config/tc-nds32.c: Likewise.
271 * config/tc-nds32.h: Likewise.
272 * config/tc-nios2.c: Likewise.
273 * config/tc-nios2.h: Likewise.
274 * config/tc-ns32k.c: Likewise.
275 * config/tc-pdp11.c: Likewise.
276 * config/tc-ppc.c: Likewise.
277 * config/tc-pru.c: Likewise.
278 * config/tc-rx.c: Likewise.
279 * config/tc-s390.c: Likewise.
280 * config/tc-score.c: Likewise.
281 * config/tc-score7.c: Likewise.
282 * config/tc-sh.c: Likewise.
283 * config/tc-sh64.c: Likewise.
284 * config/tc-sparc.c: Likewise.
285 * config/tc-tic4x.c: Likewise.
286 * config/tc-tic54x.c: Likewise.
287 * config/tc-v850.c: Likewise.
288 * config/tc-vax.c: Likewise.
289 * config/tc-visium.c: Likewise.
290 * config/tc-xgate.c: Likewise.
291 * config/tc-xtensa.c: Likewise.
292 * config/tc-z80.c: Likewise.
293 * config/tc-z8k.c: Likewise.
294 * config/te-vms.c: Likewise.
295 * config/xtensa-relax.c: Likewise.
296 * doc/as.texinfo: Likewise.
297 * doc/c-arm.texi: Likewise.
298 * doc/c-hppa.texi: Likewise.
299 * doc/c-i370.texi: Likewise.
300 * doc/c-i386.texi: Likewise.
301 * doc/c-m32r.texi: Likewise.
302 * doc/c-m68k.texi: Likewise.
303 * doc/c-mmix.texi: Likewise.
304 * doc/c-msp430.texi: Likewise.
305 * doc/c-nds32.texi: Likewise.
306 * doc/c-ns32k.texi: Likewise.
307 * doc/c-riscv.texi: Likewise.
308 * doc/c-rx.texi: Likewise.
309 * doc/c-s390.texi: Likewise.
310 * doc/c-tic6x.texi: Likewise.
311 * doc/c-tilegx.texi: Likewise.
312 * doc/c-tilepro.texi: Likewise.
313 * doc/c-v850.texi: Likewise.
314 * doc/c-xgate.texi: Likewise.
315 * doc/c-xtensa.texi: Likewise.
316 * dwarf2dbg.c: Likewise.
317 * ecoff.c: Likewise.
318 * itbl-ops.c: Likewise.
319 * listing.c: Likewise.
320 * macro.c: Likewise.
321 * po/gas.pot: Likewise.
322 * read.c: Likewise.
323 * struc-symbol.h: Likewise.
324 * symbols.h: Likewise.
325 * testsuite/gas/arc/relocs-errors.err: Likewise.
326 * write.c: Likewise.
327
328 2017-01-23 Nick Clifton <nickc@redhat.com>
329
330 * po/sv.po: Updated Swedish translation.
331
332 2017-01-20 Nick Clifton <nickc@redhat.com>
333
334 * config/tc-i386.c (parse_operands): Check for operand overflow
335 before setting the unspecified bit.
336
337 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
338
339 PR gas/20649
340 * config/tc-mips.c (pic_need_relax): Don't check for linkonce
341 symbols, remove the `segtype' parameter.
342 (mips_frob_file, md_estimate_size_before_relax): Adjust
343 accordingly.
344 (s_is_linkonce): Add an explanatory comment.
345 * testsuite/gas/mips/comdat-reloc.d: New test.
346 * testsuite/gas/mips/comdat-reloc.s: New test source.
347 * testsuite/gas/mips/mips.exp: Run the new test.
348
349 2017-01-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
350
351 * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
352 * testsuite/gas/arm/armv8_3-a-simd.d: Update.
353
354 2017-01-18 Bernhard Rosenkranzer <bero@lindev.ch>
355
356 PR 21059
357 * config/bfin-lex.l: Support processing with flex 2.6.3.
358 * itbl-lex.l: Likewise.
359
360 2017-01-18 Nathan Sidwell <nathan@acm.org>
361
362 * as.h (gas_assert): Use abort.
363 (as_assert): Remove.
364 (signal_init): Declare.
365 * as.c (main): Call signal_init.
366 * messages.c: #include <signal.h>
367 (as_assert): Delete.
368 (as_abort): Allow NULL FILE.
369 (signal_crash): New.
370 (signal_init): Register fatal signal handlers.
371 * configure.ac: Check for strsignal.
372 * config.in: Rebuilt.
373 * configure: Rebuilt.
374
375 2017-01-17 Nick Clifton <nickc@redhat.com>
376
377 * po/sv.po: Updated Swedish translation.
378
379 2017-01-12 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
380
381 * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
382 (cpu_noarch): Add noavx512_vpopcntdq.
383 * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
384 * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
385 * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
386 * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
387 * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
388 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
389 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
390 * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
391
392 2017-01-12 Nick Clifton <nickc@redhat.com>
393
394 * read.c (temp_ilp): New function. Installs a temporary input
395 line pointer.
396 (restore_ilp): New function. Restores the original input line
397 pointer.
398 * read.h (temp_ilp): Prototype.
399 (restore_ilp): Prototype.
400 * stabs.c (dot_func_p): Use bfd_boolean type.
401 (generate_asm_file): Use temp_ilp and restore_ilp.
402 (stabs_generate_asm_lineno): Likewise.
403 (stabs_generate_asm_endfunc): Likewise.
404
405 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
406
407 * configure.tgt: Add entry for i386-redox.
408
409 2017-01-10 Nick Clifton <nickc@redhat.com>
410
411 * po/sv.po: Updated Swedish translation.
412
413 2017-01-10 Tristan Gingold <gingold@adacore.com>
414
415 * testsuite/gas/all/sleb128-8.d: Adjust test.
416 * testsuite/gas/all/gas.exp (test_cond): Likewise.
417
418 2017-01-10 Tristan Gingold <gingold@adacore.com>
419
420 * read.c (emit_leb128_expr): Extended unsigned big number for
421 sleb128.
422 * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
423 * testsuite/gas/all/sleb128.d: New test.
424 * testsuite/gas/all/sleb128.s: New test source.
425
426 2017-01-09 Andrew Waterman <andrew@sifive.com>
427
428 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
429 against constants.
430 (md_apply_fix): Mark relocations against constants as "done."
431
432 2017-01-09 Andrew Waterman <andrew@sifive.com>
433
434 * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
435 against constants.
436 (md_apply_fix): Mark relocations against constants as "done."
437
438 2017-01-09 Palmer Dabbelt <palmer@dabbelt.com>
439 Kito Cheng <kito.cheng@gmail.com>
440
441 * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
442 Removed.
443 (SDATA_START_SYMBOLS): Likewise.
444
445 2017-01-09 Nick Clifton <nickc@redhat.com>
446
447 * po/sv.po: New Swedish translation.
448 * configure.ac (ALL_LINGUAS): Add sv.
449 * configure: Regenerate.
450
451 2017-01-09 Andrew Waterman <andrew@sifive.com>
452
453 * config/tc-riscv.c (relaxed_branch_length): Use the long
454 sequence when the target is a weak symbol.
455
456 2017-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
457
458 * config/tc-aarch64.c (aarch64_features): Add rcpc.
459 * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
460 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
461 * testsuite/gas/aarch64/ldst-rcpc.d: This.
462 * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
463 * testsuite/gas/aarch64/ldst-rcpc.s: This.
464 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
465
466 2017-01-04 Norm Jacobs <norm.jacobs@oracle.com>
467
468 PR gas/20992
469 * configure.tgt: Treat sparcv9 as sparc64.
470
471 2017-01-03 Kito Cheng <kito.cheng@gmail.com>
472
473 * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
474 extension.
475 (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
476 enabled and no other ABI is specified.
477
478 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
479
480 * config/tc-pru.c (md_number_to_chars): Fix parameter to be
481 valueT, as declared in tc.h.
482 (md_apply_fix): Fix to work on 32-bit hosts.
483
484 2017-01-02 Alan Modra <amodra@gmail.com>
485
486 Update year range in copyright notice of all files.
487
488 For older changes see ChangeLog-2016
489 \f
490 Copyright (C) 2017 Free Software Foundation, Inc.
491
492 Copying and distribution of this file, with or without modification,
493 are permitted in any medium without royalty provided the copyright
494 notice and this notice are preserved.
495
496 Local Variables:
497 mode: change-log
498 left-margin: 8
499 fill-column: 74
500 version-control: never
501 End: