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