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