Fix a typo in the db_kld.c file - it's kld support not raw a.out support.

Always use db_kld.c for symbol table support as the base kernel maintains
this information.
This commit is contained in:
Peter Wemm 2000-01-11 13:25:12 +00:00
parent ae41b16cf0
commit 63aad530bc
2 changed files with 15 additions and 4 deletions

View File

@ -210,6 +210,20 @@ dev/pdq/pdq.c optional fea
dev/pdq/pdq_ifsubr.c optional fea dev/pdq/pdq_ifsubr.c optional fea
dev/pdq/pdq.c optional fpa dev/pdq/pdq.c optional fpa
dev/pdq/pdq_ifsubr.c optional fpa dev/pdq/pdq_ifsubr.c optional fpa
ppbus_if.o optional ppbus \
dependency "ppbus_if.c ppbus_if.h" \
compile-with "${NORMAL_C}" \
no-implicit-rule local
ppbus_if.c optional ppbus \
dependency "$S/kern/makedevops.pl $S/dev/ppbus/ppbus_if.m" \
compile-with "perl5 $S/kern/makedevops.pl -c $S/dev/ppbus/ppbus_if.m" \
no-obj no-implicit-rule before-depend local \
clean "ppbus_if.c"
ppbus_if.h optional ppbus \
dependency "$S/kern/makedevops.pl $S/dev/ppbus/ppbus_if.m" \
compile-with "perl5 $S/kern/makedevops.pl -h $S/dev/ppbus/ppbus_if.m" \
no-obj no-implicit-rule before-depend \
clean "ppbus_if.h"
dev/ppbus/immio.c optional vpo dev/ppbus/immio.c optional vpo
dev/ppbus/if_plip.c optional plip dev/ppbus/if_plip.c optional plip
dev/ppbus/lpbb.c optional lpbb dev/ppbus/lpbb.c optional lpbb

View File

@ -32,11 +32,9 @@
* Date: 7/90 * Date: 7/90
*/ */
/* /*
* Symbol table routines for a.out format files. * Symbol table routines for kld maintained kernels.
*/ */
#if defined(__ELF__)
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/linker.h> #include <sys/linker.h>
@ -126,4 +124,3 @@ kdb_init()
{ {
db_add_symbol_table(0, 0, "kernel", 0); db_add_symbol_table(0, 0, "kernel", 0);
} }
#endif