- Added (dummy) __init/fini_wut_malloc stubs called by wutcrt
in order to ensure that wutmalloc gets linked in
- malloc/realloc/calloc now properly set errno to ENOMEM during failure
- realloc no longer fails if ptr==NULL (in this case it works
like a regular malloc)
- realloc no longer does an out of bounds copy if the new size
is smaller than the old size
- free(NULL) is now supported as per the C standard
- Disabled sbrk/malloc-lock support code in wutnewlib because
newlib's malloc is replaced with wutmalloc
- Added wut_rules and wut/rpx/rpl.specs to share/
- Replaced wut's CMake-based buildsystem with a standard Makefile
- Conflated all wut libraries into a single libwut.a library
- wut's old buildsystems (CMake & plain make) are broken as a result,
this will be fixed in the future
- Docs, tests and samples are not buildable either at the moment
- wutcrt/wutnewlib:
- RPX start function is __rpx_start, while RPL is __rpl_start
- __init/fini_wut_* functions are no longer weak
- __init_wut/__fini_wut are instead weak
- Removed _exit implementation
- exit syscall now points to _Exit instead of pointing to itself
- wutstdc++:
- Renamed .cc files to .cpp
- Temporarily disabled, due to an issue that will be addressed shortly
- wutdevoptab:
- Fixed uninitialized variable warnings in __wut_fs_read/write
RPL files are shared libraries (like a .dll file), as opposed to the RPX
files which are executables (like a .exe file).
Use rpl_main as defined in dynload.h like one would DllMain on Windows.