ld: Add -z separate-code tests to frame.exp
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f61f94ec
L
12018-02-19 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/22845
4 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
5 Add tests for "-z noseparate-code" and "-z separate-code".
6 Remove unsupported -shared check.
7
d85502cf
L
82018-02-17 H.J. Lu <hongjiu.lu@intel.com>
9
10 PR ld/22845
11 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
12
34b00afa
L
132018-02-17 H.J. Lu <hongjiu.lu@intel.com>
14
15 PR ld/22845
16 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
17 "-z noseparate-code" and "-z separate-code".
18
92d9e363
L
192018-02-17 H.J. Lu <hongjiu.lu@intel.com>
20
21 PR ld/22845
22 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
23 to ld.
24
c2596c4a
L
252018-02-16 H.J. Lu <hongjiu.lu@intel.com>
26
27 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
28 max-page-size=0x200000 -z noseparate-code.
29 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
30 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
31 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
32 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
33 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
34 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
35 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
36 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
37 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
38 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
39 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
40 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
41 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
42 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
43 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
44 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
45 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
46 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
47 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
48 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
49 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
50 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
51 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
52 * testsuite/ld-x86-64/load1a.d: Likewise.
53 * testsuite/ld-x86-64/load1b.d: Likewise.
54 * testsuite/ld-x86-64/load1c.d: Likewise.
55 * testsuite/ld-x86-64/load1d.d: Likewise.
56 * testsuite/ld-x86-64/pie3.d: Likewise.
57 * testsuite/ld-x86-64/pr14207.d: Likewise.
58 * testsuite/ld-x86-64/pr17618.d: Likewise.
59 * testsuite/ld-x86-64/pr19162.d: Likewise.
60 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
61 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
62 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
63 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
64 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
65 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
66 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
67 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
68 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
69 * testsuite/ld-x86-64/pr20830a.d: Likewise.
70 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
71 * testsuite/ld-x86-64/pr20830b.d: Likewise.
72 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
73 * testsuite/ld-x86-64/pr21038a.d: Likewise.
74 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
75 * testsuite/ld-x86-64/pr21038b.d: Likewise.
76 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
77 * testsuite/ld-x86-64/pr21038c.d: Likewise.
78
c441b623
L
792018-02-16 H.J. Lu <hongjiu.lu@intel.com>
80
81 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
82 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
83
197741f1
L
842018-02-16 H.J. Lu <hongjiu.lu@intel.com>
85
86 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
87 -z noseparate-code.
88
7c9f387a
L
892018-02-16 H.J. Lu <hongjiu.lu@intel.com>
90
91 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
92 -z max-page-size=0x200000, excluding NaCl target.
93
c9d3eb5f
L
942018-02-16 H.J. Lu <hongjiu.lu@intel.com>
95
96 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
97 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
98 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
99 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
100 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
101 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
102 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
103
679a5bc8
L
1042018-02-16 H.J. Lu <hongjiu.lu@intel.com>
105
106 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
107 -z max-page-size=0x200000 -z noseparate-code.
108 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
109 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
110 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
111 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
112 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
113 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
114
62e2b91b
L
1152018-02-16 H.J. Lu <hongjiu.lu@intel.com>
116
117 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
118 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
119 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
120
9f4aec8d
L
1212018-02-16 H.J. Lu <hongjiu.lu@intel.com>
122
123 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
124 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
125 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
126
410a69a0
L
1272018-02-16 H.J. Lu <hongjiu.lu@intel.com>
128
129 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
130 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
131 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
132 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
133 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
134 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
135 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
136 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
137 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
138 * testsuite/ld-i386/load1.d: Likewise.
139 * testsuite/ld-i386/pie1.d: Likewise.
140 * testsuite/ld-i386/pr20244-1a.d: Likewise.
141 * testsuite/ld-i386/pr20244-1b.d: Likewise.
142 * testsuite/ld-i386/pr20244-2a.d: Likewise.
143 * testsuite/ld-i386/pr20244-2b.d: Likewise.
144 * testsuite/ld-i386/pr20244-2c.d: Likewise.
145 * testsuite/ld-i386/pr20244-4a.d: Likewise.
146 * testsuite/ld-i386/pr20244-4b.d: Likewise.
147 * testsuite/ld-i386/pr20830.d: Likewise.
148
75bd00e8
L
1492018-02-16 H.J. Lu <hongjiu.lu@intel.com>
150
151 * testsuite/ld-i386/pr19636-1a.d: Updated.
152 * testsuite/ld-i386/pr19636-1b.d: Likewise.
153 * testsuite/ld-i386/pr19636-1j.d: Likewise.
154 * testsuite/ld-i386/pr19636-1k.d: Likewise.
155 * testsuite/ld-i386/pr19636-2a.d: Likewise.
156 * testsuite/ld-i386/pr19636-2b.d: Likewise.
157
760b2893
L
1582018-02-16 H.J. Lu <hongjiu.lu@intel.com>
159
160 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
161
75cdede0
L
1622018-02-16 H.J. Lu <hongjiu.lu@intel.com>
163
164 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
165 * testsuite/ld-elf/textaddr1.d: Likewise.
166 * testsuite/ld-elf/textaddr2.d: Likewise.
167 * testsuite/ld-elf/textaddr4.d: Likewise.
168 * testsuite/ld-elf/textaddr6.d: Likewise.
169
2a0d9853
JW
1702018-02-15 Jim Wilson <jimw@sifive.com>
171
172 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
173 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
174 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
175
451875b4
L
1762018-02-14 H.J. Lu <hongjiu.lu@intel.com>
177
178 PR ld/22842
179 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
180 * testsuite/ld-x86-64/x86-64.exp: Likewise.
181 * testsuite/ld-i386/pr22842a.c: New file.
182 * testsuite/ld-i386/pr22842b.S: Likewise.
183 * testsuite/ld-x86-64/pr22842a.c: Likewise.
184 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
185 * testsuite/ld-x86-64/pr22842b.S: Likewise.
186 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
187
d4dd94f8
MR
1882018-02-14 Maciej W. Rozycki <macro@mips.com>
189
190 * ldlex.h (ldlex_command): Remove prototype.
191
85f2093d
L
1922018-02-13 H.J. Lu <hongjiu.lu@intel.com>
193
194 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
195 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
196
60f763ee
AM
1972018-02-14 H.J. Lu <hongjiu.lu@intel.com>
198
199 PR 22836
200 * testsuite/ld-elf/pr22836-1.s: New file.
201 * testsuite/ld-elf/pr22836-1a.d: Likewise.
202 * testsuite/ld-elf/pr22836-1b.d: Likewise.
203
bd7ab16b
L
2042018-02-13 H.J. Lu <hongjiu.lu@intel.com>
205
206 PR gas/22791
207 * testsuite/ld-x86-64/mpx1c.rd: Updated.
208 * testsuite/ld-x86-64/pr22791-1.err: New file.
209 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
210 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
211 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
212 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
213 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
214 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
215 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
216
6e5e9d58
AM
2172018-02-13 Alan Modra <amodra@gmail.com>
218
219 PR 22836
220 * testsuite/ld-elf/pr22836-2.d,
221 * testsuite/ld-elf/pr22836-2.s: New test.
222
f2731e0c
AM
2232018-02-13 Alan Modra <amodra@gmail.com>
224
225 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
226
407aa07c
AM
2272018-02-07 Alan Modra <amodra@gmail.com>
228
229 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
230 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
231 * emultempl/ppc64elf.em: Likesize
232 * ld.texinfo: Likewise
233 * testsuite/ld-powerpc/elfv2exe.d,
234 * testsuite/ld-powerpc/elfv2so.d,
235 * testsuite/ld-powerpc/relbrlt.d,
236 * testsuite/ld-powerpc/powerpc.exp: Likewise.
237
c20c30f6
EB
2382018-02-06 Eric Botcazou <ebotcazou@adacore.com>
239
240 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
241 (pr22263-1): Pass AFLAGS_PIC to the assembler.
242 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
243 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
244 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
245 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
246
279b2f94
RL
2472018-02-05 Renlin Li <renlin.li@arm.com>
248
249 PR ld/22764
250 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
251 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
252 * testsuite/ld-aarch64/pr22764.s: New.
253 * testsuite/ld-aarch64/pr22764.d: New.
254
cd048363
L
2552018-02-05 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR ld/22782
258 * testsuite/ld-i386/discarded1.s: Replace mov with div.
259 * testsuite/ld-x86-64/discarded1.s: Likewise.
260 * testsuite/ld-i386/i386.exp: Run pr22782.
261 * testsuite/ld-i386/load1-nacl.d: Updated for removing
262 _GLOBAL_OFFSET_TABLE_ from output.
263 * testsuite/ld-i386/load1.d: Likewise.
264 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
265 * testsuite/ld-x86-64/load1a.d: Likewise.
266 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
267 * testsuite/ld-x86-64/load1b.d: Likewise.
268 * testsuite/ld-i386/pr22782.d: New file.
269 * testsuite/ld-i386/pr22782.s: Likewise.
270 * testsuite/ld-x86-64/pr22782.s: Likewise.
271 * testsuite/ld-x86-64/pr22782a.d: Likewise.
272 * testsuite/ld-x86-64/pr22782b.d: Likewise.
273 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
274
f174ef9f
NC
2752018-02-05 Nick Clifton <nickc@redhat.com>
276
277 * po/pt_BR.po: Updated Brazilian Portuguese translation.
278
9f7393d8
L
2792018-02-04 H.J. Lu <hongjiu.lu@intel.com>
280
281 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
282 * testsuite/ld-i386/lea1e.d: Likewise.
283 * testsuite/ld-i386/lea1f.d: Likewise.
284 * testsuite/ld-x86-64/lea1g.d: Likewise.
285 * testsuite/ld-x86-64/lea1h.d: Likewise.
286 * testsuite/ld-x86-64/lea1i.d: Likewise.
287 * testsuite/ld-x86-64/lea1j.d: Likewise.
288 * testsuite/ld-x86-64/lea1k.d: Likewise.
289 * testsuite/ld-x86-64/lea1l.d: Likewise.
290
b0daac83
NC
2912018-02-03 Nick Clifton <nickc@redhat.com>
292
293 PR 22762
294 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
295 __DTOR_LIST__ symbols. Add a comment explaining why this is
296 necessary.
297 * scripttemp/pep.sc: Likewise.
298 * ld.texinfo (PROVIDE): Add a note about the effect of common
299 symbols.
300
138a158f
SL
3012018-02-03 Sandra Loosemore <sandra@codesourcery.com>
302
303 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
304
e54d3c94
MR
3052018-02-02 Maciej W. Rozycki <macro@mips.com>
306
307 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
308 assembly builds where missing and remove `tic6x-*-*' XFAIL
309 markings accordingly.
310
e99955cd
SM
3112018-02-01 Simon Marchi <simon.marchi@ericsson.com>
312
313 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
314 on NULL pointer.
315
f000c2b9
L
3162018-01-31 H.J. Lu <hongjiu.lu@intel.com>
317
318 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
319
450b6317
MR
3202018-01-31 Maciej W. Rozycki <macro@mips.com>
321
322 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
323
8988502d
MR
3242018-01-31 Maciej W. Rozycki <macro@mips.com>
325
326 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
327 involving a shared library for `mips*vr4100*-*-elf*',
328 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
329 * testsuite/ld-elf/provide-hidden.exp: Likewise.
330 * testsuite/ld-elf/shared.exp: Likewise.
331 * testsuite/ld-gc/gc.exp: Likewise.
332 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
333
f3a9baf1
MR
3342018-01-31 Maciej W. Rozycki <macro@mips.com>
335
336 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
337 * testsuite/ld-elf/shared.exp: ... here.
338
bf3077a6
MM
3392018-01-31 Michael Matz <matz@suse.de>
340
341 * testsuite/ld-elf/pr21964-5.c: New test.
342 * testsuite/ld-elf/shared.exp: Run it.
343
823143c6
L
3442018-01-31 H.J. Lu <hongjiu.lu@intel.com>
345
346 PR ld/21964
347 * testsuite/ld-elf/pr21964-4.c: New file.
348 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
349
040b4a9e
AM
3502018-01-30 Alan Modra <amodra@gmail.com>
351
352 * testsuite/ld-gc/stop.d,
353 * testsuite/ld-gc/stop.s: New test.
354 * testsuite/ld-gc/gc.exp: Run it.
355
af667f22
MR
3562018-01-30 Maciej W. Rozycki <macro@mips.com>
357
358 PR ld/22649
359 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
360 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
361 * testsuite/ld-elf/shared.exp: Use the new outputs with
362 `mips*-*-*' targets.
363
82252033
MR
3642018-01-30 Maciej W. Rozycki <macro@mips.com>
365
366 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
367 `PRC[0xff02]' in place of a regular section index.
368 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
369
36b8fda5
AM
3702018-01-29 Alan Modra <amodra@gmail.com>
371
372 * testsuite/ld-elf/pr21964-3a.c: New file.
373 * testsuite/ld-elf/pr21964-3c.c: New file.
374 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
375
185cdb8c
EB
3762018-01-29 Eric Botcazou <ebotcazou@adacore.com>
377
378 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
379 (pr22269-1): Pass AFLAGS_PIC to the assembler.
380
d85815e2
EB
3812018-01-29 Eric Botcazou <ebotcazou@adacore.com>
382
383 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
384
86b24e15
MR
3852018-01-29 Maciej W. Rozycki <macro@mips.com>
386
387 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
388 targets using non-traditional MIPS emulation or having a limited
389 selection of ABIs available. Don't force big endianness, use
390 defaults.
391
98d72909
L
3922018-01-29 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR ld/22732
395 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
396 "-static" if target compiler supports it.
397 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
398 tests if target compiler doesn't support it.
399 * testsuite/ld-ifunc/ifunc.exp: Likewise.
400 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
401 (run_cc_link_tests): Likewise.
402
fef75122
L
4032018-01-27 H.J. Lu <hongjiu.lu@intel.com>
404
405 PR ld/22751
406 * testsuite/config/default.exp (INT128_CFLAGS): New.
407 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
408 Run ld/22751 tests.
409 * testsuite/ld-plugin/pr22751.c: New file.
410 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
411 ld trailing options.
412
d580dcc7
AM
4132018-01-28 Alan Modra <amodra@gmail.com>
414
415 PR 22751
416 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
417 set.
418
2ebd05b8
MR
4192018-01-26 Maciej W. Rozycki <macro@mips.com>
420
421 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
422 `mipself'.
423
bb363086
EB
4242018-01-25 Eric Botcazou <ebotcazou@adacore.com>
425
426 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
427 Link with a version script.
428 (32-bit: TLS -fpie): New test.
429 (64-bit: Helper shared library): Link with a version script.
430 (64-bit: TLS -fpie): New test.
431 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
432 * testsuite/ld-sparc/tlslib.ver: New file.
433 * testsuite/ld-sparc/tlspie32.dd: Likewise.
434 * testsuite/ld-sparc/tlspie32.s: Likewise.
435 * testsuite/ld-sparc/tlspie64.dd: Likewise.
436 * testsuite/ld-sparc/tlspie64.s: Likewise.
437 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
438 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
439 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
440 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
441 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
442 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
443
1daf502a
RL
4442018-01-24 Renlin Li <renlin.li@arm.com>
445
446 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
447 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
448 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
449 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
450 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
451 * testsuite/ld-aarch64/emit-relocs-288.d: New.
452 * testsuite/ld-aarch64/emit-relocs-288.s: New.
453 * testsuite/ld-aarch64/emit-relocs-289.d: New.
454 * testsuite/ld-aarch64/emit-relocs-289.s: New.
455 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
456 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
457 * testsuite/ld-aarch64/emit-relocs-290.d: New.
458 * testsuite/ld-aarch64/emit-relocs-290.s: New.
459 * testsuite/ld-aarch64/emit-relocs-291.d: New.
460 * testsuite/ld-aarch64/emit-relocs-291.s: New.
461 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
462 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
463 * testsuite/ld-aarch64/emit-relocs-292.d: New.
464 * testsuite/ld-aarch64/emit-relocs-292.s: New.
465 * testsuite/ld-aarch64/emit-relocs-293.d: New.
466 * testsuite/ld-aarch64/emit-relocs-293.s: New.
467
8a1b824a
L
4682018-01-20 H.J. Lu <hongjiu.lu@intel.com>
469
470 PR ld/22721
471 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
472 * testsuite/ld-plugin/pr22721.t: New file.
473 * testsuite/ld-plugin/pr22721a.s: Likewise.
474 * testsuite/ld-plugin/pr22721b.c: Likewise.
475
1ebfa86a
L
4762018-01-18 H.J. Lu <hongjiu.lu@intel.com>
477
478 * testsuite/ld-elf/group1.d: Also xfail Solaris.
479
f7968f08
L
4802018-01-18 H.J. Lu <hongjiu.lu@intel.com>
481
482 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
483 PLT/GOT order/layout for Solaris/x86 targets.
484 * testsuite/ld-elf/linkinfo1b.d: Likewise.
485
c5bdb022
L
4862018-01-18 H.J. Lu <hongjiu.lu@intel.com>
487
488 PR ld/22728
489 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
490 into ...
491 (elf_solaris2_before_allocation): This.
492 (LDEMUL_AFTER_ALLOCATION): Removed.
493
691d2e9a
AM
4942018-01-18 Alan Modra <amodra@gmail.com>
495
496 * emultempl/ppc32elf.em: Support optional --plt-align arg.
497 * emultempl/ppc64elf.em: Support negative --plt-align arg.
498
1be5d8d3
AM
4992018-01-17 Alan Modra <amodra@gmail.com>
500
501 * emultempl/ppc32elf.em (params): Init new field.
502 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
503 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
504 (PARSE_AND_LIST_LONGOPTS): Handle new options.
505 (PARSE_AND_LIST_ARGS_CASES): Likewise.
506 (PARSE_AND_LIST_OPTIONS): Likewise.
507 * emultempl/ppc64elf.em (params): Init new field.
508 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
509 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
510 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
511 (PARSE_AND_LIST_OPTIONS): Likewise.
512 (PARSE_AND_LIST_ARGS_CASES): Likewise.
513 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
514 (--speculate-indirect-jumps): Document.
515 * testsuite/ld-powerpc/elfv2exe.d,
516 * testsuite/ld-powerpc/elfv2so.d,
517 * testsuite/ld-powerpc/relbrlt.d,
518 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
519 speculation barriers on various tests.
520
9e390558
AM
5212018-01-17 Alan Modra <amodra@gmail.com>
522
523 * emultempl/ppc32elf.em (params): Init new field.
524 (enum ppc32_opt): New enum to define OPTION_* values. Add
525 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
526 (PARSE_AND_LIST_LONGOPTS): Handle new options.
527 (PARSE_AND_LIST_ARGS_CASES): Likewise.
528 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
529 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
530 correctly for negative --plt-stub-align.
531 * testsuite/ld-powerpc/elfv2exe.d,
532 * testsuite/ld-powerpc/elfv2so.d,
533 * testsuite/ld-powerpc/relbrlt.d,
534 * testsuite/ld-powerpc/relbrlt.s,
535 * testsuite/ld-powerpc/tlsexe.d,
536 * testsuite/ld-powerpc/tlsexe.r,
537 * testsuite/ld-powerpc/tlsexe32.d,
538 * testsuite/ld-powerpc/tlsexe32.g,
539 * testsuite/ld-powerpc/tlsexe32.r,
540 * testsuite/ld-powerpc/tlsexetoc.d,
541 * testsuite/ld-powerpc/tlsexetoc.r,
542 * testsuite/ld-powerpc/tlsopt5_32.d,
543 * testsuite/ld-powerpc/tlsso.d,
544 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
545
f6efed01
NC
5462018-01-16 Nick Clifton <nickc@redhat.com>
547
f174ef9f 548 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 549
616dcb87
NC
5502018-01-15 Nick Clifton <nickc@redhat.com>
551
552 * po/uk.po: Updated Ukranian translation.
553
3957a496
NC
5542018-01-13 Nick Clifton <nickc@redhat.com>
555
556 * po/ld.pot: Regenerated.
557
769c7ea5
NC
5582018-01-13 Nick Clifton <nickc@redhat.com>
559
560 * configure: Regenerate.
561
9176ac5b
NC
5622018-01-13 Nick Clifton <nickc@redhat.com>
563
faf766e3 564 2.30 branch created.
9176ac5b
NC
565 * NEWS: Add marker for 2.30.
566
5ae5d3fd
AM
5672018-01-12 Alan Modra <amodra@gmail.com>
568
569 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
570 initialization" for currently failing targets.
571
87e79a65
AM
5722018-01-12 Alan Modra <amodra@gmail.com>
573
574 PR ld/22649
575 * testsuite/ld-elf/pr22649.msg: Allow other messages.
576 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
577 supported before running ld/22649 tests.
578
97a232d7
NC
5792018-01-12 Nick Clifton <nickc@redhat.com>
580
581 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
582 as the opposite of "-z defs".
583 * ld.texinfo: Document the new option. Update the description of
584 the -z defs option to make it clear that it does generate an error
585 if an undefined symbol reference is found in an object file whilst
586 creating a shared library.
587 * NEWS: Document this new feature.
588
33eff4ce
L
5892018-01-11 H.J. Lu <hongjiu.lu@intel.com>
590
591 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
592 "-z separate-code".
593 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
594 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
595 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
596
cf9e7f1f
L
5972018-01-11 H.J. Lu <hongjiu.lu@intel.com>
598
599 PR ld/22393
600 * testsuite/ld-x86-64/pr22393-3a.c: New file.
601 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
602 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
603 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
604 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
605 -z max-page-size=0x1000.
606
d346bb27
L
6072018-01-11 H.J. Lu <hongjiu.lu@intel.com>
608
609 PR ld/22393
610 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
611 * testsuite/ld-elf/pr22393-1.s: New file.
612 * testsuite/ld-elf/pr22393-1a.d: Likewise.
613 * testsuite/ld-elf/pr22393-1b.d: Likewise.
614 * testsuite/ld-elf/pr22393-1c.d: Likewise.
615 * testsuite/ld-elf/pr22393-1d.d: Likewise.
616 * testsuite/ld-elf/pr22393-1e.d: Likewise.
617 * testsuite/ld-elf/pr22393-1f.d: Likewise.
618 * testsuite/ld-elf/pr22393-2a.c: Likewise.
619 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
620 * testsuite/ld-elf/pr22393-2b.c: Likewise.
621 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
622 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
623
47acac12
L
6242018-01-11 H.J. Lu <hongjiu.lu@intel.com>
625
626 PR ld/22393
627 * NEWS: Mention "-z separate-code".
628 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
629 builtin linker scripts and return linker scripts from disk for
630 "-z separate-code".
631 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
632 and "-z noseparate-code".
633 * genscripts.sh: Generate linker scripts for "-z separate-code".
634 (LD_FLAG): Set to *textonly for "-z separate-code".
635 * ld.texinfo: Document "-z separate-code".
636 * lexsup.c (elf_shlib_list_options): Add linker help messsages
637 for "-z separate-code" and "-z noseparate-code".
638 * scripttempl/elf.sc (SEPARATE_TEXT): New
639 (TEXT_SEGMENT_ALIGN): Likewise.
640 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
641 ${MAXPAGESIZE}.
642
d664fd41
L
6432018-01-11 H.J. Lu <hongjiu.lu@intel.com>
644
645 PR ld/22649
646 * testsuite/ld-elf/pr22649-1.s: New file.
647 * testsuite/ld-elf/pr22649-2a.s: Likewise.
648 * testsuite/ld-elf/pr22649-2b.s: Likewise.
649 * testsuite/ld-elf/pr22649.msg: Likewise.
650 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
651
8b6f4cd3
L
6522018-01-11 H.J. Lu <hongjiu.lu@intel.com>
653
654 PR ld/22677
655 * scripttempl/elf.sc (PREINIT_ARRAY): New.
656 Don't add .preinit_array for ld -r.
657 * testsuite/ld-elf/pr22677.d: New file.
658 * testsuite/ld-elf/pr22677.s: Likewise.
659
65f14869
AB
6602018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
661
662 * ldexp.h (union etree_union): Remove defsym field.
663 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
664 parameter.
665 (exp_assign): Remove passing of defsym parameter.
666 (exp_defsym): Likewise.
667 (exp_provide): Likewise.
668
eab62f2f
AB
6692018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
672 nodes are ignored in the tree walk, and move the location at which
673 we change provide nodes into provided nodes.
674 (exp_init_os): Add etree_provided.
675 * testsuite/ld-scripts/provide-6.d: New file.
676 * testsuite/ld-scripts/provide-6.t: New file.
677 * testsuite/ld-scripts/provide-7.d: New file.
678 * testsuite/ld-scripts/provide-7.t: New file.
679 * testsuite/ld-scripts/provide-8.d: New file.
680 * testsuite/ld-scripts/provide-8.t: New file.
681
8be965c5
AB
6822018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
683
684 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
685 * testsuite/ld-scripts/provide-4.d: Use new map file name.
686 * testsuite/ld-scripts/provide-5.d: Use new map file name.
687 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
688 * testsuite/ld-scripts/provide-4.map: ...this.
689 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
690 * testsuite/ld-scripts/provide-5.map: ...this.
691 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
692 file, and run tests in a loop.
693
b3b9f8d3
AB
6942018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
695
696 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
697 PROVIDE statements.
698 * testsuite/ld-scripts/provide-4.map: Update expected output.
699 * testsuite/ld-scripts/provide-5.map: Likewise.
700
6bd0a312
L
7012018-01-11 H.J. Lu <hongjiu.lu@intel.com>
702
703 PR ld/22696
704 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
705
74ccf6db
JW
7062018-01-09 Jim Wilson <jimw@sifive.com>
707
708 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
709 (#alltargets): Renamed from #target. Add shared.
710 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
711 Document alltargets option. Add support for alltargets option.
712 (istarget): Add support for shared target.
713
7615ca1d
JW
7142018-01-08 Jim Wilson <jimw@sifive.com>
715
716 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
717 instead of .text.
718 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
719 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
720 tests, add call to check_shared_lib_support.
721
be1dce26
JW
7222018-01-05 Jim Wilson <jimw@sifive.com>
723
35eeb78f
JW
724 * testsuite/ld-riscv-elf/disas-jalr.d: New.
725 * testsuite/ld-riscv-elf/disas-jalr.s: New.
726 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
727
be1dce26
JW
728 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
729 case on $target, and don't set for riscv*-elf targets.
730 (GENERATE_PIE_SCRIPT): Likewise.
731
219d1afa
AM
7322018-01-03 Alan Modra <amodra@gmail.com>
733
734 Update year range in copyright notice of all files.
735
1e563868 736For older changes see ChangeLog-2017
3499769a 737\f
1e563868 738Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
739
740Copying and distribution of this file, with or without modification,
741are permitted in any medium without royalty provided the copyright
742notice and this notice are preserved.
743
744Local Variables:
745mode: change-log
746left-margin: 8
747fill-column: 74
748version-control: never
749End:
This page took 0.164554 seconds and 4 git commands to generate.