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