From 6c69d0523265f537225cf1a8940f1c1a09d97396 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 7 Jan 2011 16:09:33 +0000 Subject: [PATCH] Add section .note.GNU-stack for assembly files used by 386 and amd64. --- lib/libthr/arch/amd64/amd64/_umtx_op_err.S | 2 ++ lib/libthr/arch/i386/i386/_umtx_op_err.S | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/libthr/arch/amd64/amd64/_umtx_op_err.S b/lib/libthr/arch/amd64/amd64/_umtx_op_err.S index d11753d41194..b54fe64f617d 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 9b6f0b0f8181..113412c85100 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