Re: Profiling support in glibc?

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

 



I was able to get profiling working using glibc-2.2.2 and gcc-2.95.3. Both
packages needed changes. The compiler had a stack misalignment correction
for glibc. Glibc didn't save all the registers nor treat sp/fp correctly.
Currently files compiled with -pg need to be linked -static. Specs need to
be updated to do this automatically.

I will send diffs if there is any interest.

Thanks,
Greg

on 6/18/01 1:07 PM, Brian Murphy at brian@murphy.dk wrote:

> 
> What is the status of profiling in glibc? Our (egcs-1.1.2 based)
> compiler fails with a missing symbol
> _start (glibc 2.0.6) but even if one fixes this up there are more
> fundamental problems.
> 
> Is there a later glibc for which profiling works?
> 
> /Brian
> 



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

  Powered by Linux