summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-01-07 16:09:33 +0000
committerkib <kib@FreeBSD.org>2011-01-07 16:09:33 +0000
commit53f046ef30201a7a4df0949cb449d8981d7de259 (patch)
tree7079b3c43f0d7afdc6954e88c0f07cd121bfbcc1 /lib/libthr
parenta5e01acec5aad9ddbe58e73c087304a450c8e84e (diff)
downloadFreeBSD-src-53f046ef30201a7a4df0949cb449d8981d7de259.zip
FreeBSD-src-53f046ef30201a7a4df0949cb449d8981d7de259.tar.gz
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/arch/amd64/amd64/_umtx_op_err.S2
-rw-r--r--lib/libthr/arch/i386/i386/_umtx_op_err.S2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libthr/arch/amd64/amd64/_umtx_op_err.S b/lib/libthr/arch/amd64/amd64/_umtx_op_err.S
index d11753d..b54fe64 100644
--- a/lib/libthr/arch/amd64/amd64/_umtx_op_err.S
+++ b/lib/libthr/arch/amd64/amd64/_umtx_op_err.S
@@ -35,3 +35,5 @@
#define KERNCALL movq %rcx, %r10; syscall
RSYSCALL_ERR(_umtx_op)
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/lib/libthr/arch/i386/i386/_umtx_op_err.S b/lib/libthr/arch/i386/i386/_umtx_op_err.S
index 9b6f0b0..113412c 100644
--- a/lib/libthr/arch/i386/i386/_umtx_op_err.S
+++ b/lib/libthr/arch/i386/i386/_umtx_op_err.S
@@ -34,3 +34,5 @@
mov __CONCAT($SYS_,x),%eax; int $0x80; ret
SYSCALL_ERR(_umtx_op)
+
+ .section .note.GNU-stack,"",%progbits
OpenPOWER on IntegriCloud