https://build.opensuse.org/package/view_file/openSUSE:Factory/mozjs17/mozjs-aarch64-support.patch index c071c33..90764c3 100644 --- a/js/src/assembler/jit/ExecutableAllocator.h +++ b/js/src/assembler/jit/ExecutableAllocator.h @@ -382,6 +382,12 @@ public: { reprotectRegion(start, size, Executable); } +#elif WTF_CPU_AARCH64 && WTF_PLATFORM_LINUX + static void cacheFlush(void* code, size_t size) + { + intptr_t end = reinterpret_cast(code) + size; + __builtin___clear_cache(reinterpret_cast(code), reinterpret_cast(end)); + } #else static void makeWritable(void*, size_t) {} static void makeExecutable(void*, size_t) {} diff --git a/js/src/assembler/wtf/Platform.h b/js/src/assembler/wtf/Platform.h index 0c84896..e8763a7 100644 --- a/js/src/assembler/wtf/Platform.h +++ b/js/src/assembler/wtf/Platform.h @@ -325,6 +325,10 @@ #define WTF_THUMB_ARCH_VERSION 0 #endif +/* CPU(AArch64) - 64-bit ARM */ +#if defined(__aarch64__) +#define WTF_CPU_AARCH64 1 +#endif /* WTF_CPU_ARMV5_OR_LOWER - ARM instruction set v5 or earlier */ /* On ARMv5 and below the natural alignment is required. diff --git a/js/src/configure.in b/js/src/configure.in index 15605b2..19fd704 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -1121,6 +1121,10 @@ arm*) CPU_ARCH=arm ;; +aarch64) + CPU_ARCH=aarch64 + ;; + mips|mipsel) CPU_ARCH="mips" ;; diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h index 0eec2d9..fe26dab 100644 --- a/mfbt/double-conversion/utils.h +++ b/mfbt/double-conversion/utils.h @@ -58,6 +58,7 @@ defined(__mips__) || defined(__powerpc__) || \ defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ defined(__SH4__) || defined(__alpha__) || \ + defined(__aarch64__) || \ defined(_MIPS_ARCH_MIPS32R2) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) t type='submit' value='search'/>
AgeCommit message (Expand)Author
2022-06-25services: pcscd: Use switch-symlinks from (guix build utils)....switch-symlinks has been moved to (guix build utils). We need not duplicate it anymore. * gnu/services/security-token.scm (pcscd-activation): Use switch-symlinks from (guix build utils). Arun Isaac
2021-07-03services: pcscd: Fix daemon signal handling...."pcscd" wouldn't handle SIGTERM as it inherit ignoring this signal (and others) from its parent shepherd; fork+exec-command restore signal handling. Fixes <https://issues.guix.gnu.org/45202>. * gnu/services/security-token.scm (pcscd)[start]: Use fork+exec-command to start "pcscd". Brice Waegeneire
2021-06-19services: pcscd: Cleanup socket when started....Otherwise when pcscd doesn't terminate properly (ie. receive a SIGKILL), it won't start again because of it's socket already existing. * gnu/services/security-token.scm (pcscd-shepherd-service)[start]: Remove existing socket file. Brice Waegeneire
2020-12-13gnu: htop: Update to 3.0.3....* gnu/packages/admin.scm (htop): Update to 3.0.3. Tobias Geerinckx-Rice
2020-12-12services: pcscd-shepherd-service: Fix PID file location....Fixes <http://issues.guix.gnu.org/45202>. * gnu/services/security-token.scm (pcscd-shepherd-service): Look for pcscd.pid in /run instead of /var/run. Reported by Raffael Stocker <r.stocker@mnet-mail.de>. Tobias Geerinckx-Rice