Fix x86-64 profiling

Jan Hubicka jh@suse.cz
Tue Jun 4 10:18:00 GMT 2002


> On Tue, Jun 04, 2002 at 03:07:06PM +0200, Jan Hubicka wrote:
> > 	* i386.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Fix for 64bits.
> 
> Who uses these still?
These are called by final.c when function uses link pointer and hidden
stack argument.  These are for some purpose pushed on i386 port.
> 
> > 	* i386.c (x86_function_profiler): ... here; support 64bit profiling
> 
> If you're going to do this, can you think about getting rid
> of the other 50 copies of FUNCTION_PROFILER from the x86
> directory?  There is some variation in the platforms...

Hmm, didn't noticed. OK I will try.

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list