From owner-cvs-all Sun May 9 15:30:42 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 110E6151E8; Sun, 9 May 1999 15:30:32 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id IAA26672; Mon, 10 May 1999 08:30:31 +1000 Date: Mon, 10 May 1999 08:30:31 +1000 From: Bruce Evans Message-Id: <199905092230.IAA26672@godzilla.zeta.org.au> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, peter@FreeBSD.org Subject: Re: cvs commit: src/sys/kern init_main.c src/sys/i386/include asnames.h src/sys/i386/i386 locore.s Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Modified files: > sys/kern init_main.c > sys/i386/include asnames.h > sys/i386/i386 locore.s > Log: > s/main/mi_startup/ for the kernel entry point so that egcs doesn't get > upset about it (and generate things like __main() calls that are reserved > for main()). Renaming was phk's suggestion, but I'd already thought about > it too. (phk liked my suggested name tada() but I decided against it :-) I tried the "correct" fix of compiling with `-ffreestanding [-fbuiltin]', but found that main() was still specially handled, despite gcc.1 explicitly saying otherwise. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message