From owner-freebsd-hackers Wed May 24 18: 3:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id D891E37B583 for ; Wed, 24 May 2000 18:03:27 -0700 (PDT) (envelope-from jeremyp@pc0640.alcatel.com.au) Received: by border.alcanet.com.au id <115245>; Thu, 25 May 2000 11:03:39 +1000 From: Peter Jeremy Subject: hack.c in kernel To: Manny Obrey Cc: hackers@freebsd.org Message-Id: <00May25.110339est.115245@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii Date: Thu, 25 May 2000 11:03:37 +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 May 2000 17:35:34 PDT, "Manny Obrey" wrote: >I saw the following near the end of running "make depend;make" during a >kernel re-config ... seriously, is this something to be concerned about? ... >cc -elf -shared -nostdlib hack.c -o hack.So To expand somewhat on Kris's answer: hack.So is a dummy shared object whose sole purpose is to make the linker mark the kernel as a `dynamic', rather than `static' executable. This allows it to use the dynamic loader (ie load kernel modules at run time). This is probably an RTFM, but I'm not sure which FM to suggest you R. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message