use load address from elf header if possible
authorRich Felker <dalias@aerifal.cx>
Tue, 28 Jun 2011 18:20:41 +0000 (14:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 28 Jun 2011 18:20:41 +0000 (14:20 -0400)
commitbf30100ad7e208dbac5835b38881c98ceb5b928f
tree35e3f4a8929a68920cad0e0ac51bb14456d99f10
parentc7debe13ee3c1ca2039b67bb7e4891365017ac1a
use load address from elf header if possible

this is mostly useless for shared libs (though it could help for
prelink-like purposes); the intended use case is for adding support
for calling the dynamic linker directly to run a program, as in:
./libc.so ./a.out foo

this usage is not yet supported.
src/ldso/dynlink.c