This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: eh_frame_hdr warning
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, binutils <binutils at sources dot redhat dot com>
- Date: Sat, 26 Apr 2008 10:16:02 -0400
- Subject: Re: eh_frame_hdr warning
- References: <48132F2E.2030605@codesourcery.com>
On Sat, Apr 26, 2008 at 02:33:34PM +0100, Nathan Sidwell wrote:
> Alan,
> you added a warning to elf-eh-frame.c
> (http://sourceware.org/ml/binutils/2007-04/msg00320.html).
>
> I'm adding dwarf eh handing to vxworks, and I'm running into this for rtp
> shared objects. Such objects are very uclinux-like, in that the delta
> between text and data segments is not fixed at link time. So we can't
> generate a relative .eh_frame and therefore can't generate a
> .eh_frame_hdr.
Does that follow? Compare with FDPIC targets, which also have
non-fixed segment displacements. They seem to generate .eh_frame_hdr
just fine, or at least they don't trigger the warning.
Although the oldish FRV toolchain I have on hand to compare with
actually triggers the warning with newer linkers... maybe that means
GCC is using the wrong FDE encoding?
--
Daniel Jacobowitz
CodeSourcery