diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2011-01-07 16:07:05 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2011-01-07 16:07:05 +0000 |
| commit | 3ad6376e56013e372d917c0713fcfbe38687a471 (patch) | |
| tree | 31e8c83f95c0371b8b5f9011a5af7dd406e5ebb1 /libexec | |
| parent | 127060d2b09e0e09669a987c421dbad5e2ad4959 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/amd64/rtld_start.S | 2 | ||||
| -rw-r--r-- | libexec/rtld-elf/i386/rtld_start.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rtld-elf/amd64/rtld_start.S b/libexec/rtld-elf/amd64/rtld_start.S index 4cdad22b0557..a63d94cf75cf 100644 --- a/libexec/rtld-elf/amd64/rtld_start.S +++ b/libexec/rtld-elf/amd64/rtld_start.S @@ -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 diff --git a/libexec/rtld-elf/i386/rtld_start.S b/libexec/rtld-elf/i386/rtld_start.S index 9a6e2d5e5292..482e51a86385 100644 --- a/libexec/rtld-elf/i386/rtld_start.S +++ b/libexec/rtld-elf/i386/rtld_start.S @@ -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 |
