Re: Follow up on __cyg_ ... functions

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

 



Bill Mahoney wrote:
> Brian and (Andrew Haley):
> 
> But, you see, it is not unresolved for me:
> 
> [bmahoney@IDEA play]$ gcc -finstrument-functions -o test test.c
> [bmahoney@IDEA play]
> 
> And a "nm" shows that they're going to get sucked in as part of the
> library:
> 
>                 U __cyg_profile_func_enter@@GLIBC_2.2.5
>                 U __cyg_profile_func_exit@@GLIBC_2.2.5
> 
> which brings me back to... Where are they in the lib source? No amount
> of grepping seems to find it. The doc's for GCC say that the runtime is
> in the distribution sources, so I assume that is true. This is from a
> brand new 4.3.2 install.

Did you generate a link map, as I suggested?  That would immediately
tell you where it was coming from: it's glibc.

  gcc -Wl,-Map,map

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux