From 0e680e8de6742a13e8ed56523fab874997a4330d Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Wed, 28 Jul 2010 17:52:41 +0000 Subject: [PATCH] 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 --- mingw-w64-crt/profile/mcountFunc.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-crt/profile/mcountFunc.S b/mingw-w64-crt/profile/mcountFunc.S index fa1b4e17d..f893d2082 100644 --- a/mingw-w64-crt/profile/mcountFunc.S +++ b/mingw-w64-crt/profile/mcountFunc.S @@ -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