--- postprocessing_mmx.asm 2004/08/22 11:46:10 1.3 +++ postprocessing_mmx.asm 2008/08/19 09:06:48 1.5 @@ -19,7 +19,7 @@ ; * along with this program; if not, write to the Free Software ; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; * -; * $Id: postprocessing_mmx.asm,v 1.3 2004/08/22 11:46:10 edgomez Exp $ +; * $Id: postprocessing_mmx.asm,v 1.5 2008/08/19 09:06:48 Isibaar Exp $ ; * ; *************************************************************************/ @@ -28,15 +28,15 @@ %macro cglobal 1 %ifdef PREFIX %ifdef MARK_FUNCS - global _%1:function - %define %1 _%1:function + global _%1:function %1.endfunc-%1 + %define %1 _%1:function %1.endfunc-%1 %else global _%1 %define %1 _%1 %endif %else %ifdef MARK_FUNCS - global %1:function + global %1:function %1.endfunc-%1 %else global %1 %endif @@ -122,4 +122,10 @@ pop esi ret +.endfunc ;////////////////////////////////////////////////////////////////////// + +%ifidn __OUTPUT_FORMAT__,elf +section ".note.GNU-stack" noalloc noexec nowrite progbits +%endif +