Add SORT_NONE to .init and .fini in scripts
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
2d3181c7
AM
12019-03-21 Alan Modra <amodra@gmail.com>
2
3 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
4 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
5 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
6 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
7 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
8 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
9 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
10 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
11 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
12 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
13 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
14 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
15 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
16 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
17 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
18 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
19 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
20 SORT_NONE to .init and .fini wildcards.
21 * scripttempl/elf32xc16x.sc,
22 * scripttempl/elf32xc16xl.sc,
23 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
24 * scripttempl/elf_chaos.sc: Add .init output section.
25 * scripttempl/elfd30v.sc: Remove duplicate .init.
26 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
27 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
28 duplicate .init, and add .fini wildcard.
29 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
30 * ldlang.c (update_wild_statements): Special case .init and
31 .fini in the wildcard, not the output section.
32
980a2e42
AM
332019-03-21 Alan Modra <amodra@gmail.com>
34
35 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
36
3b6c1966
AM
372019-03-21 Alan Modra <amodra@gmail.com>
38
39 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
40 create_object_symbols_section.
41 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
42
28a66f07
AM
432019-03-18 Alan Modra <amodra@gmail.com>
44
45 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
46 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
47 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
48 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
49
1c82ed74
NC
502019-03-15 Nick Clifton <nickc@redhat.com>
51
52 PR 24262
53 * ld.texi (-plugin): Correct the path used to locate linker
54 plugins.
55
1dbade74
SD
562019-03-13 Sudakshina Das <sudi.das@arm.com>
57
58 * NEWS: Document --pac-plt.
59 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
60 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
61 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
62 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
63 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
64 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
65 * testsuite/ld-aarch64/pac-plt-1.d: New test.
66 * testsuite/ld-aarch64/pac-plt-2.d: New test.
67 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
68
37c18eed
SD
692019-03-13 Sudakshina Das <sudi.das@arm.com>
70 Szabolcs Nagy <szabolcs.nagy@arm.com>
71
72 * NEWS: Document --force-bti.
73 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
74 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
75 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
76 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
77 * testsuite/ld-aarch64/bti-plt-1.d: New test.
78 * testsuite/ld-aarch64/bti-plt-1.s: New test.
79 * testsuite/ld-aarch64/bti-plt-2.d: New test.
80 * testsuite/ld-aarch64/bti-plt-3.d: New test.
81 * testsuite/ld-aarch64/bti-plt-4.d: New test.
82 * testsuite/ld-aarch64/bti-plt-5.d: New test.
83 * testsuite/ld-aarch64/bti-plt-6.d: New test.
84 * testsuite/ld-aarch64/bti-plt-7.d: New test.
85 * testsuite/ld-aarch64/bti-plt-so.s: New test.
86 * testsuite/ld-aarch64/bti-plt.ld: New test.
87
cd702818
SD
882019-03-13 Sudakshina Das <sudi.das@arm.com>
89
90 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
91 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
92 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
93 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
94 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
95 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
96 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
97 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
98
44b27f95
L
992019-03-13 H.J. Lu <hongjiu.lu@intel.com>
100
101 PR ld/24322
102 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
103 * testsuite/ld-x86-64/x86-64.exp: Likewise.
104 * testsuite/ld-i386/pr24322a.d: New file.
105 * testsuite/ld-i386/pr24322b.d: Likewise.
106 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
107 * testsuite/ld-x86-64/pr24322a.d: Likewise.
108 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
109 * testsuite/ld-x86-64/pr24322b.d: Likewise.
110 * testsuite/ld-x86-64/pr24322a.s: Likewise.
111 * testsuite/ld-x86-64/pr24322b.s: Likewise.
112 * testsuite/ld-x86-64/pr24322c.s: Likewise.
113
912ebfa0
NB
1142019-03-06 Nick Bowler <nbowler@draconx.ca>
115
116 PR 24289
117 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
118 attributes during the first phase.
119
24801b15
AK
1202019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
121
122 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
123 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
124
125 PR 20113
126 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
127 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
128 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
129 * testsuite/ld-s390/tlsbin.dd: Likewise.
130 * testsuite/ld-s390/tlsbin.rd: Likewise.
131 * testsuite/ld-s390/tlsbin.sd: Likewise.
132 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
133 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
134 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
135 * testsuite/ld-s390/tlspic.dd: Likewise.
136 * testsuite/ld-s390/tlspic.rd: Likewise.
137 * testsuite/ld-s390/tlspic.sd: Likewise.
138 * testsuite/ld-s390/tlspic_64.dd: Likewise.
139 * testsuite/ld-s390/tlspic_64.rd: Likewise.
140 * testsuite/ld-s390/tlspic_64.sd: Likewise.
141 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
142
5cfe428c
L
1432019-02-27 H.J. Lu <hongjiu.lu@intel.com>
144
145 PR ld/24276
146 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
147 * testsuite/ld-x86-64/x86-64.exp: Likewise.
148 * testsuite/ld-i386/pr24276.dso: New file.
149 * testsuite/ld-i386/pr24276.warn: Likewise.
150 * testsuite/ld-x86-64/pr24276.dso: Likewise.
151 * testsuite/ld-x86-64/pr24276.warn: Likewise.
152
eed62915
MF
1532019-02-20 Eric Tsai <erictsai@cadence.com>
154
155 * testsuite/ld-xtensa/call_overflow.d: New test definition.
156 * testsuite/ld-xtensa/call_overflow1.s: New test source.
157 * testsuite/ld-xtensa/call_overflow2.s: New test source.
158 * testsuite/ld-xtensa/call_overflow3.s: New test source.
159 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
160
abc163a4
TS
1612019-02-14 Thomas Schwinge <thomas@codesourcery.com>
162
163 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
164
e4865945
NC
1652019-02-12 Nick Clifton <nickc@redhat.com>
166
167 * po/fr.po: Updated French translation.
168
a0e90a73
CZ
1692019-02-09 Vineet Gupta <vgupta@synopsys.com>
170
171 * emultempl/arclinux.em: Delete special INIT/FINI handling.
172
5d3db3e2
NC
1732019-02-07 Nick Clifton <nickc@redhat.com>
174
175 PR 24175
176 * ld.texi (Options): Add missing word to the description of the
177 --start-group option.
178
4249a53c
AM
1792019-02-06 Alan Modra <amodra@gmail.com>
180
181 PR ld/24008
182 * testsuite/ld-scripts/pr24008.d: Pass with extra target
183 defined symbols.
184
83924b38
L
1852019-02-05 H.J. Lu <hongjiu.lu@intel.com>
186
187 PR ld/24151
188 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
189 * testsuite/ld-x86-64/pr24151a.d: Likewise.
190 * testsuite/ld-x86-64/pr24151a.s: Likewise.
191 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
192
4f4690cd
AM
1932019-01-31 Alan Modra <amodra@gmail.com>
194
195 * NEWS: Mention -t change.
196 * ld.texi (--trace/-t): Expand documentation a little.
197
ad0f979c
L
1982019-01-29 H.J. Lu <hongjiu.lu@intel.com>
199
200 PR ld/24008
201 * testsuite/ld-scripts/defined.exp: Run pr24008.
202 * testsuite/ld-scripts/pr24008.d: New file.
203 * testsuite/ld-scripts/pr24008.map: Likewise.
204 * testsuite/ld-scripts/pr24008.s: Likewise.
205 * testsuite/ld-scripts/pr24008.t: Likewise.
206
c49829c3
EB
2072019-01-29 Eric Botcazou <ebotcazou@adacore.com>
208
209 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
210
6a846243
AM
2112019-01-28 Alan Modra <amodra@gmail.com>
212
213 PR 24008
214 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
215 * ldexp.c (fold_name): Move expld.assign_name check later to
216 avoid an extra lookup.
217 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
218 values, and don't clear expld.assign_name.
219 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
220 (print_assignment): Resolve entire assignment expression.
221 Don't access symbol u.def unless symbol is defined.
222
9ed1348c
NC
2232019-01-25 Nick Clifton <nickc@redhat.com>
224
225 * po/bg.po: Updated Bulgarian translation.
226
6406a270
SH
2272019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
228
229 * ld.texi (--wrap): Add warning that LTO may make this feature
230 ineffective.
231
375cd423
NC
2322019-01-21 Nick Clifton <nickc@redhat.com>
233
234 * po/uk.po: Updated Ukranian translation.
a6c9b404 235 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 236
acef8081
YC
2372019-01-21 Nick Clifton <nickc@redhat.com>
238
239 PR 24108
240 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
241 expected error message.
242
f48dfe41
NC
2432019-01-19 Nick Clifton <nickc@redhat.com>
244
245 * configure: Regenerate.
246 * po/ld.pot: Regenerate.
247
f974f26c
NC
2482018-06-24 Nick Clifton <nickc@redhat.com>
249
250 2.32 branch created.
251
7d7a7d7c
JW
2522019-01-16 Kito Cheng <kito@andestech.com>
253
254 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
255 section.
256 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
257 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
258 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
259 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
260 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
261 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
262 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
263 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
264 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
265 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
266 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
267 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
268 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
269 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
270 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
271 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
272 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
273 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
274 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
275 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
276 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
277 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
278 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
279 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
280 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
281 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
282 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
283 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
284 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
285 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
286 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
287 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
288 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
289 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
290 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
291 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
292 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
293
5a12586d
MT
2942019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
295
f466c305 296 PR 20113
5a12586d
MT
297 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
298 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
299 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
300 * testsuite/ld-s390/tlsbin.dd: Likewise.
301 * testsuite/ld-s390/tlsbin.rd: Likewise.
302 * testsuite/ld-s390/tlsbin.sd: Likewise.
303 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
304 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
305 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
306 * testsuite/ld-s390/tlspic.dd: Likewise.
307 * testsuite/ld-s390/tlspic.rd: Likewise.
308 * testsuite/ld-s390/tlspic.sd: Likewise.
309 * testsuite/ld-s390/tlspic_64.dd: Likewise.
310 * testsuite/ld-s390/tlspic_64.rd: Likewise.
311 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 312 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 313
4ea904ed
SH
3142019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
315
316 * ld.texi (--wrap): Add example to emphasise that only undefined
317 references are replaced by the linker.
318
8379fac6
NC
3192019-01-09 Nick Clifton <nickc@redhat.com>
320
321 * po/es.po: Updated Spanish translation.
322
3107326d
AP
3232019-01-09 Andrew Paprocki <andrew@ishiboo.com>
324
325 * configure: Regenerate.
326
171b8e19
AM
3272019-01-08 Alan Modra <amodra@gmail.com>
328
329 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
330 generated source file names.
331 * testsuite/ld-m68k/m68k-got.exp: Likewise.
332
82704155
AM
3332019-01-01 Alan Modra <amodra@gmail.com>
334
335 Update year range in copyright notice of all files.
336
d5c04e1b 337For older changes see ChangeLog-2018
3499769a 338\f
d5c04e1b 339Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
340
341Copying and distribution of this file, with or without modification,
342are permitted in any medium without royalty provided the copyright
343notice and this notice are preserved.
344
345Local Variables:
346mode: change-log
347left-margin: 8
348fill-column: 74
349version-control: never
350End:
This page took 0.23625 seconds and 4 git commands to generate.