Mips profiling

Daniel Jacobowitz drow@mvista.com
Thu Mar 21 14:29:00 GMT 2002


On Thu, Mar 21, 2002 at 05:08:19PM -0500, Kris Warkentin wrote:
> Well, that possibly explains the ra issue...I'll look at our code to see
> what happens to it.  Seems odd to me that it fails on optimized code only.
> We're also seeing some problems with bus errors when we compile C++ with
> profiling but I haven't followed that up yet.

Search the gcc-patches (I think) archives for posts about MIPS
profiling.  It's probably the PUSH/POP macros (which can destroy $gp)
causing this.  I fixed it for Linux several months ago.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list