]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - binutils/patches/binutils-2.24-aarch64-ld-shared-non-PIC-xfail.patch
binutils: Update to 2.24
[people/ms/ipfire-3.x.git] / binutils / patches / binutils-2.24-aarch64-ld-shared-non-PIC-xfail.patch
1 commit 273dc279306c2b69fbc1407cc695397e4b015152
2 Author: Will Newton <will.newton@linaro.org>
3 Date: Fri May 16 15:22:58 2014 +0100
4
5 ld/aarch64: xfail non-PIC shared object tests on aarch64
6
7 aarch64 does not support building non-PIC shared objects, so mark
8 tests for these as xfail.
9
10 ld/testsuite/ChangeLog:
11
12 2014-05-20 Will Newton <will.newton@linaro.org>
13
14 * ld-shared/shared.exp: Mark non-PIC shared object tests
15 as xfail on aarch64.
16
17 #-- a/ld/testsuite/ChangeLog
18 #++ b/ld/testsuite/ChangeLog
19 #@ -1,3 +1,8 @@
20 +2014-05-20 Will Newton <will.newton@linaro.org>
21 +
22 + * ld-shared/shared.exp: Mark non-PIC shared object tests
23 + as xfail on aarch64.
24 +
25 2014-05-19 Andreas Tobler <andreast@fgznet.ch>
26
27 * ld-elf/shared.exp: Introduce the extralibs variable to control
28 diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp
29 index 9996ece..c723ef7 100644
30 --- a/ld/testsuite/ld-shared/shared.exp
31 +++ b/ld/testsuite/ld-shared/shared.exp
32 @@ -244,6 +244,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
33 if [ string match $shared_needs_pic "yes" ] {
34 setup_xfail "arm*-*-linux*"
35 }
36 + setup_xfail "aarch64*-*-linux*"
37 shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
38
39 # Test ELF shared library relocations with a non-zero load
40 @@ -270,6 +271,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
41 if [ string match $shared_needs_pic "yes" ] {
42 setup_xfail "arm*-*-linux*"
43 }
44 + setup_xfail "aarch64*-*-linux*"
45 shared_test shnp "shared (non PIC, load offset)" \
46 mainnp.o sh1np.o sh2np.o shared \
47 "-T $srcdir/$subdir/elf-offset.ld"
48 @@ -326,6 +328,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdir/m
49 if [ string match $shared_needs_pic "yes" ] {
50 setup_xfail "arm*-*-linux*"
51 }
52 + setup_xfail "aarch64*-*-linux*"
53 shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared
54 }
55 } else {