summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__uClibc_main.c
AgeCommit message (Collapse)Author
2002-02-18Support strong_alias and begin merging usage of weak_functionEric Andersen
2002-02-02Add in support for the Hitach H8/300H architecture,Eric Andersen
contributed by Yoshinori Sato <qzb04471@nifty.ne.jp>
2001-10-11Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen
He sent this patch to me a month ago, but I forgot to apply it...
2001-08-09Make sure the weak aliases are defined before the functions/varsDavid McCullough
they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to the local symbols and the weak aliases do not work.
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-02-27For some reason the fancy attribute tags were not working on m68k soDavid McCullough
I followed environ example which uses asm and it seemed to fix the problem nicely. It should be ok on i386. Could some check it please :-)
2001-02-19Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III
2001-02-19Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III
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.