summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/spidermonkey
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-12-16 13:56:54 +0000
committerVincent Sanders <vince@kyllikki.org>2012-12-16 13:56:54 +0000
commit842cbbe2deac7546b6e860bf413e03b6ad565c82 (patch)
tree7ba1d41ce26c78ae7727b6be4b1e229e1512df06 /sdk/recipes/patches/spidermonkey
parent77e33af042e8cae74fab188ecd94e6adbcd844fc (diff)
downloadtoolchains-842cbbe2deac7546b6e860bf413e03b6ad565c82.tar.gz
toolchains-842cbbe2deac7546b6e860bf413e03b6ad565c82.tar.bz2
make spidermonkey 1.8.5 build without JIT on RISC OS
add support for spidermonkey 1.7.0 source
Diffstat (limited to 'sdk/recipes/patches/spidermonkey')
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/ExecutableAllocator.h.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/ExecutableAllocator.h.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/ExecutableAllocatorPosix.cpp.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/ExecutableAllocatorPosix.cpp.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Makefile.p21
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/MethodJIT.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Platform.h.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/Platform.h.p)2
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/configure.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/configure.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jscntxt.cpp.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jsgcchunk.cpp.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jsgcchunk.cpp.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jsnativestack.cpp.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jsnativestack.cpp.p)0
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jstypedarray.cpp.p (renamed from sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jstypedarray.cpp.p)0
10 files changed, 22 insertions, 1 deletions
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/ExecutableAllocator.h.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/ExecutableAllocator.h.p
index 30b811f..30b811f 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/ExecutableAllocator.h.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/ExecutableAllocator.h.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/ExecutableAllocatorPosix.cpp.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/ExecutableAllocatorPosix.cpp.p
index 2f31400..2f31400 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/ExecutableAllocatorPosix.cpp.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/ExecutableAllocatorPosix.cpp.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Makefile.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Makefile.p
new file mode 100644
index 0000000..abe9df9
--- /dev/null
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Makefile.p
@@ -0,0 +1,21 @@
+--- js/src/Makefile.in.orig 2012-12-16 13:10:27.000000000 +0000
++++ js/src/Makefile.in 2012-12-16 13:10:59.000000000 +0000
+@@ -878,7 +878,7 @@
+ install:: $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
+ ifneq (,$(LIBRARY))
+ $(SYSINSTALL) $(LIBRARY) $(DESTDIR)$(libdir)
+- mv -f $(DESTDIR)$(libdir)/$(LIBRARY) $(subst $(STATIC_LIBRARY_NAME),mozjs185-$(SRCREL_ABI_VERSION),$(DESTDIR)$(libdir)/$(LIBRARY))
++ mv -f $(DESTDIR)$(libdir)/$(LIBRARY) $(subst $(STATIC_LIBRARY_NAME),mozjs185,$(DESTDIR)$(libdir)/$(LIBRARY))
+ endif
+ ifneq (,$(SHARED_LIBRARY))
+ ifeq (,$(HOST_BIN_SUFFIX))
+@@ -968,7 +968,8 @@
+ # Needed to "configure" it correctly. Unfortunately these
+ # flags wind up being applied to all code in js/src, not just
+ # the code in js/src/assembler.
+-CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
++CXXFLAGS += -DUSE_SYSTEM_MALLOC=1
++#-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
+
+ INCLUDES += -I$(srcdir)/assembler -I$(srcdir)/yarr
+
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/MethodJIT.p
index 2d7ddb0..2d7ddb0 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/MethodJIT.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/Platform.h.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Platform.h.p
index 9d91ac8..29bc2c2 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/Platform.h.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/Platform.h.p
@@ -24,7 +24,7 @@
+
+#define WTF_THUMB_ARCH_VERSION 0
+#define WTF_PLATFORM_RISCOS 1
-+#define WTF_CPU_ARM_TRADITIONAL 1
++#define WTF_CPU_ARM_TRADITIONAL 0
+
+#endif
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/configure.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/configure.p
index fcd012a..fcd012a 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/configure.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/configure.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jscntxt.cpp.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p
index d61d860..d61d860 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jscntxt.cpp.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jscntxt.cpp.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jsgcchunk.cpp.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jsgcchunk.cpp.p
index b8720e4..b8720e4 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jsgcchunk.cpp.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jsgcchunk.cpp.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jsnativestack.cpp.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jsnativestack.cpp.p
index 0e042a9..0e042a9 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jsnativestack.cpp.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jsnativestack.cpp.p
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jstypedarray.cpp.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jstypedarray.cpp.p
index 0f4cfa9..0f4cfa9 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/jstypedarray.cpp.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos-1.8.5/jstypedarray.cpp.p