PATCH: Improve ELF linker for non-ELF input

Alan Modra amodra@bigpond.net.au
Fri Apr 23 02:51:00 GMT 2004


On Thu, Apr 22, 2004 at 06:20:46PM -0700, H. J. Lu wrote:
> This patch is incomplete. Here is the new one. With it, I can link
> non-ELF input on Linux to generate working ELF executable.

This is still incomplete.  What about other targets?  What if other
targets don't use plt.refcount, or use it in some unusual way?  The same
goes for targets that don't use ELF_LINK_NON_GOT_REF.

Generally, I think this patch is a bad idea.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list