diff options
author | kib <kib@FreeBSD.org> | 2011-01-07 14:28:54 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-07 14:28:54 +0000 |
commit | a7db50394e1fe9185bab0e4722beb39a1a07bacc (patch) | |
tree | 419e7c9007bcfe68a509617246bd9ee6264fc7dd /lib/libc/sys/Makefile.inc | |
parent | 4fe990ef1e9abafcfdbbd799e893e60b258b512a (diff) | |
download | FreeBSD-src-a7db50394e1fe9185bab0e4722beb39a1a07bacc.zip FreeBSD-src-a7db50394e1fe9185bab0e4722beb39a1a07bacc.tar.gz |
Emit .note.GNU-stack for the syscall stubs generated by libc.
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 09d4016..7a89471 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -56,11 +56,13 @@ CLEANFILES+= ${SASM} ${SPSEUDO} ${SASM}: printf '#include "compat.h"\n' > ${.TARGET} printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >> ${.TARGET} + printf '\t.section .note.GNU-stack,"",%%progbits\n' >>${.TARGET} ${SPSEUDO}: printf '#include "compat.h"\n' > ${.TARGET} printf '#include "SYS.h"\nPSEUDO(${.PREFIX:S/_//})\n' \ >> ${.TARGET} + printf '\t.section .note.GNU-stack,"",%%progbits\n' >>${.TARGET} MAN+= abort2.2 accept.2 access.2 acct.2 adjtime.2 \ aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 \ |