[PATCH] ld fails when ld.so is an executable
Alan Modra
amodra@bigpond.net.au
Mon Jul 4 03:51:00 GMT 2005
More information about the Binutils mailing list
Mon Jul 4 03:51:00 GMT 2005
- Previous message (by thread): Support for the Renesas M32C and M16C
- Next message (by thread): [PATCH] Enable use of /etc/ld.so.conf for GNU/k*BSD
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jun 27, 2005 at 04:13:22PM +0200, Aurelien Jarno wrote: > The patch that follows, written by Guillem Jover <guillem@hadrons.org>, > determines whether ld.so is an executable or a shared object, so that > binutils conforms to the ELF standard (section 2-6 in book III), which > says that the dynamic linker can be a shared object or an executable. Which says nothing about whether ld should accept an exe in place of a shared lib for linking. ie. You could have two copies of ld.so, one for linking, one for running. Now, if you really want to make ld link an ET_EXEC ld.so, then do so just for the BSD flavour that wants this functionality by defining target specific elf_backend_object_p functions. The patch isn't acceptable as is. -- Alan Modra IBM OzLabs - Linux Technology Centre
- Previous message (by thread): Support for the Renesas M32C and M16C
- Next message (by thread): [PATCH] Enable use of /etc/ld.so.conf for GNU/k*BSD
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list