Fix exec, add printf, libc_usr work
* exec_elf should now work.. this patch partially reverts stuff done in
8f6995e. This fixes a bug that almost made me gouge my eyes out
- when .data sections got mapped the _entire_ section got zeroed out
(not just the BSS part) thus making any static data NULL.
* This patch also adds the execve syscall (a very basic skeleton version)
* A bunch of fixes in libc_usr - the most notable being the addition of
printf
* This commit is in quite rough shape.. a bunch of work still has to be done in
order to make GCC compile the project without vomiting out a bunch of static analyzer warnings.
19 files changed,
282 insertions,
104 deletions