From: Kaz Kojima Date: Wed, 6 Nov 2002 23:37:23 +0000 (+0000) Subject: * ld-sh/rd-sh.exp: Set asflags_save always. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e622545fea1fc2e3b0f7e8d4dd60bba4f364f3b;p=binutils-gdb.git * ld-sh/rd-sh.exp: Set asflags_save always. --- 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" }