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