summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2010-08-13 14:54:38 +0000
committerLars Wendler <polynomial-c@gentoo.org>2010-08-13 14:54:38 +0000
commite8ee59edaf36db550caa76c66dd2d1d3e7c2b297 (patch)
treed81f535d6c2e34cabfce6f96beb45256c796633e /src
parentremove the only ivman reference from our docs, in this case in swift's old co... (diff)
downloadgentoo-e8ee59edaf36db550caa76c66dd2d1d3e7c2b297.tar.gz
gentoo-e8ee59edaf36db550caa76c66dd2d1d3e7c2b297.tar.bz2
gentoo-e8ee59edaf36db550caa76c66dd2d1d3e7c2b297.zip
New armv4t-nanojit patch as requested by armin76
Diffstat (limited to 'src')
-rw-r--r--src/patchsets/xulrunner/1.9.2/1009-armv4t-nanojit-v2.patch (renamed from src/patchsets/xulrunner/1.9.2/1009-armv4t-nanojit.patch)18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/patchsets/xulrunner/1.9.2/1009-armv4t-nanojit.patch b/src/patchsets/xulrunner/1.9.2/1009-armv4t-nanojit-v2.patch
index a5fc7f65d8..2d57c95067 100644
--- a/src/patchsets/xulrunner/1.9.2/1009-armv4t-nanojit.patch
+++ b/src/patchsets/xulrunner/1.9.2/1009-armv4t-nanojit-v2.patch
@@ -1,3 +1,16 @@
+From: Mike Hommey <glandium@debian.org>
+Date: Fri, 30 Apr 2010 14:32:41 +0200
+Subject: Add nanojit support for ARMv4T
+
+Thanks Albin Tonnerre for the initial patch.
+https://bugzilla.mozilla.org/show_bug.cgi?id=552624
+---
+ js/src/nanojit/NativeARM.cpp | 105 ++++++++++++++++++++++------------------
+ js/src/nanojit/avmplus.h | 2 +
+ js/src/nanojit/njcpudetect.h | 111 ++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 170 insertions(+), 48 deletions(-)
+ create mode 100644 js/src/nanojit/njcpudetect.h
+
diff --git a/js/src/nanojit/NativeARM.cpp b/js/src/nanojit/NativeARM.cpp
index 9387191..a50898c 100644
--- a/js/src/nanojit/NativeARM.cpp
@@ -193,7 +206,7 @@ new file mode 100644
index 0000000..79ea90b
--- /dev/null
+++ b/js/src/nanojit/njcpudetect.h
-@@ -0,0 +1,110 @@
+@@ -0,0 +1,111 @@
+/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
+/* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */
+/* ***** BEGIN LICENSE BLOCK *****
@@ -287,7 +300,8 @@ index 0000000..79ea90b
+
+ #define NJ_COMPILER_ARM_ARCH 5
+
-+#elif defined(__ARM_ARCH_4__)
++#elif defined(__ARM_ARCH_4__) || \
++ defined(__ARM_ARCH_4T__)
+
+ #define NJ_COMPILER_ARM_ARCH 4
+