* 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 48a964a0ad26431f0177b091029e95994dc87d74..093ba4d0c9424c644f00d4318e867c3ebbde67b6 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 8cf229fba1a32e3dbf9418aef479f6fbc4e07a23..eb72b0c2cadb1884c28925af71b8733d7e8141c9 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 26784097570699f692c8217008897280517866ca..902600ae5a380be5221f4cd9c1c075c26c47c7fa 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 256c8623b5942051c5fb76fc16a28f5c03b65367..645721ea1df5d11d28af98be2e097ad40af535aa 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 1910ac56fca3fb412e1be881e921c12ebe4cb7e5..71cd277fa7ea345ab4c6ccb5c4ac95fa92a7b904 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-*-*"