ld --eh-frame-hdr

Alan Modra amodra@bigpond.net.au
Wed Jun 18 20:08:00 GMT 2008


On Mon, Jun 16, 2008 at 02:26:54PM -0400, Dan Williams wrote:
> I'm trying to use libunwind with a statically built program, and I've
> determined that it needs the GNU_EH_FRAME segment to correctly find
> the handler (personality) routine. Is there a way to get ld to emit
> this segment in a statically linked program? I've tried this with ld
> version 2.15 and ld version 2.17.50.0.3-6, with the same results (and
> ideally, I'd like a solution that works with both versions).

Works for me using current CVS binutils.  Have you tried a more recent
binutils?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list