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