diff --git a/libgcc/config/aarch64/lse.S b/libgcc/config/aarch64/lse.S index f3ccf5cf543..9e2acae806b 100644 --- a/libgcc/config/aarch64/lse.S +++ b/libgcc/config/aarch64/lse.S @@ -274,3 +274,7 @@ STARTFN NAME(LDNM) ENDFN NAME(LDNM) #endif + +#if defined(__linux__) || defined(__FreeBSD__) +.section .note.GNU-stack, "", %progbits +#endif