diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-02-08 18:57:47 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-02-08 18:57:47 +0000 |
commit | fef67c28c83e5e8c95c2f3fbc8fb662d93979be0 (patch) | |
tree | 2eefc38fe40c0c409316c54194ef94cc210af1d1 /ld/testsuite/ld-selective | |
parent | 98a797049bd2aa3f82c8bbfc0a66133e916c5a01 (diff) | |
download | gdb-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-selective')
-rw-r--r-- | ld/testsuite/ld-selective/selective.exp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 0df21f8..d2dc680 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -1,5 +1,5 @@ # Expect script for LD selective linking tests -# Copyright (C) 1998, 1999, 2000 Free Software Foundation +# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -95,6 +95,12 @@ foreach testitem $seltests { set objfile "$objfile -L ../gcc -lgcc" } + # m6811/m6812 code has references to soft registers. + if {[istarget m6811-*-*] || [istarget m6812-*-*]} { + set objfile "$objfile --defsym _.frame=0 --defsym _.d1=0" + set objfile "$objfile --defsym _.d2=0" + } + if ![ld_simple_link $ld $ldfile "$ldflags [join $ldargs] $objfile"] { fail $testname continue |