This is the mail archive of the
mailing list for the GCC project.
Re: Why are libgcc.a and libgcc_eh.a compiled with -fvisibility=hidden?
Eric Botcazou <email@example.com> writes:
>> So ... is there a valid reason for this, or is this just an accident
>> of history? AFICT, this behavior dates back to 2007 as of r120429
> At least on some platforms, you cannot have more than one libgcc_eh in an
> entire link, otherwise you cannot propagate exceptions across modules.
True, but not, as far as I can see, an explanation for why the symbols
are hidden. Hiding the symbols doesn't fix the problem of having
multiple libgcc_eh on those platforms.