Age | Commit message (Collapse) | Author |
|
define, and set things up so nasty old coff toolchains can now compile
things and should actually work again.
-Erik
|
|
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
|
|
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 :-)
|
|
|
|
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.
|