]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
mpx.exp: Add -z max-page-size=0x200000 -z noseparate-code
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
197741f1
L
12018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
4 -z noseparate-code.
5
7c9f387a
L
62018-02-16 H.J. Lu <hongjiu.lu@intel.com>
7
8 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
9 -z max-page-size=0x200000, excluding NaCl target.
10
c9d3eb5f
L
112018-02-16 H.J. Lu <hongjiu.lu@intel.com>
12
13 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
14 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
15 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
16 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
17 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
18 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
19 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
20
679a5bc8
L
212018-02-16 H.J. Lu <hongjiu.lu@intel.com>
22
23 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
24 -z max-page-size=0x200000 -z noseparate-code.
25 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
26 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
27 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
28 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
29 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
30 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
31
62e2b91b
L
322018-02-16 H.J. Lu <hongjiu.lu@intel.com>
33
34 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
35 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
36 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
37
9f4aec8d
L
382018-02-16 H.J. Lu <hongjiu.lu@intel.com>
39
40 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
41 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
42 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
43
410a69a0
L
442018-02-16 H.J. Lu <hongjiu.lu@intel.com>
45
46 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
47 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
48 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
49 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
50 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
51 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
52 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
53 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
54 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
55 * testsuite/ld-i386/load1.d: Likewise.
56 * testsuite/ld-i386/pie1.d: Likewise.
57 * testsuite/ld-i386/pr20244-1a.d: Likewise.
58 * testsuite/ld-i386/pr20244-1b.d: Likewise.
59 * testsuite/ld-i386/pr20244-2a.d: Likewise.
60 * testsuite/ld-i386/pr20244-2b.d: Likewise.
61 * testsuite/ld-i386/pr20244-2c.d: Likewise.
62 * testsuite/ld-i386/pr20244-4a.d: Likewise.
63 * testsuite/ld-i386/pr20244-4b.d: Likewise.
64 * testsuite/ld-i386/pr20830.d: Likewise.
65
75bd00e8
L
662018-02-16 H.J. Lu <hongjiu.lu@intel.com>
67
68 * testsuite/ld-i386/pr19636-1a.d: Updated.
69 * testsuite/ld-i386/pr19636-1b.d: Likewise.
70 * testsuite/ld-i386/pr19636-1j.d: Likewise.
71 * testsuite/ld-i386/pr19636-1k.d: Likewise.
72 * testsuite/ld-i386/pr19636-2a.d: Likewise.
73 * testsuite/ld-i386/pr19636-2b.d: Likewise.
74
760b2893
L
752018-02-16 H.J. Lu <hongjiu.lu@intel.com>
76
77 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
78
75cdede0
L
792018-02-16 H.J. Lu <hongjiu.lu@intel.com>
80
81 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
82 * testsuite/ld-elf/textaddr1.d: Likewise.
83 * testsuite/ld-elf/textaddr2.d: Likewise.
84 * testsuite/ld-elf/textaddr4.d: Likewise.
85 * testsuite/ld-elf/textaddr6.d: Likewise.
86
2a0d9853
JW
872018-02-15 Jim Wilson <jimw@sifive.com>
88
89 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
90 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
91 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
92
451875b4
L
932018-02-14 H.J. Lu <hongjiu.lu@intel.com>
94
95 PR ld/22842
96 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
97 * testsuite/ld-x86-64/x86-64.exp: Likewise.
98 * testsuite/ld-i386/pr22842a.c: New file.
99 * testsuite/ld-i386/pr22842b.S: Likewise.
100 * testsuite/ld-x86-64/pr22842a.c: Likewise.
101 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
102 * testsuite/ld-x86-64/pr22842b.S: Likewise.
103 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
104
d4dd94f8
MR
1052018-02-14 Maciej W. Rozycki <macro@mips.com>
106
107 * ldlex.h (ldlex_command): Remove prototype.
108
85f2093d
L
1092018-02-13 H.J. Lu <hongjiu.lu@intel.com>
110
111 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
112 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
113
60f763ee
AM
1142018-02-14 H.J. Lu <hongjiu.lu@intel.com>
115
116 PR 22836
117 * testsuite/ld-elf/pr22836-1.s: New file.
118 * testsuite/ld-elf/pr22836-1a.d: Likewise.
119 * testsuite/ld-elf/pr22836-1b.d: Likewise.
120
bd7ab16b
L
1212018-02-13 H.J. Lu <hongjiu.lu@intel.com>
122
123 PR gas/22791
124 * testsuite/ld-x86-64/mpx1c.rd: Updated.
125 * testsuite/ld-x86-64/pr22791-1.err: New file.
126 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
127 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
128 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
129 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
130 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
131 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
132 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
133
6e5e9d58
AM
1342018-02-13 Alan Modra <amodra@gmail.com>
135
136 PR 22836
137 * testsuite/ld-elf/pr22836-2.d,
138 * testsuite/ld-elf/pr22836-2.s: New test.
139
f2731e0c
AM
1402018-02-13 Alan Modra <amodra@gmail.com>
141
142 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
143
407aa07c
AM
1442018-02-07 Alan Modra <amodra@gmail.com>
145
146 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
147 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
148 * emultempl/ppc64elf.em: Likesize
149 * ld.texinfo: Likewise
150 * testsuite/ld-powerpc/elfv2exe.d,
151 * testsuite/ld-powerpc/elfv2so.d,
152 * testsuite/ld-powerpc/relbrlt.d,
153 * testsuite/ld-powerpc/powerpc.exp: Likewise.
154
c20c30f6
EB
1552018-02-06 Eric Botcazou <ebotcazou@adacore.com>
156
157 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
158 (pr22263-1): Pass AFLAGS_PIC to the assembler.
159 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
160 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
161 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
162 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
163
279b2f94
RL
1642018-02-05 Renlin Li <renlin.li@arm.com>
165
166 PR ld/22764
167 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
168 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
169 * testsuite/ld-aarch64/pr22764.s: New.
170 * testsuite/ld-aarch64/pr22764.d: New.
171
cd048363
L
1722018-02-05 H.J. Lu <hongjiu.lu@intel.com>
173
174 PR ld/22782
175 * testsuite/ld-i386/discarded1.s: Replace mov with div.
176 * testsuite/ld-x86-64/discarded1.s: Likewise.
177 * testsuite/ld-i386/i386.exp: Run pr22782.
178 * testsuite/ld-i386/load1-nacl.d: Updated for removing
179 _GLOBAL_OFFSET_TABLE_ from output.
180 * testsuite/ld-i386/load1.d: Likewise.
181 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
182 * testsuite/ld-x86-64/load1a.d: Likewise.
183 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
184 * testsuite/ld-x86-64/load1b.d: Likewise.
185 * testsuite/ld-i386/pr22782.d: New file.
186 * testsuite/ld-i386/pr22782.s: Likewise.
187 * testsuite/ld-x86-64/pr22782.s: Likewise.
188 * testsuite/ld-x86-64/pr22782a.d: Likewise.
189 * testsuite/ld-x86-64/pr22782b.d: Likewise.
190 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
191
f174ef9f
NC
1922018-02-05 Nick Clifton <nickc@redhat.com>
193
194 * po/pt_BR.po: Updated Brazilian Portuguese translation.
195
9f7393d8
L
1962018-02-04 H.J. Lu <hongjiu.lu@intel.com>
197
198 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
199 * testsuite/ld-i386/lea1e.d: Likewise.
200 * testsuite/ld-i386/lea1f.d: Likewise.
201 * testsuite/ld-x86-64/lea1g.d: Likewise.
202 * testsuite/ld-x86-64/lea1h.d: Likewise.
203 * testsuite/ld-x86-64/lea1i.d: Likewise.
204 * testsuite/ld-x86-64/lea1j.d: Likewise.
205 * testsuite/ld-x86-64/lea1k.d: Likewise.
206 * testsuite/ld-x86-64/lea1l.d: Likewise.
207
b0daac83
NC
2082018-02-03 Nick Clifton <nickc@redhat.com>
209
210 PR 22762
211 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
212 __DTOR_LIST__ symbols. Add a comment explaining why this is
213 necessary.
214 * scripttemp/pep.sc: Likewise.
215 * ld.texinfo (PROVIDE): Add a note about the effect of common
216 symbols.
217
138a158f
SL
2182018-02-03 Sandra Loosemore <sandra@codesourcery.com>
219
220 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
221
e54d3c94
MR
2222018-02-02 Maciej W. Rozycki <macro@mips.com>
223
224 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
225 assembly builds where missing and remove `tic6x-*-*' XFAIL
226 markings accordingly.
227
e99955cd
SM
2282018-02-01 Simon Marchi <simon.marchi@ericsson.com>
229
230 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
231 on NULL pointer.
232
f000c2b9
L
2332018-01-31 H.J. Lu <hongjiu.lu@intel.com>
234
235 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
236
450b6317
MR
2372018-01-31 Maciej W. Rozycki <macro@mips.com>
238
239 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
240
8988502d
MR
2412018-01-31 Maciej W. Rozycki <macro@mips.com>
242
243 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
244 involving a shared library for `mips*vr4100*-*-elf*',
245 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
246 * testsuite/ld-elf/provide-hidden.exp: Likewise.
247 * testsuite/ld-elf/shared.exp: Likewise.
248 * testsuite/ld-gc/gc.exp: Likewise.
249 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
250
f3a9baf1
MR
2512018-01-31 Maciej W. Rozycki <macro@mips.com>
252
253 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
254 * testsuite/ld-elf/shared.exp: ... here.
255
bf3077a6
MM
2562018-01-31 Michael Matz <matz@suse.de>
257
258 * testsuite/ld-elf/pr21964-5.c: New test.
259 * testsuite/ld-elf/shared.exp: Run it.
260
823143c6
L
2612018-01-31 H.J. Lu <hongjiu.lu@intel.com>
262
263 PR ld/21964
264 * testsuite/ld-elf/pr21964-4.c: New file.
265 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
266
040b4a9e
AM
2672018-01-30 Alan Modra <amodra@gmail.com>
268
269 * testsuite/ld-gc/stop.d,
270 * testsuite/ld-gc/stop.s: New test.
271 * testsuite/ld-gc/gc.exp: Run it.
272
af667f22
MR
2732018-01-30 Maciej W. Rozycki <macro@mips.com>
274
275 PR ld/22649
276 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
277 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
278 * testsuite/ld-elf/shared.exp: Use the new outputs with
279 `mips*-*-*' targets.
280
82252033
MR
2812018-01-30 Maciej W. Rozycki <macro@mips.com>
282
283 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
284 `PRC[0xff02]' in place of a regular section index.
285 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
286
36b8fda5
AM
2872018-01-29 Alan Modra <amodra@gmail.com>
288
289 * testsuite/ld-elf/pr21964-3a.c: New file.
290 * testsuite/ld-elf/pr21964-3c.c: New file.
291 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
292
185cdb8c
EB
2932018-01-29 Eric Botcazou <ebotcazou@adacore.com>
294
295 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
296 (pr22269-1): Pass AFLAGS_PIC to the assembler.
297
d85815e2
EB
2982018-01-29 Eric Botcazou <ebotcazou@adacore.com>
299
300 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
301
86b24e15
MR
3022018-01-29 Maciej W. Rozycki <macro@mips.com>
303
304 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
305 targets using non-traditional MIPS emulation or having a limited
306 selection of ABIs available. Don't force big endianness, use
307 defaults.
308
98d72909
L
3092018-01-29 H.J. Lu <hongjiu.lu@intel.com>
310
311 PR ld/22732
312 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
313 "-static" if target compiler supports it.
314 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
315 tests if target compiler doesn't support it.
316 * testsuite/ld-ifunc/ifunc.exp: Likewise.
317 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
318 (run_cc_link_tests): Likewise.
319
fef75122
L
3202018-01-27 H.J. Lu <hongjiu.lu@intel.com>
321
322 PR ld/22751
323 * testsuite/config/default.exp (INT128_CFLAGS): New.
324 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
325 Run ld/22751 tests.
326 * testsuite/ld-plugin/pr22751.c: New file.
327 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
328 ld trailing options.
329
d580dcc7
AM
3302018-01-28 Alan Modra <amodra@gmail.com>
331
332 PR 22751
333 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
334 set.
335
2ebd05b8
MR
3362018-01-26 Maciej W. Rozycki <macro@mips.com>
337
338 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
339 `mipself'.
340
bb363086
EB
3412018-01-25 Eric Botcazou <ebotcazou@adacore.com>
342
343 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
344 Link with a version script.
345 (32-bit: TLS -fpie): New test.
346 (64-bit: Helper shared library): Link with a version script.
347 (64-bit: TLS -fpie): New test.
348 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
349 * testsuite/ld-sparc/tlslib.ver: New file.
350 * testsuite/ld-sparc/tlspie32.dd: Likewise.
351 * testsuite/ld-sparc/tlspie32.s: Likewise.
352 * testsuite/ld-sparc/tlspie64.dd: Likewise.
353 * testsuite/ld-sparc/tlspie64.s: Likewise.
354 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
355 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
356 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
357 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
358 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
359 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
360
1daf502a
RL
3612018-01-24 Renlin Li <renlin.li@arm.com>
362
363 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
364 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
365 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
366 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
367 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
368 * testsuite/ld-aarch64/emit-relocs-288.d: New.
369 * testsuite/ld-aarch64/emit-relocs-288.s: New.
370 * testsuite/ld-aarch64/emit-relocs-289.d: New.
371 * testsuite/ld-aarch64/emit-relocs-289.s: New.
372 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
373 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
374 * testsuite/ld-aarch64/emit-relocs-290.d: New.
375 * testsuite/ld-aarch64/emit-relocs-290.s: New.
376 * testsuite/ld-aarch64/emit-relocs-291.d: New.
377 * testsuite/ld-aarch64/emit-relocs-291.s: New.
378 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
379 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
380 * testsuite/ld-aarch64/emit-relocs-292.d: New.
381 * testsuite/ld-aarch64/emit-relocs-292.s: New.
382 * testsuite/ld-aarch64/emit-relocs-293.d: New.
383 * testsuite/ld-aarch64/emit-relocs-293.s: New.
384
8a1b824a
L
3852018-01-20 H.J. Lu <hongjiu.lu@intel.com>
386
387 PR ld/22721
388 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
389 * testsuite/ld-plugin/pr22721.t: New file.
390 * testsuite/ld-plugin/pr22721a.s: Likewise.
391 * testsuite/ld-plugin/pr22721b.c: Likewise.
392
1ebfa86a
L
3932018-01-18 H.J. Lu <hongjiu.lu@intel.com>
394
395 * testsuite/ld-elf/group1.d: Also xfail Solaris.
396
f7968f08
L
3972018-01-18 H.J. Lu <hongjiu.lu@intel.com>
398
399 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
400 PLT/GOT order/layout for Solaris/x86 targets.
401 * testsuite/ld-elf/linkinfo1b.d: Likewise.
402
c5bdb022
L
4032018-01-18 H.J. Lu <hongjiu.lu@intel.com>
404
405 PR ld/22728
406 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
407 into ...
408 (elf_solaris2_before_allocation): This.
409 (LDEMUL_AFTER_ALLOCATION): Removed.
410
691d2e9a
AM
4112018-01-18 Alan Modra <amodra@gmail.com>
412
413 * emultempl/ppc32elf.em: Support optional --plt-align arg.
414 * emultempl/ppc64elf.em: Support negative --plt-align arg.
415
1be5d8d3
AM
4162018-01-17 Alan Modra <amodra@gmail.com>
417
418 * emultempl/ppc32elf.em (params): Init new field.
419 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
420 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
421 (PARSE_AND_LIST_LONGOPTS): Handle new options.
422 (PARSE_AND_LIST_ARGS_CASES): Likewise.
423 (PARSE_AND_LIST_OPTIONS): Likewise.
424 * emultempl/ppc64elf.em (params): Init new field.
425 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
426 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
427 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
428 (PARSE_AND_LIST_OPTIONS): Likewise.
429 (PARSE_AND_LIST_ARGS_CASES): Likewise.
430 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
431 (--speculate-indirect-jumps): Document.
432 * testsuite/ld-powerpc/elfv2exe.d,
433 * testsuite/ld-powerpc/elfv2so.d,
434 * testsuite/ld-powerpc/relbrlt.d,
435 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
436 speculation barriers on various tests.
437
9e390558
AM
4382018-01-17 Alan Modra <amodra@gmail.com>
439
440 * emultempl/ppc32elf.em (params): Init new field.
441 (enum ppc32_opt): New enum to define OPTION_* values. Add
442 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
443 (PARSE_AND_LIST_LONGOPTS): Handle new options.
444 (PARSE_AND_LIST_ARGS_CASES): Likewise.
445 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
446 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
447 correctly for negative --plt-stub-align.
448 * testsuite/ld-powerpc/elfv2exe.d,
449 * testsuite/ld-powerpc/elfv2so.d,
450 * testsuite/ld-powerpc/relbrlt.d,
451 * testsuite/ld-powerpc/relbrlt.s,
452 * testsuite/ld-powerpc/tlsexe.d,
453 * testsuite/ld-powerpc/tlsexe.r,
454 * testsuite/ld-powerpc/tlsexe32.d,
455 * testsuite/ld-powerpc/tlsexe32.g,
456 * testsuite/ld-powerpc/tlsexe32.r,
457 * testsuite/ld-powerpc/tlsexetoc.d,
458 * testsuite/ld-powerpc/tlsexetoc.r,
459 * testsuite/ld-powerpc/tlsopt5_32.d,
460 * testsuite/ld-powerpc/tlsso.d,
461 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
462
f6efed01
NC
4632018-01-16 Nick Clifton <nickc@redhat.com>
464
f174ef9f 465 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 466
616dcb87
NC
4672018-01-15 Nick Clifton <nickc@redhat.com>
468
469 * po/uk.po: Updated Ukranian translation.
470
3957a496
NC
4712018-01-13 Nick Clifton <nickc@redhat.com>
472
473 * po/ld.pot: Regenerated.
474
769c7ea5
NC
4752018-01-13 Nick Clifton <nickc@redhat.com>
476
477 * configure: Regenerate.
478
9176ac5b
NC
4792018-01-13 Nick Clifton <nickc@redhat.com>
480
faf766e3 481 2.30 branch created.
9176ac5b
NC
482 * NEWS: Add marker for 2.30.
483
5ae5d3fd
AM
4842018-01-12 Alan Modra <amodra@gmail.com>
485
486 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
487 initialization" for currently failing targets.
488
87e79a65
AM
4892018-01-12 Alan Modra <amodra@gmail.com>
490
491 PR ld/22649
492 * testsuite/ld-elf/pr22649.msg: Allow other messages.
493 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
494 supported before running ld/22649 tests.
495
97a232d7
NC
4962018-01-12 Nick Clifton <nickc@redhat.com>
497
498 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
499 as the opposite of "-z defs".
500 * ld.texinfo: Document the new option. Update the description of
501 the -z defs option to make it clear that it does generate an error
502 if an undefined symbol reference is found in an object file whilst
503 creating a shared library.
504 * NEWS: Document this new feature.
505
33eff4ce
L
5062018-01-11 H.J. Lu <hongjiu.lu@intel.com>
507
508 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
509 "-z separate-code".
510 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
511 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
512 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
513
cf9e7f1f
L
5142018-01-11 H.J. Lu <hongjiu.lu@intel.com>
515
516 PR ld/22393
517 * testsuite/ld-x86-64/pr22393-3a.c: New file.
518 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
519 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
520 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
521 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
522 -z max-page-size=0x1000.
523
d346bb27
L
5242018-01-11 H.J. Lu <hongjiu.lu@intel.com>
525
526 PR ld/22393
527 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
528 * testsuite/ld-elf/pr22393-1.s: New file.
529 * testsuite/ld-elf/pr22393-1a.d: Likewise.
530 * testsuite/ld-elf/pr22393-1b.d: Likewise.
531 * testsuite/ld-elf/pr22393-1c.d: Likewise.
532 * testsuite/ld-elf/pr22393-1d.d: Likewise.
533 * testsuite/ld-elf/pr22393-1e.d: Likewise.
534 * testsuite/ld-elf/pr22393-1f.d: Likewise.
535 * testsuite/ld-elf/pr22393-2a.c: Likewise.
536 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
537 * testsuite/ld-elf/pr22393-2b.c: Likewise.
538 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
539 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
540
47acac12
L
5412018-01-11 H.J. Lu <hongjiu.lu@intel.com>
542
543 PR ld/22393
544 * NEWS: Mention "-z separate-code".
545 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
546 builtin linker scripts and return linker scripts from disk for
547 "-z separate-code".
548 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
549 and "-z noseparate-code".
550 * genscripts.sh: Generate linker scripts for "-z separate-code".
551 (LD_FLAG): Set to *textonly for "-z separate-code".
552 * ld.texinfo: Document "-z separate-code".
553 * lexsup.c (elf_shlib_list_options): Add linker help messsages
554 for "-z separate-code" and "-z noseparate-code".
555 * scripttempl/elf.sc (SEPARATE_TEXT): New
556 (TEXT_SEGMENT_ALIGN): Likewise.
557 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
558 ${MAXPAGESIZE}.
559
d664fd41
L
5602018-01-11 H.J. Lu <hongjiu.lu@intel.com>
561
562 PR ld/22649
563 * testsuite/ld-elf/pr22649-1.s: New file.
564 * testsuite/ld-elf/pr22649-2a.s: Likewise.
565 * testsuite/ld-elf/pr22649-2b.s: Likewise.
566 * testsuite/ld-elf/pr22649.msg: Likewise.
567 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
568
8b6f4cd3
L
5692018-01-11 H.J. Lu <hongjiu.lu@intel.com>
570
571 PR ld/22677
572 * scripttempl/elf.sc (PREINIT_ARRAY): New.
573 Don't add .preinit_array for ld -r.
574 * testsuite/ld-elf/pr22677.d: New file.
575 * testsuite/ld-elf/pr22677.s: Likewise.
576
65f14869
AB
5772018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
578
579 * ldexp.h (union etree_union): Remove defsym field.
580 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
581 parameter.
582 (exp_assign): Remove passing of defsym parameter.
583 (exp_defsym): Likewise.
584 (exp_provide): Likewise.
585
eab62f2f
AB
5862018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
587
588 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
589 nodes are ignored in the tree walk, and move the location at which
590 we change provide nodes into provided nodes.
591 (exp_init_os): Add etree_provided.
592 * testsuite/ld-scripts/provide-6.d: New file.
593 * testsuite/ld-scripts/provide-6.t: New file.
594 * testsuite/ld-scripts/provide-7.d: New file.
595 * testsuite/ld-scripts/provide-7.t: New file.
596 * testsuite/ld-scripts/provide-8.d: New file.
597 * testsuite/ld-scripts/provide-8.t: New file.
598
8be965c5
AB
5992018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
602 * testsuite/ld-scripts/provide-4.d: Use new map file name.
603 * testsuite/ld-scripts/provide-5.d: Use new map file name.
604 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
605 * testsuite/ld-scripts/provide-4.map: ...this.
606 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
607 * testsuite/ld-scripts/provide-5.map: ...this.
608 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
609 file, and run tests in a loop.
610
b3b9f8d3
AB
6112018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
612
613 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
614 PROVIDE statements.
615 * testsuite/ld-scripts/provide-4.map: Update expected output.
616 * testsuite/ld-scripts/provide-5.map: Likewise.
617
6bd0a312
L
6182018-01-11 H.J. Lu <hongjiu.lu@intel.com>
619
620 PR ld/22696
621 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
622
74ccf6db
JW
6232018-01-09 Jim Wilson <jimw@sifive.com>
624
625 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
626 (#alltargets): Renamed from #target. Add shared.
627 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
628 Document alltargets option. Add support for alltargets option.
629 (istarget): Add support for shared target.
630
7615ca1d
JW
6312018-01-08 Jim Wilson <jimw@sifive.com>
632
633 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
634 instead of .text.
635 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
636 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
637 tests, add call to check_shared_lib_support.
638
be1dce26
JW
6392018-01-05 Jim Wilson <jimw@sifive.com>
640
35eeb78f
JW
641 * testsuite/ld-riscv-elf/disas-jalr.d: New.
642 * testsuite/ld-riscv-elf/disas-jalr.s: New.
643 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
644
be1dce26
JW
645 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
646 case on $target, and don't set for riscv*-elf targets.
647 (GENERATE_PIE_SCRIPT): Likewise.
648
219d1afa
AM
6492018-01-03 Alan Modra <amodra@gmail.com>
650
651 Update year range in copyright notice of all files.
652
1e563868 653For older changes see ChangeLog-2017
3499769a 654\f
1e563868 655Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
656
657Copying and distribution of this file, with or without modification,
658are permitted in any medium without royalty provided the copyright
659notice and this notice are preserved.
660
661Local Variables:
662mode: change-log
663left-margin: 8
664fill-column: 74
665version-control: never
666End: