gold vs libc

Alan Modra
Sun Mar 30 04:56:00 GMT 2014

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).

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list