ld/aarch64: xfail non-PIC shared object tests on aarch64
authorWill Newton <will.newton@linaro.org>
Fri, 16 May 2014 14:22:58 +0000 (15:22 +0100)
committerWill Newton <will.newton@linaro.org>
Tue, 20 May 2014 08:47:29 +0000 (09:47 +0100)
aarch64 does not support building non-PIC shared objects, so mark
tests for these as xfail.

ld/testsuite/ChangeLog:

2014-05-20  Will Newton  <will.newton@linaro.org>

* ld-shared/shared.exp: Mark non-PIC shared object tests
as xfail on aarch64.

ld/testsuite/ChangeLog
ld/testsuite/ld-shared/shared.exp

index b4157ef82b8a7a4299a3240b594123671dc06ae7..158d9a699a52ac4f1fce42a1f9fdefaee6d410a0 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-20  Will Newton  <will.newton@linaro.org>
+
+       * ld-shared/shared.exp: Mark non-PIC shared object tests
+       as xfail on aarch64.
+
 2014-05-19  Andreas Tobler  <andreast@fgznet.ch>
 
        * ld-elf/shared.exp: Introduce the extralibs variable to control
index 9996ecec991c9c1284781b004280318871adedb5..c723ef7bd1b995d0e1e944d6895cad743ea52115 100644 (file)
@@ -244,6 +244,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        if [ string match $shared_needs_pic "yes" ] {
            setup_xfail "arm*-*-linux*"
        }
+       setup_xfail "aarch64*-*-linux*"
        shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
 
        # Test ELF shared library relocations with a non-zero load
@@ -270,6 +271,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        if [ string match $shared_needs_pic "yes" ] {
            setup_xfail "arm*-*-linux*"
        }
+       setup_xfail "aarch64*-*-linux*"
        shared_test shnp "shared (non PIC, load offset)" \
                mainnp.o sh1np.o sh2np.o shared \
                "-T $srcdir/$subdir/elf-offset.ld"
@@ -326,6 +328,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdir/m
            if [ string match $shared_needs_pic "yes" ] {
                setup_xfail "arm*-*-linux*"
            }
+           setup_xfail "aarch64*-*-linux*"
            shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared
        }
     } else {