This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: gold vs libc
- From: Alan Modra <amodra at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>, binutils at sourceware dot org
- Date: Sun, 30 Mar 2014 15:25:52 +1030
- Subject: Re: gold vs libc
- Authentication-results: sourceware.org; auth=none
- References: <20140330042516 dot 1A88E74481 at topped-with-meat dot com>
On Sat, Mar 29, 2014 at 09:25:16PM -0700, Roland McGrath wrote:
> I suspect the bug is in gold's .eh_frame optimization pass. For me (with
> trunk gold), the __EH_FRAME_BEGIN__ symbol (from gcc's crtbeginT.o--meant
> to attach to the start of the .eh_frame output section) winds up pointing
> at the end of .eh_frame rather than the beginning. In the binary created
> by BFD ld, the symbol points 48 bytes past the true start of .eh_frame,
> which is exactly the size of crt1.o's .eh_frame contribution (so what we'd
> expect given the input file order, albeit not what would be really right).
https://sourceware.org/bugzilla/show_bug.cgi?id=14675
--
Alan Modra
Australia Development Lab, IBM