summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-09-29 16:09:58 +0000
committerkib <kib@FreeBSD.org>2015-09-29 16:09:58 +0000
commit2b6ac44d5d1daf1a746ac5b9a9c426b621aaa82b (patch)
tree6f88f0773e9f00f362b1ad72de44af830fd0278b /libexec
parent91736e0038dbbc345d1b904eb7310f56932acc32 (diff)
downloadFreeBSD-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 'libexec')
-rw-r--r--libexec/rtld-elf/arm/rtld_start.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/arm/rtld_start.S b/libexec/rtld-elf/arm/rtld_start.S
index c482808..431ea48 100644
--- a/libexec/rtld-elf/arm/rtld_start.S
+++ b/libexec/rtld-elf/arm/rtld_start.S
@@ -97,3 +97,4 @@ _rtld_bind_start:
ldmia sp!,{r0-r5,sl,fp,lr} /* restore the stack */
mov pc, ip /* jump to the new address */
+ .section .note.GNU-stack,"",%progbits
OpenPOWER on IntegriCloud