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