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

[Bug libstdc++/40133] exception propagation support not enabled in libstdc++ 4.4 on {armeabi,hppa}-linux




------- Comment #7 from mikpe at it dot uu dot se  2009-05-22 11:16 -------
(In reply to comment #6)
> This patch is obviously wrong - if you put things in shared libgcc you 
> also need to assign symbol versions to them based on the version in which 
> they were actually added.

Yeah, I realized that shortly after posting the patch. My bad.

>  I'm pretty sure making them static-only was 
> deliberate (following SH which defines all the functions as hidden, which 
> has the same effect as making them static-only, for example); the overhead 
> of PLT calls is going to be significant for such small functions.

Perhaps that was the motivation, but it's being applied very inconsistently.
The ARM EABI backend puts lots of tiny functions, smaller than the __sync__
ones, in both the shared and static libgcc.

> ..., but on the whole I think it would be better for -shared-libgcc to use 
> the static libgcc as needed after the shared one.

Like a tweak to LINK_SPEC? I'll see if I can cook something up.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40133

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply to: