]>
Commit | Line | Data |
---|---|---|
cd2de608 AM |
1 | 2018-03-19 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | Backport from master branch | |
4 | 2018-02-14 H.J. Lu <hongjiu.lu@intel.com> | |
5 | ||
6 | PR 22836 | |
7 | * testsuite/ld-elf/pr22836-1.s: New file. | |
8 | * testsuite/ld-elf/pr22836-1a.d: Likewise. | |
9 | * testsuite/ld-elf/pr22836-1b.d: Likewise. | |
10 | ||
d957f81c AM |
11 | 2018-03-19 H.J. Lu <hongjiu.lu@intel.com> |
12 | ||
13 | Backport from master branch | |
14 | 2018-02-13 Alan Modra <amodra@gmail.com> | |
15 | ||
16 | PR 22836 | |
17 | * testsuite/ld-elf/pr22836-2.d, | |
18 | * testsuite/ld-elf/pr22836-2.s: New test. | |
19 | ||
da8c5cfc L |
20 | 2018-03-14 H.J. Lu <hongjiu.lu@intel.com> |
21 | ||
22 | PR ld/20882 | |
23 | * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev | |
24 | section. | |
25 | * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section. | |
26 | ||
9224cc64 EB |
27 | 2018-02-09 Eric Botcazou <ebotcazou@adacore.com> |
28 | ||
29 | * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64. | |
30 | ||
5ffeba4a AM |
31 | 2018-02-07 Alan Modra <amodra@gmail.com> |
32 | ||
33 | Revert 2018-01-17 Alan Modra <amodra@gmail.com> | |
34 | * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support. | |
35 | * emultempl/ppc64elf.em: Likesize | |
36 | * ld.texinfo: Likewise | |
37 | * testsuite/ld-powerpc/elfv2exe.d, | |
38 | * testsuite/ld-powerpc/elfv2so.d, | |
39 | * testsuite/ld-powerpc/relbrlt.d, | |
40 | * testsuite/ld-powerpc/powerpc.exp: Likewise. | |
41 | ||
b01452b1 RL |
42 | 2018-02-05 Renlin Li <renlin.li@arm.com> |
43 | ||
44 | PR ld/22764 | |
45 | * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address. | |
46 | * testsuite/ld-aarch64/emit-relocs-259.s: Likewise. | |
47 | * testsuite/ld-aarch64/pr22764.s: New. | |
48 | * testsuite/ld-aarch64/pr22764.d: New. | |
49 | ||
f4858ef2 NC |
50 | 2018-02-05 Nick Clifton <nickc@redhat.com> |
51 | ||
52 | * po/pt_BR.po: Updated Brazilian Portuguese translation. | |
53 | ||
a985e9b9 NC |
54 | 2018-02-05 Nick Clifton <nickc@redhat.com> |
55 | ||
56 | Import from mainline: | |
57 | ||
58 | 2018-02-03 Nick Clifton <nickc@redhat.com> | |
59 | ||
60 | PR 22762 | |
61 | * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and | |
62 | __DTOR_LIST__ symbols. Add a comment explaining why this is | |
63 | necessary. | |
64 | * scripttemp/pep.sc: Likewise. | |
65 | * ld.texinfo (PROVIDE): Add a note about the effect of common | |
66 | symbols. | |
67 | ||
e43d51b1 NC |
68 | 2018-01-27 Nick Clifton <nickc@redhat.com> |
69 | ||
70 | Back to development. | |
71 | ||
72 | * configure: Regenerate. | |
73 | ||
8db5daf9 NC |
74 | 2018-01-27 Nick Clifton <nickc@redhat.com> |
75 | ||
76 | This is the 2.30 release: | |
77 | ||
78 | * configure: Regenerate. | |
79 | * po/ld.pot: Regenerate. | |
80 | ||
cad6449e NC |
81 | 2018-01-27 Nick Clifton <nickc@redhat.com> |
82 | ||
83 | PR 22751 | |
84 | Revert this change as a temporary solution for this PR: | |
85 | ||
86 | 2017-09-02 Alan Modra <amodra@gmail.com> | |
87 | ||
88 | * ldlang.h (lang_input_statement_type): Expand comments. | |
89 | (LANG_FOR_EACH_INPUT_STATEMENT): Rewrite without casts. | |
90 | * ldlang.c (lang_for_each_input_file): Likewise. | |
91 | (load_symbols): Set usrdata for archives. | |
92 | (find_rescan_insertion): New function. | |
93 | (lang_process): Trim off and reinsert entries added to file chain | |
94 | when rescanning archives for LTO. | |
95 | * ldmain.c (add_archive_element): Set my_archive input_statement | |
96 | next pointer to last element added. | |
97 | ||
220cf7e7 EB |
98 | 2018-01-25 Eric Botcazou <ebotcazou@adacore.com> |
99 | ||
100 | * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library): | |
101 | Link with a version script. | |
102 | (32-bit: TLS -fpie): New test. | |
103 | (64-bit: Helper shared library): Link with a version script. | |
104 | (64-bit: TLS -fpie): New test. | |
105 | (64-bit: GOTDATA relocations): Pass -Av9 to the assembler. | |
106 | * testsuite/ld-sparc/tlslib.ver: New file. | |
107 | * testsuite/ld-sparc/tlspie32.dd: Likewise. | |
108 | * testsuite/ld-sparc/tlspie32.s: Likewise. | |
109 | * testsuite/ld-sparc/tlspie64.dd: Likewise. | |
110 | * testsuite/ld-sparc/tlspie64.s: Likewise. | |
111 | * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol. | |
112 | * testsuite/ld-sparc/tlssunbin32.rd: Likewise. | |
113 | * testsuite/ld-sparc/tlssunbin32.sd: Likewise. | |
114 | * testsuite/ld-sparc/tlssunbin64.dd: Likewise. | |
115 | * testsuite/ld-sparc/tlssunbin64.rd: Likewise. | |
116 | * testsuite/ld-sparc/tlssunbin64.sd: Likewise. | |
117 | ||
0e46230d NC |
118 | 2018-01-23 Nick Clifton <nickc@redhat.com> |
119 | ||
120 | * configure: Regenerate. | |
121 | ||
0a99d340 L |
122 | 2018-01-20 H.J. Lu <hongjiu.lu@intel.com> |
123 | ||
124 | PR ld/22721 | |
125 | * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests. | |
126 | * testsuite/ld-plugin/pr22721.t: New file. | |
127 | * testsuite/ld-plugin/pr22721a.s: Likewise. | |
128 | * testsuite/ld-plugin/pr22721b.c: Likewise. | |
129 | ||
430fb493 AM |
130 | 2018-01-18 Alan Modra <amodra@gmail.com> |
131 | ||
132 | * emultempl/ppc32elf.em: Support optional --plt-align arg. | |
133 | * emultempl/ppc64elf.em: Support negative --plt-align arg. | |
134 | ||
d847d518 AM |
135 | 2018-01-18 Alan Modra <amodra@gmail.com> |
136 | ||
137 | * emultempl/ppc32elf.em (params): Init new field. | |
138 | (OPTION_SPECULATE_INDIRECT_JUMPS): Define. | |
139 | (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define. | |
140 | (PARSE_AND_LIST_LONGOPTS): Handle new options. | |
141 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
142 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
143 | * emultempl/ppc64elf.em (params): Init new field. | |
144 | (OPTION_SPECULATE_INDIRECT_JUMPS): Define. | |
145 | (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define. | |
146 | (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps. | |
147 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
148 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
149 | * ld.texinfo (--no-plt-thread-safe): Correct itemx. | |
150 | (--speculate-indirect-jumps): Document. | |
151 | * testsuite/ld-powerpc/elfv2exe.d, | |
152 | * testsuite/ld-powerpc/elfv2so.d, | |
153 | * testsuite/ld-powerpc/relbrlt.d, | |
154 | * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and | |
155 | speculation barriers on various tests. | |
156 | ||
e01e20b2 AM |
157 | 2018-01-18 Alan Modra <amodra@gmail.com> |
158 | ||
159 | * emultempl/ppc32elf.em (params): Init new field. | |
160 | (enum ppc32_opt): New enum to define OPTION_* values. Add | |
161 | OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN. | |
162 | (PARSE_AND_LIST_LONGOPTS): Handle new options. | |
163 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
164 | (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output. | |
165 | * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment | |
166 | correctly for negative --plt-stub-align. | |
167 | * testsuite/ld-powerpc/elfv2exe.d, | |
168 | * testsuite/ld-powerpc/elfv2so.d, | |
169 | * testsuite/ld-powerpc/relbrlt.d, | |
170 | * testsuite/ld-powerpc/relbrlt.s, | |
171 | * testsuite/ld-powerpc/tlsexe.d, | |
172 | * testsuite/ld-powerpc/tlsexe.r, | |
173 | * testsuite/ld-powerpc/tlsexe32.d, | |
174 | * testsuite/ld-powerpc/tlsexe32.g, | |
175 | * testsuite/ld-powerpc/tlsexe32.r, | |
176 | * testsuite/ld-powerpc/tlsexetoc.d, | |
177 | * testsuite/ld-powerpc/tlsexetoc.r, | |
178 | * testsuite/ld-powerpc/tlsopt5_32.d, | |
179 | * testsuite/ld-powerpc/tlsso.d, | |
180 | * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order. | |
181 | ||
0830ca49 NC |
182 | 2018-01-16 Nick Clifton <nickc@redhat.com> |
183 | ||
f4858ef2 | 184 | * po/pt_BR.po: Updated Brazilian Portuguese translation. |
0830ca49 | 185 | |
2f08d052 NC |
186 | 2018-01-15 Nick Clifton <nickc@redhat.com> |
187 | ||
188 | * po/uk.po: Updated Ukranian translation. | |
189 | ||
9050b1d1 NC |
190 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
191 | ||
02e0d43c NC |
192 | * po/ld.pot: Regenerate. |
193 | * configure: Regenerate. | |
9050b1d1 | 194 | |
9176ac5b NC |
195 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
196 | ||
faf766e3 | 197 | 2.30 branch created. |
9176ac5b NC |
198 | * NEWS: Add marker for 2.30. |
199 | ||
5ae5d3fd AM |
200 | 2018-01-12 Alan Modra <amodra@gmail.com> |
201 | ||
202 | * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer | |
203 | initialization" for currently failing targets. | |
204 | ||
87e79a65 AM |
205 | 2018-01-12 Alan Modra <amodra@gmail.com> |
206 | ||
207 | PR ld/22649 | |
208 | * testsuite/ld-elf/pr22649.msg: Allow other messages. | |
209 | * testsuite/ld-elf/shared.exp: Check that --gc-sections is | |
210 | supported before running ld/22649 tests. | |
211 | ||
97a232d7 NC |
212 | 2018-01-12 Nick Clifton <nickc@redhat.com> |
213 | ||
214 | * emultempl/elf32.em (_handle_option): Add support for "-z undefs" | |
215 | as the opposite of "-z defs". | |
216 | * ld.texinfo: Document the new option. Update the description of | |
217 | the -z defs option to make it clear that it does generate an error | |
218 | if an undefined symbol reference is found in an object file whilst | |
219 | creating a shared library. | |
220 | * NEWS: Document this new feature. | |
221 | ||
33eff4ce L |
222 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
223 | ||
224 | * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with | |
225 | "-z separate-code". | |
226 | * testsuite/ld-elf/pr22393-2b.rd: Likewise. | |
227 | * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. | |
228 | * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. | |
229 | ||
cf9e7f1f L |
230 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
231 | ||
232 | PR ld/22393 | |
233 | * testsuite/ld-x86-64/pr22393-3a.c: New file. | |
234 | * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. | |
235 | * testsuite/ld-x86-64/pr22393-3b.c: Likewise. | |
236 | * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. | |
237 | * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code | |
238 | -z max-page-size=0x1000. | |
239 | ||
d346bb27 L |
240 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
241 | ||
242 | PR ld/22393 | |
243 | * testsuite/ld-elf/pr16322.d: Add -z noseparate-code. | |
244 | * testsuite/ld-elf/pr22393-1.s: New file. | |
245 | * testsuite/ld-elf/pr22393-1a.d: Likewise. | |
246 | * testsuite/ld-elf/pr22393-1b.d: Likewise. | |
247 | * testsuite/ld-elf/pr22393-1c.d: Likewise. | |
248 | * testsuite/ld-elf/pr22393-1d.d: Likewise. | |
249 | * testsuite/ld-elf/pr22393-1e.d: Likewise. | |
250 | * testsuite/ld-elf/pr22393-1f.d: Likewise. | |
251 | * testsuite/ld-elf/pr22393-2a.c: Likewise. | |
252 | * testsuite/ld-elf/pr22393-2a.rd: Likewise. | |
253 | * testsuite/ld-elf/pr22393-2b.c: Likewise. | |
254 | * testsuite/ld-elf/pr22393-2b.rd: Likewise. | |
255 | * testsuite/ld-elf/shared.exp: Run tests for -z separate-code. | |
256 | ||
47acac12 L |
257 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
258 | ||
259 | PR ld/22393 | |
260 | * NEWS: Mention "-z separate-code". | |
261 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get | |
262 | builtin linker scripts and return linker scripts from disk for | |
263 | "-z separate-code". | |
264 | (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code" | |
265 | and "-z noseparate-code". | |
266 | * genscripts.sh: Generate linker scripts for "-z separate-code". | |
267 | (LD_FLAG): Set to *textonly for "-z separate-code". | |
268 | * ld.texinfo: Document "-z separate-code". | |
269 | * lexsup.c (elf_shlib_list_options): Add linker help messsages | |
270 | for "-z separate-code" and "-z noseparate-code". | |
271 | * scripttempl/elf.sc (SEPARATE_TEXT): New | |
272 | (TEXT_SEGMENT_ALIGN): Likewise. | |
273 | Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to | |
274 | ${MAXPAGESIZE}. | |
275 | ||
d664fd41 L |
276 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
277 | ||
278 | PR ld/22649 | |
279 | * testsuite/ld-elf/pr22649-1.s: New file. | |
280 | * testsuite/ld-elf/pr22649-2a.s: Likewise. | |
281 | * testsuite/ld-elf/pr22649-2b.s: Likewise. | |
282 | * testsuite/ld-elf/pr22649.msg: Likewise. | |
283 | * testsuite/ld-elf/shared.exp: Run ld/22649 tests. | |
284 | ||
8b6f4cd3 L |
285 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
286 | ||
287 | PR ld/22677 | |
288 | * scripttempl/elf.sc (PREINIT_ARRAY): New. | |
289 | Don't add .preinit_array for ld -r. | |
290 | * testsuite/ld-elf/pr22677.d: New file. | |
291 | * testsuite/ld-elf/pr22677.s: Likewise. | |
292 | ||
65f14869 AB |
293 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
294 | ||
295 | * ldexp.h (union etree_union): Remove defsym field. | |
296 | * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym | |
297 | parameter. | |
298 | (exp_assign): Remove passing of defsym parameter. | |
299 | (exp_defsym): Likewise. | |
300 | (exp_provide): Likewise. | |
301 | ||
eab62f2f AB |
302 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
303 | ||
304 | * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide | |
305 | nodes are ignored in the tree walk, and move the location at which | |
306 | we change provide nodes into provided nodes. | |
307 | (exp_init_os): Add etree_provided. | |
308 | * testsuite/ld-scripts/provide-6.d: New file. | |
309 | * testsuite/ld-scripts/provide-6.t: New file. | |
310 | * testsuite/ld-scripts/provide-7.d: New file. | |
311 | * testsuite/ld-scripts/provide-7.t: New file. | |
312 | * testsuite/ld-scripts/provide-8.d: New file. | |
313 | * testsuite/ld-scripts/provide-8.t: New file. | |
314 | ||
8be965c5 AB |
315 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
316 | ||
317 | * testsuite/ld-scripts/provide-3.d: Add xfail directive. | |
318 | * testsuite/ld-scripts/provide-4.d: Use new map file name. | |
319 | * testsuite/ld-scripts/provide-5.d: Use new map file name. | |
320 | * testsuite/ld-scripts/provide-4-map.d: Renamed to... | |
321 | * testsuite/ld-scripts/provide-4.map: ...this. | |
322 | * testsuite/ld-scripts/provide-5-map.d: Renamed to... | |
323 | * testsuite/ld-scripts/provide-5.map: ...this. | |
324 | * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d | |
325 | file, and run tests in a loop. | |
326 | ||
b3b9f8d3 AB |
327 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
328 | ||
329 | * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing | |
330 | PROVIDE statements. | |
331 | * testsuite/ld-scripts/provide-4.map: Update expected output. | |
332 | * testsuite/ld-scripts/provide-5.map: Likewise. | |
333 | ||
6bd0a312 L |
334 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
335 | ||
336 | PR ld/22696 | |
337 | * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR. | |
338 | ||
74ccf6db JW |
339 | 2018-01-09 Jim Wilson <jimw@sifive.com> |
340 | ||
341 | * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete | |
342 | (#alltargets): Renamed from #target. Add shared. | |
343 | * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target. | |
344 | Document alltargets option. Add support for alltargets option. | |
345 | (istarget): Add support for shared target. | |
346 | ||
7615ca1d JW |
347 | 2018-01-08 Jim Wilson <jimw@sifive.com> |
348 | ||
349 | * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start | |
350 | instead of .text. | |
351 | * testsuite/ld-riscv-elf/c-lui.s: Add _start label. | |
352 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$ | |
353 | tests, add call to check_shared_lib_support. | |
354 | ||
be1dce26 JW |
355 | 2018-01-05 Jim Wilson <jimw@sifive.com> |
356 | ||
35eeb78f JW |
357 | * testsuite/ld-riscv-elf/disas-jalr.d: New. |
358 | * testsuite/ld-riscv-elf/disas-jalr.s: New. | |
359 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase. | |
360 | ||
be1dce26 JW |
361 | * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside |
362 | case on $target, and don't set for riscv*-elf targets. | |
363 | (GENERATE_PIE_SCRIPT): Likewise. | |
364 | ||
219d1afa AM |
365 | 2018-01-03 Alan Modra <amodra@gmail.com> |
366 | ||
367 | Update year range in copyright notice of all files. | |
368 | ||
1e563868 | 369 | For older changes see ChangeLog-2017 |
3499769a | 370 | \f |
1e563868 | 371 | Copyright (C) 2018 Free Software Foundation, Inc. |
3499769a AM |
372 | |
373 | Copying and distribution of this file, with or without modification, | |
374 | are permitted in any medium without royalty provided the copyright | |
375 | notice and this notice are preserved. | |
376 | ||
377 | Local Variables: | |
378 | mode: change-log | |
379 | left-margin: 8 | |
380 | fill-column: 74 | |
381 | version-control: never | |
382 | End: |