blob: 9d91ac8c74e9482ca026a8f4a20ffda821b80f19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- js/src/assembler/wtf/Platform.h.orig 2011-03-31 20:08:36.000000000 +0100
+++ js/src/assembler/wtf/Platform.h 2012-11-08 14:48:57.000000000 +0000
@@ -188,6 +188,7 @@
#elif !defined(__ARM_EABI__) \
&& !defined(__EABI__) \
&& !defined(__VFP_FP__) \
+ && !defined(__riscos__) \
&& !defined(ANDROID)
#define WTF_CPU_MIDDLE_ENDIAN 1
@@ -232,6 +233,7 @@
#endif
+#ifndef __riscos__
/* Set WTF_THUMB_ARCH_VERSION */
#if defined(__ARM_ARCH_4T__)
#define WTF_THUMB_ARCH_VERSION 1
@@ -263,6 +265,13 @@
#define WTF_THUMB_ARCH_VERSION 0
#endif
+#else
+
+#define WTF_THUMB_ARCH_VERSION 0
+#define WTF_PLATFORM_RISCOS 1
+#define WTF_CPU_ARM_TRADITIONAL 1
+
+#endif
/* CPU(ARMV5_OR_LOWER) - ARM instruction set v5 or earlier */
/* On ARMv5 and below the natural alignment is required.
|