From fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= 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/3dnow_normal.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/x86/3dnow_normal.S') diff --git a/src/mesa/x86/3dnow_normal.S b/src/mesa/x86/3dnow_normal.S index 623849d80c..4345c1b574 100644 --- a/src/mesa/x86/3dnow_normal.S +++ b/src/mesa/x86/3dnow_normal.S @@ -1,4 +1,4 @@ -/* $Id: 3dnow_normal.S,v 1.9 2005/01/04 14:33:47 brianp Exp $ */ +/* $Id: 3dnow_normal.S,v 1.10 2006/04/17 18:58:24 krh Exp $ */ /* * Mesa 3-D graphics library @@ -846,3 +846,7 @@ LLBL (G3R_end): RET #endif + +#if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +#endif -- cgit v1.2.3