* 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.
This commit is contained in:
Richard Henderson 2002-04-19 19:28:09 +00:00
parent dbf93899e0
commit 212a6b8ef7
5 changed files with 24 additions and 0 deletions

View 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.

View 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
}

View 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.

View 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 {

View 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-*-*"