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