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