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