This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
An ELF/PPC patch for ld/testsuite
- To: geoffk at shoggoth dot cygnus dot com
- Subject: An ELF/PPC patch for ld/testsuite
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Wed, 18 Oct 2000 17:47:28 -0700
- Cc: binutils at sourceware dot cygnus dot com
With this patch, I got
=== ld Summary ===
# of expected passes 93
# of expected failures 12
on Linux/PPC. Any objections to check in this patch?
--
H.J. Lu (hjl@gnu.org)
---
2000-10-18 H.J. Lu (hjl@gnu.org)
* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
for Linux/PPC.
* ld-shared/shared.exp: Likewise.
Index: ld-elfvsb/elfvsb.exp
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/testsuite/ld-elfvsb/elfvsb.exp,v
retrieving revision 1.6
diff -u -p -r1.6 elfvsb.exp
--- ld-elfvsb/elfvsb.exp 2000/07/29 17:37:59 1.6
+++ ld-elfvsb/elfvsb.exp 2000/10/19 00:29:45
@@ -232,6 +232,10 @@ proc visibility_run {visibility} {
} else {
setup_xfail "*-*-sunos4*"
}
+ if { [ string match $visibility "hidden_weak" ]
+ || [ string match $visibility "protected_weak" ] } {
+ setup_xfail "powerpc-*-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
@@ -247,6 +251,14 @@ proc visibility_run {visibility} {
setup_xfail "*-*-sunos4*"
setup_xfail "*-*-linux*libc1"
}
+ if { [ string match $visibility "hidden_normal" ]
+ || [ string match $visibility "hidden_weak" ]
+ || [ string match $visibility "protected" ]
+ || [ string match $visibility "protected_undef_def" ]
+ || [ string match $visibility "protected_weak" ]
+ || [ string match $visibility "normal" ] } {
+ setup_xfail "powerpc-*-linux*"
+ }
visibility_test $visibility vnp "visibility ($visibility) (non PIC, load offset)" \
mainnp.o sh1np.o sh2np.o elfvsb \
"-T $srcdir/$subdir/elf-offset.ld"
@@ -293,6 +305,10 @@ proc visibility_run {visibility} {
}
} else {
setup_xfail "*-*-sunos4*"
+ }
+ if { [ string match $visibility "hidden_weak" ]
+ || [ string match $visibility "protected_weak" ] } {
+ setup_xfail "powerpc-*-linux*"
}
visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
}
Index: ld-shared/shared.exp
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/testsuite/ld-shared/shared.exp,v
retrieving revision 1.1.1.4
diff -u -p -r1.1.1.4 shared.exp
--- ld-shared/shared.exp 1999/09/22 21:51:07 1.1.1.4
+++ ld-shared/shared.exp 2000/10/18 23:41:27
@@ -204,6 +204,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
# the load address is not zero (which is the default).
setup_xfail "*-*-sunos4*"
setup_xfail "*-*-linux*libc1"
+ setup_xfail "powerpc-*-linux*"
shared_test shnp "shared (non PIC, load offset)" \
mainnp.o sh1np.o sh2np.o shared \
"-T $srcdir/$subdir/elf-offset.ld"