VM: Allow the C compiler to choose FP_REG on ARM.
authorMark H Weaver <mhw@netris.org>
Sat, 20 Sep 2014 07:59:51 +0000 (03:59 -0400)
committerMark H Weaver <mhw@netris.org>
Sat, 20 Sep 2014 09:40:24 +0000 (05:40 -0400)
Reported by Rob Browning <rlb@defaultvalue.org>.

* libguile/vm-engine.h (IP_REG)[__arm__]: Remove explicit register
  choice ("r7") for FP_REG, which was reported to cause compilation
  failures on ARM.

libguile/vm-engine.h

index 46d4cff..e618be7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2009-2012, 2014 Free Software Foundation, Inc.
  * 
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
@@ -81,7 +81,7 @@
 #ifdef __arm__
 #define IP_REG asm("r9")
 #define SP_REG asm("r8")
-#define FP_REG asm("r7")
+#define FP_REG
 #endif
 #endif