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