Update the documentation describing where the linker will attempt to locate plugins.
[external/binutils.git] / ld / ChangeLog
1 2019-03-15  Nick Clifton  <nickc@redhat.com>
2
3         PR 24262
4         * ld.texi (-plugin): Correct the path used to locate linker
5         plugins.
6
7 2019-03-13  Sudakshina Das  <sudi.das@arm.com>
8
9         * NEWS: Document --pac-plt.
10         * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
11         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
12         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
13         * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
14         * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
15         * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
16         * testsuite/ld-aarch64/pac-plt-1.d: New test.
17         * testsuite/ld-aarch64/pac-plt-2.d: New test.
18         * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
19
20 2019-03-13  Sudakshina Das  <sudi.das@arm.com>
21             Szabolcs Nagy  <szabolcs.nagy@arm.com>
22
23         * NEWS: Document --force-bti.
24         * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
25         (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
26         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
27         * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
28         * testsuite/ld-aarch64/bti-plt-1.d: New test.
29         * testsuite/ld-aarch64/bti-plt-1.s: New test.
30         * testsuite/ld-aarch64/bti-plt-2.d: New test.
31         * testsuite/ld-aarch64/bti-plt-3.d: New test.
32         * testsuite/ld-aarch64/bti-plt-4.d: New test.
33         * testsuite/ld-aarch64/bti-plt-5.d: New test.
34         * testsuite/ld-aarch64/bti-plt-6.d: New test.
35         * testsuite/ld-aarch64/bti-plt-7.d: New test.
36         * testsuite/ld-aarch64/bti-plt-so.s: New test.
37         * testsuite/ld-aarch64/bti-plt.ld: New test.
38
39 2019-03-13  Sudakshina Das  <sudi.das@arm.com>
40
41         * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
42         GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
43         * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
44         * testsuite/ld-aarch64/property-bti-pac1.d: New test.
45         * testsuite/ld-aarch64/property-bti-pac1.s: New test.
46         * testsuite/ld-aarch64/property-bti-pac2.d: New test.
47         * testsuite/ld-aarch64/property-bti-pac2.s: New test.
48         * testsuite/ld-aarch64/property-bti-pac3.d: New test.
49
50 2019-03-13  H.J. Lu  <hongjiu.lu@intel.com>
51
52         PR ld/24322
53         * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
54         * testsuite/ld-x86-64/x86-64.exp: Likewise.
55         * testsuite/ld-i386/pr24322a.d: New file.
56         * testsuite/ld-i386/pr24322b.d: Likewise.
57         * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
58         * testsuite/ld-x86-64/pr24322a.d: Likewise.
59         * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
60         * testsuite/ld-x86-64/pr24322b.d: Likewise.
61         * testsuite/ld-x86-64/pr24322a.s: Likewise.
62         * testsuite/ld-x86-64/pr24322b.s: Likewise.
63         * testsuite/ld-x86-64/pr24322c.s: Likewise.
64
65 2019-03-06  Nick Bowler  <nbowler@draconx.ca>
66
67         PR 24289
68         * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
69         attributes during the first phase.
70
71 2019-03-01  Andreas Krebbel  <krebbel@linux.ibm.com>
72
73         This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
74         2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
75
76         PR 20113
77         * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
78         * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
79         * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
80         * testsuite/ld-s390/tlsbin.dd: Likewise.
81         * testsuite/ld-s390/tlsbin.rd: Likewise.
82         * testsuite/ld-s390/tlsbin.sd: Likewise.
83         * testsuite/ld-s390/tlsbin_64.dd: Likewise.
84         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
85         * testsuite/ld-s390/tlsbin_64.sd: Likewise.
86         * testsuite/ld-s390/tlspic.dd: Likewise.
87         * testsuite/ld-s390/tlspic.rd: Likewise.
88         * testsuite/ld-s390/tlspic.sd: Likewise.
89         * testsuite/ld-s390/tlspic_64.dd: Likewise.
90         * testsuite/ld-s390/tlspic_64.rd: Likewise.
91         * testsuite/ld-s390/tlspic_64.sd: Likewise.
92         * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
93
94 2019-02-27  H.J. Lu  <hongjiu.lu@intel.com>
95
96         PR ld/24276
97         * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
98         * testsuite/ld-x86-64/x86-64.exp: Likewise.
99         * testsuite/ld-i386/pr24276.dso: New file.
100         * testsuite/ld-i386/pr24276.warn: Likewise.
101         * testsuite/ld-x86-64/pr24276.dso: Likewise.
102         * testsuite/ld-x86-64/pr24276.warn: Likewise.
103
104 2019-02-20  Eric Tsai  <erictsai@cadence.com>
105
106         * testsuite/ld-xtensa/call_overflow.d: New test definition.
107         * testsuite/ld-xtensa/call_overflow1.s: New test source.
108         * testsuite/ld-xtensa/call_overflow2.s: New test source.
109         * testsuite/ld-xtensa/call_overflow3.s: New test source.
110         * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
111
112 2019-02-14  Thomas Schwinge  <thomas@codesourcery.com>
113
114         * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
115
116 2019-02-12  Nick Clifton  <nickc@redhat.com>
117
118         * po/fr.po: Updated French translation.
119
120 2019-02-09  Vineet Gupta  <vgupta@synopsys.com>
121
122         * emultempl/arclinux.em: Delete special INIT/FINI handling.
123
124 2019-02-07  Nick Clifton  <nickc@redhat.com>
125
126         PR 24175
127         * ld.texi (Options): Add missing word to the description of the
128         --start-group option.
129
130 2019-02-06  Alan Modra  <amodra@gmail.com>
131
132         PR ld/24008
133         * testsuite/ld-scripts/pr24008.d: Pass with extra target
134         defined symbols.
135
136 2019-02-05  H.J. Lu  <hongjiu.lu@intel.com>
137
138         PR ld/24151
139         * testsuite/ld-x86-64/pr24151a-x32.d: New file.
140         * testsuite/ld-x86-64/pr24151a.d: Likewise.
141         * testsuite/ld-x86-64/pr24151a.s: Likewise.
142         * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
143
144 2019-01-31  Alan Modra  <amodra@gmail.com>
145
146         * NEWS: Mention -t change.
147         * ld.texi (--trace/-t): Expand documentation a little.
148
149 2019-01-29  H.J. Lu  <hongjiu.lu@intel.com>
150
151         PR ld/24008
152         * testsuite/ld-scripts/defined.exp: Run pr24008.
153         * testsuite/ld-scripts/pr24008.d: New file.
154         * testsuite/ld-scripts/pr24008.map: Likewise.
155         * testsuite/ld-scripts/pr24008.s: Likewise.
156         * testsuite/ld-scripts/pr24008.t: Likewise.
157
158 2019-01-29  Eric Botcazou  <ebotcazou@adacore.com>
159
160         * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
161
162 2019-01-28  Alan Modra  <amodra@gmail.com>
163
164         PR 24008
165         * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
166         * ldexp.c (fold_name): Move expld.assign_name check later to
167         avoid an extra lookup.
168         (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
169         values, and don't clear expld.assign_name.
170         * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
171         (print_assignment): Resolve entire assignment expression.
172         Don't access symbol u.def unless symbol is defined.
173
174 2019-01-25  Nick Clifton  <nickc@redhat.com>
175
176         * po/bg.po: Updated Bulgarian translation.
177
178 2019-01-23  Sebastian Huber  <sebastian.huber@embedded-brains.de>
179
180         * ld.texi (--wrap): Add warning that LTO may make this feature
181         ineffective.
182
183 2019-01-21  Nick Clifton  <nickc@redhat.com>
184
185         * po/uk.po: Updated Ukranian translation.
186         * po/pr_BR.po: Updated Brazilian Portuguese translation.
187
188 2019-01-21  Nick Clifton  <nickc@redhat.com>
189
190         PR 24108
191         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
192         expected error message.
193
194 2019-01-19  Nick Clifton  <nickc@redhat.com>
195
196         * configure: Regenerate.
197         * po/ld.pot: Regenerate.
198
199 2018-06-24  Nick Clifton  <nickc@redhat.com>
200
201         2.32 branch created.
202
203 2019-01-16  Kito Cheng  <kito@andestech.com>
204
205         * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
206         section.
207         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
208         * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
209         * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
210         * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
211         * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
212         * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
213         * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
214         * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
215         * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
216         * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
217         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
218         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
219         * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
220         * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
221         * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
222         * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
223         * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
224         * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
225         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
226         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
227         * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
228         * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
229         * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
230         * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
231         * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
232         * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
233         * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
234         * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
235         * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
236         * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
237         * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
238         * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
239         * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
240         * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
241         * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
242         * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
243         * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
244
245 2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
246
247         PR 20113
248         * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
249         * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
250         * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
251         * testsuite/ld-s390/tlsbin.dd: Likewise.
252         * testsuite/ld-s390/tlsbin.rd: Likewise.
253         * testsuite/ld-s390/tlsbin.sd: Likewise.
254         * testsuite/ld-s390/tlsbin_64.dd: Likewise.
255         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
256         * testsuite/ld-s390/tlsbin_64.sd: Likewise.
257         * testsuite/ld-s390/tlspic.dd: Likewise.
258         * testsuite/ld-s390/tlspic.rd: Likewise.
259         * testsuite/ld-s390/tlspic.sd: Likewise.
260         * testsuite/ld-s390/tlspic_64.dd: Likewise.
261         * testsuite/ld-s390/tlspic_64.rd: Likewise.
262         * testsuite/ld-s390/tlspic_64.sd: Likewise.
263         * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
264
265 2019-01-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>
266
267         * ld.texi (--wrap): Add example to emphasise that only undefined
268         references are replaced by the linker.
269
270 2019-01-09  Nick Clifton  <nickc@redhat.com>
271
272         * po/es.po: Updated Spanish translation.
273
274 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
275
276         * configure: Regenerate.
277
278 2019-01-08  Alan Modra  <amodra@gmail.com>
279
280         * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
281         generated source file names.
282         * testsuite/ld-m68k/m68k-got.exp: Likewise.
283
284 2019-01-01  Alan Modra  <amodra@gmail.com>
285
286         Update year range in copyright notice of all files.
287
288 For older changes see ChangeLog-2018
289 \f
290 Copyright (C) 2019 Free Software Foundation, Inc.
291
292 Copying and distribution of this file, with or without modification,
293 are permitted in any medium without royalty provided the copyright
294 notice and this notice are preserved.
295
296 Local Variables:
297 mode: change-log
298 left-margin: 8
299 fill-column: 74
300 version-control: never
301 End: