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