1 2019-04-08 Alan Modra <amodra@gmail.com>
3 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
4 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
5 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
7 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
9 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
10 (eelf_i386_sol2.c): Also depend on
11 $(srcdir)/emultempl/solaris2-x86.em.
12 (eelf_x86_64_sol2.c): Likewise.
13 * Makefile.in: Regenerated.
14 * emulparams/call_nop.sh: Set x86-specific linker options via
16 * emulparams/cet.sh: Likewise.
17 * emulparams/reloc_overflow.sh: Likewise.
18 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
20 * emulparams/elf_i386.sh: Likewise.
21 * emulparams/elf_i386_be.sh: Likewise.
22 * emulparams/elf_i386_chaos.sh: Likewise.
23 * emulparams/elf_i386_ldso.sh: Likewise.
24 * emulparams/elf_i386_vxworks.sh: Likewise.
25 * emulparams/elf_iamcu.sh: Likewise.
26 * emulparams/elf_k1om.sh: Likewise.
27 * emulparams/elf_l1om.sh: Likewise.
28 * emulparams/elf_x86_64.sh: Likewise.
29 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
31 * emulparams/elf_x86_64_sol2.sh: Likewise.
32 * emultempl/elf-x86.em: New file.
33 * emultempl/solaris2-x86.em: Likewise.
34 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
35 set link_info.call_nop_byte.
37 2019-04-05 Alan Modra <amodra@gmail.com>
39 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
40 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
41 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
43 2019-04-03 Alan Modra <amodra@gmail.com>
46 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
47 (<EXPRESSION>"/DISCARD/"): New.
49 2019-04-03 Alan Modra <amodra@gmail.com>
51 * ldlex.l: Formatting.
52 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
53 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
54 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
55 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
56 (<INPUTLIST>"$SYSROOT"..): Delete rule.
58 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
60 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
62 * testsuite/ld-xtensa/xtensa.exp
63 (relax-undef-weak-pie-export-dynamic): Add new test.
65 2019-03-26 Martin Liska <mliska@suse.cz>
67 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
68 lto_visibility_str and use then to inform about plugin-symbols.
69 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
71 2019-03-25 Tamar Christina <tamar.christina@arm.com>
73 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
74 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
76 2019-03-21 Sudakshina Das <sudi.das@arm.com>
78 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
79 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
80 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
81 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
82 * testsuite/ld-aarch64/bti-warn.d: New test.
84 2019-03-21 Alan Modra <amodra@gmail.com>
86 * testsuite/ld-elf/fini2.s: Reduce alignment.
87 * testsuite/ld-elf/fini3.s: Likewise.
88 * testsuite/ld-elf/finin.s: Likewise.
89 * testsuite/ld-elf/init2.s: Likewise.
90 * testsuite/ld-elf/init3.s: Likewise.
91 * testsuite/ld-elf/initn.s: Likewise.
92 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
93 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
95 2019-03-21 Alan Modra <amodra@gmail.com>
97 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
98 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
99 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
100 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
101 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
102 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
103 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
104 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
105 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
106 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
107 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
108 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
109 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
110 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
111 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
112 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
113 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
114 SORT_NONE to .init and .fini wildcards.
115 * scripttempl/elf32xc16x.sc,
116 * scripttempl/elf32xc16xl.sc,
117 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
118 * scripttempl/elf_chaos.sc: Add .init output section.
119 * scripttempl/elfd30v.sc: Remove duplicate .init.
120 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
121 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
122 duplicate .init, and add .fini wildcard.
123 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
124 * ldlang.c (update_wild_statements): Special case .init and
125 .fini in the wildcard, not the output section.
127 2019-03-21 Alan Modra <amodra@gmail.com>
129 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
131 2019-03-21 Alan Modra <amodra@gmail.com>
133 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
134 create_object_symbols_section.
135 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
137 2019-03-18 Alan Modra <amodra@gmail.com>
139 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
140 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
141 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
142 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
144 2019-03-15 Nick Clifton <nickc@redhat.com>
147 * ld.texi (-plugin): Correct the path used to locate linker
150 2019-03-13 Sudakshina Das <sudi.das@arm.com>
152 * NEWS: Document --pac-plt.
153 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
154 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
155 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
156 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
157 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
158 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
159 * testsuite/ld-aarch64/pac-plt-1.d: New test.
160 * testsuite/ld-aarch64/pac-plt-2.d: New test.
161 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
163 2019-03-13 Sudakshina Das <sudi.das@arm.com>
164 Szabolcs Nagy <szabolcs.nagy@arm.com>
166 * NEWS: Document --force-bti.
167 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
168 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
169 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
170 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
171 * testsuite/ld-aarch64/bti-plt-1.d: New test.
172 * testsuite/ld-aarch64/bti-plt-1.s: New test.
173 * testsuite/ld-aarch64/bti-plt-2.d: New test.
174 * testsuite/ld-aarch64/bti-plt-3.d: New test.
175 * testsuite/ld-aarch64/bti-plt-4.d: New test.
176 * testsuite/ld-aarch64/bti-plt-5.d: New test.
177 * testsuite/ld-aarch64/bti-plt-6.d: New test.
178 * testsuite/ld-aarch64/bti-plt-7.d: New test.
179 * testsuite/ld-aarch64/bti-plt-so.s: New test.
180 * testsuite/ld-aarch64/bti-plt.ld: New test.
182 2019-03-13 Sudakshina Das <sudi.das@arm.com>
184 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
185 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
186 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
187 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
188 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
189 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
190 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
191 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
193 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
196 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
197 * testsuite/ld-x86-64/x86-64.exp: Likewise.
198 * testsuite/ld-i386/pr24322a.d: New file.
199 * testsuite/ld-i386/pr24322b.d: Likewise.
200 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
201 * testsuite/ld-x86-64/pr24322a.d: Likewise.
202 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
203 * testsuite/ld-x86-64/pr24322b.d: Likewise.
204 * testsuite/ld-x86-64/pr24322a.s: Likewise.
205 * testsuite/ld-x86-64/pr24322b.s: Likewise.
206 * testsuite/ld-x86-64/pr24322c.s: Likewise.
208 2019-03-06 Nick Bowler <nbowler@draconx.ca>
211 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
212 attributes during the first phase.
214 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
216 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
217 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
220 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
221 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
222 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
223 * testsuite/ld-s390/tlsbin.dd: Likewise.
224 * testsuite/ld-s390/tlsbin.rd: Likewise.
225 * testsuite/ld-s390/tlsbin.sd: Likewise.
226 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
227 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
228 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
229 * testsuite/ld-s390/tlspic.dd: Likewise.
230 * testsuite/ld-s390/tlspic.rd: Likewise.
231 * testsuite/ld-s390/tlspic.sd: Likewise.
232 * testsuite/ld-s390/tlspic_64.dd: Likewise.
233 * testsuite/ld-s390/tlspic_64.rd: Likewise.
234 * testsuite/ld-s390/tlspic_64.sd: Likewise.
235 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
237 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
240 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
241 * testsuite/ld-x86-64/x86-64.exp: Likewise.
242 * testsuite/ld-i386/pr24276.dso: New file.
243 * testsuite/ld-i386/pr24276.warn: Likewise.
244 * testsuite/ld-x86-64/pr24276.dso: Likewise.
245 * testsuite/ld-x86-64/pr24276.warn: Likewise.
247 2019-02-20 Eric Tsai <erictsai@cadence.com>
249 * testsuite/ld-xtensa/call_overflow.d: New test definition.
250 * testsuite/ld-xtensa/call_overflow1.s: New test source.
251 * testsuite/ld-xtensa/call_overflow2.s: New test source.
252 * testsuite/ld-xtensa/call_overflow3.s: New test source.
253 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
255 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
257 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
259 2019-02-12 Nick Clifton <nickc@redhat.com>
261 * po/fr.po: Updated French translation.
263 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
265 * emultempl/arclinux.em: Delete special INIT/FINI handling.
267 2019-02-07 Nick Clifton <nickc@redhat.com>
270 * ld.texi (Options): Add missing word to the description of the
271 --start-group option.
273 2019-02-06 Alan Modra <amodra@gmail.com>
276 * testsuite/ld-scripts/pr24008.d: Pass with extra target
279 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
282 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
283 * testsuite/ld-x86-64/pr24151a.d: Likewise.
284 * testsuite/ld-x86-64/pr24151a.s: Likewise.
285 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
287 2019-01-31 Alan Modra <amodra@gmail.com>
289 * NEWS: Mention -t change.
290 * ld.texi (--trace/-t): Expand documentation a little.
292 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
295 * testsuite/ld-scripts/defined.exp: Run pr24008.
296 * testsuite/ld-scripts/pr24008.d: New file.
297 * testsuite/ld-scripts/pr24008.map: Likewise.
298 * testsuite/ld-scripts/pr24008.s: Likewise.
299 * testsuite/ld-scripts/pr24008.t: Likewise.
301 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
303 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
305 2019-01-28 Alan Modra <amodra@gmail.com>
308 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
309 * ldexp.c (fold_name): Move expld.assign_name check later to
310 avoid an extra lookup.
311 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
312 values, and don't clear expld.assign_name.
313 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
314 (print_assignment): Resolve entire assignment expression.
315 Don't access symbol u.def unless symbol is defined.
317 2019-01-25 Nick Clifton <nickc@redhat.com>
319 * po/bg.po: Updated Bulgarian translation.
321 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
323 * ld.texi (--wrap): Add warning that LTO may make this feature
326 2019-01-21 Nick Clifton <nickc@redhat.com>
328 * po/uk.po: Updated Ukranian translation.
329 * po/pr_BR.po: Updated Brazilian Portuguese translation.
331 2019-01-21 Nick Clifton <nickc@redhat.com>
334 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
335 expected error message.
337 2019-01-19 Nick Clifton <nickc@redhat.com>
339 * configure: Regenerate.
340 * po/ld.pot: Regenerate.
342 2018-06-24 Nick Clifton <nickc@redhat.com>
346 2019-01-16 Kito Cheng <kito@andestech.com>
348 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
350 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
351 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
352 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
353 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
354 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
355 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
356 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
357 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
358 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
359 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
360 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
361 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
362 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
363 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
364 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
365 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
366 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
367 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
368 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
369 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
370 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
371 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
372 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
373 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
374 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
375 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
376 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
377 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
378 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
379 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
380 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
381 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
382 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
383 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
384 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
385 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
386 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
388 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
391 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
392 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
393 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
394 * testsuite/ld-s390/tlsbin.dd: Likewise.
395 * testsuite/ld-s390/tlsbin.rd: Likewise.
396 * testsuite/ld-s390/tlsbin.sd: Likewise.
397 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
398 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
399 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
400 * testsuite/ld-s390/tlspic.dd: Likewise.
401 * testsuite/ld-s390/tlspic.rd: Likewise.
402 * testsuite/ld-s390/tlspic.sd: Likewise.
403 * testsuite/ld-s390/tlspic_64.dd: Likewise.
404 * testsuite/ld-s390/tlspic_64.rd: Likewise.
405 * testsuite/ld-s390/tlspic_64.sd: Likewise.
406 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
408 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
410 * ld.texi (--wrap): Add example to emphasise that only undefined
411 references are replaced by the linker.
413 2019-01-09 Nick Clifton <nickc@redhat.com>
415 * po/es.po: Updated Spanish translation.
417 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
419 * configure: Regenerate.
421 2019-01-08 Alan Modra <amodra@gmail.com>
423 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
424 generated source file names.
425 * testsuite/ld-m68k/m68k-got.exp: Likewise.
427 2019-01-01 Alan Modra <amodra@gmail.com>
429 Update year range in copyright notice of all files.
431 For older changes see ChangeLog-2018
433 Copyright (C) 2019 Free Software Foundation, Inc.
435 Copying and distribution of this file, with or without modification,
436 are permitted in any medium without royalty provided the copyright
437 notice and this notice are preserved.
443 version-control: never