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