Re: [patch] fix profiling in glibc for Linux/MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 27, 2001 at 02:48:20AM +0200, Thiemo Seufer wrote:
> Date: Fri, 27 Jul 2001 02:48:20 +0200
> To: linux-mips@oss.sgi.com
> Subject: Re: [patch] fix profiling in glibc for Linux/MIPS
> From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
> 
> Daniel Jacobowitz wrote:
> > _mcount was doing awful things to its caller's stack frame.
> 
> Maybe I'm missing something, but both the old and the new code
> add 8 byte more to sp than they subtracted before. How is this
> supposed to work?

_mcount has some odd special calling convention.  I don't recall any official
standard that defines _mcount's calling convention but gcc uses it the
same way as the proprietary compiler I tried.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux