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 744f7fc..f609828 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 41fad92..886bd1f 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.7.4