doc: fix PAC typo
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
dbe15e4e
NC
12019-08-08 Nick Clifton <nickc@redhat.com>
2
3 PR 24887
4 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
5 from readelf.
6 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
7 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
8 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
9 * testsuite/ld-aarch64/bti-warn.d: Likewise.
10 * testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
11 * testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
12 * testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
13 * testsuite/ld-elf/x86-feature-1a.rd: Likewise.
14 * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
15 * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
16 * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
17 * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
18 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
19 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
20 * testsuite/ld-i386/pr23372a.d: Likewise.
21 * testsuite/ld-i386/pr23372c.d: Likewise.
22 * testsuite/ld-i386/pr23486a.d: Likewise.
23 * testsuite/ld-i386/pr23486b.d: Likewise.
24 * testsuite/ld-i386/pr23486c.d: Likewise.
25 * testsuite/ld-i386/pr23486d.d: Likewise.
26 * testsuite/ld-i386/pr24322a.d: Likewise.
27 * testsuite/ld-i386/pr24322b.d: Likewise.
28 * testsuite/ld-i386/property-x86-3.d: Likewise.
29 * testsuite/ld-i386/property-x86-4a.d: Likewise.
30 * testsuite/ld-i386/property-x86-5.d: Likewise.
31 * testsuite/ld-i386/property-x86-cet1.d: Likewise.
32 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
33 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
34 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
35 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
36 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
37 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
38 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
39 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
40 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
41 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
42 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
43 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
44 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
45 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
46 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
47 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
48 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
49 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
50 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
51 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
52 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
53 * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
54 * testsuite/ld-x86-64/pr23372a.d: Likewise.
55 * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
56 * testsuite/ld-x86-64/pr23372c.d: Likewise.
57 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
58 * testsuite/ld-x86-64/pr23486a.d: Likewise.
59 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
60 * testsuite/ld-x86-64/pr23486b.d: Likewise.
61 * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
62 * testsuite/ld-x86-64/pr23486c.d: Likewise.
63 * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
64 * testsuite/ld-x86-64/pr23486d.d: Likewise.
65 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
66 * testsuite/ld-x86-64/pr24322a.d: Likewise.
67 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
68 * testsuite/ld-x86-64/pr24322b.d: Likewise.
69 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
70 * testsuite/ld-x86-64/pr24458a.d: Likewise.
71 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
72 * testsuite/ld-x86-64/pr24458b.d: Likewise.
73 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
74 * testsuite/ld-x86-64/pr24458c.d: Likewise.
75 * testsuite/ld-x86-64/property-1.r: Likewise.
76 * testsuite/ld-x86-64/property-1a.r: Likewise.
77 * testsuite/ld-x86-64/property-2.r: Likewise.
78 * testsuite/ld-x86-64/property-2a.r: Likewise.
79 * testsuite/ld-x86-64/property-3.r: Likewise.
80 * testsuite/ld-x86-64/property-3a.r: Likewise.
81 * testsuite/ld-x86-64/property-4.r: Likewise.
82 * testsuite/ld-x86-64/property-4a.r: Likewise.
83 * testsuite/ld-x86-64/property-5.r: Likewise.
84 * testsuite/ld-x86-64/property-5a.r: Likewise.
85 * testsuite/ld-x86-64/property-6.r: Likewise.
86 * testsuite/ld-x86-64/property-7.r: Likewise.
87 * testsuite/ld-x86-64/property-7a.r: Likewise.
88 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
89 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
90 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
91 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
92 * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
93 * testsuite/ld-x86-64/property-x86-5.d: Likewise.
94 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
95 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
96 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
97 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
98 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
99 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
100 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
101 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
102 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
103 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
104 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
105 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
106 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
107 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
108 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
109 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
110 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
111 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
112 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
113 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
114 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
115 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
116 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
117 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
118 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
119 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
120 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
121 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
122 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
123 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
124 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
125 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
126 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
127 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
128 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
129 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
130
fca8e23c
JM
1312019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
132
133 * scripttempl/elf64bpf.sc: Adapted from elf.sc.
134 * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf.
135 (EMBEDDED): Define.
136 * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an
137 undefined entry symbol.
138 * testsuite/ld-bpf/jump-1.d: Likewise.
139 * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to
140 ld in BPF targets, and do not expect line number information.
141 * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests
142 in BPF targets.
143
128bf1fe
AM
1442019-08-06 Alan Modra <amodra@gmail.com>
145
146 PR 24873
147 * ldlang.c (find_replacements_insert_point): Return "before" flag.
148 (find_next_input_statement): New function.
149 (lang_process): When placing recompiled LTO objects before a
150 claimed archive, place them immediately before in the statement
151 list.
152
b02c4f16
AM
1532019-08-06 Alan Modra <amodra@gmail.com>
154
155 PR 24873
156 * ldlang.c (plugin_undefs): New static var.
157 (open_input_bfds <lang_group_statement_enum>): Loop on
158 plugin_undefs and hitting plugin_insert point.
159 (lang_process <lto_plugin_active>): Set plugin_undefs.
160
1b611b2d
AM
1612019-08-02 Alan Modra <amodra@gmail.com>
162
163 * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
164
776ab89f
AM
1652019-08-01 Alan Modra <amodra@gmail.com>
166
167 PR 24806
168 * ldlang.c (process_insert_statements): Add start of list
169 parameter. Use rather than lang_os_list.head. Process insert
170 statements inside group statements with a recursive call.
171 (lang_process): Adjust process_insert_statements call.
172 * lexsup.c (parse_args): Warn when adding missing --end-group.
173
5c1e6d53
AM
1742019-08-01 Alan Modra <amodra@gmail.com>
175
176 * ldlang.h (lang_os_list): Rename from lang_output_section_statement.
177 * ldlang.c: Likewise throughout file.
178 * emultempl/alphaelf.em: Likewise.
179 * emultempl/elf32.em: Likewise.
180 * emultempl/mmo.em: Likewise.
181 * emultempl/pe.em: Likewise.
182 * emultempl/pep.em: Likewise.
183 * emultempl/ppc32elf.em: Likewise.
184 * emultempl/spuelf.em: Likewise.
185
6e99a238
AM
1862019-07-26 Alan Modra <amodra@gmail.com>
187
188 * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors.
189 * testsuite/ld-plugin/lto-5r.d: Likewise.
190
8f79c107
L
1912019-07-24 H.J. Lu <hongjiu.lu@intel.com>
192
193 * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead
194 of __gnu_lto_v.*.
195 * testsuite/ld-plugin/lto-5r.d: Likewise.
196 * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
197
ef551643
CZ
1982019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
199
200 * ld-arc/relax-local-pic.d: New test.
201 * ld-arc/relax-local-pic.s: New file.
202
19889a58
L
2032019-07-22 Martin Liska <mliska@suse.cz>
204
205 * testsuite/ld-plugin/lto-3r.d: Remove.
206 * testsuite/ld-plugin/lto-5r.d: Remove.
207 * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
208 tests.
209
df3a023b
AM
2102019-07-23 Alan Modra <amodra@gmail.com>
211
212 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
213 SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
214
ec49711a
AM
2152019-07-23 Alan Modra <amodra@gmail.com>
216
217 * testsuite/ld-elf/size-1.d,
218 * testsuite/ld-elf/size-1.s,
219 * testsuite/ld-elf/size-1.t: New test.
220 * testsuite/ld-elf/size-2.d,
221 * testsuite/ld-elf/size-2.s,
222 * testsuite/ld-elf/size-2.t: New test.
223 * testsuite/ld-scripts/size-1.d,
224 * testsuite/ld-scripts/size-1.s,
225 * testsuite/ld-scripts/size-1.t,
226 * testsuite/ld-scripts/size-2.s,
227 * testsuite/ld-scripts/size-2.d,
228 * testsuite/ld-scripts/size-2.t,
229 * testsuite/ld-scripts/size.exp: Delete.
230
0c628bba
SP
2312019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
232
233 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
234 allow for output from a arm-none-linux-gnueabihf target.
235
9ab3a744
AM
2362019-07-20 Alan Modra <amodra@gmail.com>
237
238 PR 24827
239 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
240
c213164a
AM
2412019-07-19 Alan Modra <amodra@gmail.com>
242
243 * testsuite/ld-powerpc/tlsgd.d,
244 * testsuite/ld-powerpc/tlsgd.s,
245 * testsuite/ld-powerpc/tlsie.d,
246 * testsuite/ld-powerpc/tlsie.s,
247 * testsuite/ld-powerpc/tlsld.d,
248 * testsuite/ld-powerpc/tlsld.s: New tests.
249 * testsuite/ld-powerpc/powerpc.exp: Run them.
250
7a708984
AM
2512019-07-19 Alan Modra <amodra@gmail.com>
252
253 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
254 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
255 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
256 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
257 * testsuite/ld-powerpc/powerpc.exp: Update.
258
88468fe0
AM
2592019-07-19 Alan Modra <amodra@gmail.com>
260
261 PR 24819
262 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
263
54d7dae5
L
2642019-07-18 H.J. Lu <hongjiu.lu@intel.com>
265
266 PR ld/24819
267 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
268 member of output section group when doing a relocatable link.
269 * testsuite/ld-elf/pr24819.d: New file.
270 * testsuite/ld-elf/pr24819.s: Likewise.
271
f26a3287
AM
2722019-07-13 Alan Modra <amodra@gmail.com>
273
274 * testsuite/ld-powerpc/tlsso.r: Update.
275 * testsuite/ld-powerpc/tlsso32.g: Update.
276 * testsuite/ld-powerpc/tlsso32.r: Update.
277 * testsuite/ld-powerpc/tlstocso.r: Update.
278 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
279 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
280 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
281 * testsuite/ld-cris/tls-gd-1.d: Update.
282 * testsuite/ld-cris/tls-gd-1h.d: Update.
283 * testsuite/ld-cris/tls-gd-2.d: Update.
284 * testsuite/ld-cris/tls-gd-2h.d: Update.
285 * testsuite/ld-cris/tls-ie-10.d: Update.
286 * testsuite/ld-cris/tls-ie-11.d: Update.
287 * testsuite/ld-cris/tls-ie-8.d: Update.
288 * testsuite/ld-cris/tls-ie-9.d: Update.
289 * testsuite/ld-cris/tls-js1.d: Update.
290 * testsuite/ld-cris/tls-ld-4.d: Update.
291 * testsuite/ld-cris/tls-ld-5.d: Update.
292 * testsuite/ld-cris/tls-ld-6.d: Update.
293 * testsuite/ld-cris/tls-ld-7.d: Update.
294 * testsuite/ld-cris/tls-ldgd-14.d: Update.
295 * testsuite/ld-cris/tls-ldgd-15.d: Update.
296 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
297 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
298 * testsuite/ld-cris/tls-local-54.d: Update.
299 * testsuite/ld-cris/tls-local-60.d: Update.
300 * testsuite/ld-cris/tls-local-61.d: Update.
301 * testsuite/ld-cris/tls-local-63.d: Update.
302 * testsuite/ld-cris/tls-local-64.d: Update.
303 * testsuite/ld-cris/tls-ok-30.d: Update.
304 * testsuite/ld-cris/tls-ok-32.d: Update.
305 * testsuite/ld-cris/tls-ok-34.d: Update.
306 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
307 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
308 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
309 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
310 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
311 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
312 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
313 * testsuite/ld-s390/tlspic.rd: Update.
314 * testsuite/ld-s390/tlspic_64.rd: Update.
315 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
316 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
317 * testsuite/ld-sparc/tlssunpic32.rd: Update.
318 * testsuite/ld-sparc/tlssunpic64.rd: Update.
319
7b243801
AM
3202019-07-13 Alan Modra <amodra@gmail.com>
321
322 PR 24786
323 * ldlang.h (enum section_type): Add first_overlay_section.
324 * ldlang.c (lang_add_section): Adjust switch statement.
325 (map_input_to_output_sections): Likewise.
326 (lang_size_sections_1): Always set last_os for first overlay section.
327 (lang_leave_overlay): Set sectype to first_overlay_section.
328
3836e1d1
AM
3292019-07-08 Alan Modra <amodra@gmail.com>
330
331 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
332 * testsuite/ld-powerpc/callstub-2.d: Likewise.
333
f2d4ba38
JB
3342019-07-04 Jan Beulich <jbeulich@suse.com>
335
336 * testsuite/ld-elf/group9.s: Correct argument of .type.
337
125f83f6
NC
3382019-07-02 Nick Clifton <nickc@redhat.com>
339
340 PR 24753
341 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
342 LINKER_CREATED section flag when creating the stub section.
343
bb32413f
SP
3442019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
345
346 * testsuite/ld-arm/arm-elf.exp: Add tests.
347 * testsuite/ld-arm/cmse_main.s: New test.
348 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
349 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
350
539300fb
NC
3512019-07-01 Nick Clifton <nickc@redhat.com>
352
353 PR 23839
354 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
355 exidx relocs.
356
60d53d7f
AM
3572019-06-28 Alan Modra <amodra@gmail.com>
358
359 * testsuite/ld-powerpc/callstub-1.d,
360 * testsuite/ld-powerpc/callstub-1.s: New test.
361 * testsuite/ld-powerpc/callstub-2.d,
362 * testsuite/ld-powerpc/callstub-2.s: New test.
363 * testsuite/ld-powerpc/powerpc.exp: Run them.
364
8e5cb9a5
JB
3652019-06-25 Jan Beulich <jbeulich@suse.com>
366
367 * plugin.c (get_lto_kind, get_lto_resolution,
368 get_lto_visibility): Rename "index" to "idx".
369
f93ab3a0
L
3702019-06-24 H.J. Lu <hongjiu.lu@intel.com>
371
372 PR ld/24721
373 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
374 * testsuite/ld-x86-64/pr24721-x32.d: New file.
375 * testsuite/ld-x86-64/pr24721.d: Likewise.
376 * testsuite/ld-x86-64/pr24721.map: Likewise.
377 * testsuite/ld-x86-64/pr24721a.s: Likewise.
378 * testsuite/ld-x86-64/pr24721b.s: Likewise.
379
bb22a418
AM
3802019-06-23 Alan Modra <amodra@gmail.com>
381
382 PR 24704
383 * testsuite/ld-powerpc/elfv2exe.d: Update.
384 * testsuite/ld-powerpc/elfv2so.d: Update.
385
e30d1fa1
SN
3862019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
387
388 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
389 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
390 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
391 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
392 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
393
3a3a077c
AM
3942019-06-14 Alan Modra <amodra@gmail.com>
395
396 * Makefile.in: Regenerate.
397 * configure: Regenerate.
398
e3fa7860
AM
3992019-06-14 Alan Modra <amodra@gmail.com>
400
401 PR 24662
402 * testsuite/ld-alpha/tlsbin.rd: Update.
403 * testsuite/ld-alpha/tlsbinr.rd: Update.
404 * testsuite/ld-alpha/tlspic.rd: Update.
405
c1b00498
MR
4062019-06-07 Maciej W. Rozycki <macro@wdc.com>
407
408 * ld.texi (Options): Also document `-rpath' option restrictions
409 in the description of the option itself.
410
237df8fe
SD
4112019-06-06 Sudakshina Das <sudi.das@arm.com>
412
413 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
414 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
415 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
416 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
417
8bf6d176
SD
4182019-06-06 Sudakshina Das <sudi.das@arm.com>
419
420 * NEWS: Update options names.
421 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
422 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
423 (PARSE_AND_LIST_OPTIONS): Update to -z.
424 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
425 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
426 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
427 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
428 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
429 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
430 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
431 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
432 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
433 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
434 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
435 * testsuite/ld-aarch64/bti-warn.d: Likewise.
436 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
437 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
438
ae9ac79e
NC
4392019-05-30 Nick Clifton <nickc@redhat.com>
440
441 PR 24627
442 * testsuite/ld-elf/ver_def.vd: Update expected output.
443
6ff185b8
AM
4442019-05-30 Alan Modra <amodra@gmail.com>
445
446 PR 24596
447 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
448 (EXTRA_EM_FILE): Define to genelf.
449 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
450
1336939d
AM
4512019-05-30 Alan Modra <amodra@gmail.com>
452
453 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
454 calls in optional "xfail" args.
455 (run_ld_link_exec_tests): Likewise.
456 (is_generic): New.
457 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
458 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
459 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
460 xfail_implib var.
461 * testsuite/ld-elf/sec64k.exp: Use is_generic.
462 * testsuite/ld-elf/shared.exp: Likewise.
463 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
464 * testsuite/ld-discard/start.d: Likewise.
465 * testsuite/ld-discard/static.d: Likewise.
466 * testsuite/ld-elf/attributes.d: Likewise.
467 * testsuite/ld-elf/group1.d: Likewise.
468 * testsuite/ld-elf/group3b.d: Likewise.
469 * testsuite/ld-elf/group8a.d: Likewise.
470 * testsuite/ld-elf/group8b.d: Likewise.
471 * testsuite/ld-elf/group9a.d: Likewise.
472 * testsuite/ld-elf/group9b.d: Likewise.
473 * testsuite/ld-elf/linkonce2.d: Likewise.
474 * testsuite/ld-elf/merge2.d: Likewise.
475 * testsuite/ld-elf/merge3.d: Likewise.
476 * testsuite/ld-elf/pr12851.d: Likewise.
477 * testsuite/ld-elf/pr12975.d: Likewise.
478 * testsuite/ld-elf/pr13177.d: Likewise.
479 * testsuite/ld-elf/pr13195.d: Likewise.
480 * testsuite/ld-elf/pr17550c.d: Likewise.
481 * testsuite/ld-elf/pr17550d.d: Likewise.
482 * testsuite/ld-elf/pr17615.d: Likewise.
483 * testsuite/ld-elf/pr21562a.d: Likewise.
484 * testsuite/ld-elf/pr21562b.d: Likewise.
485 * testsuite/ld-elf/pr21562c.d: Likewise.
486 * testsuite/ld-elf/pr21562d.d: Likewise.
487 * testsuite/ld-elf/pr21562i.d: Likewise.
488 * testsuite/ld-elf/pr21562j.d: Likewise.
489 * testsuite/ld-elf/pr21562k.d: Likewise.
490 * testsuite/ld-elf/pr21562l.d: Likewise.
491 * testsuite/ld-elf/pr21562m.d: Likewise.
492 * testsuite/ld-elf/pr21562n.d: Likewise.
493 * testsuite/ld-elf/pr22677.d: Likewise.
494 * testsuite/ld-elf/pr22836-1a.d: Likewise.
495 * testsuite/ld-elf/pr22836-1b.d: Likewise.
496 * testsuite/ld-elf/warn3.d: Likewise.
497 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
498 targets rather than notarget.
499 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
500 * testsuite/ld-elf/orphan-10.d: Likewise.
501 * testsuite/ld-elf/orphan-9.d: Likewise.
502 * testsuite/ld-elf/orphan-region.d: Likewise.
503 * testsuite/ld-elf/orphan.d: Likewise.
504 * testsuite/ld-elf/orphan3.d: Likewise.
505 * testsuite/ld-elf/pr20528a.d: Likewise.
506 * testsuite/ld-elf/pr20528b.d: Likewise.
507 * testsuite/ld-elf/pr23658-1a.d: Likewise.
508 * testsuite/ld-elf/pr23658-1b.d: Likewise.
509 * testsuite/ld-elf/pr349.d: Likewise.
510 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
511 targets rather than notarget.
512 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
513
1e129bbe
FS
5142019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
515
516 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
517 for pcrel_hi/pcrel_lo.
518 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
519 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
520 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
521 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
522 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
523
eabf307f
AM
5242019-05-28 Alan Modra <amodra@gmail.com>
525
526 PR 24596
527 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
528 the output is coff before accessing coff tdata.
529 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
530
65f381e7
SN
5312019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
532
533 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
534 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
535
3d7d6a6f
AM
5362019-05-27 Alan Modra <amodra@gmail.com>
537
538 PR 24596
539 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
540 BFS_KEEP on group signature symbol.
541
823710d5
SN
5422019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
543
544 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
545 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
546 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
547 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
548 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
549 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
550 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
551
405b5bd8
AM
5522019-05-24 Alan Modra <amodra@gmail.com>
553
554 * po/BLD-POTFILES.in: Regenerate.
555
04bdff6a
AM
5562019-05-24 Alan Modra <amodra@gmail.com>
557
558 * testsuite/ld-powerpc/notoc2.d,
559 * testsuite/ld-powerpc/notoc2.s: New test.
560 * testsuite/ld-powerpc/powerpc.exp: Run it.
561
4a421c53
AM
5622019-05-24 Alan Modra <amodra@gmail.com>
563
564 * testsuite/ld-powerpc/pcrelopt.s,
565 * testsuite/ld-powerpc/pcrelopt.d,
566 * testsuite/ld-powerpc/pcrelopt.sec: New test.
567 * testsuite/ld-powerpc/powerpc.exp: Run it.
568
8376927b
JM
5692019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
570
571 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
572 * Makefile.in (prefix): Regenerate.
573 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
574 * emulparams/elf64bpf.sh: New file.
575 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
576 bpf-*-* to the list of targets not supporting gc-sections.
577 * testsuite/ld-bpf/bar.s: New file.
578 * testsuite/ld-bpf/jump-1.d: Likewise.
579 * testsuite/ld-bpf/foo.s: Likewise.
580 * testsuite/ld-bpf/call-1.d: Likewise.
581 * testsuite/ld-bpf/bpf.exp: Likewise.
582 * testsuite/ld-bpf/baz.s: Likewise.
583
82d7a6f4
AM
5842019-05-23 Alan Modra <amodra@gmail.com>
585
586 PR 24576
587 * ldfile.c (enum script_open_style): New.
588 (struct script_name_list): New.
589 (ldfile_open_command_file_1): Take a script_open_style param
590 rather than booleans. Adjust callers. Only fail when -T or
591 default -T script is invoked twice.
592 (ldfile_try_open_bfd): Revert last change.
593
6ec6968b
NC
5942019-05-22 Julius Werner <jwerner@chromium.org>
595 Nick Clifton <nickc@redhat.com>
596
597 PR 24576
598 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
599 is_script. If true check that the file has not already been
600 parsed as a linker script.
601 (ldfile_open_script_file): New function.
602 (ldfile_try_open_bfd): Use the new function in place of
603 ldfile_open_command_line.
604 * ldmain.c (main): Likewise.
605 * lexsup.c (parse_args): Use the new function for opening linker
606 scripts with the -T option.
607 * ldfile.h (ldfile_open_script_file): Add prototype.
608
b474a202
FS
6092019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
610
611 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
612 %tprel_hi and %tprel_lo relocations.
613 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
614 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
615 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
616 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
617 script file.
618
304f09d0
FS
6192019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
620
621 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
622 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
623 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
624 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
625 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
626 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
627 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
628
3734320d
MF
6292019-05-21 Matthew Fortune <matthew.fortune@mips.com>
630 Faraz Shahbazker <fshahbazker@wavecomp.com>
631
632 * emultempl/mipself.em (compact_branches): New static variable.
633 (mips_create_output_section_statements): Call
634 _bfd_mips_elf_compact_branches.
635 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
636 OPTION_NO_COMPACT_BRANCHES.
637 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
638 no-compact-branches.
639 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
640 --no-compact-branches.
641 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
642 * ld.texinfo: Document --compact-branches, --no-compact-branches.
643 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
644 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
645 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
646 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
647 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
648 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
649 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
650
e6f65e75
AV
6512019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
652
653 * testsuite/ld-arm/arm-elf.exp: Add tests
654 * testsuite/ld-arm/bfs-0.s: New test.
655 * testsuite/ld-arm/bfs-1.s: New test.
656 * testsuite/ld-arm/branch-futures.d: New test.
657
739b5c9c
TC
6582019-05-21 Tamar Christina <tamar.christina@arm.com>
659
660 PR ld/24373
661 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
662 to flags.
663 * NEWS: Add changes to flag.
664 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
665 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
666 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
667 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
668 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
669 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
670 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
671 * testsuite/ld-aarch64/erratum843419-far.s: New test.
672 * testsuite/ld-aarch64/erratum843419-full.d: New test.
673 * testsuite/ld-aarch64/erratum843419-near.s: New test.
674 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
675
7622049e
SKS
6762019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
677
678 PR ld/24571
679 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
680 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
681
338ba755
SKS
6822019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
683
684 PR ld/24564
685 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
686 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
687
d8734380
FS
6882019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
689
690 PR 14798
691 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
692 global code symbols.
693 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
694
af4fa23f
AM
6952019-05-17 Alan Modra <amodra@gmail.com>
696
697 PR 24567
698 * plugin.c (plugin_notice): Do not let a common symbol override
699 a non-common definition in IR.
700
dd318999
DD
7012019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
702
703 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
704 Rename.
705
46752c37
PS
7062019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
707
708 PR 24536
709 * ldbuildid.c (generate_build_id): Cast return value from
710 GetProcAddress in order to avoid a compile time warning.
711
e1cbf07a
AM
7122019-05-06 Alan Modra <amodra@gmail.com>
713
714 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
715
27cdfa03
AM
7162019-05-04 Alan Modra <amodra@gmail.com>
717
718 * testsuite/ld-scripts/fill.d: Don't xfail m32c
719 * testsuite/ld-scripts/fill16.d: Likewise.
720
a288c270
AM
7212019-05-04 Alan Modra <amodra@gmail.com>
722
723 PR 24511
724 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
725 data section on hppa64.
726 * testsuite/ld-elf/pr14156b.d: Likewise.
727 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
728 output section flags.
729 * testsuite/ld-scripts/sane1.t: Likewise.
730 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
731 and __fini_array_start. Define __start et al.
732 * testsuite/ld-elf/pr24511.d: New test.
733
066f4018
AM
7342019-04-30 Alan Modra <amodra@gmail.com>
735
736 * testsuite/ld-powerpc/elfv2exe.d: Update.
737 * testsuite/ld-powerpc/elfv2so.d: Update.
738 * testsuite/ld-powerpc/tocopt.d: Update.
739 * testsuite/ld-powerpc/tocopt.s: Update.
740 * testsuite/ld-powerpc/tocopt5.d: Update.
741 * testsuite/ld-powerpc/tocopt5.s: Update.
742 * testsuite/ld-powerpc/tocopt7.d: Update.
743 * testsuite/ld-powerpc/tocopt7.s: Update.
744 * testsuite/ld-powerpc/tocopt8.d: Update.
745 * testsuite/ld-powerpc/tocopt8.s: Update.
746
06ddcada
AM
7472019-04-30 Alan Modra <amodra@gmail.com>
748
749 * ld.texi (How GNU properties are merged): Avoid pod2man error.
750 Correct example.
751
c54f1524
L
7522019-04-26 H.J. Lu <hongjiu.lu@intel.com>
753
754 PR ld/24486
755 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
756 * testsuite/ld-plugin/pr24486a.c: New file.
757 * testsuite/ld-plugin/pr24486b.c: Likewise.
758 * testsuite/ld-plugin/pr24486c.c: Likewise.
759
8e1920d6
NC
7602019-04-26 Nick Clifton <nickc@redhat.com>
761
762 * po/ru.po: Updated Russian translation.
763
a094d01f
CY
7642019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
765
766 * ld.texi: Properly hyphenate the word "specific".
767
6fe014bc
L
7682019-04-25 H.J. Lu <hongjiu.lu@intel.com>
769
770 PR ld/24406
771 * ld.texi: Remove LTO warning from --wrap.
772 * plugin.c (get_symbols): Update resolution for wrapper and
773 wrapped symbols.
774 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
775 * testsuite/ld-plugin/pr24406-1.c: New file.
776 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
777 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
778
68bb0359
SD
7792019-04-25 Sudakshina Das <sudi.das@arm.com>
780
781 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
782 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
783 * testsuite/ld-aarch64/bti-plt-1.d: Update.
784 * testsuite/ld-aarch64/bti-plt-3.d: Update.
785 * testsuite/ld-aarch64/bti-plt-5.d: Update.
786 * testsuite/ld-aarch64/pac-plt-1.d: Update.
787 * testsuite/ld-aarch64/pac-plt-2.d: Update.
788
44ed8092
SL
7892019-04-24 Sandra Loosemore <sandra@codesourcery.com>
790
791 * testsuite/config/default.exp: Use [check_compiler_available]
792 instead of [which $CC].
793 * testsuite/ld-auto-import/auto-import.exp: Likewise.
794 * testsuite/ld-cygwin/exe-export.exp: Likewise.
795 * testsuite/ld-elf/audit.exp: Likewise.
796 * testsuite/ld-elf/compress.exp: Likewise.
797 * testsuite/ld-elf/dwarf.exp: Likewise.
798 * testsuite/ld-elf/elf.exp: Likewise.
799 * testsuite/ld-elf/indirect.exp: Likewise.
800 * testsuite/ld-elf/linux-x86.exp: Likewise.
801 * testsuite/ld-elf/shared.exp: Likewise.
802 * testsuite/ld-elf/tls.exp: Likewise.
803 * testsuite/ld-elf/wrap.exp: Likewise.
804 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
805 * testsuite/ld-elfvers/vers.exp: Likewise.
806 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
807 * testsuite/ld-elfweak/elfweak.exp: Likewise.
808 * testsuite/ld-gc/gc.exp: Likewise.
809 * testsuite/ld-i386/i386.exp: Likewise.
810 * testsuite/ld-i386/no-plt.exp: Likewise.
811 * testsuite/ld-i386/tls.exp: Likewise.
812 * testsuite/ld-ifunc/ifunc.exp: Likewise.
813 * testsuite/ld-mn10300/mn10300.exp: Likewise.
814 * testsuite/ld-pe/pe-compile.exp: Likewise.
815 * testsuite/ld-pe/pe-run.exp: Likewise.
816 * testsuite/ld-pe/pe-run2.exp: Likewise.
817 * testsuite/ld-pie/pie.exp: Likewise.
818 * testsuite/ld-plugin/lto.exp: Likewise.
819 * testsuite/ld-plugin/plugin.exp: Likewise.
820 * testsuite/ld-scripts/crossref.exp: Likewise.
821 * testsuite/ld-sh/sh.exp: Likewise.
822 * testsuite/ld-shared/shared.exp: Likewise.
823 * testsuite/ld-size/size.exp: Likewise.
824 * testsuite/ld-srec/srec.exp: Likewise.
825 * testsuite/ld-undefined/undefined.exp: Likewise.
826 * testsuite/ld-unique/unique.exp: Likewise.
827 * testsuite/ld-x86-64/mpx.exp: Likewise.
828 * testsuite/ld-x86-64/no-plt.exp: Likewise.
829 * testsuite/ld-x86-64/tls.exp: Likewise.
830 * testsuite/ld-x86-64/x86-64.exp: Likewise.
831 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
832 check_compiler_available before trying to use the compiler.
833 (run_cc_link_tests): Likewise.
834 (check_compiler_available): New. Use it instead of [which $CC].
835
cc9519e7
AM
8362019-04-23 Alan Modra <amodra@gmail.com>
837
838 * Makefile.am (GENDEPDIR): New var, used..
839 (GENSCRIPTS): ..here.
840 * Makefile.in: Regenerate.
841 * genscripts.sh: Test for $DEPDIR set before every use.
842
6f38008b
MF
8432019-04-22 Matthew Fortune <matthew.fortune@mips.com>
844
845 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
846 for M5100.
847
fce97736
AM
8482019-04-19 Alan Modra <amodra@gmail.com>
849
850 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
851 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
852 s12z to list of targets not supporting --gc-sections.
853
9a7f0679
L
8542019-04-17 H.J. Lu <hongjiu.lu@intel.com>
855
856 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
857 of pr18801.
858 * testsuite/ld-x86-64/x86-64.exp: Likewise.
859 * testsuite/ld-i386/pr18801.d: Removed.
860 * testsuite/ld-x86-64/pr18801.d: Likewise.
861 * testsuite/ld-i386/pr18801a.d: New file.
862 * testsuite/ld-i386/pr18801b.d: Likewise.
863 * testsuite/ld-x86-64/pr18801a.d: Likewise.
864 * testsuite/ld-x86-64/pr18801b.d: Likewise.
865 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
866 * testsuite/ld-x86-64/pie2.d: Likewise.
867 * testsuite/ld-x86-64/pr19719.d: Likewise.
868 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
869 * testsuite/ld-x86-64/pr19969.d: Likewise.
870 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
871 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
872 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
873 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
874 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
875
4e84a8f8
L
8762019-04-17 H.J. Lu <hongjiu.lu@intel.com>
877
878 PR ld/24458
879 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
880 * testsuite/ld-x86-64/pr24458.s: New file.
881 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
882 * testsuite/ld-x86-64/pr24458a.d: Likewise.
883 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
884 * testsuite/ld-x86-64/pr24458b.d: Likewise.
885 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
886 * testsuite/ld-x86-64/pr24458c.d: Likewise.
887
e25de718
JL
8882019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
889
890 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
891 symbol when .lower.bss or .either.bss sections exist.
892 Define __crt0_movedata when .lower.data or .either.data sections exist.
893 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
894 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
895 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
896 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
897 * testsuite/gas/msp430/msp430.exp: Run new tests.
898 Enable large code model when running -mdata-region={upper,either}
899 tests.
900
a0fb9615
AM
9012019-04-16 Alan Modra <amodra@gmail.com>
902
903 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
904 * testsuite/ld-scripts/section-match-1.d: Likewise.
905 * testsuite/ld-undefined/require-defined.exp: Likewise.
906
86333705
FS
9072019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
908
909 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
910 targets.
911
f6b2b12d
AV
9122019-04-15 Sudakshina Das <sudi.das@arm.com>
913
914 * testsuite/ld-arm/bfcsel.s: New.
915 * testsuite/ld-arm/bfcsel.d: New.
916 * testsuite/ld-arm/arm-elf.exp: Add above test.
917
65d1bc05
AV
9182019-04-15 Sudakshina Das <sudi.das@arm.com>
919
920 * testsuite/ld-arm/bfl.s: New.
921 * testsuite/ld-arm/bfl.d: New.
922 * testsuite/ld-arm/arm-elf.exp: Add above test.
923
4389b29a
AV
9242019-04-15 Sudakshina Das <sudi.das@arm.com>
925
926 * testsuite/ld-arm/bf.s: New.
927 * testsuite/ld-arm/bf.d: New.
928 * testsuite/ld-arm/arm-elf.exp: Add above test.
929
031254f2
AV
9302019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
931
932 * testsuite/ld-arm/attr-merge-13.attr: New test.
933 * testsuite/ld-arm/attr-merge-13a.s: New test.
934 * testsuite/ld-arm/attr-merge-13b.s: New test.
935
c40e31a1
AM
9362019-04-13 Alan Modra <amodra@gmail.com>
937
938 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
939 DEPDIR parameter.
940 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
941 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
942 $GEN_DEPENDS.
943 (e*.c): Delete all dependencies, instead include dependencies
944 from $DEPDIR/*.Pc.
945 * Makefile.in: Regenerate.
946 * configure.ac (source_sh): Define and use function.
947 * configure: Regenerate.
948 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
949 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
950 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
951 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
952 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
953 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
954 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
955 * emulparams/armelf_linux_eabi.sh,
956 * emulparams/armelf_linux_fdpiceabi.sh,
957 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
958 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
959 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
960 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
961 * emulparams/armelfb_linux_fdpiceabi.sh,
962 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
963 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
964 * emulparams/elf32_sparc_sol2.sh,
965 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
966 * emulparams/elf32_tic6x_elf_be.sh,
967 * emulparams/elf32_tic6x_elf_le.sh,
968 * emulparams/elf32_tic6x_linux_be.sh,
969 * emulparams/elf32_tic6x_linux_le.sh,
970 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
971 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
972 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
973 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
974 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
975 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
976 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
977 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
978 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
979 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
980 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
981 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
982 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
983 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
984 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
985 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
986 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
987 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
988 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
989 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
990 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
991 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
992 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
993 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
994 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
995 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
996 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
997 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
998 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
999 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
1000 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
1001 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
1002 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
1003 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
1004 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
1005 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
1006 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
1007 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
1008 * emulparams/elf_x86_64_cloudabi.sh,
1009 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
1010 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
1011 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
1012 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
1013 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
1014 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
1015 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
1016 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
1017 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
1018 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
1019 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
1020 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
1021 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
1022 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
1023 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
1024 * emulparams/shl.sh, * emulparams/shlelf.sh,
1025 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
1026 * emulparams/shlelf_vxworks.sh: Use source_sh.
1027 * genscripts.sh: Adjust for changed parameters. Emit dependencies
1028 for e*.c to .deps/*.Pc.
1029 (source_sh): New function, use it throughout to source scripts.
1030 * genscrba.sh (source_em): Use source_sh.
1031
50ff67e6
AM
10322019-04-13 Alan Modra <amodra@gmail.com>
1033
1034 * configure.ac (TDIRS): Build up tdirs in this variable and
1035 AC_SUBST, also using AM_SUBST_NOTMAKE.
1036 * configure: Regenerate.
1037 * Makefile.am (DISTCLEANFILES): Remove tdirs.
1038 * Makefile.in: Regenerate.
1039
3bbec4bd
NC
10402019-04-12 Nick Clifton <nickc@redhat.com>
1041
1042 PR 24450
1043 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
1044 example of section attributes.
1045
035801ce
FS
10462019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
1047
1048 * NEWS: Mention new option --no-print-map-discarded.
1049 * ld.h (ld_config_type) <print_map_discarded>: New field.
1050 * ldlang.c (lang_map): Conditionally output discarded sections
1051 in map files based on configuration option.
1052 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
1053 OPTION_NO_PRINT_MAP_DISCARDED>: New.
1054 * ldmain.c (main): Enabled print_map_discarded by default.
1055 * lexsup.c (ld_options): Add new command-line options.
1056 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
1057 OPTION_PRINT_MAP_DISCARDED>: New cases.
1058 * ld.texi: Document new options.
1059 * testsuite/ld-gc/gc.exp: Add new test.
1060 * testsuite/ld-gc/skip-map-discarded.s: New file.
1061 * testsuite/ld-gc/skip-map-discarded.d: New file.
1062 * testsuite/ld-gc/skip-map-discarded.map: New file.
1063
233a0083
L
10642019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * ld.texi: Document -z cet-report=[none|warning|error].
1067 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
1068 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
1069 tests.
1070 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1071 * testsuite/ld-i386/property-x86-cet1.d: New file.
1072 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
1073 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
1074 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
1075 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
1076 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
1077 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
1078 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
1079 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
1080 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
1081 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
1082 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
1083 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
1084 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
1085 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
1086 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
1087 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
1088 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
1089 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
1090 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
1091 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
1092 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
1093 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
1094 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
1095 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
1096 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
1097 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
1098 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
1099 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
1100 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
1101 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
1102
b3d7a867
L
11032019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
1106 to "-static-pie" if target compiler supports it.
1107 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
1108 $STATIC_PIE_LDFLAGS isn't empty.
1109 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1110
ce12121b
TC
11112019-04-11 Tamar Christina <tamar.christina@arm.com>
1112
1113 PR ld/24302
1114 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1115 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
1116
795e3bb7
L
11172019-04-10 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
1120 CREATE_PIE.
1121 (__rel_iplt_start): Don't define for CREATE_PIC.
1122 (__rel_iplt_end): Likewise.
1123 (__rela_iplt_start): Likewise.
1124 (__rela_iplt_end): Likewise.
1125
e6aded7c
AM
11262019-04-10 Alan Modra <amodra@gmail.com>
1127
1128 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
1129 powerpc-nto.
1130
53b81c6d
AM
11312019-04-10 Alan Modra <amodra@gmail.com>
1132
1133 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
1134 setting use_branch_stub false for linux.
1135 (csky_elf_create_output_section_statements): Do emit this
1136 function and all others in the file for linux, plus the branch
1137 option control. Disable branch stubs when non-ELF.
1138
c55b17b8
AM
11392019-04-10 Alan Modra <amodra@gmail.com>
1140
1141 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
1142 (ecskyelf_linux.c): Depend on cskyelf.sh.
1143 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
1144 * Makefile.in: Regenerate.
1145 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
1146 (PAGE_SIZE): Don't define.
1147 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
1148 the differing variable defs/undefs.
1149 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
1150 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
1151 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
1152 (PAGE_SIZE): Don't define.
1153 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
1154 leaving just the differing OUTPUT_FORMAT.
1155
6feda627
AM
11562019-04-10 Alan Modra <amodra@gmail.com>
1157
1158 * po/BLD-POTFILES.in: Regenerate.
1159
c93c0e7f
L
11602019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1161
1162 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
1163 lynxos and nto targets.
1164
3ae61bb6
L
11652019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1166
1167 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
1168 (eelf_i386_chaos.c): Removed.
1169 * Makefile.in: Regenerated.
1170 * configure.tgt: Remove i[3-7]86-*-kaos*.
1171 * emulparams/elf_i386_chaos.sh: Removed.
1172
da9b5f7b
L
11732019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1174
1175 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
1176 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
1177
d970ee2b
AM
11782019-04-08 Alan Modra <amodra@gmail.com>
1179
1180 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
1181 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
1182 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
1183
5b9c07b2
L
11842019-04-06 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
1187 (eelf_i386_sol2.c): Also depend on
1188 $(srcdir)/emultempl/solaris2-x86.em.
1189 (eelf_x86_64_sol2.c): Likewise.
1190 * Makefile.in: Regenerated.
1191 * emulparams/call_nop.sh: Set x86-specific linker options via
1192 params.
1193 * emulparams/cet.sh: Likewise.
1194 * emulparams/reloc_overflow.sh: Likewise.
1195 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
1196 "elf-x86".
1197 * emulparams/elf_i386.sh: Likewise.
1198 * emulparams/elf_i386_be.sh: Likewise.
1199 * emulparams/elf_i386_chaos.sh: Likewise.
1200 * emulparams/elf_i386_ldso.sh: Likewise.
1201 * emulparams/elf_i386_vxworks.sh: Likewise.
1202 * emulparams/elf_iamcu.sh: Likewise.
1203 * emulparams/elf_k1om.sh: Likewise.
1204 * emulparams/elf_l1om.sh: Likewise.
1205 * emulparams/elf_x86_64.sh: Likewise.
1206 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
1207 "solaris2-x86".
1208 * emulparams/elf_x86_64_sol2.sh: Likewise.
1209 * emultempl/elf-x86.em: New file.
1210 * emultempl/solaris2-x86.em: Likewise.
1211 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1212 set link_info.call_nop_byte.
1213
c2b1c275
AM
12142019-04-05 Alan Modra <amodra@gmail.com>
1215
1216 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
1217 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1218 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
1219
1c6aafe8
AM
12202019-04-03 Alan Modra <amodra@gmail.com>
1221
1222 PR 24411
1223 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
1224 (<EXPRESSION>"/DISCARD/"): New.
1225
092da96a
AM
12262019-04-03 Alan Modra <amodra@gmail.com>
1227
1228 * ldlex.l: Formatting.
1229 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
1230 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
1231 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
1232 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
1233 (<INPUTLIST>"$SYSROOT"..): Delete rule.
1234
2487ef07
MF
12352019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1236
1237 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
1238 test definition.
1239 * testsuite/ld-xtensa/xtensa.exp
1240 (relax-undef-weak-pie-export-dynamic): Add new test.
1241
7ea79cb3 12422019-03-26 Martin Liska <mliska@suse.cz>
1243
1244 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
1245 lto_visibility_str and use then to inform about plugin-symbols.
1246 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
1247
796d6298
TC
12482019-03-25 Tamar Christina <tamar.christina@arm.com>
1249
1250 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
1251 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
1252
4e539114
SD
12532019-03-21 Sudakshina Das <sudi.das@arm.com>
1254
1255 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1256 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
1257 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
1258 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1259 * testsuite/ld-aarch64/bti-warn.d: New test.
1260
f84bd465
AM
12612019-03-21 Alan Modra <amodra@gmail.com>
1262
1263 * testsuite/ld-elf/fini2.s: Reduce alignment.
1264 * testsuite/ld-elf/fini3.s: Likewise.
1265 * testsuite/ld-elf/finin.s: Likewise.
1266 * testsuite/ld-elf/init2.s: Likewise.
1267 * testsuite/ld-elf/init3.s: Likewise.
1268 * testsuite/ld-elf/initn.s: Likewise.
1269 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
1270 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
1271
2d3181c7
AM
12722019-03-21 Alan Modra <amodra@gmail.com>
1273
1274 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
1275 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
1276 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
1277 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
1278 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
1279 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
1280 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
1281 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
1282 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
1283 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
1284 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
1285 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
1286 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
1287 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
1288 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
1289 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
1290 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
1291 SORT_NONE to .init and .fini wildcards.
1292 * scripttempl/elf32xc16x.sc,
1293 * scripttempl/elf32xc16xl.sc,
1294 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
1295 * scripttempl/elf_chaos.sc: Add .init output section.
1296 * scripttempl/elfd30v.sc: Remove duplicate .init.
1297 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
1298 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
1299 duplicate .init, and add .fini wildcard.
1300 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
1301 * ldlang.c (update_wild_statements): Special case .init and
1302 .fini in the wildcard, not the output section.
1303
980a2e42
AM
13042019-03-21 Alan Modra <amodra@gmail.com>
1305
1306 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
1307
3b6c1966
AM
13082019-03-21 Alan Modra <amodra@gmail.com>
1309
1310 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
1311 create_object_symbols_section.
1312 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
1313
28a66f07
AM
13142019-03-18 Alan Modra <amodra@gmail.com>
1315
1316 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
1317 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
1318 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
1319 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
1320
1c82ed74
NC
13212019-03-15 Nick Clifton <nickc@redhat.com>
1322
1323 PR 24262
1324 * ld.texi (-plugin): Correct the path used to locate linker
1325 plugins.
1326
1dbade74
SD
13272019-03-13 Sudakshina Das <sudi.das@arm.com>
1328
1329 * NEWS: Document --pac-plt.
1330 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
1331 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
1332 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
1333 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
1334 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
1335 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
1336 * testsuite/ld-aarch64/pac-plt-1.d: New test.
1337 * testsuite/ld-aarch64/pac-plt-2.d: New test.
1338 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
1339
37c18eed
SD
13402019-03-13 Sudakshina Das <sudi.das@arm.com>
1341 Szabolcs Nagy <szabolcs.nagy@arm.com>
1342
1343 * NEWS: Document --force-bti.
1344 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
1345 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
1346 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
1347 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
1348 * testsuite/ld-aarch64/bti-plt-1.d: New test.
1349 * testsuite/ld-aarch64/bti-plt-1.s: New test.
1350 * testsuite/ld-aarch64/bti-plt-2.d: New test.
1351 * testsuite/ld-aarch64/bti-plt-3.d: New test.
1352 * testsuite/ld-aarch64/bti-plt-4.d: New test.
1353 * testsuite/ld-aarch64/bti-plt-5.d: New test.
1354 * testsuite/ld-aarch64/bti-plt-6.d: New test.
1355 * testsuite/ld-aarch64/bti-plt-7.d: New test.
1356 * testsuite/ld-aarch64/bti-plt-so.s: New test.
1357 * testsuite/ld-aarch64/bti-plt.ld: New test.
1358
cd702818
SD
13592019-03-13 Sudakshina Das <sudi.das@arm.com>
1360
1361 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
1362 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
1363 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
1364 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
1365 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
1366 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
1367 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
1368 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
1369
44b27f95
L
13702019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1371
1372 PR ld/24322
1373 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
1374 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1375 * testsuite/ld-i386/pr24322a.d: New file.
1376 * testsuite/ld-i386/pr24322b.d: Likewise.
1377 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
1378 * testsuite/ld-x86-64/pr24322a.d: Likewise.
1379 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
1380 * testsuite/ld-x86-64/pr24322b.d: Likewise.
1381 * testsuite/ld-x86-64/pr24322a.s: Likewise.
1382 * testsuite/ld-x86-64/pr24322b.s: Likewise.
1383 * testsuite/ld-x86-64/pr24322c.s: Likewise.
1384
912ebfa0
NB
13852019-03-06 Nick Bowler <nbowler@draconx.ca>
1386
1387 PR 24289
1388 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
1389 attributes during the first phase.
1390
24801b15
AK
13912019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1392
1393 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1394 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1395
1396 PR 20113
1397 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1398 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1399 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1400 * testsuite/ld-s390/tlsbin.dd: Likewise.
1401 * testsuite/ld-s390/tlsbin.rd: Likewise.
1402 * testsuite/ld-s390/tlsbin.sd: Likewise.
1403 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1404 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1405 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1406 * testsuite/ld-s390/tlspic.dd: Likewise.
1407 * testsuite/ld-s390/tlspic.rd: Likewise.
1408 * testsuite/ld-s390/tlspic.sd: Likewise.
1409 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1410 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1411 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1412 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1413
5cfe428c
L
14142019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 PR ld/24276
1417 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
1418 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1419 * testsuite/ld-i386/pr24276.dso: New file.
1420 * testsuite/ld-i386/pr24276.warn: Likewise.
1421 * testsuite/ld-x86-64/pr24276.dso: Likewise.
1422 * testsuite/ld-x86-64/pr24276.warn: Likewise.
1423
eed62915
MF
14242019-02-20 Eric Tsai <erictsai@cadence.com>
1425
1426 * testsuite/ld-xtensa/call_overflow.d: New test definition.
1427 * testsuite/ld-xtensa/call_overflow1.s: New test source.
1428 * testsuite/ld-xtensa/call_overflow2.s: New test source.
1429 * testsuite/ld-xtensa/call_overflow3.s: New test source.
1430 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
1431
abc163a4
TS
14322019-02-14 Thomas Schwinge <thomas@codesourcery.com>
1433
1434 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
1435
e4865945
NC
14362019-02-12 Nick Clifton <nickc@redhat.com>
1437
1438 * po/fr.po: Updated French translation.
1439
a0e90a73
CZ
14402019-02-09 Vineet Gupta <vgupta@synopsys.com>
1441
1442 * emultempl/arclinux.em: Delete special INIT/FINI handling.
1443
5d3db3e2
NC
14442019-02-07 Nick Clifton <nickc@redhat.com>
1445
1446 PR 24175
1447 * ld.texi (Options): Add missing word to the description of the
1448 --start-group option.
1449
4249a53c
AM
14502019-02-06 Alan Modra <amodra@gmail.com>
1451
1452 PR ld/24008
1453 * testsuite/ld-scripts/pr24008.d: Pass with extra target
1454 defined symbols.
1455
83924b38
L
14562019-02-05 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 PR ld/24151
1459 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
1460 * testsuite/ld-x86-64/pr24151a.d: Likewise.
1461 * testsuite/ld-x86-64/pr24151a.s: Likewise.
1462 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
1463
4f4690cd
AM
14642019-01-31 Alan Modra <amodra@gmail.com>
1465
1466 * NEWS: Mention -t change.
1467 * ld.texi (--trace/-t): Expand documentation a little.
1468
ad0f979c
L
14692019-01-29 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 PR ld/24008
1472 * testsuite/ld-scripts/defined.exp: Run pr24008.
1473 * testsuite/ld-scripts/pr24008.d: New file.
1474 * testsuite/ld-scripts/pr24008.map: Likewise.
1475 * testsuite/ld-scripts/pr24008.s: Likewise.
1476 * testsuite/ld-scripts/pr24008.t: Likewise.
1477
c49829c3
EB
14782019-01-29 Eric Botcazou <ebotcazou@adacore.com>
1479
1480 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
1481
6a846243
AM
14822019-01-28 Alan Modra <amodra@gmail.com>
1483
1484 PR 24008
1485 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
1486 * ldexp.c (fold_name): Move expld.assign_name check later to
1487 avoid an extra lookup.
1488 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
1489 values, and don't clear expld.assign_name.
1490 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
1491 (print_assignment): Resolve entire assignment expression.
1492 Don't access symbol u.def unless symbol is defined.
1493
9ed1348c
NC
14942019-01-25 Nick Clifton <nickc@redhat.com>
1495
1496 * po/bg.po: Updated Bulgarian translation.
1497
6406a270
SH
14982019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
1499
1500 * ld.texi (--wrap): Add warning that LTO may make this feature
1501 ineffective.
1502
375cd423
NC
15032019-01-21 Nick Clifton <nickc@redhat.com>
1504
1505 * po/uk.po: Updated Ukranian translation.
a6c9b404 1506 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 1507
acef8081
YC
15082019-01-21 Nick Clifton <nickc@redhat.com>
1509
1510 PR 24108
1511 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
1512 expected error message.
1513
f48dfe41
NC
15142019-01-19 Nick Clifton <nickc@redhat.com>
1515
1516 * configure: Regenerate.
1517 * po/ld.pot: Regenerate.
1518
f974f26c
NC
15192018-06-24 Nick Clifton <nickc@redhat.com>
1520
1521 2.32 branch created.
1522
7d7a7d7c
JW
15232019-01-16 Kito Cheng <kito@andestech.com>
1524
1525 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
1526 section.
1527 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
1528 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
1529 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
1530 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
1531 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1532 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
1533 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
1534 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1535 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
1536 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
1537 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1538 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
1539 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
1540 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1541 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1542 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1543 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
1544 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
1545 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
1546 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
1547 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
1548 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1549 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1550 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
1551 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
1552 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1553 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
1554 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
1555 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1556 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
1557 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
1558 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1559 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
1560 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
1561 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1562 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
1563 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
1564
5a12586d
MT
15652019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1566
f466c305 1567 PR 20113
5a12586d
MT
1568 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1569 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1570 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1571 * testsuite/ld-s390/tlsbin.dd: Likewise.
1572 * testsuite/ld-s390/tlsbin.rd: Likewise.
1573 * testsuite/ld-s390/tlsbin.sd: Likewise.
1574 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1575 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1576 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1577 * testsuite/ld-s390/tlspic.dd: Likewise.
1578 * testsuite/ld-s390/tlspic.rd: Likewise.
1579 * testsuite/ld-s390/tlspic.sd: Likewise.
1580 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1581 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1582 * testsuite/ld-s390/tlspic_64.sd: Likewise.
f466c305 1583 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 1584
4ea904ed
SH
15852019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1586
1587 * ld.texi (--wrap): Add example to emphasise that only undefined
1588 references are replaced by the linker.
1589
8379fac6
NC
15902019-01-09 Nick Clifton <nickc@redhat.com>
1591
1592 * po/es.po: Updated Spanish translation.
1593
3107326d
AP
15942019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1595
1596 * configure: Regenerate.
1597
171b8e19
AM
15982019-01-08 Alan Modra <amodra@gmail.com>
1599
1600 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1601 generated source file names.
1602 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1603
82704155
AM
16042019-01-01 Alan Modra <amodra@gmail.com>
1605
1606 Update year range in copyright notice of all files.
1607
d5c04e1b 1608For older changes see ChangeLog-2018
3499769a 1609\f
d5c04e1b 1610Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1611
1612Copying and distribution of this file, with or without modification,
1613are permitted in any medium without royalty provided the copyright
1614notice and this notice are preserved.
1615
1616Local Variables:
1617mode: change-log
1618left-margin: 8
1619fill-column: 74
1620version-control: never
1621End:
This page took 0.322789 seconds and 4 git commands to generate.