Don't link FreeBSD tests with -ldl.
[external/binutils.git] / ld / testsuite / ChangeLog
1 2014-05-19  Andreas Tobler  <andreast@fgznet.ch>
2
3         * ld-elf/shared.exp: Introduce the extralibs variable to control
4         the libraries to be linked. Don't link -ldl on *-*-freebsd*.
5
6         * ld-bootstrap/bootstrap.exp: Do not add -ldl to the extralibs on
7         *-*-freebsd*.
8
9 2014-05-10  Hans-Peter Nilsson  <hp@bitrange.com>
10
11         * ld-mmix/wrap1.d, ld-mmix/wrap1a.s, ld-mmix/wrap1b.s,
12         ld-mmix/wrap1c.s, ld-mmix/wrap2.d, ld-mmix/wrap3.d,
13         ld-mmix/wrap3a.s, ld-mmix/wrap3b.s, ld-mmix/wrap4.d: New
14         tests.
15
16 2014-05-09  H.J. Lu  <hongjiu.lu@intel.com>
17
18         * ld-x86-64/tlsbin.dd: Replace data32 with data16.
19         * ld-x86-64/tlsdesc-nacl.pd: Likewise.
20         * ld-x86-64/tlsgdesc.dd: Likewise.
21         * ld-x86-64/tlsld1.dd: Likewise.
22         * ld-x86-64/tlsld3.dd: Likewise.
23         * ld-x86-64/tlspic.dd: Likewise.
24
25 2014-05-02  Max Filippov  <jcmvbkbc@gmail.com>
26
27         * ld-xtensa/diff_overflow.exp, * ld-xtensa/diff_overflow1.s,
28         * ld-xtensa/diff_overflow2.s: Add test for DIFF* relocation
29         signedness and overflow checking.
30
31 2014-05-01  Hans-Peter Nilsson  <hp@bitrange.com>
32
33         * ld-mmix/sec-11.d, ld-mmix/sec-11.ld, ld-mmix/sec-10.s,
34         ld-mmix/sec-10.d, ld-mmix/b-offlocmis.s, ld-mmix/sec-12.d: New
35         tests.
36         * ld-mmix/b-offloc.s: Correct address in comment.
37
38 2014-04-23  Will Newton  <will.newton@linaro.org>
39
40         * ld-arm/arm-no-rel-plt.ld: Remove OUTPUT_FORMAT and
41         SEARCH_DIR commands.
42         * ld-arm/arm-rel32.d: Update regexps to allow test to
43         pass on armeb-linux-eabi configuration.
44         * ld-arm/data-only-map.d: Likewise.
45         * ld-arm/fix-arm1176-off.d: Likewise.
46         * ld-arm/fix-arm1176-on.d: Likewise.
47         * ld-arm/ifunc-1.gd: Likewise.
48         * ld-arm/ifunc-10.gd: Likewise.
49         * ld-arm/ifunc-11.gd: Likewise.
50         * ld-arm/ifunc-12.gd: Likewise.
51         * ld-arm/ifunc-13.gd: Likewise.
52         * ld-arm/ifunc-14.gd: Likewise.
53         * ld-arm/ifunc-15.gd: Likewise.
54         * ld-arm/ifunc-16.gd: Likewise.
55         * ld-arm/ifunc-17.gd: Likewise.
56         * ld-arm/ifunc-2.gd: Likewise.
57         * ld-arm/ifunc-3.gd: Likewise.
58         * ld-arm/ifunc-4.gd: Likewise.
59         * ld-arm/ifunc-5.gd: Likewise.
60         * ld-arm/ifunc-6.gd: Likewise.
61         * ld-arm/ifunc-7.gd: Likewise.
62         * ld-arm/ifunc-8.gd: Likewise.
63         * ld-arm/ifunc-9.gd: Likewise.
64         * ld-arm/jump-reloc-veneers-long.d: Likewise.
65         * ld-arm/reloc-boundaries.d: Likewise.
66
67 2014-04-22  H.J. Lu  <hongjiu.lu@intel.com>
68
69         PR ld/16846
70         * ld-plugin/lto.exp (lto_link_tests): Add tests for PR ld/16846.
71         * ld-plugin/pr16846a.c: New file.
72         * ld-plugin/pr16846b.c: Likewise.
73         * ld-plugin/pr16846c.c: Likewise.
74
75 2014-04-22  Christian Svensson  <blue@cmd.nu>
76
77         * ld-discard/extern.d: Remove openrisc and or32 support.  Add
78         support for or1k.
79         * ld-discard/start.d: Likewise.
80         * ld-discard/static.d: Likewise.
81         * ld-elf/group1.d: Likewise.
82         * ld-elf/group3b.d: Likewise.
83         * ld-elf/group8a.d: Likewise.
84         * ld-elf/group8b.d: Likewise.
85         * ld-elf/group9a.d: Likewise.
86         * ld-elf/group9b.d: Likewise.
87         * ld-elf/linkonce2.d: Likewise.
88         * ld-elf/merge.d: Likewise.
89         * ld-elf/merge2.d: Likewise.
90         * ld-elf/orphan-region.d: Likewise.
91         * ld-elf/orphan.d: Likewise.
92         * ld-elf/orphan3.d: Likewise.
93         * ld-elf/pr12851.d: Likewise.
94         * ld-elf/pr12975.d: Likewise.
95         * ld-elf/pr13177.d: Likewise.
96         * ld-elf/pr13195.d: Likewise.
97         * ld-elf/pr349.d: Likewise.
98         * ld-elf/sec64k.exp: Likewise.
99         * ld-elf/warn1.d: Likewise.
100         * ld-elf/warn2.d: Likewise.
101         * ld-elf/warn3.d: Likewise.
102         * ld-scripts/weak.exp: Likewise.
103         * lib/ld-lib.exp: Likewise.
104
105 2014-04-17  Kwok Cheung Yeung  <kcy@codesourcery.com>
106
107         * ld-mips-elf/elf-rel-xgot-n32.d: Update for new GOT layout.
108         * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
109         * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
110         * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
111         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
112
113 2014-04-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
114
115         * ld-aarch64/tls-relax-gdesc-ie.s (var): Adjust test case
116         to include all 5 bits of LDR destination register.
117
118 2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
119
120         * ld-avr/norelax_diff.d: New testcase.
121         * ld-avr/relax_diff.d: Likewise.
122         * ld-avr/relax.s: Likewise.
123
124 2014-04-05  Andreas Schwab  <schwab@linux-m68k.org>
125
126         * ld-plugin/lto.exp: Make "-Wp," prefix optional when filtering
127         out _FORTIFY_SOURCE.
128         ("Build libdummy.a 9", "PR ld/12696"): Mark as c++.
129
130 2014-04-04  Alan Modra  <amodra@gmail.com>
131
132         * ld-scripts/fill.d, * ld-scripts/fill.t, * ld-scripts/fill_0.s,
133         * ld-scripts/fill_1.s, * ld-scripts/fill_2.s: New test.
134         * ld-scripts/data.exp: Run it.
135
136 2014-03-31  Marcus Shawcroft  <marcus.shawcroft@arm.com>
137
138         * ld-aarch64/eh-frame.d: Adjust FDE pc address.
139
140 2014-03-27  H.J. Lu  <hongjiu.lu@intel.com>
141
142         PR ld/16756
143         * ld-plugin/lto.exp: Expect filename and line number for PR
144         ld/12760 test.
145
146 2014-03-27  Yury Gribov  <y.gribov@samsung.com>
147             Pavel Fedin  <p.fedin@samsung.com>
148
149         * ld-arm/arm-app-abs32.d: Update expected disassembly, taking into
150         account the pretty printing of PLT entries.
151         * ld-arm/arm-app.d: Likewise.
152         * ld-arm/arm-lib-plt32.d: Likewise.
153         * ld-arm/arm-lib.d: Likewise.
154         * ld-arm/armthumb-lib.d: Likewise.
155         * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
156         * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
157         * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
158         * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
159         * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
160         * ld-arm/farcall-mixed-app-v5.d: Likewise.
161         * ld-arm/farcall-mixed-app.d: Likewise.
162         * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
163         * ld-arm/farcall-mixed-lib.d: Likewise.
164         * ld-arm/ifunc-10.dd: Likewise.
165         * ld-arm/ifunc-14.dd: Likewise.
166         * ld-arm/ifunc-15.dd: Likewise.
167         * ld-arm/ifunc-3.dd: Likewise.
168         * ld-arm/ifunc-4.dd: Likewise.
169         * ld-arm/ifunc-7.dd: Likewise.
170         * ld-arm/ifunc-8.dd: Likewise.
171         * ld-arm/ifunc-9.dd: Likewise.
172         * ld-arm/long-plt-format.d: Likewise.
173         * ld-arm/mixed-app-v5.d: Likewise.
174         * ld-arm/mixed-app.d: Likewise.
175         * ld-arm/mixed-lib.d: Likewise.
176         * ld-arm/thumb2-bl-undefweak.d: Likewise.
177         * ld-arm/thumb2-bl-undefweak1.d: Likewise.
178
179 2014-03-26  Alan Modra  <amodra@gmail.com>
180
181         * ld-powerpc/startv1.s, * ld-powerpc/startv2.s, * ld-powerpc/funref.s,
182         * ld-powerpc/funv1.s, * ld-powerpc/funv2.s,
183         * ld-powerpc/ambiguousv1.d, * ld-powerpc/ambiguousv2.d: New test files.
184         * ld-powerpc/powerpc.exp: Run new tests.
185
186 2014-03-25  Will Newton  <will.newton@linaro.org>
187
188          * ld-aarch64/aarch64-elf.exp: Add relasz dump test.
189          * ld-aarch64/relasz.d: New file.
190          * ld-aarch64/relasz.s: Likewise.
191
192 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
193
194         * ld-elf/merge.d: Remove MIPS XFAIL.
195
196 2014-03-20  Will Newton  <will.newton@linaro.org>
197
198         * ld-arm/ifunc-14.rd: Update symbol values.
199
200 2014-03-19  Nick Clifton  <nickc@redhat.com>
201
202         * config/default.exp (ASFLAGS): For the RX target add:
203         -muse-conventional-section-names.
204
205 2014-03-15  Alan Modra  <amodra@gmail.com>
206
207         * ld-powerpc/vle-reloc-3.d: Remove addresses.
208
209 2014-03-14  Alan Modra  <amodra@gmail.com>
210
211         * ld-powerpc/vle.ld: Place .PPC.EMB.sdata0 within 32k of 0.
212         * ld-powerpc/vle-reloc-3.d: Update.
213
214 2014-03-06  Roland McGrath  <mcgrathr@google.com>
215
216         * ld-arm/gc-hidden-1.d: Remove target, add not-target to match
217         other ELF-only tests in this directory.  Loosen regexps so they
218         don't care what the exact addresses are.
219
220 2014-03-06  Roland McGrath  <mcgrathr@google.com>
221
222         * ld-arm/arm-elf.exp (armelftests_common): Move long-plt case ...
223         (armelftests_nonacl): ... here.
224
225 2014-03-05  Alan Modra  <amodra@gmail.com>
226
227         Update copyright years.
228
229 2014-03-05  Alan Modra  <amodra@gmail.com>
230
231         * ld-powerpc/elfv2-2a.s, ld-powerpc/elfv2-2b.s: New files.
232         * ld-powerpc/elfv2-2exe.d, ld-powerpc/elfv2-2so.d: New files.
233         * ld-powerpc/powerpc.exp: Run new test.
234
235 2014-03-03  Alan Modra  <amodra@gmail.com>
236
237         * ld-scripts/phdrs2.exp: Correct copyright punctuation.
238         * ld-v850/v850.exp: Correct copyright typo.
239
240 2014-03-01  Yuri Gribov  <y.gribov@samsung.com>
241
242         * ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.
243
244 2014-02-27  Yuri Gribov  <y.gribov@samsung.com>
245
246         * ld-arm/long-plt-format.s: New test case.
247         * ld-arm/long-plt-format.d: Expected disassembly.
248         * ld-arm/arm-elf.exp: Run the new test.
249
250 2014-02-27  Nick Clifton  <nickc@redhat.com>
251
252         * ld-pe/longsecn-1.d: Allow for extra sections.
253         * ld-pe/longsecn-2.d: Likewise.
254         * ld-pe/longsecn.d: Likewise.
255         * ld-pe/secrel.d: Likewise.
256
257 2014-02-21  Alan Modra  <amodra@gmail.com>
258
259         * ld-bootstrap/bootstrap.exp: Add ppc476 workaround test.
260         * ld-bootstrap/ppc476.t: New file.
261
262 2014-02-19  Igor Zamyatin  <igor.zamyatin@intel.com>
263             H.J. Lu  <hongjiu.lu@intel.com>
264
265         * ld-x86-64/mpx.exp: Run bnd-ifunc-1 and bnd-plt-1.
266         * ld-x86-64/bnd-ifunc-1.d: New file.
267         * ld-x86-64/bnd-ifunc-1.s: Likewise.
268         * ld-x86-64/bnd-plt-1.d: Likewise.
269
270 2014-02-18  Jack Carter  <jack.carter@imgtec.com>
271
272         * ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.
273
274 2014-02-16  Thomas Schwinge  <thomas@codesourcery.com>
275
276         * ld-elfweak/elfweak.exp (setup_xfail_gnu_hurd): Remove function
277         and all usage of it.
278
279 2014-02-10  H.J. Lu  <hongjiu.lu@intel.com>
280
281         PR gold/16530
282         * ld-elf/dynamic-1.c: New file.
283         * ld-elf/dynamic-1.rd: Likewise.
284         * ld-elf/dynamic-1.syms: Likewise.
285
286         * ld-elf/shared.exp (build_tests): Add dynamic-1.
287
288 2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
289
290         * ld-scripts/rgn-at9.d: New file.
291         * ld-scripts/rgn-at9.t: Likewise.
292         * ld-scripts/rgn-at10.d: Likewise.
293         * ld-scripts/rgn-at10.s: Likewise.
294         * ld-scripts/rgn-at10.t: Likewise.
295         * ld-scripts/rgn-at11.d: Likewise.
296         * ld-scripts/rgn-at11.t: Likewise.
297
298 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
299
300         * ld-nios2/relax_call26.s: New.
301         * ld-nios2/relax_call26_boundary.ld: New.
302         * ld-nios2/relax_call26_boundary.s: New.
303         * ld-nios2/relax_call26_boundary_c8.d: New.
304         * ld-nios2/relax_call26_boundary_cc.d: New.
305         * ld-nios2/relax_call26_boundary_d0.d: New.
306         * ld-nios2/relax_call26_boundary_d4.d: New.
307         * ld-nios2/relax_call26_boundary_d8.d: New.
308         * ld-nios2/relax_call26_boundary_dc.d: New.
309         * ld-nios2/relax_call26_boundary_f0.d: New.
310         * ld-nios2/relax_call26_boundary_f4.d: New.
311         * ld-nios2/relax_call26_boundary_f8.d: New.
312         * ld-nios2/relax_call26_boundary_fc.d: New.
313         * ld-nios2/relax_call26_cache.d: New.
314         * ld-nios2/relax_call26_cache.ld: New.
315         * ld-nios2/relax_call26_cache.s: New.
316         * ld-nios2/relax_call26_multi.d: New.
317         * ld-nios2/relax_call26_multi.ld: New.
318         * ld-nios2/relax_call26_norelax.d: New.
319         * ld-nios2/relax_call26_shared.d: New.
320         * ld-nios2/relax_call26_shared.ld: New.
321
322 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
323
324         * ld-elf/rdynamic-1.c: New file.
325         * ld-elf/rdynamic-1.rd: Likewise.
326
327         * ld-elf/shared.exp (build_tests): Add rdynamic-1.
328
329 2014-01-28  Nick Clifton  <nickc@redhat.com>
330
331         PR binutils/16317
332         * ld-tic6x/shlib-1.rd: Expect I attribute with RELA sections.
333         * ld-tic6x/shlib-1b.rd: Likewise.
334         * ld-tic6x/shlib-1r.rd: Likewise.
335         * ld-tic6x/shlib-1rb.rd: Likewise.
336         * ld-tic6x/shlib-app-1rd: Likewise.
337         * ld-tic6x/shlib-app-1b.rd: Likewise.
338         * ld-tic6x/shlib-app-1r.rd: Likewise.
339         * ld-tic6x/shlib-app-1rb.rd: Likewise.
340         * ld-tic6x/shlib-noindex.rd: Likewise.
341         * ld-tic6x/static-app-1.rd: Likewise.
342         * ld-tic6x/static-app-1b.rd: Likewise.
343         * ld-tic6x/static-app-1r.rd: Likewise.
344         * ld-tic6x/static-app-1rb.rd: Likewise.
345         PR binutils/16318
346         * ld-tic6x/tic6x.exp: Expect C6000 osabi value in relocatable
347         objects.
348
349 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
350
351         * ld-elf/pr16498a.s: Replace .align with .p2align.
352
353 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
354
355         PR ld/16498
356         * ld-elf/pr16498b.d: New file.
357         * ld-elf/pr16498b.t: Likewise.
358
359 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
360
361         PR ld/16498
362         * ld-elf/pr16498a.d: New file.
363         * ld-elf/pr16498a.s: Likewise.
364         * ld-elf/pr16498a.t: Likewise.
365
366 2014-01-22  Alan Modra  <amodra@gmail.com>
367
368         * ld-scripts/pr14962-2.d: Correct target triple.
369
370 2014-01-22  Alan Modra  <amodra@gmail.com>
371
372         * ld-shared/elf-offset.ld: Align end of .bss with canonical form
373         of ALIGN that allows an empty .bss to be removed.
374         * ld-arm/arm-dyn.ld: Likewise.
375         * ld-arm/arm-lib.ld: Likewise.
376         * ld-elfvsb/elf-offset.ld: Likewise.
377         * ld-mips-elf/mips-dyn.ld: Likewise.
378         * ld-mips-elf/mips-lib.ld: Likewise.
379         * ld-arm/arm-no-rel-plt.ld: Remove duplicate ALIGN.
380         * ld-powerpc/vle-multiseg-1.ld: Remove ALIGN at start of section.
381         ALIGN address of section instead.
382         * ld-powerpc/vle-multiseg-2.ld: Likewise.
383         * ld-powerpc/vle-multiseg-3.ld: Likewise.
384         * ld-powerpc/vle-multiseg-4.ld: Likewise.
385         * ld-powerpc/vle-multiseg-6.ld: Likewise.
386         * ld-scripts/empty-aligned.d: Check section headers not program
387         headers.  Remove xfail and notarget.
388         * ld-scripts/empty-aligned.t: Use canonical ALIGN for end of .text2.
389
390 2014-01-21  H.J. Lu  <hongjiu.lu@intel.com>
391
392         PR ld/16467
393         * ld-ifunc/dummy.c: New file.
394         * ld-ifunc/pr16467.out: Likewise.
395         * ld-ifunc/pr16467a.c: Likewise.
396         * ld-ifunc/pr16467a.map: Likewise.
397         * ld-ifunc/pr16467b.c: Likewise.
398         * ld-ifunc/pr16467b.map: Likewise.
399         * ld-ifunc/pr16467c.c: Likewise.
400
401         * ld-ifunc/ifunc.exp (run_cc_link_tests): New.
402         (run_ld_link_exec_tests): Run pr16467.
403
404 2014-01-21  H.J. Lu  <hongjiu.lu@intel.com>
405
406         PR ld/2404
407         * ld-elf/shared.exp: Add a PIE test for PR ld/2404.
408
409 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
410
411         PR ld/2404
412         * ld-elf/pr2404.out: New file.
413         * ld-elf/pr2404a.c: Likewise.
414         * ld-elf/pr2404b.c: Likewise.
415
416         * ld-elf/shared.exp (build_tests): Build libpr2404a.so and
417         libpr2404b.a.
418         (run_tests): Run pr2404.
419
420 2014-01-20  Alan Modra  <amodra@gmail.com>
421
422         * ld-scripts/pr14962-2.d,
423         * ld-scripts/pr14962-2.t: New test.
424         * ld-scripts/expr.exp: Run it.
425
426 2014-01-15  Alan Modra  <amodra@gmail.com>
427
428         * ld-elf/ehdr_start-shared.d: New.
429         * ld-elf/ehdr_start-userdef.d: xfail frv.
430         * ld-elf/ehdr_start-weak.d: Likewise.
431         * ld-elf/ehdr_start.d: Likewise.
432
433 2014-01-14  Vidya Praveen  <vidyapraveen@arm.com>
434
435         * lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
436         (default_ld_simple_link): Likewise.
437
438 2014-01-10  Alan Modra  <amodra@gmail.com>
439
440         * ld-x86-64/pr14207.d: Adjust.
441
442 2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>
443
444         * ld-elf/binutils.exp (binutils_test): Check if GNU_RELRO segment
445         is generated.
446
447 2014-01-09  Vidya Praveen  <vidyapraveen@arm.com>
448
449         * lib/ld-lib.exp (check_lto_shared_available): New check.
450         * ld-plugin/lto.exp: Use check_lto_shared_available.
451
452 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
453
454         PR ld/14207
455         PR ld/16322
456         PR binutils/16323
457         * ld-elf/pr16322.d: New file.
458         * ld-elf/pr16322.s: Likewise.
459
460         * ld-x86-64/pr14207.d: Expect PT_GNU_RELRO segment.
461
462 For older changes see ChangeLog-2013
463 \f
464 Copyright (C) 2014 Free Software Foundation, Inc.
465
466 Copying and distribution of this file, with or without modification,
467 are permitted in any medium without royalty provided the copyright
468 notice and this notice are preserved.
469
470 Local Variables:
471 mode: change-log
472 left-margin: 8
473 fill-column: 74
474 version-control: never
475 End: