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