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