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