ladybird/Userland/Libraries/LibSystem
Dan Klishch 61cf20582c DynamicLoader+LibC: Link LibC into DynamicLoader --as-sane-people
In particular, define a static LibC library *in LibC's CMakeLists* and
use it in DynamicLoader. This is similar to the way LibELF is included
in DynamicLoader.

Additionally, compile DynamicLoader with -ffunction-sections,
-fdata-sections, and -Wl,--gc-sections. This brings the loader size from
~2Mb to ~1Mb with debug symbols and from ~500Kb to ~150Kb without. Also,
this makes linking DynamicLoader with LibTimeZone unnecessary.
2024-05-07 16:39:17 -06:00
..
CMakeLists.txt DynamicLoader+LibC: Link LibC into DynamicLoader --as-sane-people 2024-05-07 16:39:17 -06:00
syscall.cpp Kernel+LibSystem: Add a 4th syscall argument 2021-07-25 14:08:50 +02:00
syscall.h Kernel+LibSystem: Add a 4th syscall argument 2021-07-25 14:08:50 +02:00