[PATCH] --eh-frame-hdr had no effect on certain executables

Alan Modra amodra@bigpond.net.au
Mon Nov 20 22:23:00 GMT 2006

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

More information about the Binutils mailing list