From owner-freebsd-current Sat Sep 19 12:22:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10108 for freebsd-current-outgoing; Sat, 19 Sep 1998 12:22:29 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from word.smith.net.au (castles246.castles.com [208.214.165.246]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10003 for ; Sat, 19 Sep 1998 12:21:40 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id MAA01188; Sat, 19 Sep 1998 12:22:39 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199809191922.MAA01188@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Wemm cc: John Polstra , joki@kuebart.stuttgart.netsurf.de, current@FreeBSD.ORG Subject: Re: Correct names for C globals in kernel In-reply-to: Your message of "Sun, 20 Sep 1998 02:36:12 +0800." <199809191836.CAA14684@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 19 Sep 1998 12:22:19 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You live! > Also, one could use the -munderscores flag for gcc on the kernel and skip > asnames.h altogether until it's elf-only (and then convert the symbols and > drop the compile flag). > > Yes, you can have gcc's underscore prefixing is independent of the binary > format. You can have -mno-underscores with a.out or -munderscores with elf > if you wish. If we're going to transition to elf as default for the 3.0 > kernel, we could convert the source now, and add -mno-underscores to the > a.out kernel cc flags. We're about a week away from being ready to do this. If it's considered desirable to make the switch, then we can have the third-stage bootloader loading ELF kernels early next week. We'll need some help with other items (particularly LKM conversions) at that point. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message