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)