--- tests/start.S | 2 ++ tests/syscalls.S | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/tests/start.S b/tests/start.S index b795bfbd..15970fb9 100644 --- a/tests/start.S +++ b/tests/start.S @@ -26,3 +26,5 @@ _start: movq %rsp,%rdi callq c_start #endif /* __x86_64__ */ + + .section .note.GNU-stack,"",%progbits diff --git a/tests/syscalls.S b/tests/syscalls.S index df9c9bc0..b1e18aa8 100644 --- a/tests/syscalls.S +++ b/tests/syscalls.S @@ -2,3 +2,5 @@ #include <mach/syscall_sw.h> kernel_trap(invalid_syscall,-31,0) + + .section .note.GNU-stack,"",%progbits -- 2.44.0