diff options
author | Kristian Høgsberg <krh@redhat.com> | 2006-04-17 18:58:24 +0000 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2006-04-17 18:58:24 +0000 |
commit | fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a (patch) | |
tree | 1a813ec767acb758cb9f0913850975c2bcbe0fe1 /src/mesa/x86/x86_xform3.S | |
parent | 28bc3cdfbac8b8dda827e1bf03c44d14056a557f (diff) | |
download | external_mesa3d-fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a.zip external_mesa3d-fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a.tar.gz external_mesa3d-fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a.tar.bz2 |
Add .note.GNU-stack section to assembler files to avoid the default behavior
of requesting executable stacks.
Diffstat (limited to 'src/mesa/x86/x86_xform3.S')
-rw-r--r-- | src/mesa/x86/x86_xform3.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/x86/x86_xform3.S b/src/mesa/x86/x86_xform3.S index 6bdec6a..747e2f4 100644 --- a/src/mesa/x86/x86_xform3.S +++ b/src/mesa/x86/x86_xform3.S @@ -1,4 +1,4 @@ -/* $Id: x86_xform3.S,v 1.3 2005/01/04 14:33:47 brianp Exp $ */ +/* $Id: x86_xform3.S,v 1.4 2006/04/17 18:58:24 krh Exp $ */ /* * Mesa 3-D graphics library @@ -638,3 +638,7 @@ LLBL(x86_p3_ir_done): POP_L( EDI ) POP_L( ESI ) RET + +#if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +#endif |