Browse Source

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

rewritten or assigned to the fsf.
gdb-4_18-branch
Ken Raeburn 28 years ago
parent
commit
6772620740
  1. 2
      ld/testsuite/ld-shared/.Sanitize
  2. 2
      ld/testsuite/ld-shared/elf-offset.ld
  3. 17
      ld/testsuite/ld-shared/shared.exp

2
ld/testsuite/ld-shared/.Sanitize

@ -33,6 +33,8 @@ xcoff.dat
Things-to-lose:
elf-offset.ld
# 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
# done.

2
ld/testsuite/ld-shared/elf-offset.ld

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

17
ld/testsuite/ld-shared/shared.exp

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

Loading…
Cancel
Save