[uClinux-dev] [patch] Support C++ in elf2flt.ld.

Bernd Schmidt bernds_cb1 at t-online.de
Wed Oct 17 10:55:23 EDT 2007


Nathan Sidwell wrote:
> Bernd Schmidt wrote:
> 
>> From Kazu's/Nathan's description I can't really figure it out, I'm
>> afraid.  What kind of optimization is the linker doing?
> 
> It's doing some post processing of the .eh_frame and .eh_frame_hdr
> sections.  So it needs to see those in the final link.  If the
> .eh_frame_hdr section has contents, this post processing is necessary
> for correctness.  A sufficiently recent GCC emits .eh_frame_hdr because
> it sees (when configured) a binutils that supports this post processing.

How recent is sufficient?  We've only really been using up to 4.1/2.17.

How exactly does it fail without this patch?


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif


More information about the uClinux-dev mailing list