specify that our assembler code don't need an executable stack
This commit is contained in:
parent
98b8c51e92
commit
156bf8fa1b
3 changed files with 5 additions and 0 deletions
|
@ -811,3 +811,4 @@ SECTION .bss
|
|||
resb 8192 ; This reserves 8KBytes of memory here
|
||||
_sys_stack:
|
||||
|
||||
SECTION .note.GNU-stack noalloc noexec nowrite progbits
|
||||
|
|
|
@ -72,3 +72,5 @@ L3:
|
|||
pop edi
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
SECTION .note.GNU-stack noalloc noexec nowrite progbits
|
||||
|
|
|
@ -73,3 +73,5 @@ L2:
|
|||
|
||||
; endless loop
|
||||
jmp $
|
||||
|
||||
SECTION .note.GNU-stack noalloc noexec nowrite progbits
|
||||
|
|
Loading…
Add table
Reference in a new issue