aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/mpstd.h
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/mpstd.h')
-rw-r--r--mps/code/mpstd.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/mps/code/mpstd.h b/mps/code/mpstd.h
index c6343b7db59..3977e63a5af 100644
--- a/mps/code/mpstd.h
+++ b/mps/code/mpstd.h
@@ -217,8 +217,7 @@
217#define MPS_WORD_SHIFT 5 217#define MPS_WORD_SHIFT 5
218#define MPS_PF_ALIGN 8 /* @@@@ not tested */ 218#define MPS_PF_ALIGN 8 /* @@@@ not tested */
219 219
220/* GCC 2.95.3, gcc -E -dM 220/* GCC 2.95.3, gcc -E -dM */
221 */
222 221
223#elif defined(__FreeBSD__) && defined (__i386__) && defined (__GNUC__) 222#elif defined(__FreeBSD__) && defined (__i386__) && defined (__GNUC__)
224#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_FRI4GC) 223#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_FRI4GC)
@@ -235,6 +234,21 @@
235#define MPS_WORD_SHIFT 5 234#define MPS_WORD_SHIFT 5
236#define MPS_PF_ALIGN 4 235#define MPS_PF_ALIGN 4
237 236
237#elif defined(__FreeBSD__) && defined (__x86_64__) && defined (__GNUC__)
238#if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_FRI6GC)
239#error "specified CONFIG_PF_... inconsistent with detected fri6gc"
240#endif
241#define MPS_PF_FRI6GC
242#define MPS_PF_STRING "fri6gc"
243#define MPS_OS_FR
244#define MPS_ARCH_I6
245#define MPS_BUILD_GC
246#define MPS_T_WORD unsigned long
247#define MPS_T_ULONGEST unsigned long
248#define MPS_WORD_WIDTH 64
249#define MPS_WORD_SHIFT 6
250#define MPS_PF_ALIGN 8
251
238#else 252#else
239#error "Unable to detect target platform" 253#error "Unable to detect target platform"
240#endif 254#endif