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/mmx_blend.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/x86/mmx_blend.S') diff --git a/src/mesa/x86/mmx_blend.S b/src/mesa/x86/mmx_blend.S index f7326cdbe6..397d635a62 100644 --- a/src/mesa/x86/mmx_blend.S +++ b/src/mesa/x86/mmx_blend.S @@ -364,3 +364,7 @@ TWO(MOVQ ( MM1, REGIND(rgba) )) #include "mmx_blendtmp.h" #endif + +#if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +#endif -- cgit v1.2.3