summaryrefslogtreecommitdiffstats
path: root/main/webkit/webkit-1.8-textrels.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/webkit/webkit-1.8-textrels.patch')
-rw-r--r--main/webkit/webkit-1.8-textrels.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/webkit/webkit-1.8-textrels.patch b/main/webkit/webkit-1.8-textrels.patch
new file mode 100644
index 000000000..77edc745d
--- /dev/null
+++ b/main/webkit/webkit-1.8-textrels.patch
@@ -0,0 +1,11 @@
+--- ./Source/JavaScriptCore/wtf/InlineASM.h.orig
++++ ./Source/JavaScriptCore/wtf/InlineASM.h
+@@ -42,7 +42,7 @@
+ #define THUMB_FUNC_PARAM(name)
+ #endif
+
+-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
++#if (OS(LINUX) || OS(FREEBSD)) && (CPU(X86_64) || CPU(X86))
+ #define SYMBOL_STRING_RELOCATION(name) #name "@plt"
+ #elif OS(DARWIN) || (CPU(X86_64) && COMPILER(MINGW) && !GCC_VERSION_AT_LEAST(4, 5, 0))
+ #define SYMBOL_STRING_RELOCATION(name) "_" #name