Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-04-06 | Fix 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-27 | For some reason the fancy attribute tags were not working on m68k so | David 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-19 | Make sure errno is 0 before we call main (may have been set while initializing). | Manuel Novoa III | |
2001-02-19 | Create __uClibc_main to handle what can be done in C instead of each arch's | Manuel 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. |