summaryrefslogtreecommitdiffstats
path: root/main/webkit/webkit-1.6.1-alt-fix-TEXTREL.patch
blob: 3757e719d35f2bad0954e866905b38219bca1433 (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
diff -ur webkit-1.6.1/Source/JavaScriptCore/jit/JITStubs.cpp webkit-1.6.1.new/Source/JavaScriptCore/jit/JITStubs.cpp
--- webkit-1.6.1/Source/JavaScriptCore/jit/JITStubs.cpp	2011-10-21 21:18:46.000000000 +0400
+++ webkit-1.6.1.new/Source/JavaScriptCore/jit/JITStubs.cpp	2011-10-21 21:19:51.397529165 +0400
@@ -80,7 +80,7 @@
 #define THUMB_FUNC_PARAM(name)
 #endif
 
-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
+#if (OS(LINUX) || OS(FREEBSD)) && (CPU(X86) || CPU(X86_64))
 #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
diff -ur webkit-1.6.1/Source/JavaScriptCore/jit/ThunkGenerators.cpp webkit-1.6.1.new/Source/JavaScriptCore/jit/ThunkGenerators.cpp
--- webkit-1.6.1/Source/JavaScriptCore/jit/ThunkGenerators.cpp	2011-10-21 21:18:46.000000000 +0400
+++ webkit-1.6.1.new/Source/JavaScriptCore/jit/ThunkGenerators.cpp	2011-10-21 21:20:01.029529805 +0400
@@ -108,7 +108,7 @@
 #define SYMBOL_STRING(name) #name
 #endif
     
-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
+#if (OS(LINUX) || OS(FREEBSD)) && (CPU(X86) || CPU(X86_64))
 #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