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