freebsd-dev/libexec
Konstantin Belousov dec4912e62 Calculate relocation base for the main object, and apply the relocation
adjustment for all virtual addresses encoded into the ELF structures of
it. PIE binary could and should be loaded at non-zero mapbase.

For sym_zero pseudosymbol used as a return value from find_symdef()
for undefined weak symbols, st_value also should be adjusted, since
_rtld_bind corrects symbol values by relocbase.

Discussed with:	bz
Reviewed by:	kan
Tested by:	bz (i386, amd64), bsam (linux)
MFC after:	some time
2009-10-10 15:27:10 +00:00
..
atrun
bootpd
comsat
fingerd
ftpd
getty
lukemftpd
mail.local
mknetid
pppoed
rbootd
revnetgroup
rlogind
rpc.rquotad printerr_reply() has never been used for as long as we've had this code in 2009-09-26 23:05:01 +00:00
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd
rtld-aout
rtld-elf Calculate relocation base for the main object, and apply the relocation 2009-10-10 15:27:10 +00:00
save-entropy
smrsh
talkd
tcpd
telnetd
tftp-proxy
tftpd
ypxfr
Makefile Do the first step in removing lukemftpd from the base system. Disconnect 2009-09-03 16:34:20 +00:00
Makefile.inc