aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2002-11-06 23:37:23 +0000
committerKaz Kojima <kkojima@rr.iij4u.or.jp>2002-11-06 23:37:23 +0000
commit5e622545fea1fc2e3b0f7e8d4dd60bba4f364f3b (patch)
treeb64e6b58589f4aa96bf48ad5662c5fcd3d76bb53
parent3fe235a7a8dae35528058150b629e106d39b86b2 (diff)
downloadgdb-5e622545fea1fc2e3b0f7e8d4dd60bba4f364f3b.zip
gdb-5e622545fea1fc2e3b0f7e8d4dd60bba4f364f3b.tar.gz
gdb-5e622545fea1fc2e3b0f7e8d4dd60bba4f364f3b.tar.bz2
* ld-sh/rd-sh.exp: Set asflags_save always.
-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"
}