Expect the srec_test to fail for ARM targets because the -oformat linker
command switch cannot be used.
This commit is contained in:
parent
857ec808bb
commit
bad19f8fb6
|
@ -1,3 +1,8 @@
|
||||||
|
2000-12-09 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* ld-srec/srec.exp: Expect the srec_test to fail for ARM targets
|
||||||
|
because the -oformat linker command switch cannot be used.
|
||||||
|
|
||||||
2000-11-06 Alan Modra <alan@linuxcare.com.au>
|
2000-11-06 Alan Modra <alan@linuxcare.com.au>
|
||||||
|
|
||||||
* ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
|
* ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
|
||||||
|
|
|
@ -228,18 +228,19 @@ proc run_srec_test { test objs } {
|
||||||
set flags "$flags --defsym V_SPILL=0 --defsym V_FILL=0"
|
set flags "$flags --defsym V_SPILL=0 --defsym V_FILL=0"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ARM targets call __gccmain
|
if {[istarget arm*-*-*] || \
|
||||||
if [istarget arm*-*-*] {
|
[istarget strongarm*-*-*] || \
|
||||||
set flags "$flags --defsym ___gccmain=0"
|
[istarget xscale*-*-*] || \
|
||||||
}
|
[istarget thumb-*-*] } {
|
||||||
|
|
||||||
if [istarget strongarm*-*-*] {
|
# ARM targets call __gccmain
|
||||||
set flags "$flags --defsym __gccmain=0"
|
set flags "$flags --defsym __gccmain=0"
|
||||||
}
|
|
||||||
|
# ARM targets cannot convert format in the linker
|
||||||
# Thumb targets call __gccmain
|
# using the -oformat command line switch
|
||||||
if [istarget thumb-*-*] {
|
setup_xfail "*arm*-*-*"
|
||||||
set flags "$flags --defsym ___gccmain=0"
|
setup_xfail "xscale-*-*"
|
||||||
|
setup_xfail "thumb-*-*"
|
||||||
}
|
}
|
||||||
|
|
||||||
# PowerPC EABI code calls __eabi.
|
# PowerPC EABI code calls __eabi.
|
||||||
|
@ -326,7 +327,8 @@ setup_xfail "*-*-aix*" "*-*-xcoff*"
|
||||||
|
|
||||||
# The S-record linker doesn't build ARM/Thumb stubs.
|
# The S-record linker doesn't build ARM/Thumb stubs.
|
||||||
setup_xfail "arm-*-coff"
|
setup_xfail "arm-*-coff"
|
||||||
setup_xfail "strongarm*-*-*"
|
setup_xfail "strongarm*-*-coff"
|
||||||
|
setup_xfail "xscale*-*-coff"
|
||||||
setup_xfail "arm-*-pe*"
|
setup_xfail "arm-*-pe*"
|
||||||
# setup_xfail "arm-*elf*"
|
# setup_xfail "arm-*elf*"
|
||||||
setup_xfail "thumb-*-coff*"
|
setup_xfail "thumb-*-coff*"
|
||||||
|
|
Loading…
Reference in New Issue