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