RISC-V/GAS: Correct an `expr' global shadowing error for pre-4.8 GCC
[external/binutils.git] / gas / ChangeLog
1 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
2
3         * config/tc-riscv.c (riscv_handle_implicit_zero_offset): Rename
4         `expr' parameter to `ep'.
5
6 2018-02-05  Maciej W. Rozycki  <macro@mips.com>
7
8         * testsuite/gas/mips/reginfo-2.d: New test.
9         * testsuite/gas/mips/reginfo-2-n32.d: New test.
10         * testsuite/gas/mips/reginfo-2.l: New test stderr output.
11         * testsuite/gas/mips/reginfo-2.s: New test source.
12         * testsuite/gas/mips/mips.exp: Run the new tests.
13
14 2018-02-05  Nick Clifton  <nickc@redhat.com>
15
16         * po/ru.po: Updated Russian translation.
17
18 2018-01-31  Alan Modra  <amodra@gmail.com>
19
20         PR 22714
21         * app.c (last_char): New static var.
22         (struct app_save): Add last_char field.
23         (app_push, app_pop): Handle it.
24         (do_scrub_chars): Use last_char in test for "\@".  Set last_char.
25
26 2018-01-29  Eric Botcazou  <ebotcazou@adacore.com>
27
28         PR gas/22738
29         * config/tc-sparc.h (sparc_mach): Declare.
30         (TARGET_MACH): Define to above.
31         * config/tc-sparc.c (sparc_mach): New function.
32         (sparc_md_end): Minor tweak.
33
34 2018-01-29  Nick Clifton  <nickc@redhat.com>
35
36         * po/ru.po: Updated Russian translation.
37
38 2018-01-26  Maciej W. Rozycki  <macro@mips.com>
39
40         * configure.tgt: Use generic emulation for `mips-*-windiss',
41         overriding the blanket choice made for `*-*-windiss'.
42
43 2018-01-26  Maciej W. Rozycki  <macro@mips.com>
44
45         * configure.tgt: Use `mips-*-sysv4*' rather than
46         `mips-*-sysv4*MP*'.
47
48 2018-01-24  Renlin Li  <renlin.li@arm.com>
49
50         * config/tc-aarch64.c (reloc_table): add entries for
51         BFD_RELOC_AARCH64_MOVW_PREL_G0, BFD_RELOC_AARCH64_MOVW_PREL_G0_NC,
52         BFD_RELOC_AARCH64_MOVW_PREL_G1, BFD_RELOC_AARCH64_MOVW_PREL_G1_NC,
53         BFD_RELOC_AARCH64_MOVW_PREL_G2, BFD_RELOC_AARCH64_MOVW_PREL_G2_NC,
54         BFD_RELOC_AARCH64_MOVW_PREL_G3.
55         (process_movw_reloc_info): Supports newly added MOVW_PREL relocations.
56         (md_apply_fix): Likewise
57         * testsuite/gas/aarch64/prel_g0.s: New.
58         * testsuite/gas/aarch64/prel_g0.d: New.
59         * testsuite/gas/aarch64/prel_g0_nc.s: New.
60         * testsuite/gas/aarch64/prel_g0_nc.d: New.
61         * testsuite/gas/aarch64/prel_g1.s: New.
62         * testsuite/gas/aarch64/prel_g1.d: New.
63         * testsuite/gas/aarch64/prel_g1_nc.s: New.
64         * testsuite/gas/aarch64/prel_g1_nc.d: New.
65         * testsuite/gas/aarch64/prel_g2.s: New.
66         * testsuite/gas/aarch64/prel_g2.d: New.
67         * testsuite/gas/aarch64/prel_g2_nc.s: New.
68         * testsuite/gas/aarch64/prel_g2_nc.d: New.
69         * testsuite/gas/aarch64/prel_g3.s: New.
70         * testsuite/gas/aarch64/prel_g3.d: New.
71
72 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
73
74         * configure.ac: Also set `mips_default_abi' to N32_ABI for
75         `mips64*-ps2-elf*'.
76         * configure: Regenerate.
77
78 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
79
80         * config/tc-mips.c (options): Remove OPTION_COMPAT_ARCH_BASE
81         enum value.
82
83 2018-01-23  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
84
85         * config/tc-i386.c (cpu_arch): Add .pconfig.
86         * doc/c-i386.texi: Document .pconfig.
87         * testsuite/gas/i386/i386.exp: Add PCONFIG tests.
88         * testsuite/gas/i386/pconfig-intel.d: New test.
89         * testsuite/gas/i386/pconfig.d: Likewise.
90         * testsuite/gas/i386/pconfig.s: Likewise.
91         * testsuite/gas/i386/x86-64-pconfig-intel.d: Likewise.
92         * testsuite/gas/i386/x86-64-pconfig.d: Likewise.
93         * testsuite/gas/i386/x86-64-pconfig.s: Likewise.
94
95 2018-01-23  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
96
97         * config/tc-i386.c (cpu_arch): Add .wbnoinvd.
98         * doc/c-i386.texi: Document .wbnoinvd.
99         * testsuite/gas/i386/i386.exp: Add WBNOINVD tests.
100         * testsuite/gas/i386/wbnoinvd-intel.d: New test.
101         * testsuite/gas/i386/wbnoinvd.d: Likewise.
102         * testsuite/gas/i386/wbnoinvd.s: Likewise.
103         * testsuite/gas/i386/x86-64-wbnoinvd-intel.d: Likewise.
104         * testsuite/gas/i386/x86-64-wbnoinvd.d: Likewise.
105         * testsuite/gas/i386/x86-64-wbnoinvd.s: Likewise.
106
107 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
108
109         * config/tc-mips.c (md_show_usage): Correctly indicate the
110         configuration-specific default ABI.
111
112 2018-01-23  Maciej W. Rozycki  <macro@mips.com>
113
114         * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
115         `-mno-mips16e2' options.
116
117 2018-01-22  Maciej W. Rozycki  <macro@mips.com>
118
119         * doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
120         Correct syntax of the `.set nomips16e2' directive description.
121
122 2018-01-22  Oleg Endo  <olegendo@gcc.gnu.org>
123
124         PR 22737
125         * config/tc-rx.c (rx_start_line): Handle escaped double-quote character.
126         * testsuite/gas/rx/pr22737.s: New test.
127         * testsuite/gas/rx/pr22737.d: Likewise.
128         * testsuite/gas/rx/rx.exp: Run the new test.
129
130 2018-01-19  Thomas Preud'homme  <thomas.preudhomme@arm.com>
131
132         * config/tc-arm.c (ToC macro): Remove spurious comment.
133         (ToU macro): Likewise.
134
135 2018-01-17  Jim Wilson  <jimw@sifive.com>
136
137         * config/tc-riscv.c (validate_riscv_insn) <'z'>: New.
138         (riscv_ip) <'z'>: New.
139
140 2018-01-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
141
142         * config/tc-i386.c (cpu_arch): Delete .cet. Add .ibt, .shstk.
143         (cpu_noarch): Add noibt, noshstk.
144         (parse_insn): Change cpucet to cpuibt.
145         * doc/c-i386.texi: Delete .cet. Add .ibt, .shstk.
146         * testsuite/gas/i386/cet-ibt-inval.l: New test.
147         * testsuite/gas/i386/cet-ibt-inval.s: Likewise.
148         * testsuite/gas/i386/cet-shstk-inval.l: Likewise.
149         * testsuite/gas/i386/cet-shstk-inval.s: Likewise.
150         * testsuite/gas/i386/x86-64-cet-ibt-inval.l: Likewise.
151         * testsuite/gas/i386/x86-64-cet-ibt-inval.s: Likewise.
152         * testsuite/gas/i386/x86-64-cet-shstk-inval.l: Likewise.
153         * testsuite/gas/i386/x86-64-cet-shstk-inval.s: Likewise.
154
155 2018-01-16  Nick Clifton  <nickc@redhat.com>
156
157         * po/fr.po: Updated French translation.
158
159 2018-01-15  Jim Wilson  <jimw@sifive.com>
160
161         * testsuite/gas/riscv/c-zero-imm.s: Test addi that compresses to c.nop.
162         * testsuite/gas/riscv/c-zero-imm.d: Likewise.
163
164 2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
165
166         * config/tc-arm.c (ToC): Define macro.
167         (ToU): Likewise.
168         (insns): Make use of above macros for new instructions introduced in
169         Armv8-M.
170
171 2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
172
173         * config/tc-arm.c (insns): Make blxns, bxns, tt, ttt, tta, ttat, vlldm
174         and vlstm conditionally executable and reindent parameters.
175         * testsuite/gas/arm/archv8m-cmse-main.s: Add conditional version of
176         aforementionned instructions.
177
178 2018-01-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
179
180         * config/tc-arm.c (it_fsm_post_encode): Do not warn if targeting M
181         profile architecture or if in autodetection mode.  Clarify that
182         deprecation is for performance reason and concerns Armv8-A and Armv8-R.
183         * testsuite/gas/arm/armv8-ar-bad.l: Adapt to new IT deprecation warning
184         message.
185         * testsuite/gas/arm/armv8-ar-it-bad.l: Likewise.
186         * testsuite/gas/arm/sp-pc-validations-bad-t-v8a.l: Likewise.
187         * testsuite/gas/arm/udf.l: Likewise.
188         * testsuite/gas/arm/udf.d: Assemble for Armv8-A explicitely.
189
190 2018-01-15  Nick Clifton  <nickc@redhat.com>
191
192         * po/uk.po: Updated Ukranian translation.
193
194 2018-01-13  Nick Clifton  <nickc@redhat.com>
195
196         * po/gas.pot: Regenerated.
197
198 2018-01-13  Nick Clifton  <nickc@redhat.com>
199
200         * configure: Regenerate.
201
202 2018-01-13  Nick Clifton  <nickc@redhat.com>
203
204         2.30 branch created.
205         * NEWS: Add marker for 2.30.
206
207 2018-01-12  Gunther Nikl  <gnikl@users.sourceforge.net>
208
209         * gas/config/aout_gnu.h (USE_EXTENDED_RELOC): Explicitly
210         define to 0 and 1. Remove a dangling reference to "AMD 29000"
211         in a comment.
212
213 2018-01-11  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
214
215         * testsuite/i386/avx512_4fmaps_vl-warn.l: Likewise.
216         * testsuite/i386/avx512_4fmaps_vl-warn.s: Likewise.
217         * testsuite/i386/avx512_4fmaps_vl.d: Likewise.
218         * testsuite/i386/avx512_4fmaps_vl.s: Likewise.
219         * testsuite/i386/avx512_4vnniw_vl-intel.d: Likewise.
220         * testsuite/i386/avx512_4vnniw_vl.d: Likewise.
221         * testsuite/i386/avx512_4vnniw_vl.s: Likewise.
222         * testsuite/i386/i386.exp: Removed _vl tests for 4fmaps an 4vnniw
223         tests.
224         * testsuite/i386/x86-64-avx512_4fmaps_vl-intel.d: Removed.
225         * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.l: Likewise.
226         * testsuite/i386/x86-64-avx512_4fmaps_vl-warn.s: Likewise.
227         * testsuite/i386/x86-64-avx512_4fmaps_vl.d: Likewise.
228         * testsuite/i386/x86-64-avx512_4fmaps_vl.s: Likewise.
229         * testsuite/i386/x86-64-avx512_4vnniw_vl-intel.d: Likewise.
230         * testsuite/i386/x86-64-avx512_4vnniw_vl.d: Likewise.
231         * testsuite/i386/x86-64-avx512_4vnniw_vl.s: Likewise.
232
233 2018-01-11  Alan Modra  <amodra@gmail.com>
234
235         * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
236         positive "‘profile’ may be used uninitialized".
237
238 2018-01-10  Jan Beulich  <jbeulich@suse.com>
239
240         * testsuite/gas/i386/avx512_4fmaps.s,
241         testsuite/gas/i386/avx512_4fmaps_vl.s,
242         testsuite/gas/i386/x86-64-avx512_4fmaps.s,
243         testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Actually test
244         Disp8 forms (and the transition happening at the right
245         boundary).
246         * testsuite/gas/i386/avx512_4fmaps.d,
247         testsuite/gas/i386/avx512_4fmaps-intel.d,
248         testsuite/gas/i386/avx512_4fmaps_vl.d,
249         testsuite/gas/i386/avx512_4fmaps_vl-intel.d,
250         testsuite/gas/i386/x86-64-avx512_4fmaps.d,
251         testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d,
252         testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d,
253         testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Adjust
254         expectations.
255
256 2018-01-10  Jan Beulich  <jbeulich@suse.com>
257
258         * testsuite/gas/i386/avx512bw.s,
259         testsuite/gas/i386/avx512bw_vl.s: Add VPCMP* tests with memory
260         operands.
261         * testsuite/gas/i386/avx512bw-intel.d,
262         testsuite/gas/i386/avx512bw.d,
263         testsuite/gas/i386/avx512bw_vl-intel.d.
264         testsuite/gas/i386/avx512bw_vl.d: Adjust expectations.
265
266 2018-01-09  Jim Wilson  <jimw@sifive.com>
267
268         * testsuite/gas/riscv/auipc-x0.d: New.
269         * testsuite/gas/riscv/auipc-x0.s: New.
270
271 2018-01-09  James Greenhalgh  <james.greenhalgh@arm.com>
272
273         * config/tc-arm.c (insns): Add csdb, enable for Armv3 and above
274         in Arm execution state, and Armv6T2 and above in Thumb execution
275         state.
276         * testsuite/gas/arm/csdb.s: New.
277         * testsuite/gas/arm/csdb.d: New.
278         * testsuite/gas/arm/thumb2_it_bad.l: Add csdb.
279         * testsuite/gas/arm/thumb2_it_bad.s: Add csdb.
280
281 2018-01-09  James Greenhalgh  <james.greenhalgh@arm.com>
282
283         * testsuite/gas/aarch64/system.d: Update expected results to expect
284         CSDB for hint 0x14.
285
286 2018-01-08  H.J. Lu  <hongjiu.lu@intel.com>
287
288         PR gas/22681
289         * testsuite/gas/i386/i386.exp: Run x86-64-movd and
290         x86-64-movd-intel.
291         * testsuite/gas/i386/x86-64-movd-intel.d: New file.
292         * testsuite/gas/i386/x86-64-movd.d: Likewise.
293         * testsuite/gas/i386/x86-64-movd.s: Likewise.
294
295 2018-01-08  Nick Clifton  <nickc@redhat.com>
296
297         PR 22553
298         * doc/c-i386.texi (i386-Directives): Document the .largecomm
299         directive.
300
301 2018-01-04  Jim Wilson  <jimw@sifive.com>
302
303         * testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
304         * testsuite/gas/riscv/priv-reg.d: Likewise.
305
306 2018-01-03  Alan Modra  <amodra@gmail.com>
307
308         Update year range in copyright notice of all files.
309
310 2018-01-02  Nick Clifton  <nickc@redhat.com>
311
312         PR 18119
313         * config/tc-arm.c (do_mrs): Fix test of bits 16-19 in non-banked
314         version of ARM MRS instruction.
315
316 For older changes see ChangeLog-2017
317 \f
318 Copyright (C) 2018 Free Software Foundation, Inc.
319
320 Copying and distribution of this file, with or without modification,
321 are permitted in any medium without royalty provided the copyright
322 notice and this notice are preserved.
323
324 Local Variables:
325 mode: change-log
326 left-margin: 8
327 fill-column: 74
328 version-control: never
329 End: