guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 258/437: MIPS: Correct abi detection.


From: Andy Wingo
Subject: [Guile-commits] 258/437: MIPS: Correct abi detection.
Date: Mon, 2 Jul 2018 05:14:32 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit 565c3a064ea5170eef65f6a905d9500a33266a0e
Author: pcpa <address@hidden>
Date:   Wed Oct 2 23:18:06 2013 -0300

    MIPS: Correct abi detection.
    
        * include/lightning/jit_mips.h: Add proper mips abi detection.
---
 ChangeLog                    | 4 ++++
 include/lightning/jit_mips.h | 7 +++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 351166b..4763eb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-02 Paulo Andrade <address@hidden>
+
+       * include/lightning/jit_mips.h: Add proper mips abi detection.
+
 2013-10-30 Paulo Andrade <address@hidden>
 
        * lib/jit_print.c: Do not crash if calling jit_print from
diff --git a/include/lightning/jit_mips.h b/include/lightning/jit_mips.h
index a936f36..855e33d 100644
--- a/include/lightning/jit_mips.h
+++ b/include/lightning/jit_mips.h
@@ -23,8 +23,11 @@
 #define JIT_HASH_CONSTS                1
 #define JIT_NUM_OPERANDS       3
 
-#if defined(_ABIN32)
-#  define NEW_ABI              1
+#if _MIPS_SIM == _ABIN32
+#    define NEW_ABI            1
+#elif _MIPS_SIM != _ABIO32
+/* FIXME port to _ABI64 */
+#  error "Unsupported ABI"
 #endif
 
 /*



reply via email to

[Prev in Thread] Current Thread [Next in Thread]