From dfe2d42547de8197f850f3ff0dfdc3caa4682518 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 19 Feb 2001 00:24:52 +0000 Subject: Create __uClibc_main to handle what can be done in C instead of each arch's respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting. --- libc/misc/internals/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/misc/internals/Makefile') diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index 863d32401..2f0496d9a 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -24,7 +24,7 @@ TOPDIR=../../ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a -CSRC=ultostr.c ltostr.c +CSRC=ultostr.c ltostr.c __uClibc_main.c ifeq ($(HAS_FLOATS),true) CSRC += dtostr.c zoicheck.c endif -- cgit v1.2.3