Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
webkitgtk3
webkitgtk-aarch64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webkitgtk-aarch64.patch of Package webkitgtk3
From ab7f87b2d22ba689a6e4b519a3ee6a939902c6ea Mon Sep 17 00:00:00 2001 From: Andreas Schwab <schwab@suse.de> Date: Mon, 13 May 2013 15:31:45 +0200 Subject: [PATCH] Add support for AAarch64 * wtf/Platform.h: Add support for AArch64. * wtf/dtoa/utils.h: Likewise. --- Source/WTF/wtf/Platform.h | 13 +++++++++++-- Source/WTF/wtf/dtoa/utils.h | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) Index: webkitgtk-2.2.2/Source/WTF/wtf/Platform.h =================================================================== --- webkitgtk-2.2.2.orig/Source/WTF/wtf/Platform.h +++ webkitgtk-2.2.2/Source/WTF/wtf/Platform.h @@ -327,6 +327,14 @@ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 #endif +/* CPU(AARCH64) - AArch64 */ +#if defined(__aarch64__) +#define WTF_CPU_AARCH64 1 +#if defined(__AARCH64BE__) +#define WTF_CPU_BIG_ENDIAN 1 +#endif +#endif + /* ==== OS() - underlying operating system; only to be used for mandated low-level services like virtual memory, not to choose a GUI toolkit ==== */ @@ -689,7 +697,8 @@ || CPU(ALPHA) \ || CPU(SPARC64) \ || CPU(S390X) \ - || CPU(PPC64) + || CPU(PPC64) \ + || CPU(AARCH64) #define WTF_USE_JSVALUE64 1 #else #define WTF_USE_JSVALUE32_64 1 @@ -855,7 +864,7 @@ #define ENABLE_REGEXP_TRACING 0 /* Yet Another Regex Runtime - turned on by default for JIT enabled ports. */ -#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) && !(OS(QNX) && PLATFORM(QT)) +#if !defined(ENABLE_YARR_JIT) && (ENABLE(JIT) || ENABLE(LLINT_C_LOOP)) && !(OS(QNX) && PLATFORM(QT)) && !CPU(AARCH64) && !CPU(PPC) #define ENABLE_YARR_JIT 1 /* Setting this flag compares JIT results with interpreter results. */ Index: webkitgtk-2.2.2/Source/WTF/wtf/dtoa/utils.h =================================================================== --- webkitgtk-2.2.2.orig/Source/WTF/wtf/dtoa/utils.h +++ webkitgtk-2.2.2/Source/WTF/wtf/dtoa/utils.h @@ -49,7 +49,7 @@ defined(__ARMEL__) || \ defined(_MIPS_ARCH_MIPS32R2) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 -#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(HPPA) +#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(HPPA) || CPU(AARCH64) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 #elif defined(_M_IX86) || defined(__i386__) #if defined(_WIN32)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor