Date: Sun, 17 Jan 1999 09:58:53 -0800 (PST) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_linker.c Message-ID: <199901171758.JAA06976@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1999/01/17 09:58:52 PST
Modified files:
sys/kern kern_linker.c
Log:
Try and clean up the multiple formal loading support a bit, based on
suggestions from Greg Lehey some time ago. In the face of multiple
potential file formats, try and give a more sensible error than just
ENOEXEC.
XXX a good case can be made that the loading process is wrong - the linker
should locate the file first (using the search paths etc), then run the
loaders to see if they recognize it. While the present system allows for
the possibility of different search paths for different formats, we do not
use it and it just makes things more complicated than they need to be.
Revision Changes Path
1.19 +21 -10 src/sys/kern/kern_linker.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901171758.JAA06976>
