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