* ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
authorRichard Henderson <rth@redhat.com>
Fri, 19 Apr 2002 19:28:09 +0000 (19:28 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 19 Apr 2002 19:28:09 +0000 (19:28 +0000)
        * ld-shared/shared.exp: Likewise.
        * ld-selective/selective.exp: Disable for alpha.
        * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.

ld/testsuite/ChangeLog
ld/testsuite/ld-elfvsb/elfvsb.exp
ld/testsuite/ld-selective/selective.exp
ld/testsuite/ld-shared/shared.exp
ld/testsuite/ld-undefined/undefined.exp

index 48a964a..093ba4d 100644 (file)
@@ -1,3 +1,10 @@
+2002-04-19  Richard Henderson  <rth@redhat.com>
+
+       * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
+       * ld-shared/shared.exp: Likewise.
+       * ld-selective/selective.exp: Disable for alpha.
+       * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.
+
 2002-04-05  Hans-Peter Nilsson  <hp@axis.com>
 
        * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
index 8cf229f..eb72b0c 100644 (file)
@@ -244,10 +244,16 @@ proc visibility_run {visibility} {
                 || [ string match $visibility "protected_weak" ] } {
                setup_xfail "powerpc-*-linux*"
            }
+
+           # Non-pic code uses name binding rules for applications to
+           # reference variables by gp-relative relocs, which can't be
+           # used with overridable symbols.
            if { ![ string match $visibility "hidden_undef" ]
                 && ![ string match $visibility "protected_undef" ] } {
                setup_xfail "ia64-*-linux*"
+               setup_xfail "alpha*-*-linux*"
            }
+
            visibility_test $visibility vnp "visibility ($visibility) (non PIC)" mainnp.o sh1np.o sh2np.o elfvsb
 
            # Test ELF shared library relocations with a non-zero load
@@ -274,6 +280,7 @@ proc visibility_run {visibility} {
            if { ![ string match $visibility "hidden_undef" ]
                 && ![ string match $visibility "protected_undef" ] } {
                setup_xfail "ia64-*-linux*"
+               setup_xfail "alpha*-*-linux*"
                setup_xfail "mips*-*-linux*"
            }
            visibility_test $visibility vnp "visibility ($visibility) (non PIC, load offset)" \
@@ -330,6 +337,7 @@ proc visibility_run {visibility} {
                if { ![ string match $visibility "hidden_undef" ]
                     && ![ string match $visibility "protected_undef" ] } {
                    setup_xfail "ia64-*-linux*"
+                   setup_xfail "alpha*-*-linux*"
                }
                visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
            }
index 2678409..902600a 100644 (file)
@@ -32,6 +32,11 @@ if {[istarget "*-*-pe"]} {
     return
 }
 
+# Alpha does not support selective linking
+if {[istarget "alpha*-*-*"]} {
+    return
+}
+
 # List contains test-items with three items followed by four lists:
 # 1:name 2:test-type (CC or C++; add as needed) 3:filename 4:ld-flags
 # 5:must-have-symbols 6:must-not-have-symbols 7:xfail-targets.
index 256c862..645721e 100644 (file)
@@ -195,6 +195,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        # overriding.
        setup_xfail "*-*-sunos4*"
        setup_xfail "ia64-*-linux*"
+       setup_xfail "alpha*-*-linux*"
        shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
 
        # Test ELF shared library relocations with a non-zero load
@@ -205,6 +206,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        setup_xfail "*-*-linux*libc1"
        setup_xfail "powerpc-*-linux*"
        setup_xfail "ia64-*-linux*"
+       setup_xfail "alpha*-*-linux*"
        setup_xfail "mips*-*-linux*"
        shared_test shnp "shared (non PIC, load offset)" \
                mainnp.o sh1np.o sh2np.o shared \
@@ -246,6 +248,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdir/m
            # overriding.
            setup_xfail "*-*-sunos4*"
            setup_xfail "ia64-*-linux*"
+           setup_xfail "alpha*-*-linux*"
            shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared
        }
     } else {
index 1910ac5..71cd277 100644 (file)
@@ -74,6 +74,7 @@ setup_xfail "hppa*-*-*elf*"
 
 # With dwarf-2, we can't get the function in which the reference
 # occurs; see below.
+setup_xfail "alpha*-*-linux*"
 setup_xfail "hppa*64*-*-*"
 setup_xfail "mn10300-*-elf"
 setup_xfail "sh-*-*"