aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-04-19 19:28:09 +0000
committerRichard Henderson <rth@redhat.com>2002-04-19 19:28:09 +0000
commit212a6b8ef7ff6b7c776876c1b398197a5ca9b8dc (patch)
tree6db0bcd79d144a7cee11fe6eeefa12545aa463b1
parentdbf93899e05edfccce7aa63df6ec80e29b773d44 (diff)
downloadgdb-212a6b8ef7ff6b7c776876c1b398197a5ca9b8dc.zip
gdb-212a6b8ef7ff6b7c776876c1b398197a5ca9b8dc.tar.gz
gdb-212a6b8ef7ff6b7c776876c1b398197a5ca9b8dc.tar.bz2
* 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.
-rw-r--r--ld/testsuite/ChangeLog7
-rw-r--r--ld/testsuite/ld-elfvsb/elfvsb.exp8
-rw-r--r--ld/testsuite/ld-selective/selective.exp5
-rw-r--r--ld/testsuite/ld-shared/shared.exp3
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp1
5 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 48a964a..093ba4d 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp
index 8cf229f..eb72b0c 100644
--- a/ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/ld/testsuite/ld-elfvsb/elfvsb.exp
@@ -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
}
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp
index 2678409..902600a 100644
--- a/ld/testsuite/ld-selective/selective.exp
+++ b/ld/testsuite/ld-selective/selective.exp
@@ -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.
diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp
index 256c862..645721e 100644
--- a/ld/testsuite/ld-shared/shared.exp
+++ b/ld/testsuite/ld-shared/shared.exp
@@ -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 {
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index 1910ac5..71cd277 100644
--- a/ld/testsuite/ld-undefined/undefined.exp
+++ b/ld/testsuite/ld-undefined/undefined.exp
@@ -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-*-*"