mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
sanitization for new test case. discard it when sanitizing, until it gets
rewritten or assigned to the fsf.
This commit is contained in:
@ -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.
|
||||
|
@ -5,7 +5,7 @@ PHDRS {
|
||||
}
|
||||
|
||||
MEMORY {
|
||||
RAM : ORIGIN = 0x10000, LENGTH = 0x7fffff
|
||||
RAM : ORIGIN = 0x10000, LENGTH = 0x7ffffff
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user