mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 23:43:35 +00:00
efca1dc5ee
so far, and should probably be able to be made to work for the alpha without too much trouble once it's connected up and my assumptions tested. I think (but have not tested) it will also load "old" ELF kernels that were not linked with DYNAMIC headers. The module glue is yet to come. (oh fun.. :-) It does not explicitly load symbols [yet]. The _DYNAMIC data contains a runtime symbol set that ddb can use via ddb/db_kld.c. It'll be missing some detail that stabs normally provides (eg: number of args to a function, line numbers, etc). On the other hand, those minimal symbols will always be available even on a stripped kernel. This is mostly stolen from load_aout.c with some ideas from alpha/libalpha/elf_freebsd.c.
13 lines
310 B
Makefile
13 lines
310 B
Makefile
# $Id: Makefile.inc,v 1.5 1998/09/14 18:27:04 msmith Exp $
|
|
|
|
SRCS+= boot.c commands.c console.c devopen.c interp.c interp_backslash.c
|
|
SRCS+= interp_parse.c load_aout.c load_elf.c ls.c misc.c module.c panic.c
|
|
|
|
# Machine-independant ISA PnP
|
|
.if HAVE_ISABUS
|
|
SRCS+= isapnp.c
|
|
.endif
|
|
.if HAVE_PNP
|
|
SRCS+= pnp.c
|
|
.endif
|