RFC: Default to a start address of zero for shared libraries
Alan Modra
amodra@gmail.com
Fri Sep 17 22:48:42 GMT 2021
On Fri, Sep 17, 2021 at 05:20:33PM +0100, Nick Clifton via Binutils wrote:
> The point of this is that it then makes it easier for the loader to
> detect mistaken attempts by users to run shared objects.
Have you tried a glibc build? glibc ld.so is a shared object that is
supposed to be runnable.
$ elf/ld.so --help
Usage: elf/ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked 'ld.so', the program interpreter for dynamically-linked
[snip]
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list