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