Re: GCC generating symbols prefixed with "call_"

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

 



On Wed, Mar 25, 2020 at 6:41 PM William Tambe via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
> Any idea what is causing GCC to generate the following symbols prefixed
> with "call_" ?
>
> call___do_global_ctors_aux
> call___do_global_dtors_aux
> call_frame_dummy

find . -type f | xargs grep do_global_ctors_aux
on a linux machine in the gcc source tree will show you all uses of
do_global_ctors_aux, there are only about a hundred of them, and most
of them are obviously not relevant.  You can ignore the ia64, pa, and
ChangeLog file hits.  That gives a couple dozen, of which the most
interesting one is this one
./libgcc/crtstuff.c:CRT_CALL_STATIC_FUNCTION
(__LIBGCC_INIT_SECTION_ASM_OP__, __do_global_ctors_aux)

Jim



[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