diff options
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2002-11-04 01:18:13 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@rr.iij4u.or.jp> | 2002-11-04 01:18:13 +0000 |
commit | 935cac6e77b842941bb173cd3e25c11890f31260 (patch) | |
tree | 954af3c1d3913b132afa50add5042d11635d67e7 /ld/testsuite/ld-sh/rd-sh.exp | |
parent | 3463048e40b02f9c03ec1e9b14d128fdaff8e5bd (diff) | |
download | gdb-935cac6e77b842941bb173cd3e25c11890f31260.zip gdb-935cac6e77b842941bb173cd3e25c11890f31260.tar.gz gdb-935cac6e77b842941bb173cd3e25c11890f31260.tar.bz2 |
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.
Diffstat (limited to 'ld/testsuite/ld-sh/rd-sh.exp')
-rw-r--r-- | ld/testsuite/ld-sh/rd-sh.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/rd-sh.exp b/ld/testsuite/ld-sh/rd-sh.exp index 7060d02..41fad92 100644 --- a/ld/testsuite/ld-sh/rd-sh.exp +++ b/ld/testsuite/ld-sh/rd-sh.exp @@ -28,6 +28,12 @@ if ![istarget sh*-*-*] { return } +if {[istarget sh64*-*-*] || [istarget sh5*-*-*]} then { + global ASFLAGS + set asflags_save "$ASFLAGS" + set ASFLAGS "$ASFLAGS -isa=SHcompact" +} + set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] foreach shtest $rd_test_list { # We need to strip the ".d", but can leave the dirname. @@ -44,3 +50,4 @@ foreach shtest $rd_test_list { # FIXME: What if it fails? Need we do something? } } +set ASFLAGS "$asflags_save" |