[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/17366] gold can't handle a crt1.o with an .eh_frame
From: |
amodra at gmail dot com |
Subject: |
[Bug gold/17366] gold can't handle a crt1.o with an .eh_frame |
Date: |
Thu, 11 Sep 2014 00:00:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17366
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
GNU ld optimises .eh_frame without --eh-frame-hdr. The only real difference
between GNU gold and GNU ld is that GNU ld doesn't lose track of where
__EH_FRAME_BEGIN__ was defined.
I agree that __EH_FRAME_BEGIN__ is defined in the wrong object file, and one
fix for this bug is to ask people to provide sane input to ld/gold. Another
fix might be to have the linker define its own __EH_FRAME_BEGIN__ symbol,
ignoring the bad user input.
--
You are receiving this mail because:
You are on the CC list for the bug.