diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-11-09 16:56:36 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-11-10 11:33:24 -0500 |
| commit | 91c3206b45074821749f52043937bf6ed6d9a105 (patch) | |
| tree | 5d6d674d146e4189bc22865bed42dea0f9ada320 /lib/libc/include/mips-linux-gnu | |
| parent | b521510cd4e68407226dd95c9e87cc97ca5a0796 (diff) | |
| download | zig-91c3206b45074821749f52043937bf6ed6d9a105.tar.gz zig-91c3206b45074821749f52043937bf6ed6d9a105.zip | |
macho: use start.zig for macOS entrypoint
This effectively allows us to compile
```zig
pub fn main() void {}
```
which then calls into `std.start`.
Changes required to make this happen:
* handle signed int to immediate in x86_64 and aarch64 codegen
* ensure that on arm64 macOS, `.x19` is a caller-preserved register -
I'm not sure about that one at all and would like to brainstorm it
with anyone interested and especially Joachim.
* finally, fix a bug in the linker - mark new got entry as dirty upon
atom growth.
Diffstat (limited to 'lib/libc/include/mips-linux-gnu')
0 files changed, 0 insertions, 0 deletions
