sanitization for new test case. discard it when sanitizing, until it gets

rewritten or assigned to the fsf.
This commit is contained in:
Ken Raeburn
1999-01-03 23:27:11 +00:00
parent c81b48112f
commit 6772620740
3 changed files with 13 additions and 8 deletions
ld/testsuite/ld-shared

@ -33,6 +33,8 @@ xcoff.dat
Things-to-lose: Things-to-lose:
elf-offset.ld
# The lines between the "Do-last:" line and the end of the file # The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is # are executed as a /bin/sh shell script after everything else is
# done. # done.

@ -5,7 +5,7 @@ PHDRS {
} }
MEMORY { MEMORY {
RAM : ORIGIN = 0x10000, LENGTH = 0x7fffff RAM : ORIGIN = 0x10000, LENGTH = 0x7ffffff
} }
SECTIONS { SECTIONS {

@ -202,13 +202,16 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
setup_xfail "*-*-sunos4*" setup_xfail "*-*-sunos4*"
shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
# Test ELF shared library relocations with a non-zero load if [file exists "$srcdir/$subdir/elf-offset.ld"] {
# address for the library. Near as I can tell, the R_*_RELATIVE # Test ELF shared library relocations with a non-zero load
# relocations for various targets are broken in the case where # address for the library. Near as I can tell, the R_*_RELATIVE
# the load address is not zero (which is the default). # relocations for various targets are broken in the case where
setup_xfail "*-*-sunos4*" # the load address is not zero (which is the default).
shared_test shnp "shared (non PIC, load offset)" \ setup_xfail "*-*-sunos4*"
mainnp.o sh1np.o sh2np.o shared "$srcdir/$subdir/elf-offset.ld" shared_test shnp "shared (non PIC, load offset)" \
mainnp.o sh1np.o sh2np.o shared \
"$srcdir/$subdir/elf-offset.ld"
}
} } } }
# Now compile the code using -fpic. # Now compile the code using -fpic.