Adjust entry point for -mfentry according to approved patch on gcc.

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2996 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
Kai Tietz 2010-07-28 17:52:41 +00:00
parent 3811ae51dd
commit 0e680e8de6

View File

@ -68,9 +68,9 @@ _mcount:
for our target. See gcc/config/i386.h; it isn't overridden in
config/i386/cygming.h or any other places for mingw. This is the entry
for new prologue mechanism required for x64 seh calling convention. */
.globl _mcount_top
.globl __fentry__
.def _mcount_top; .scl 2; .type 32; .endef
_mcount_top:
__fentry__:
#ifndef _WIN64
push %ebp
mov %esp, %ebp