aboutsummaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-09-17 01:49:00 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-09-17 01:49:00 +0000
commit66422f5b7a1a6055f0b2358268eb902aab6e2e3e (patch)
tree7d8147c99f6bfb34b7cb47ad46e24a4f7dc93102 /etc/rc
parent4e6ef0845de37f8c4a29410d48d3847da78a9c9f (diff)
downloadsrc-66422f5b7a1a6055f0b2358268eb902aab6e2e3e.tar.gz
src-66422f5b7a1a6055f0b2358268eb902aab6e2e3e.zip
Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
Notes
Notes: svn path=/head/; revision=103436
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc20
1 files changed, 8 insertions, 12 deletions
diff --git a/etc/rc b/etc/rc
index c2e47c414d9c..4e56afd4379e 100644
--- a/etc/rc
+++ b/etc/rc
@@ -698,18 +698,14 @@ case ${ldconfig_insecure} in
;;
esac
if [ -x /sbin/ldconfig ]; then
- case `/usr/bin/objformat` in
- elf)
- _LDC=/usr/lib
- for i in ${ldconfig_paths}; do
- if [ -d "${i}" ]; then
- _LDC="${_LDC} ${i}"
- fi
- done
- echo 'ELF ldconfig path:' ${_LDC}
- ${ldconfig} -elf ${_LDC}
- ;;
- esac
+ _LDC=/usr/lib
+ for i in ${ldconfig_paths}; do
+ if [ -d "${i}" ]; then
+ _LDC="${_LDC} ${i}"
+ fi
+ done
+ echo 'ELF ldconfig path:' ${_LDC}
+ ${ldconfig} ${_LDC}
# Legacy aout support for i386 only
case `sysctl -n hw.machine_arch` in