specify that our assembler code don't need an executable stack

This commit is contained in:
Stefan Lankes 2011-02-16 21:19:44 +01:00
parent 98b8c51e92
commit 156bf8fa1b
3 changed files with 5 additions and 0 deletions

View file

@ -811,3 +811,4 @@ SECTION .bss
resb 8192 ; This reserves 8KBytes of memory here
_sys_stack:
SECTION .note.GNU-stack noalloc noexec nowrite progbits

View file

@ -72,3 +72,5 @@ L3:
pop edi
pop ebp
ret
SECTION .note.GNU-stack noalloc noexec nowrite progbits

View file

@ -73,3 +73,5 @@ L2:
; endless loop
jmp $
SECTION .note.GNU-stack noalloc noexec nowrite progbits