From fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Mon, 17 Apr 2006 18:58:24 +0000 Subject: Add .note.GNU-stack section to assembler files to avoid the default behavior of requesting executable stacks. --- src/mesa/x86/common_x86_asm.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/x86/common_x86_asm.S') diff --git a/src/mesa/x86/common_x86_asm.S b/src/mesa/x86/common_x86_asm.S index 654b3469d8..ef3cc9eb59 100644 --- a/src/mesa/x86/common_x86_asm.S +++ b/src/mesa/x86/common_x86_asm.S @@ -213,3 +213,7 @@ GLNAME( _mesa_test_os_sse_exception_support ): #endif + +#if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +#endif -- cgit v1.2.3