aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-09 20:24:34 +0000
committerNick Clifton <nickc@redhat.com>2000-12-09 20:24:34 +0000
commitbad19f8fb639e6d2d12866895d66ae13776f4768 (patch)
treeb11f9b69867f10ba66310a63da85567cf4fc9580 /ld/testsuite
parent857ec808bb1eade1f7fba943c8f5d431f6e27f32 (diff)
downloadfsf-binutils-gdb-bad19f8fb639e6d2d12866895d66ae13776f4768.zip
fsf-binutils-gdb-bad19f8fb639e6d2d12866895d66ae13776f4768.tar.gz
fsf-binutils-gdb-bad19f8fb639e6d2d12866895d66ae13776f4768.tar.bz2
Expect the srec_test to fail for ARM targets because the -oformat linker
command switch cannot be used.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-srec/srec.exp26
2 files changed, 19 insertions, 12 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 36b6225..ff91759 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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>
* ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index 331ff78..818f847 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -228,18 +228,19 @@ proc run_srec_test { test objs } {
set flags "$flags --defsym V_SPILL=0 --defsym V_FILL=0"
}
- # ARM targets call __gccmain
- if [istarget arm*-*-*] {
- set flags "$flags --defsym ___gccmain=0"
- }
-
- if [istarget strongarm*-*-*] {
- set flags "$flags --defsym __gccmain=0"
- }
+ if {[istarget arm*-*-*] || \
+ [istarget strongarm*-*-*] || \
+ [istarget xscale*-*-*] || \
+ [istarget thumb-*-*] } {
- # Thumb targets call __gccmain
- if [istarget thumb-*-*] {
- set flags "$flags --defsym ___gccmain=0"
+ # ARM targets call __gccmain
+ set flags "$flags --defsym __gccmain=0"
+
+ # ARM targets cannot convert format in the linker
+ # using the -oformat command line switch
+ setup_xfail "*arm*-*-*"
+ setup_xfail "xscale-*-*"
+ setup_xfail "thumb-*-*"
}
# PowerPC EABI code calls __eabi.
@@ -326,7 +327,8 @@ setup_xfail "*-*-aix*" "*-*-xcoff*"
# The S-record linker doesn't build ARM/Thumb stubs.
setup_xfail "arm-*-coff"
-setup_xfail "strongarm*-*-*"
+setup_xfail "strongarm*-*-coff"
+setup_xfail "xscale*-*-coff"
setup_xfail "arm-*-pe*"
# setup_xfail "arm-*elf*"
setup_xfail "thumb-*-coff*"