bfd: xtensa: fix shrink_dynamic_reloc_sections for export-dynamic
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2487ef07
MF
12019-03-29 Max Filippov <jcmvbkbc@gmail.com>
2
3 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
4 test definition.
5 * testsuite/ld-xtensa/xtensa.exp
6 (relax-undef-weak-pie-export-dynamic): Add new test.
7
7ea79cb3 82019-03-26 Martin Liska <mliska@suse.cz>
9
10 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
11 lto_visibility_str and use then to inform about plugin-symbols.
12 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
13
796d6298
TC
142019-03-25 Tamar Christina <tamar.christina@arm.com>
15
16 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
17 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
18
4e539114
SD
192019-03-21 Sudakshina Das <sudi.das@arm.com>
20
21 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
22 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
23 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
24 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
25 * testsuite/ld-aarch64/bti-warn.d: New test.
26
f84bd465
AM
272019-03-21 Alan Modra <amodra@gmail.com>
28
29 * testsuite/ld-elf/fini2.s: Reduce alignment.
30 * testsuite/ld-elf/fini3.s: Likewise.
31 * testsuite/ld-elf/finin.s: Likewise.
32 * testsuite/ld-elf/init2.s: Likewise.
33 * testsuite/ld-elf/init3.s: Likewise.
34 * testsuite/ld-elf/initn.s: Likewise.
35 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
36 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
37
2d3181c7
AM
382019-03-21 Alan Modra <amodra@gmail.com>
39
40 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
41 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
42 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
43 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
44 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
45 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
46 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
47 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
48 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
49 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
50 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
51 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
52 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
53 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
54 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
55 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
56 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
57 SORT_NONE to .init and .fini wildcards.
58 * scripttempl/elf32xc16x.sc,
59 * scripttempl/elf32xc16xl.sc,
60 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
61 * scripttempl/elf_chaos.sc: Add .init output section.
62 * scripttempl/elfd30v.sc: Remove duplicate .init.
63 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
64 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
65 duplicate .init, and add .fini wildcard.
66 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
67 * ldlang.c (update_wild_statements): Special case .init and
68 .fini in the wildcard, not the output section.
69
980a2e42
AM
702019-03-21 Alan Modra <amodra@gmail.com>
71
72 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
73
3b6c1966
AM
742019-03-21 Alan Modra <amodra@gmail.com>
75
76 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
77 create_object_symbols_section.
78 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
79
28a66f07
AM
802019-03-18 Alan Modra <amodra@gmail.com>
81
82 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
83 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
84 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
85 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
86
1c82ed74
NC
872019-03-15 Nick Clifton <nickc@redhat.com>
88
89 PR 24262
90 * ld.texi (-plugin): Correct the path used to locate linker
91 plugins.
92
1dbade74
SD
932019-03-13 Sudakshina Das <sudi.das@arm.com>
94
95 * NEWS: Document --pac-plt.
96 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
97 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
98 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
99 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
100 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
101 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
102 * testsuite/ld-aarch64/pac-plt-1.d: New test.
103 * testsuite/ld-aarch64/pac-plt-2.d: New test.
104 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
105
37c18eed
SD
1062019-03-13 Sudakshina Das <sudi.das@arm.com>
107 Szabolcs Nagy <szabolcs.nagy@arm.com>
108
109 * NEWS: Document --force-bti.
110 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
111 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
112 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
113 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
114 * testsuite/ld-aarch64/bti-plt-1.d: New test.
115 * testsuite/ld-aarch64/bti-plt-1.s: New test.
116 * testsuite/ld-aarch64/bti-plt-2.d: New test.
117 * testsuite/ld-aarch64/bti-plt-3.d: New test.
118 * testsuite/ld-aarch64/bti-plt-4.d: New test.
119 * testsuite/ld-aarch64/bti-plt-5.d: New test.
120 * testsuite/ld-aarch64/bti-plt-6.d: New test.
121 * testsuite/ld-aarch64/bti-plt-7.d: New test.
122 * testsuite/ld-aarch64/bti-plt-so.s: New test.
123 * testsuite/ld-aarch64/bti-plt.ld: New test.
124
cd702818
SD
1252019-03-13 Sudakshina Das <sudi.das@arm.com>
126
127 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
128 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
129 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
130 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
131 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
132 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
133 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
134 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
135
44b27f95
L
1362019-03-13 H.J. Lu <hongjiu.lu@intel.com>
137
138 PR ld/24322
139 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
140 * testsuite/ld-x86-64/x86-64.exp: Likewise.
141 * testsuite/ld-i386/pr24322a.d: New file.
142 * testsuite/ld-i386/pr24322b.d: Likewise.
143 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
144 * testsuite/ld-x86-64/pr24322a.d: Likewise.
145 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
146 * testsuite/ld-x86-64/pr24322b.d: Likewise.
147 * testsuite/ld-x86-64/pr24322a.s: Likewise.
148 * testsuite/ld-x86-64/pr24322b.s: Likewise.
149 * testsuite/ld-x86-64/pr24322c.s: Likewise.
150
912ebfa0
NB
1512019-03-06 Nick Bowler <nbowler@draconx.ca>
152
153 PR 24289
154 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
155 attributes during the first phase.
156
24801b15
AK
1572019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
158
159 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
160 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
161
162 PR 20113
163 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
164 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
165 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
166 * testsuite/ld-s390/tlsbin.dd: Likewise.
167 * testsuite/ld-s390/tlsbin.rd: Likewise.
168 * testsuite/ld-s390/tlsbin.sd: Likewise.
169 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
170 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
171 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
172 * testsuite/ld-s390/tlspic.dd: Likewise.
173 * testsuite/ld-s390/tlspic.rd: Likewise.
174 * testsuite/ld-s390/tlspic.sd: Likewise.
175 * testsuite/ld-s390/tlspic_64.dd: Likewise.
176 * testsuite/ld-s390/tlspic_64.rd: Likewise.
177 * testsuite/ld-s390/tlspic_64.sd: Likewise.
178 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
179
5cfe428c
L
1802019-02-27 H.J. Lu <hongjiu.lu@intel.com>
181
182 PR ld/24276
183 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
184 * testsuite/ld-x86-64/x86-64.exp: Likewise.
185 * testsuite/ld-i386/pr24276.dso: New file.
186 * testsuite/ld-i386/pr24276.warn: Likewise.
187 * testsuite/ld-x86-64/pr24276.dso: Likewise.
188 * testsuite/ld-x86-64/pr24276.warn: Likewise.
189
eed62915
MF
1902019-02-20 Eric Tsai <erictsai@cadence.com>
191
192 * testsuite/ld-xtensa/call_overflow.d: New test definition.
193 * testsuite/ld-xtensa/call_overflow1.s: New test source.
194 * testsuite/ld-xtensa/call_overflow2.s: New test source.
195 * testsuite/ld-xtensa/call_overflow3.s: New test source.
196 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
197
abc163a4
TS
1982019-02-14 Thomas Schwinge <thomas@codesourcery.com>
199
200 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
201
e4865945
NC
2022019-02-12 Nick Clifton <nickc@redhat.com>
203
204 * po/fr.po: Updated French translation.
205
a0e90a73
CZ
2062019-02-09 Vineet Gupta <vgupta@synopsys.com>
207
208 * emultempl/arclinux.em: Delete special INIT/FINI handling.
209
5d3db3e2
NC
2102019-02-07 Nick Clifton <nickc@redhat.com>
211
212 PR 24175
213 * ld.texi (Options): Add missing word to the description of the
214 --start-group option.
215
4249a53c
AM
2162019-02-06 Alan Modra <amodra@gmail.com>
217
218 PR ld/24008
219 * testsuite/ld-scripts/pr24008.d: Pass with extra target
220 defined symbols.
221
83924b38
L
2222019-02-05 H.J. Lu <hongjiu.lu@intel.com>
223
224 PR ld/24151
225 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
226 * testsuite/ld-x86-64/pr24151a.d: Likewise.
227 * testsuite/ld-x86-64/pr24151a.s: Likewise.
228 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
229
4f4690cd
AM
2302019-01-31 Alan Modra <amodra@gmail.com>
231
232 * NEWS: Mention -t change.
233 * ld.texi (--trace/-t): Expand documentation a little.
234
ad0f979c
L
2352019-01-29 H.J. Lu <hongjiu.lu@intel.com>
236
237 PR ld/24008
238 * testsuite/ld-scripts/defined.exp: Run pr24008.
239 * testsuite/ld-scripts/pr24008.d: New file.
240 * testsuite/ld-scripts/pr24008.map: Likewise.
241 * testsuite/ld-scripts/pr24008.s: Likewise.
242 * testsuite/ld-scripts/pr24008.t: Likewise.
243
c49829c3
EB
2442019-01-29 Eric Botcazou <ebotcazou@adacore.com>
245
246 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
247
6a846243
AM
2482019-01-28 Alan Modra <amodra@gmail.com>
249
250 PR 24008
251 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
252 * ldexp.c (fold_name): Move expld.assign_name check later to
253 avoid an extra lookup.
254 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
255 values, and don't clear expld.assign_name.
256 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
257 (print_assignment): Resolve entire assignment expression.
258 Don't access symbol u.def unless symbol is defined.
259
9ed1348c
NC
2602019-01-25 Nick Clifton <nickc@redhat.com>
261
262 * po/bg.po: Updated Bulgarian translation.
263
6406a270
SH
2642019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
265
266 * ld.texi (--wrap): Add warning that LTO may make this feature
267 ineffective.
268
375cd423
NC
2692019-01-21 Nick Clifton <nickc@redhat.com>
270
271 * po/uk.po: Updated Ukranian translation.
a6c9b404 272 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 273
acef8081
YC
2742019-01-21 Nick Clifton <nickc@redhat.com>
275
276 PR 24108
277 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
278 expected error message.
279
f48dfe41
NC
2802019-01-19 Nick Clifton <nickc@redhat.com>
281
282 * configure: Regenerate.
283 * po/ld.pot: Regenerate.
284
f974f26c
NC
2852018-06-24 Nick Clifton <nickc@redhat.com>
286
287 2.32 branch created.
288
7d7a7d7c
JW
2892019-01-16 Kito Cheng <kito@andestech.com>
290
291 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
292 section.
293 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
294 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
295 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
296 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
297 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
298 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
299 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
300 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
301 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
302 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
303 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
304 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
305 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
306 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
307 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
308 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
309 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
310 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
311 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
312 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
313 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
314 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
315 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
316 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
317 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
318 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
319 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
320 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
321 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
322 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
323 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
324 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
325 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
326 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
327 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
328 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
329 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
330
5a12586d
MT
3312019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
332
f466c305 333 PR 20113
5a12586d
MT
334 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
335 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
336 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
337 * testsuite/ld-s390/tlsbin.dd: Likewise.
338 * testsuite/ld-s390/tlsbin.rd: Likewise.
339 * testsuite/ld-s390/tlsbin.sd: Likewise.
340 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
341 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
342 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
343 * testsuite/ld-s390/tlspic.dd: Likewise.
344 * testsuite/ld-s390/tlspic.rd: Likewise.
345 * testsuite/ld-s390/tlspic.sd: Likewise.
346 * testsuite/ld-s390/tlspic_64.dd: Likewise.
347 * testsuite/ld-s390/tlspic_64.rd: Likewise.
348 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 349 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 350
4ea904ed
SH
3512019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
352
353 * ld.texi (--wrap): Add example to emphasise that only undefined
354 references are replaced by the linker.
355
8379fac6
NC
3562019-01-09 Nick Clifton <nickc@redhat.com>
357
358 * po/es.po: Updated Spanish translation.
359
3107326d
AP
3602019-01-09 Andrew Paprocki <andrew@ishiboo.com>
361
362 * configure: Regenerate.
363
171b8e19
AM
3642019-01-08 Alan Modra <amodra@gmail.com>
365
366 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
367 generated source file names.
368 * testsuite/ld-m68k/m68k-got.exp: Likewise.
369
82704155
AM
3702019-01-01 Alan Modra <amodra@gmail.com>
371
372 Update year range in copyright notice of all files.
373
d5c04e1b 374For older changes see ChangeLog-2018
3499769a 375\f
d5c04e1b 376Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
377
378Copying and distribution of this file, with or without modification,
379are permitted in any medium without royalty provided the copyright
380notice and this notice are preserved.
381
382Local Variables:
383mode: change-log
384left-margin: 8
385fill-column: 74
386version-control: never
387End:
This page took 0.3325 seconds and 4 git commands to generate.