README.md | 18 + build.zig | 1 + lib/std/build.zig | 124 ++++--- lib/std/c.zig | 15 +- lib/std/compress.zig | 2 + lib/std/compress/deflate.zig | 184 ++++++++-- lib/std/compress/gzip.zig | 248 +++++++++++++ lib/std/compress/rfc1952.txt.gz | Bin 0 -> 8059 bytes lib/std/event/loop.zig | 3 +- lib/std/fs/file.zig | 8 +- lib/std/os.zig | 43 ++- lib/std/os/bits/linux.zig | 3 + lib/std/os/bits/linux/powerpc64.zig | 602 ++++++++++++++++++++++++++++++++ lib/std/os/bits/linux/prctl.zig | 158 +++++++++ lib/std/os/bits/linux/securebits.zig | 41 +++ lib/std/os/linux.zig | 5 + lib/std/os/linux/powerpc64.zig | 127 +++++++ lib/std/os/linux/tls.zig | 13 +- lib/std/priority_queue.zig | 11 +- lib/std/process.zig | 14 +- lib/std/special/c.zig | 55 +++ lib/std/start.zig | 15 + src-self-hosted/translate_c.zig | 38 ++ src/all_types.hpp | 1 + src/analyze.cpp | 3 +- src/codegen.cpp | 6 +- src/codegen.hpp | 2 +- src/glibc.cpp | 2 +- src/main.cpp | 6 +- src/target.cpp | 29 +- src/target.hpp | 3 +- test/stack_traces.zig | 6 +- test/stage1/behavior/translate_c_macros.h | 5 +- test/stage1/behavior/translate_c_macros.zig | 8 +- 34 files changed, 1680 insertions(+), 119 deletions(-)