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