[RFC] Cross-gprof cleanup in gmon_io

Daniel Jacobowitz drow@mvista.com
Fri Apr 12 17:01:00 GMT 2002


On Fri, Apr 12, 2002 at 02:15:08PM -0700, Ethan Solomita wrote:
> Jason R Thorpe wrote:
> > 
> > On Fri, Apr 12, 2002 at 01:45:25PM -0700, Ethan Solomita wrote:
> > 
> >  >      There were recently some changes to gprof intended to support
> >  > cross-compilation. Unfortunately they seem to have broken gprof for
> >  > users of 64-bit sparc kernels. Almost always, user apps are 32-bit, and
> >  > historically gprof (being built in user space) expected the kernel to
> >  > supply it with 32-bit longs and pointers.
> > 
> > It actually *fixed* this problem for NetBSD/sparc64.
> > 
> 	I guess one person's backwards incompatibility is another person's bug
> fix. 8)
> 
> 	If this is understood and intended, then that's fine. I wanted to be
> sure before I begin to port kernprof for linux to the new gmon.out
> format.
> 	-- Ethan

I think the two of you are talking around each other.... Jason, is
sparc64 a 32-bit or 64-bit userland?  i.e. what broken behavior did it
fix?

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



More information about the Binutils mailing list