From: Richard Henderson Date: Fri, 19 Apr 2002 19:28:09 +0000 (+0000) Subject: * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha. X-Git-Tag: gprof-pre-ansify-2004-05-26~4550 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9a920060b801f1ef5fda0296b7f1d96fddbfec13;p=pf3gnuchains%2Fpf3gnuchains4x.git * 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. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 48a964a0ad..093ba4d0c9 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-04-19 Richard Henderson + + * 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 * 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 8cf229fba1..eb72b0c2ca 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 2678409757..902600ae5a 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 256c8623b5..645721ea1d 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 1910ac56fc..71cd277fa7 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-*-*"