3 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
4 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
5 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
6 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
7 * testsuite/ld-aarch64/bti-warn.d: New test.
11 * testsuite/ld-elf/fini2.s: Reduce alignment.
12 * testsuite/ld-elf/fini3.s: Likewise.
13 * testsuite/ld-elf/finin.s: Likewise.
14 * testsuite/ld-elf/init2.s: Likewise.
15 * testsuite/ld-elf/init3.s: Likewise.
16 * testsuite/ld-elf/initn.s: Likewise.
17 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
18 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
22 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
23 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
24 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
25 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
26 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
27 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
28 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
29 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
30 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
31 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
32 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
33 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
34 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
35 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
36 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
37 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
38 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
39 SORT_NONE to .init and .fini wildcards.
40 * scripttempl/elf32xc16x.sc,
41 * scripttempl/elf32xc16xl.sc,
42 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
43 * scripttempl/elf_chaos.sc: Add .init output section.
44 * scripttempl/elfd30v.sc: Remove duplicate .init.
45 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
46 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
47 duplicate .init, and add .fini wildcard.
48 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
49 * ldlang.c (update_wild_statements): Special case .init and
50 .fini in the wildcard, not the output section.
54 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
58 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
59 create_object_symbols_section.
60 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
64 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
65 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
66 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
67 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
72 * ld.texi (-plugin): Correct the path used to locate linker
77 * NEWS: Document --pac-plt.
78 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
79 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
80 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
81 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
82 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
83 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
84 * testsuite/ld-aarch64/pac-plt-1.d: New test.
85 * testsuite/ld-aarch64/pac-plt-2.d: New test.
86 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
91 * NEWS: Document --force-bti.
92 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
93 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
94 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
95 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
96 * testsuite/ld-aarch64/bti-plt-1.d: New test.
97 * testsuite/ld-aarch64/bti-plt-1.s: New test.
98 * testsuite/ld-aarch64/bti-plt-2.d: New test.
99 * testsuite/ld-aarch64/bti-plt-3.d: New test.
100 * testsuite/ld-aarch64/bti-plt-4.d: New test.
101 * testsuite/ld-aarch64/bti-plt-5.d: New test.
102 * testsuite/ld-aarch64/bti-plt-6.d: New test.
103 * testsuite/ld-aarch64/bti-plt-7.d: New test.
104 * testsuite/ld-aarch64/bti-plt-so.s: New test.
105 * testsuite/ld-aarch64/bti-plt.ld: New test.
109 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
110 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
111 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
112 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
113 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
114 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
115 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
116 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
121 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
122 * testsuite/ld-x86-64/x86-64.exp: Likewise.
123 * testsuite/ld-i386/pr24322a.d: New file.
124 * testsuite/ld-i386/pr24322b.d: Likewise.
125 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
126 * testsuite/ld-x86-64/pr24322a.d: Likewise.
127 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
128 * testsuite/ld-x86-64/pr24322b.d: Likewise.
129 * testsuite/ld-x86-64/pr24322a.s: Likewise.
130 * testsuite/ld-x86-64/pr24322b.s: Likewise.
131 * testsuite/ld-x86-64/pr24322c.s: Likewise.
136 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
137 attributes during the first phase.
141 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
145 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
146 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
147 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
148 * testsuite/ld-s390/tlsbin.dd: Likewise.
149 * testsuite/ld-s390/tlsbin.rd: Likewise.
150 * testsuite/ld-s390/tlsbin.sd: Likewise.
151 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
152 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
153 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
154 * testsuite/ld-s390/tlspic.dd: Likewise.
155 * testsuite/ld-s390/tlspic.rd: Likewise.
156 * testsuite/ld-s390/tlspic.sd: Likewise.
157 * testsuite/ld-s390/tlspic_64.dd: Likewise.
158 * testsuite/ld-s390/tlspic_64.rd: Likewise.
159 * testsuite/ld-s390/tlspic_64.sd: Likewise.
160 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
165 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
166 * testsuite/ld-x86-64/x86-64.exp: Likewise.
167 * testsuite/ld-i386/pr24276.dso: New file.
168 * testsuite/ld-i386/pr24276.warn: Likewise.
169 * testsuite/ld-x86-64/pr24276.dso: Likewise.
170 * testsuite/ld-x86-64/pr24276.warn: Likewise.
174 * testsuite/ld-xtensa/call_overflow.d: New test definition.
175 * testsuite/ld-xtensa/call_overflow1.s: New test source.
176 * testsuite/ld-xtensa/call_overflow2.s: New test source.
177 * testsuite/ld-xtensa/call_overflow3.s: New test source.
178 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
182 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
186 * po/fr.po: Updated French translation.
190 * emultempl/arclinux.em: Delete special INIT/FINI handling.
195 * ld.texi (Options): Add missing word to the description of the
196 --start-group option.
201 * testsuite/ld-scripts/pr24008.d: Pass with extra target
207 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
208 * testsuite/ld-x86-64/pr24151a.d: Likewise.
209 * testsuite/ld-x86-64/pr24151a.s: Likewise.
210 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
214 * NEWS: Mention -t change.
215 * ld.texi (--trace/-t): Expand documentation a little.
220 * testsuite/ld-scripts/defined.exp: Run pr24008.
221 * testsuite/ld-scripts/pr24008.d: New file.
222 * testsuite/ld-scripts/pr24008.map: Likewise.
223 * testsuite/ld-scripts/pr24008.s: Likewise.
224 * testsuite/ld-scripts/pr24008.t: Likewise.
228 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
233 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
234 * ldexp.c (fold_name): Move expld.assign_name check later to
235 avoid an extra lookup.
236 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
237 values, and don't clear expld.assign_name.
238 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
239 (print_assignment): Resolve entire assignment expression.
240 Don't access symbol u.def unless symbol is defined.
244 * po/bg.po: Updated Bulgarian translation.
248 * ld.texi (--wrap): Add warning that LTO may make this feature
253 * po/uk.po: Updated Ukranian translation.
254 * po/pr_BR.po: Updated Brazilian Portuguese translation.
259 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
260 expected error message.
264 * configure: Regenerate.
265 * po/ld.pot: Regenerate.
273 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
275 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
276 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
277 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
278 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
279 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
280 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
281 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
282 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
283 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
284 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
285 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
286 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
287 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
288 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
289 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
290 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
291 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
292 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
293 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
294 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
295 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
296 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
297 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
298 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
299 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
300 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
301 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
302 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
303 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
304 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
305 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
306 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
307 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
308 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
309 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
310 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
311 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
316 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
317 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
318 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
319 * testsuite/ld-s390/tlsbin.dd: Likewise.
320 * testsuite/ld-s390/tlsbin.rd: Likewise.
321 * testsuite/ld-s390/tlsbin.sd: Likewise.
322 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
323 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
324 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
325 * testsuite/ld-s390/tlspic.dd: Likewise.
326 * testsuite/ld-s390/tlspic.rd: Likewise.
327 * testsuite/ld-s390/tlspic.sd: Likewise.
328 * testsuite/ld-s390/tlspic_64.dd: Likewise.
329 * testsuite/ld-s390/tlspic_64.rd: Likewise.
330 * testsuite/ld-s390/tlspic_64.sd: Likewise.
331 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
335 * ld.texi (--wrap): Add example to emphasise that only undefined
336 references are replaced by the linker.
340 * po/es.po: Updated Spanish translation.
344 * configure: Regenerate.
348 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
349 generated source file names.
350 * testsuite/ld-m68k/m68k-got.exp: Likewise.
354 Update year range in copyright notice of all files.
356 For older changes see ChangeLog-2018
358 Copyright (C) 2019 Free Software Foundation, Inc.
360 Copying and distribution of this file, with or without modification,
361 are permitted in any medium without royalty provided the copyright
362 notice and this notice are preserved.
368 version-control: never