Commit 5211c7207ec81dfdfa9acdcd86b49b9ff66b9d91

Anthony Green 2014-11-17T09:07:07

Merge pull request #147 from rth7680/go/alpha testsuite: Fix alpha static chain register name

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/testsuite/libffi.go/static-chain.h b/testsuite/libffi.go/static-chain.h
index 56b7e31..3675b40 100644
--- a/testsuite/libffi.go/static-chain.h
+++ b/testsuite/libffi.go/static-chain.h
@@ -1,7 +1,7 @@
 #ifdef __aarch64__
 # define STATIC_CHAIN_REG  "x18"
 #elif defined(__alpha__)
-# define STATIC_CHAIN_REG  "r1"
+# define STATIC_CHAIN_REG  "$1"
 #elif defined(__arm__)
 # define STATIC_CHAIN_REG  "ip"
 #elif defined(__sparc__)