Add section .note.GNU-stack for assembly files used by 386 and amd64.

This commit is contained in:
Konstantin Belousov 2011-01-07 16:07:05 +00:00
parent 127060d2b0
commit 3ad6376e56
2 changed files with 4 additions and 0 deletions

View File

@ -112,3 +112,5 @@ _rtld_bind_start:
popfq # Restore rflags
leaq 16(%rsp),%rsp # Discard spare, obj, do not change rflags
ret # "Return" to target address
.section .note.GNU-stack,"",%progbits

View File

@ -89,3 +89,5 @@ _rtld_bind_start:
popf # Restore eflags
leal 4(%esp),%esp # Discard reloff, do not change eflags
ret # "Return" to target address
.section .note.GNU-stack,"",%progbits