5fb48dc148320b82f4d4fbf7b44098e69bb2cf76
[external/binutils.git] / gas / ChangeLog
1 2017-02-10  Nicholas Piggin  <npiggin@gmail.com>
2
3         * testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.
4
5 2017-02-02  Maciej W. Rozycki  <macro@imgtec.com>
6
7         * doc/as.texinfo (Overview): Select MIPS options for man page
8         inclusion.
9
10 2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>
11
12         * config/tc-mips.c (mips_ignore_branch_isa): New variable.
13         (options): Add OPTION_IGNORE_BRANCH_ISA and
14         OPTION_NO_IGNORE_BRANCH_ISA enum values.
15         (md_longopts): Add "mignore-branch-isa" and
16         "mno-ignore-branch-isa" options.
17         (md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
18         OPTION_NO_IGNORE_BRANCH_ISA.
19         (fix_bad_cross_mode_branch_p): Return FALSE if
20         `mips_ignore_branch_isa' has been set.
21         (md_show_usage): Add `-mignore-branch-isa' and
22         `-mno-ignore-branch-isa'.
23
24         * doc/as.texinfo (Target MIPS options): Add
25         `-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
26         (-mignore-branch-isa, -mno-ignore-branch-isa): New options.
27         * doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
28         `-mno-ignore-branch-isa' options.
29
30         * testsuite/gas/mips/branch-local-ignore-2.d: New test.
31         * testsuite/gas/mips/branch-local-ignore-3.d: New test.
32         * testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
33         * testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
34         * testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
35         * testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
36         * testsuite/gas/mips/mips.exp: Run the new tests.
37
38 2017-01-30  Maciej W. Rozycki  <macro@imgtec.com>
39
40         * testsuite/gas/mips/branch-local-2.d: New test.
41         * testsuite/gas/mips/branch-local-3.d: New test.
42         * testsuite/gas/mips/branch-local-n32-2.d: New test.
43         * testsuite/gas/mips/branch-local-n32-3.d: New test.
44         * testsuite/gas/mips/branch-local-n64-2.d: New test.
45         * testsuite/gas/mips/branch-local-n64-3.d: New test.
46         * testsuite/gas/mips/mips.exp: Fold corresponding list tests
47         into the new tests.
48
49 2017-01-27  Alexis Deruell  <alexis.deruelle@gmail.com>
50
51         PR 21056
52         * testsuite/gas/tic6x/insns16-parallel.s: New test case.
53         * testsuite/gas/tic6x/insns16-parallel.d: New test driver.
54
55 2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
56
57         * configure.tgt (aarch64*-*-rtems*): Remove.
58         (bfin-*-rtems*): Likewise.
59         (h8300-*-rtems*): Likewise.
60         (i386-*-rtems*): Likewise.
61         (m32c-*-rtems*): Likewise.
62         (m32r-*-rtems*): Likewise.
63         (m68k-*-rtems*): Likewise.
64         (mips-*-rtems*): Likewise.
65         (nios2-*-rtems*): Likewise.
66         (ppc-*-rtems*): Likewise.
67         (sh-*-rtems*): Likewise.
68         (sparc64-*-rtems*): Likewise.
69         (sparc-*-rtems*): Likewise.
70         (*-*-rtems*) Use ELF format.
71
72 2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
73
74         * configure.tgt (arm-*-rtems*): Move to (arm-*-eabi*).
75
76 2017-01-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
77
78         * configure.tgt (sh-*-rtemscoff*): Remove.
79
80 2017-01-24  Sebastian Huber <sebastian.huber@embedded-brains.de>
81
82         * configure.tgt (riscv*-*-*): Remove em=linux.
83
84 2017-01-23  Sebastian Rasmussen  <sebras@gmail.com>
85
86         PR gas/21072
87         * asintl.h: Fix spelling mistakes and typos.
88         * atof-generic.c: Likewise.
89         * bit_fix.h: Likewise.
90         * config/atof-ieee.c: Likewise.
91         * config/bfin-defs.h: Likewise.
92         * config/bfin-parse.y: Likewise.
93         * config/obj-coff-seh.h: Likewise.
94         * config/obj-coff.c: Likewise.
95         * config/obj-evax.c: Likewise.
96         * config/obj-macho.c: Likewise.
97         * config/rx-parse.y: Likewise.
98         * config/tc-aarch64.c: Likewise.
99         * config/tc-alpha.c: Likewise.
100         * config/tc-arc.c: Likewise.
101         * config/tc-arm.c: Likewise.
102         * config/tc-avr.c: Likewise.
103         * config/tc-bfin.c: Likewise.
104         * config/tc-cr16.c: Likewise.
105         * config/tc-cris.c: Likewise.
106         * config/tc-crx.c: Likewise.
107         * config/tc-d10v.c: Likewise.
108         * config/tc-d30v.c: Likewise.
109         * config/tc-dlx.c: Likewise.
110         * config/tc-epiphany.c: Likewise.
111         * config/tc-frv.c: Likewise.
112         * config/tc-hppa.c: Likewise.
113         * config/tc-i370.c: Likewise.
114         * config/tc-i386-intel.c: Likewise.
115         * config/tc-i386.c: Likewise.
116         * config/tc-i960.c: Likewise.
117         * config/tc-ia64.c: Likewise.
118         * config/tc-m32r.c: Likewise.
119         * config/tc-m68hc11.c: Likewise.
120         * config/tc-m68k.c: Likewise.
121         * config/tc-mcore.c: Likewise.
122         * config/tc-mep.c: Likewise.
123         * config/tc-mep.h: Likewise.
124         * config/tc-metag.c: Likewise.
125         * config/tc-microblaze.c: Likewise.
126         * config/tc-mips.c: Likewise.
127         * config/tc-mmix.c: Likewise.
128         * config/tc-mn10200.c: Likewise.
129         * config/tc-mn10300.c: Likewise.
130         * config/tc-msp430.c: Likewise.
131         * config/tc-msp430.h: Likewise.
132         * config/tc-nds32.c: Likewise.
133         * config/tc-nds32.h: Likewise.
134         * config/tc-nios2.c: Likewise.
135         * config/tc-nios2.h: Likewise.
136         * config/tc-ns32k.c: Likewise.
137         * config/tc-pdp11.c: Likewise.
138         * config/tc-ppc.c: Likewise.
139         * config/tc-pru.c: Likewise.
140         * config/tc-rx.c: Likewise.
141         * config/tc-s390.c: Likewise.
142         * config/tc-score.c: Likewise.
143         * config/tc-score7.c: Likewise.
144         * config/tc-sh.c: Likewise.
145         * config/tc-sh64.c: Likewise.
146         * config/tc-sparc.c: Likewise.
147         * config/tc-tic4x.c: Likewise.
148         * config/tc-tic54x.c: Likewise.
149         * config/tc-v850.c: Likewise.
150         * config/tc-vax.c: Likewise.
151         * config/tc-visium.c: Likewise.
152         * config/tc-xgate.c: Likewise.
153         * config/tc-xtensa.c: Likewise.
154         * config/tc-z80.c: Likewise.
155         * config/tc-z8k.c: Likewise.
156         * config/te-vms.c: Likewise.
157         * config/xtensa-relax.c: Likewise.
158         * doc/as.texinfo: Likewise.
159         * doc/c-arm.texi: Likewise.
160         * doc/c-hppa.texi: Likewise.
161         * doc/c-i370.texi: Likewise.
162         * doc/c-i386.texi: Likewise.
163         * doc/c-m32r.texi: Likewise.
164         * doc/c-m68k.texi: Likewise.
165         * doc/c-mmix.texi: Likewise.
166         * doc/c-msp430.texi: Likewise.
167         * doc/c-nds32.texi: Likewise.
168         * doc/c-ns32k.texi: Likewise.
169         * doc/c-riscv.texi: Likewise.
170         * doc/c-rx.texi: Likewise.
171         * doc/c-s390.texi: Likewise.
172         * doc/c-tic6x.texi: Likewise.
173         * doc/c-tilegx.texi: Likewise.
174         * doc/c-tilepro.texi: Likewise.
175         * doc/c-v850.texi: Likewise.
176         * doc/c-xgate.texi: Likewise.
177         * doc/c-xtensa.texi: Likewise.
178         * dwarf2dbg.c: Likewise.
179         * ecoff.c: Likewise.
180         * itbl-ops.c: Likewise.
181         * listing.c: Likewise.
182         * macro.c: Likewise.
183         * po/gas.pot: Likewise.
184         * read.c: Likewise.
185         * struc-symbol.h: Likewise.
186         * symbols.h: Likewise.
187         * testsuite/gas/arc/relocs-errors.err: Likewise.
188         * write.c: Likewise.
189
190 2017-01-23  Nick Clifton  <nickc@redhat.com>
191
192         * po/sv.po: Updated Swedish translation.
193
194 2017-01-20  Nick Clifton  <nickc@redhat.com>
195
196         * config/tc-i386.c (parse_operands): Check for operand overflow
197         before setting the unspecified bit.
198
199 2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>
200
201         PR gas/20649
202         * config/tc-mips.c (pic_need_relax): Don't check for linkonce
203         symbols, remove the `segtype' parameter.
204         (mips_frob_file, md_estimate_size_before_relax): Adjust
205         accordingly.
206         (s_is_linkonce): Add an explanatory comment.
207         * testsuite/gas/mips/comdat-reloc.d: New test.
208         * testsuite/gas/mips/comdat-reloc.s: New test source.
209         * testsuite/gas/mips/mips.exp: Run the new test.
210
211 2017-01-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
212
213         * testsuite/gas/arm/armv8_3-a-simd.s: Add vcmla tests.
214         * testsuite/gas/arm/armv8_3-a-simd.d: Update.
215
216 2017-01-18  Bernhard Rosenkranzer  <bero@lindev.ch>
217
218         PR 21059
219         * config/bfin-lex.l: Support processing with flex 2.6.3.
220         * itbl-lex.l: Likewise.
221
222 2017-01-18  Nathan Sidwell  <nathan@acm.org>
223
224         * as.h (gas_assert): Use abort.
225         (as_assert): Remove.
226         (signal_init): Declare.
227         * as.c (main): Call signal_init.
228         * messages.c: #include <signal.h>
229         (as_assert): Delete.
230         (as_abort): Allow NULL FILE.
231         (signal_crash): New.
232         (signal_init): Register fatal signal handlers.
233         * configure.ac: Check for strsignal.
234         * config.in: Rebuilt.
235         * configure: Rebuilt.
236
237 2017-01-17  Nick Clifton  <nickc@redhat.com>
238
239         * po/sv.po: Updated Swedish translation.
240
241 2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
242
243         * config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
244         (cpu_noarch): Add noavx512_vpopcntdq.
245         * doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
246         * testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
247         * testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
248         * testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
249         * testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
250         * testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
251         * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
252         * testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.
253
254 2017-01-12  Nick Clifton  <nickc@redhat.com>
255
256         * read.c (temp_ilp): New function.  Installs a temporary input
257         line pointer.
258         (restore_ilp): New function.  Restores the original input line
259         pointer.
260         * read.h (temp_ilp): Prototype.
261         (restore_ilp): Prototype.
262         * stabs.c (dot_func_p): Use bfd_boolean type.
263         (generate_asm_file): Use temp_ilp and restore_ilp.
264         (stabs_generate_asm_lineno): Likewise.
265         (stabs_generate_asm_endfunc): Likewise.
266
267 2017-01-11  Jeremy Soller  <jackpot51@gmail.com>
268
269         * configure.tgt: Add entry for i386-redox.
270
271 2017-01-10  Nick Clifton  <nickc@redhat.com>
272
273         * po/sv.po: Updated Swedish translation.
274
275 2017-01-10  Tristan Gingold  <gingold@adacore.com>
276
277         * testsuite/gas/all/sleb128-8.d: Adjust test.
278         * testsuite/gas/all/gas.exp (test_cond): Likewise.
279
280 2017-01-10  Tristan Gingold  <gingold@adacore.com>
281
282         * read.c (emit_leb128_expr): Extended unsigned big number for
283         sleb128.
284         * testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
285         * testsuite/gas/all/sleb128.d: New test.
286         * testsuite/gas/all/sleb128.s: New test source.
287
288 2017-01-09  Andrew Waterman <andrew@sifive.com>
289
290         * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
291         against constants.
292         (md_apply_fix): Mark relocations against constants as "done."
293
294 2017-01-09  Andrew Waterman <andrew@sifive.com>
295
296         * config/tc-riscv.c (append_insn): Don't eagerly apply relocations
297         against constants.
298         (md_apply_fix): Mark relocations against constants as "done."
299
300 2017-01-09  Palmer Dabbelt <palmer@dabbelt.com>
301             Kito Cheng <kito.cheng@gmail.com>
302
303         * emulparams/elf32lriscv-defs.sh (INITIAL_READONLY_SECTIONS):
304         Removed.
305         (SDATA_START_SYMBOLS): Likewise.
306
307 2017-01-09  Nick Clifton  <nickc@redhat.com>
308
309         * po/sv.po: New Swedish translation.
310         * configure.ac (ALL_LINGUAS): Add sv.
311         * configure: Regenerate.
312
313 2017-01-09  Andrew Waterman <andrew@sifive.com>
314
315         * config/tc-riscv.c (relaxed_branch_length): Use the long
316         sequence when the target is a weak symbol.
317
318 2017-01-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
319
320         * config/tc-aarch64.c (aarch64_features): Add rcpc.
321         * doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
322         * testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
323         * testsuite/gas/aarch64/ldst-rcpc.d: This.
324         * testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
325         * testsuite/gas/aarch64/ldst-rcpc.s: This.
326         * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
327
328 2017-01-04  Norm Jacobs  <norm.jacobs@oracle.com>
329
330         PR gas/20992
331         * configure.tgt: Treat sparcv9 as sparc64.
332
333 2017-01-03  Kito Cheng  <kito.cheng@gmail.com>
334
335         * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
336         extension.
337         (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
338         enabled and no other ABI is specified.
339
340 2017-01-03  Dimitar Dimitrov  <dimitar@dinux.eu>
341
342         * config/tc-pru.c (md_number_to_chars): Fix parameter to be
343         valueT, as declared in tc.h.
344         (md_apply_fix): Fix to work on 32-bit hosts.
345
346 2017-01-02  Alan Modra  <amodra@gmail.com>
347
348         Update year range in copyright notice of all files.
349
350 For older changes see ChangeLog-2016
351 \f
352 Copyright (C) 2017 Free Software Foundation, Inc.
353
354 Copying and distribution of this file, with or without modification,
355 are permitted in any medium without royalty provided the copyright
356 notice and this notice are preserved.
357
358 Local Variables:
359 mode: change-log
360 left-margin: 8
361 fill-column: 74
362 version-control: never
363 End: