--- trunk/xvidcore/src/bitstream/x86_asm/cbp_mmx.asm 2008/08/19 09:06:48 1790 +++ trunk/xvidcore/src/bitstream/x86_asm/cbp_mmx.asm 2008/11/11 20:46:24 1793 @@ -21,7 +21,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: cbp_mmx.asm,v 1.15 2008-08-19 09:06:48 Isibaar Exp $ +; * $Id: cbp_mmx.asm,v 1.16 2008-11-11 20:46:24 Isibaar Exp $ ; * ; ***************************************************************************/ @@ -36,15 +36,19 @@ %ifdef MARK_FUNCS global _%1:function %1.endfunc-%1 %define %1 _%1:function %1.endfunc-%1 + %define ENDFUNC .endfunc %else global _%1 %define %1 _%1 + %define ENDFUNC %endif %else %ifdef MARK_FUNCS global %1:function %1.endfunc-%1 + %define ENDFUNC .endfunc %else global %1 + %define ENDFUNC %endif %endif %endmacro @@ -146,7 +150,7 @@ shr eax, 8 and eax, 0x3F ret -.endfunc +ENDFUNC %ifidn __OUTPUT_FORMAT__,elf