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 Fixed static linkage (build with -DNO_SHARED). 2007-10-01 18:17:24 +00:00
bootpd Use RTF_LLDATA. 2009-03-31 23:02:51 +00:00
comsat Fix handling of pts(4) device names in comsat(8). Also catch fork() errors. 2009-01-17 15:56:38 +00:00
fingerd Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
ftpd Move variable externs into extern.h so they are checked against the definitions. 2009-04-07 20:34:34 +00:00
getty Stop mentioning /usr/X11R6. 2007-07-24 06:41:07 +00:00
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 Use sysctl to fetch stats from the kernel instead of reading variables 2008-06-10 18:47:43 +00:00
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 Fix some "in in" typos in comments. 2008-03-26 07:32:08 +00:00
tcpd
telnetd Convert telnetd(8) to use posix_openpt(2). 2008-11-13 19:05:27 +00:00
tftp-proxy
tftpd Add "with" to make the line go smoother. 2007-11-23 01:52:44 +00:00
ypxfr
Makefile Do the first step in removing lukemftpd from the base system. Disconnect 2009-09-03 16:34:20 +00:00
Makefile.inc