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