1 2019-04-03 Alan Modra <amodra@gmail.com>
4 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
5 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
6 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
7 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
8 (<INPUTLIST>"$SYSROOT"..): Delete rule.
10 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
12 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
14 * testsuite/ld-xtensa/xtensa.exp
15 (relax-undef-weak-pie-export-dynamic): Add new test.
17 2019-03-26 Martin Liska <mliska@suse.cz>
19 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
20 lto_visibility_str and use then to inform about plugin-symbols.
21 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
23 2019-03-25 Tamar Christina <tamar.christina@arm.com>
25 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
26 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
28 2019-03-21 Sudakshina Das <sudi.das@arm.com>
30 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
31 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
32 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
33 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
34 * testsuite/ld-aarch64/bti-warn.d: New test.
36 2019-03-21 Alan Modra <amodra@gmail.com>
38 * testsuite/ld-elf/fini2.s: Reduce alignment.
39 * testsuite/ld-elf/fini3.s: Likewise.
40 * testsuite/ld-elf/finin.s: Likewise.
41 * testsuite/ld-elf/init2.s: Likewise.
42 * testsuite/ld-elf/init3.s: Likewise.
43 * testsuite/ld-elf/initn.s: Likewise.
44 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
45 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
47 2019-03-21 Alan Modra <amodra@gmail.com>
49 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
50 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
51 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
52 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
53 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
54 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
55 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
56 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
57 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
58 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
59 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
60 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
61 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
62 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
63 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
64 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
65 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
66 SORT_NONE to .init and .fini wildcards.
67 * scripttempl/elf32xc16x.sc,
68 * scripttempl/elf32xc16xl.sc,
69 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
70 * scripttempl/elf_chaos.sc: Add .init output section.
71 * scripttempl/elfd30v.sc: Remove duplicate .init.
72 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
73 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
74 duplicate .init, and add .fini wildcard.
75 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
76 * ldlang.c (update_wild_statements): Special case .init and
77 .fini in the wildcard, not the output section.
79 2019-03-21 Alan Modra <amodra@gmail.com>
81 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
83 2019-03-21 Alan Modra <amodra@gmail.com>
85 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
86 create_object_symbols_section.
87 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
89 2019-03-18 Alan Modra <amodra@gmail.com>
91 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
92 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
93 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
94 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
96 2019-03-15 Nick Clifton <nickc@redhat.com>
99 * ld.texi (-plugin): Correct the path used to locate linker
102 2019-03-13 Sudakshina Das <sudi.das@arm.com>
104 * NEWS: Document --pac-plt.
105 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
106 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
107 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
108 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
109 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
110 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
111 * testsuite/ld-aarch64/pac-plt-1.d: New test.
112 * testsuite/ld-aarch64/pac-plt-2.d: New test.
113 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
115 2019-03-13 Sudakshina Das <sudi.das@arm.com>
116 Szabolcs Nagy <szabolcs.nagy@arm.com>
118 * NEWS: Document --force-bti.
119 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
120 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
121 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
122 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
123 * testsuite/ld-aarch64/bti-plt-1.d: New test.
124 * testsuite/ld-aarch64/bti-plt-1.s: New test.
125 * testsuite/ld-aarch64/bti-plt-2.d: New test.
126 * testsuite/ld-aarch64/bti-plt-3.d: New test.
127 * testsuite/ld-aarch64/bti-plt-4.d: New test.
128 * testsuite/ld-aarch64/bti-plt-5.d: New test.
129 * testsuite/ld-aarch64/bti-plt-6.d: New test.
130 * testsuite/ld-aarch64/bti-plt-7.d: New test.
131 * testsuite/ld-aarch64/bti-plt-so.s: New test.
132 * testsuite/ld-aarch64/bti-plt.ld: New test.
134 2019-03-13 Sudakshina Das <sudi.das@arm.com>
136 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
137 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
138 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
139 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
140 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
141 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
142 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
143 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
145 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
148 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
149 * testsuite/ld-x86-64/x86-64.exp: Likewise.
150 * testsuite/ld-i386/pr24322a.d: New file.
151 * testsuite/ld-i386/pr24322b.d: Likewise.
152 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
153 * testsuite/ld-x86-64/pr24322a.d: Likewise.
154 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
155 * testsuite/ld-x86-64/pr24322b.d: Likewise.
156 * testsuite/ld-x86-64/pr24322a.s: Likewise.
157 * testsuite/ld-x86-64/pr24322b.s: Likewise.
158 * testsuite/ld-x86-64/pr24322c.s: Likewise.
160 2019-03-06 Nick Bowler <nbowler@draconx.ca>
163 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
164 attributes during the first phase.
166 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
168 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
169 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
172 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
173 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
174 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
175 * testsuite/ld-s390/tlsbin.dd: Likewise.
176 * testsuite/ld-s390/tlsbin.rd: Likewise.
177 * testsuite/ld-s390/tlsbin.sd: Likewise.
178 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
179 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
180 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
181 * testsuite/ld-s390/tlspic.dd: Likewise.
182 * testsuite/ld-s390/tlspic.rd: Likewise.
183 * testsuite/ld-s390/tlspic.sd: Likewise.
184 * testsuite/ld-s390/tlspic_64.dd: Likewise.
185 * testsuite/ld-s390/tlspic_64.rd: Likewise.
186 * testsuite/ld-s390/tlspic_64.sd: Likewise.
187 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
189 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
192 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
193 * testsuite/ld-x86-64/x86-64.exp: Likewise.
194 * testsuite/ld-i386/pr24276.dso: New file.
195 * testsuite/ld-i386/pr24276.warn: Likewise.
196 * testsuite/ld-x86-64/pr24276.dso: Likewise.
197 * testsuite/ld-x86-64/pr24276.warn: Likewise.
199 2019-02-20 Eric Tsai <erictsai@cadence.com>
201 * testsuite/ld-xtensa/call_overflow.d: New test definition.
202 * testsuite/ld-xtensa/call_overflow1.s: New test source.
203 * testsuite/ld-xtensa/call_overflow2.s: New test source.
204 * testsuite/ld-xtensa/call_overflow3.s: New test source.
205 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
207 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
209 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
211 2019-02-12 Nick Clifton <nickc@redhat.com>
213 * po/fr.po: Updated French translation.
215 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
217 * emultempl/arclinux.em: Delete special INIT/FINI handling.
219 2019-02-07 Nick Clifton <nickc@redhat.com>
222 * ld.texi (Options): Add missing word to the description of the
223 --start-group option.
225 2019-02-06 Alan Modra <amodra@gmail.com>
228 * testsuite/ld-scripts/pr24008.d: Pass with extra target
231 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
234 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
235 * testsuite/ld-x86-64/pr24151a.d: Likewise.
236 * testsuite/ld-x86-64/pr24151a.s: Likewise.
237 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
239 2019-01-31 Alan Modra <amodra@gmail.com>
241 * NEWS: Mention -t change.
242 * ld.texi (--trace/-t): Expand documentation a little.
244 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
247 * testsuite/ld-scripts/defined.exp: Run pr24008.
248 * testsuite/ld-scripts/pr24008.d: New file.
249 * testsuite/ld-scripts/pr24008.map: Likewise.
250 * testsuite/ld-scripts/pr24008.s: Likewise.
251 * testsuite/ld-scripts/pr24008.t: Likewise.
253 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
255 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
257 2019-01-28 Alan Modra <amodra@gmail.com>
260 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
261 * ldexp.c (fold_name): Move expld.assign_name check later to
262 avoid an extra lookup.
263 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
264 values, and don't clear expld.assign_name.
265 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
266 (print_assignment): Resolve entire assignment expression.
267 Don't access symbol u.def unless symbol is defined.
269 2019-01-25 Nick Clifton <nickc@redhat.com>
271 * po/bg.po: Updated Bulgarian translation.
273 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
275 * ld.texi (--wrap): Add warning that LTO may make this feature
278 2019-01-21 Nick Clifton <nickc@redhat.com>
280 * po/uk.po: Updated Ukranian translation.
281 * po/pr_BR.po: Updated Brazilian Portuguese translation.
283 2019-01-21 Nick Clifton <nickc@redhat.com>
286 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
287 expected error message.
289 2019-01-19 Nick Clifton <nickc@redhat.com>
291 * configure: Regenerate.
292 * po/ld.pot: Regenerate.
294 2018-06-24 Nick Clifton <nickc@redhat.com>
298 2019-01-16 Kito Cheng <kito@andestech.com>
300 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
302 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
303 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
304 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
305 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
306 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
307 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
308 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
309 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
310 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
311 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
312 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
313 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
314 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
315 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
316 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
317 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
318 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
319 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
320 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
321 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
322 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
323 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
324 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
325 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
326 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
327 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
328 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
329 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
330 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
331 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
332 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
333 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
334 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
335 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
336 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
337 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
338 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
340 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
343 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
344 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
345 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
346 * testsuite/ld-s390/tlsbin.dd: Likewise.
347 * testsuite/ld-s390/tlsbin.rd: Likewise.
348 * testsuite/ld-s390/tlsbin.sd: Likewise.
349 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
350 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
351 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
352 * testsuite/ld-s390/tlspic.dd: Likewise.
353 * testsuite/ld-s390/tlspic.rd: Likewise.
354 * testsuite/ld-s390/tlspic.sd: Likewise.
355 * testsuite/ld-s390/tlspic_64.dd: Likewise.
356 * testsuite/ld-s390/tlspic_64.rd: Likewise.
357 * testsuite/ld-s390/tlspic_64.sd: Likewise.
358 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
360 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
362 * ld.texi (--wrap): Add example to emphasise that only undefined
363 references are replaced by the linker.
365 2019-01-09 Nick Clifton <nickc@redhat.com>
367 * po/es.po: Updated Spanish translation.
369 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
371 * configure: Regenerate.
373 2019-01-08 Alan Modra <amodra@gmail.com>
375 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
376 generated source file names.
377 * testsuite/ld-m68k/m68k-got.exp: Likewise.
379 2019-01-01 Alan Modra <amodra@gmail.com>
381 Update year range in copyright notice of all files.
383 For older changes see ChangeLog-2018
385 Copyright (C) 2019 Free Software Foundation, Inc.
387 Copying and distribution of this file, with or without modification,
388 are permitted in any medium without royalty provided the copyright
389 notice and this notice are preserved.
395 version-control: never