diff --git a/libitm/config/aarch64/sjlj.S b/libitm/config/aarch64/sjlj.S index 27626c1f378..5b97b973e27 100644 --- a/libitm/config/aarch64/sjlj.S +++ b/libitm/config/aarch64/sjlj.S @@ -87,6 +87,6 @@ GTM_longjmp: cfi_endproc .size GTM_longjmp, . - GTM_longjmp -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) .section .note.GNU-stack, "", %progbits #endif