summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2009-05-05 09:13:26 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2009-05-05 09:13:26 +0000
commiteb1922c6ab88e832e39ba3972fab619081061928 (patch)
tree38d7defb6a9ec7a056d1b38c7e93f16fed864314
parent4e50c497a873e7db9a7aa1c0a04ef39fb04a6cda (diff)
downloadocaml-eb1922c6ab88e832e39ba3972fab619081061928.tar.gz
ARM EABI: do not force use of register r9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9254 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--byterun/interp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/interp.c b/byterun/interp.c
index 2d65b6af5b..76cd2151fd 100644
--- a/byterun/interp.c
+++ b/byterun/interp.c
@@ -158,7 +158,7 @@ sp is a local copy of the global variable caml_extern_sp. */
#define ACCU_REG asm("d7")
#endif
#ifdef __arm__
-#define PC_REG asm("r9")
+#define PC_REG asm("r6")
#define SP_REG asm("r8")
#define ACCU_REG asm("r7")
#endif