aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-srec/srec.exp
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-02-08 18:57:47 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-02-08 18:57:47 +0000
commitfef67c28c83e5e8c95c2f3fbc8fb662d93979be0 (patch)
tree2eefc38fe40c0c409316c54194ef94cc210af1d1 /ld/testsuite/ld-srec/srec.exp
parent98a797049bd2aa3f82c8bbfc0a66133e916c5a01 (diff)
downloadgdb-fef67c28c83e5e8c95c2f3fbc8fb662d93979be0.zip
gdb-fef67c28c83e5e8c95c2f3fbc8fb662d93979be0.tar.gz
gdb-fef67c28c83e5e8c95c2f3fbc8fb662d93979be0.tar.bz2
* ld-srec/srec.exp (run_srec_test): m6811 code has references
to soft registers, define them with --defsym. * ld-selective/selective.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-srec/srec.exp')
-rw-r--r--ld/testsuite/ld-srec/srec.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index f493f98..5f17043 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -253,6 +253,13 @@ proc run_srec_test { test objs } {
set flags "$flags --defsym __truncsipsi2_d0_d2=0"
}
+ # m6811/m6812 code has references to soft registers.
+ if {[istarget m6811-*-*] || [istarget m6812-*-*]} {
+ set flags "$flags --defsym _.frame=0 --defsym _.d1=0 --defsym _.d2=0"
+ set flags "$flags --defsym _.d3=0 --defsym _.d4=0"
+ set flags "$flags --defsym _.tmp=0 --defsym _.xy=0"
+ }
+
# V850 targets need libgcc.a
if [istarget v850*-*-elf] {
set objs "$objs -L ../gcc -lgcc"