[RFC] Cross-gprof cleanup in gmon_io
Jason R Thorpe
thorpej@wasabisystems.com
Fri Apr 12 17:44:00 GMT 2002
On Fri, Apr 12, 2002 at 08:00:59PM -0400, Daniel Jacobowitz wrote:
> 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?
NetBSD/sparc64 has a 64-bit userland natively. It can run 32-bit
binaries, also.
The problem was that the pre-fixed gprof was reading the "u_long" from
a structure as a 32-bit word, which is obviously wrong for a 64-bit
u_long. NetBSD/alpha also had the same problem.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Binutils
mailing list