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