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