bhyve-fw: drop CSM
[oi-userland.git] / components / library / webkitgtk / patches / 03-inline-asm.patch
blob5f8362562234cdd356c929459343daae46b70e7f
1 Solaris missing from define checks for inline-assembler calling convention.
3 file upstream bug
5 diff --git a/Source/WTF/wtf/InlineASM.h b/Source/WTF/wtf/InlineASM.h
6 index 8379a69..b8fc3d3 100644
7 --- webkitgtk-2.32.3/Source/WTF/wtf/InlineASM.h
8 +++ webkitgtk-2.32.3/Source/WTF/wtf/InlineASM.h
9 @@ -43,11 +43,11 @@
10 #define THUMB_FUNC_PARAM(name)
11 #endif
13 -#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64)
14 +#if (OS(LINUX) || OS(FREEBSD) || OS(SOLARIS)) && (CPU(X86_64) || (CPU(SPARC)))
15 #define GLOBAL_REFERENCE(name) #name "@plt"
16 #elif CPU(X86) && COMPILER(MINGW)
17 #define GLOBAL_REFERENCE(name) "@" #name "@4"
18 -#elif OS(LINUX) && CPU(X86) && defined(__PIC__)
19 +#elif (OS(LINUX) || OS(SOLARIS)) && (CPU(X86) || (CPU(SPARC))) && defined(__PIC__)
20 #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt"
21 #else
22 #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name)
23 @@ -69,6 +69,7 @@
24 || OS(FREEBSD) \
25 || OS(FUCHSIA) \
26 || OS(OPENBSD) \
27 + || OS(SOLARIS) \
28 || OS(HPUX) \
29 || OS(NETBSD)
30 // ELF platform
31 @@ -86,6 +87,7 @@
32 || OS(FREEBSD) \
33 || OS(FUCHSIA) \
34 || OS(OPENBSD) \
35 + || OS(SOLARIS) \
36 || OS(HURD) \
37 || OS(NETBSD) \
38 || COMPILER(MINGW)