1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-22 15:47:37 +00:00
freebsd/sbin
John Polstra a565ca5920 Implement ldconfig functionality for ELF. The hints are stored in
a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints".
These hints consist only of the directory search path.  There is
no hash table as in the a.out hints, because ELF doesn't have to
search for the file with the highest minor version number.  (It
doesn't have minor version numbers at all.)

A single run of ldconfig updates either the a.out hints or the ELF
hints, but not both.  The set of hints to process is selected in
the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout"
or "-elf" command line option.  The rationale is that you probably
want to search different directories for ELF than for a.out.

"ldconfig -r" is faked up to produce output like we are used to,
except that for ELF there are no minor version numbers.  This should
enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports
even for ELF.

I implemented the ELF functionality in a new source file, with an
eye toward eliminating the a.out code entirely at some point in
the future.
1998-09-05 03:31:00 +00:00
..
adjkerntz Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
badsect Fixed printf format errors. 1998-06-28 18:34:01 +00:00
bsdlabel Attempt to fix my breakage of the alpha makebootarea() in rev.1.19. 1998-08-23 07:32:37 +00:00
ccdconfig Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused 1998-06-04 06:41:26 +00:00
clri Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do not 1998-06-04 06:44:18 +00:00
comcontrol Add rcsid. Remove unused #includes. Use err(3). 1998-06-30 06:09:37 +00:00
cxconfig Add SYNOPSIS section and change NULL to NUL in man page. Add rcsid, missing 1998-06-30 06:12:44 +00:00
disklabel Attempt to fix my breakage of the alpha makebootarea() in rev.1.19. 1998-08-23 07:32:37 +00:00
dmesg Use an error message that more clearly indites(sp?) an out-of-sync 1998-07-27 18:53:45 +00:00
dset Fixed printf format errors. 1998-06-28 19:06:17 +00:00
dump Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
dumpfs Add rcsid. Remove unused #includes. 1998-06-15 07:00:01 +00:00
dumpon Sort cross references. 1998-08-31 16:41:09 +00:00
fdisk Correct use of .Nm, use .Bx Free for FreeBSD. Add rcsid, remove unused 1998-07-06 06:44:36 +00:00
fsck Use explicitly sized types when laying out the cylinder groups. This 1998-08-15 10:07:33 +00:00
fsck_ffs Use explicitly sized types when laying out the cylinder groups. This 1998-08-15 10:07:33 +00:00
fsck_ifs Use explicitly sized types when laying out the cylinder groups. This 1998-08-15 10:07:33 +00:00
fsdb Fixed printf format errors. 1998-06-28 19:36:49 +00:00
fsirand Do not dot terminate SEE ALSO list. Add rcsid, remove unused #includes. Err(3) 1998-06-30 06:18:44 +00:00
i386 Split lines into one subdir per line. 1998-08-30 20:28:50 +00:00
ifconfig unifdef -UISO 1998-08-07 06:36:53 +00:00
init Memory management error in init. 1998-07-22 05:45:11 +00:00
ipf
ipfstat
ipfw PR: 7475 1998-08-04 14:41:37 +00:00
ipmon Install ipmon.8 in man8/ not man1/. 1998-08-30 04:48:00 +00:00
ipnat
kldload remoce unused #include. 1998-07-06 06:58:32 +00:00
kldstat
kldunload Lowercase 1st char. in err(3) strings. 1998-07-06 06:59:52 +00:00
ldconfig Implement ldconfig functionality for ELF. The hints are stored in 1998-09-05 03:31:00 +00:00
md5 Correct use of .Nm. Spelling. Add rcsid, remove unused #includes, use err(3). 1998-07-06 07:04:50 +00:00
mknod Remove unused #include. Add usage(). 1998-07-06 07:06:15 +00:00
modload Add "-aout" option when calling the linker, so that this will work 1998-08-12 02:39:23 +00:00
modunload Add rcsid. Remove unused #includes. Spelling. 1998-07-06 07:09:13 +00:00
mount Add a CAVEAT section documenting the minimum permissions required for a mount 1998-07-09 05:49:58 +00:00
mount_cd9660
mount_ext2fs Correct use of .Nm. 1998-07-06 07:13:31 +00:00
mount_ifs Add a CAVEAT section documenting the minimum permissions required for a mount 1998-07-09 05:49:58 +00:00
mount_msdos Split usage string. 1998-06-30 06:23:42 +00:00
mount_msdosfs Split usage string. 1998-06-30 06:23:42 +00:00
mount_nfs Sync usage string and man page. Correct use of .Nm. Spelling. Remove 1998-07-06 07:15:53 +00:00
mount_null -Wall. 1998-07-06 07:17:27 +00:00
mount_nullfs -Wall. 1998-07-06 07:17:27 +00:00
mount_portal Fixed printf format errors. 1998-08-02 16:06:35 +00:00
mount_portalfs Fixed printf format errors. 1998-08-02 16:06:35 +00:00
mount_std Correct use of .Nm. Remove unused #includes. 1998-07-15 06:08:47 +00:00
mount_umap Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos. 1998-07-15 06:12:32 +00:00
mount_umapfs Correct use of .Nm. Use .Ar when appropriate. Remove unused #includes. Typos. 1998-07-15 06:12:32 +00:00
mount_union .Nm mount_union -> .Nm. 1998-07-15 06:13:45 +00:00
mount_unionfs .Nm mount_union -> .Nm. 1998-07-15 06:13:45 +00:00
mountd Fixed printf format errors. 1998-08-02 16:06:35 +00:00
natd Fix inconsistent port numbering in man page. 1998-07-15 03:32:45 +00:00
newfs Use explicitly sized types when formatting cylinder groups. 1998-08-27 07:38:33 +00:00
newfs_msdos Sort cross references. 1998-08-31 16:41:09 +00:00
nextboot Add rcsid. Remove unused #includes. Use err(3) and check spelling. Reorganize 1998-06-30 06:28:18 +00:00
nfsd Do not dot terminate syslog() string. Remove unused #includes. Add rcsid. -Wall. 1998-07-15 06:33:15 +00:00
nfsiod Correct use of .Nm. Do not dot terminate syslog() strings. Remove unused 1998-07-15 06:35:20 +00:00
nologin Add Id. .Nm nologin -> .Nm. 1998-07-15 06:37:07 +00:00
nos-tun Fixed printf format errors. 1998-08-02 16:06:35 +00:00
ping Updated manual page. Removed description of (now defunct) -c restrictions. 1998-08-27 16:34:38 +00:00
quotacheck Correct use of .Nm. Add rcsid. Remove unused #includes. Use warn(). 1998-07-15 06:48:52 +00:00
reboot Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing). 1998-07-15 06:51:38 +00:00
restore Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
route Comment is .\" not .|'. Add -d and -t flags to SYNOPSIS and usage(). Getopt 1998-07-28 06:25:35 +00:00
routed Spelling, add rcsid, remove unused #includes. 1998-07-28 06:36:31 +00:00
savecore Correct use of .Nm, add rcsid, remove unused #include. 1998-07-28 06:38:57 +00:00
scsi Spelling. Errx() on malloc() failure. 1998-07-28 06:42:38 +00:00
scsiformat Correct use of .Nm, add .An. 1998-08-03 06:19:47 +00:00
shutdown Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling. 1998-08-03 06:22:43 +00:00
slattach Fixed printf format errors. 1998-08-02 16:06:35 +00:00
spppcontrol Typo: i. e. -> i.e. 1998-08-03 06:24:59 +00:00
startslip Correct use of .Nm and .Ev. 1998-08-03 06:32:57 +00:00
swapon .Nm swapon -> .Nm. 1998-08-03 06:35:01 +00:00
sysctl Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
tunefs Document -n (soft-update) flag. 1998-08-03 06:41:20 +00:00
umount Use errx() instead of err() for malloc failures. -Wall. Do not dot 1998-08-03 06:44:46 +00:00
Makefile Split lines into one subdir per line. 1998-08-30 20:28:50 +00:00
Makefile.inc