6 Commits

Author SHA1 Message Date
Ash Logan
28ffb89c02 Merge 'build-refactor' attempt #1; get upstream changes 2019-04-23 18:37:05 +10:00
rw-r-r-0644
6ea6625b78 devoptab: Fix double free in __wut_fs_stat
The double free caused apps to crash when attempting to run stat on a directory
2019-02-24 15:48:46 +00:00
fincs
ee3bb10df4 First pass at adopting a devkitPro-style build system, see details:
- 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
2019-02-12 12:46:28 +01:00
James Benton
857fcd8eea Build libraries with -Wall and -Werror. 2018-10-06 10:50:32 +01:00
James Benton
069e28acec Make the devoptab code more consistent. 2018-10-06 10:41:24 +01:00
James Benton
690bd6ccbd Revert "Rename wutdevoptab to wutdevoptab_sd"
This reverts commit 865af4609c49015c64f4092fd53315a1110b8042.
Turns out it is for whole filesystem. oops.
2018-07-19 08:51:40 +01:00