From owner-cvs-all Sun Jan 17 09:58:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09253 for cvs-all-outgoing; Sun, 17 Jan 1999 09:58:54 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09248; Sun, 17 Jan 1999 09:58:52 -0800 (PST) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA06976; Sun, 17 Jan 1999 09:58:53 -0800 (PST) Date: Sun, 17 Jan 1999 09:58:53 -0800 (PST) Message-Id: <199901171758.JAA06976@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern kern_linker.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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