This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x86-64 profiling fix
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>,gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Oct 2002 14:10:33 -0700
- Subject: Re: x86-64 profiling fix
- Organization: Wasabi Systems, Inc.
- References: <20021017172152.GO27492@kam.mff.cuni.cz> <20021017195914.GA32339@redhat.com>
On Thu, Oct 17, 2002 at 12:59:14PM -0700, Richard Henderson wrote:
> On Thu, Oct 17, 2002 at 07:21:52PM +0200, Jan Hubicka wrote:
> > * i386-protos.h (x86_function_profiler): New function
> > * i386.h (OUTPUT_FUNCTION_PROFILER): Move offline to ...
> > * i386.c (x86_function_profiler) ... here; fix 64bit support
>
> Not ok. There are 11 copies of FUNCTION_PROFILER. They
> need to be unified in some manner.
FWIW, I think the NetBSD i386/x86-64 configs could use the generic
FUNCTION_PROFILER if there was a way to override the mcount name
(NetBSD a.out uses "mcount" and NetBSD ELF uses "__mcount").
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>