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