Date: Mon, 10 May 1999 08:30:31 +1000 From: Bruce Evans <bde@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 Message-ID: <199905092230.IAA26672@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905092230.IAA26672>