* ld-scripts/crossref.exp: Compile test source with -mtiny=0 in order to
prevent the use of the small data area.
This commit is contained in:
parent
86f2e68346
commit
4dcdce139f
@ -1,3 +1,8 @@
|
||||
2007-09-19 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* ld-scripts/crossref.exp: Compile test source with -mtiny=0 in
|
||||
order to prevent the use of the small data area.
|
||||
|
||||
2007-09-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/3281
|
||||
|
@ -45,6 +45,12 @@ if [istarget powerpc64*-*-*] {
|
||||
set CFLAGS "$CFLAGS -mcall-aixdesc"
|
||||
}
|
||||
|
||||
# Prevent the use of the MeP's small data area which references a symbol
|
||||
# called __sdabase which will not be defined by our test linker scripts.
|
||||
if [istarget mep*-*-elf] {
|
||||
set CFLAGS "-mtiny=0"
|
||||
}
|
||||
|
||||
if { ![ld_compile $CC "$srcdir/$subdir/cross1.c" tmpdir/cross1.o] \
|
||||
|| ![ld_compile $CC "$srcdir/$subdir/cross2.c" tmpdir/cross2.o] } {
|
||||
unresolved $test1
|
||||
|
Loading…
Reference in New Issue
Block a user