Jan Hubicka <hubi...@ucw.cz> writes:

>  2) Do the actual renaming of _GLOBAL__I into something else (fully local 
> name like static_ctor.1234 at a time it is being inserted
>     into merged ctor.
>
>     We can't avoid producing these names early since on target that havecdtors
>     we avoid producing merged cdtors to avoid need for inlining (and the extra
>     function when inlining fails)
>
>     We can't keep them in symbol table static when they are not constructors 
> as
>     collect2 is probably not only tool to explode.
> Right?

I don't understand this at all.

I thought you were saying that these are static functions, and that gcc
gathers them all together into a single global constructor.  Are there
cases where gcc does not gather them together?  Why would that be?

Ian

Reply via email to