diff options
author | Kristian Høgsberg <[email protected]> | 2006-04-17 18:58:24 +0000 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2006-04-17 18:58:24 +0000 |
commit | fcdc6a7d2488defd66bc7e8398c6d8c9a6190a1a (patch) | |
tree | 1a813ec767acb758cb9f0913850975c2bcbe0fe1 /src/mesa/tnl | |
parent | 28bc3cdfbac8b8dda827e1bf03c44d14056a557f (diff) |
Add .note.GNU-stack section to assembler files to avoid the default behavior
of requesting executable stacks.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_vtx_x86_gcc.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vtx_x86_gcc.S b/src/mesa/tnl/t_vtx_x86_gcc.S index 5f79197f7e5..93753be759b 100644 --- a/src/mesa/tnl/t_vtx_x86_gcc.S +++ b/src/mesa/tnl/t_vtx_x86_gcc.S @@ -555,3 +555,7 @@ GLOBL( _tnl_x86_dispatch_vertexattribfv ) ret $8 /* return */ GLOBL( _tnl_x86_dispatch_vertexattribfv_end ) #endif /* defined (STDCALL_API) */ + +#if defined (__ELF__) && defined (__linux__) + .section .note.GNU-stack,"",%progbits +#endif |