OSDN Git Service

Create __uClibc_main to handle what can be done in C instead of each arch's
authorManuel Novoa III <mjn3@codepoet.org>
Mon, 19 Feb 2001 00:24:52 +0000 (00:24 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Mon, 19 Feb 2001 00:24:52 +0000 (00:24 -0000)
commitdfe2d42547de8197f850f3ff0dfdc3caa4682518
tree0b2969dbdd6c65f1fb5832e25d28bffa9570084a
parent438aac726283dfffa6a5cf84b4acf6df0250af94
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
libc/misc/internals/__uClibc_main.c [new file with mode: 0644]
libc/stdlib/abort.c
libc/stdlib/atexit.c
libc/sysdeps/linux/i386/crt0.S