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