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