From 1774384098bc52588eccf454c0d076857ad182eb Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 5 Feb 2012 11:42:02 +0200 Subject: [PATCH] FreeBSD also supports PT_GNU_STACK. --- src/x86/longjmp.S | 2 -- src/x86/siglongjmp.S | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/x86/longjmp.S b/src/x86/longjmp.S index a89139de..05173d0c 100644 --- a/src/x86/longjmp.S +++ b/src/x86/longjmp.S @@ -35,7 +35,5 @@ _UI_longjmp_cont: ret .cfi_endproc .size _UI_siglongjmp_cont, .-_UI_longjmp_cont -#ifdef __linux__ /* We do not need executable stack. */ .section .note.GNU-stack,"",@progbits -#endif diff --git a/src/x86/siglongjmp.S b/src/x86/siglongjmp.S index 5aa1784e..b283aa28 100644 --- a/src/x86/siglongjmp.S +++ b/src/x86/siglongjmp.S @@ -66,7 +66,5 @@ _UI_siglongjmp_cont: jmp *%edx .cfi_endproc .size _UI_siglongjmp_cont, .-_UI_siglongjmp_cont -#ifdef __linux__ /* We do not need executable stack. */ .section .note.GNU-stack,"",@progbits -#endif