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