This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] --eh-frame-hdr had no effect on certain executables
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jan Beulich <jbeulich at novell dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 21 Nov 2006 08:53:12 +1030
- Subject: Re: [PATCH] --eh-frame-hdr had no effect on certain executables
- References: <4561EADE.76E4.0078.0@novell.com>
On Mon, Nov 20, 2006 at 05:50:22PM +0100, Jan Beulich wrote:
> * elflink.c (_bfd_elf_link_create_dynamic_sections): Move creation of
> .eh_frame_hdr sectioin from here ...
> (elf_link_add_object_symbols): ... to here.
I think it would be cleaner to create .eh_frame_hdr via
ldemul_after_open. See for example, ld/emultempl/spuelf.em. That way
you wouldn't need to worry about place_orphan.
--
Alan Modra
IBM OzLabs - Linux Technology Centre