diff options
author | kib <kib@FreeBSD.org> | 2015-09-29 16:09:58 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-09-29 16:09:58 +0000 |
commit | 2b6ac44d5d1daf1a746ac5b9a9c426b621aaa82b (patch) | |
tree | 6f88f0773e9f00f362b1ad72de44af830fd0278b /lib/csu | |
parent | 91736e0038dbbc345d1b904eb7310f56932acc32 (diff) | |
download | FreeBSD-src-2b6ac44d5d1daf1a746ac5b9a9c426b621aaa82b.zip FreeBSD-src-2b6ac44d5d1daf1a746ac5b9a9c426b621aaa82b.tar.gz |
Annotate arm userspace assembler sources stating their tolerance to
the non-executable stack.
Reviewed by: andrew
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/csu')
-rw-r--r-- | lib/csu/arm/crti.S | 1 | ||||
-rw-r--r-- | lib/csu/arm/crtn.S | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/csu/arm/crti.S b/lib/csu/arm/crti.S index 40e83bb..c6c37eb 100644 --- a/lib/csu/arm/crti.S +++ b/lib/csu/arm/crti.S @@ -19,3 +19,4 @@ _fini: stmdb sp!, {fp, ip, lr, pc} sub fp, ip, #4 + .section .note.GNU-stack,"",%progbits diff --git a/lib/csu/arm/crtn.S b/lib/csu/arm/crtn.S index 962f0ed..25bbd57 100644 --- a/lib/csu/arm/crtn.S +++ b/lib/csu/arm/crtn.S @@ -8,3 +8,5 @@ __FBSDID("$FreeBSD$"); .section .fini,"ax",%progbits ldmea fp, {fp, sp, pc} mov pc, lr + + .section .note.GNU-stack,"",%progbits |