From 5e622545fea1fc2e3b0f7e8d4dd60bba4f364f3b Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Wed, 6 Nov 2002 23:37:23 +0000 Subject: [PATCH] * ld-sh/rd-sh.exp: Set asflags_save always. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-sh/rd-sh.exp | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 744f7fcf37d..f6098287bb0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-11-07 Kaz Kojima + + * ld-sh/rd-sh.exp: Set asflags_save always. + 2002-11-07 Casper S. Hornstrup * ld-fastcall: New directory for testing fastcall support. diff --git a/ld/testsuite/ld-sh/rd-sh.exp b/ld/testsuite/ld-sh/rd-sh.exp index 41fad92952a..886bd1fc375 100644 --- a/ld/testsuite/ld-sh/rd-sh.exp +++ b/ld/testsuite/ld-sh/rd-sh.exp @@ -28,9 +28,10 @@ if ![istarget sh*-*-*] { return } +global ASFLAGS +set asflags_save "$ASFLAGS" + if {[istarget sh64*-*-*] || [istarget sh5*-*-*]} then { - global ASFLAGS - set asflags_save "$ASFLAGS" set ASFLAGS "$ASFLAGS -isa=SHcompact" } -- 2.30.2