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