This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x86-64 profiling fix


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]