This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why are libgcc.a and libgcc_eh.a compiled with -fvisibility=hidden?


Eric Botcazou <ebotcazou@adacore.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
>> (http://gcc.gnu.org/viewcvs/trunk/libgcc/static-object.mk?view=markup&pathr
>>ev=120429).
>
> 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.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]