aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-sh/rd-sh.exp5
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 <kkojima@rr.iij4u.or.jp>
+
+ * ld-sh/rd-sh.exp: Set asflags_save always.
+
2002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
* 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"
}