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 _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev