From c8a98c0eceaec125ea56238eb2aef979cee3746d Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 17 Oct 2026 15:33:53 +0200 Subject: [PATCH] Fix ARM64 JIT template reads on execute-only systems --- src/jit_compiler_a64_static.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jit_compiler_a64_static.S b/src/jit_compiler_a64_static.S index 2082643e..178b71eb 100644 --- a/src/jit_compiler_a64_static.S +++ b/src/jit_compiler_a64_static.S @@ -32,7 +32,11 @@ #endif .arch armv8-a+crypto +#if defined(__ELF__) + .section .rodata +#else .text +#endif .global DECL(randomx_program_aarch64) .global DECL(randomx_program_aarch64_main_loop) .global DECL(randomx_program_aarch64_vm_instructions)