diff options
| author | taylor.fish <contact@taylor.fish> | 2025-06-22 16:36:44 -0700 |
|---|---|---|
| committer | taylor.fish <contact@taylor.fish> | 2025-06-22 16:48:36 -0700 |
| commit | 95b638f613406c6bd609c7addd666dbe1758486a (patch) | |
| tree | b443561403ca23a7041dc81ffbbc353600e74c1c /src/zig_llvm.cpp | |
| parent | 79807468e747bac056cfea4340065e49a5d97120 (diff) | |
| download | zig-95b638f613406c6bd609c7addd666dbe1758486a.tar.gz zig-95b638f613406c6bd609c7addd666dbe1758486a.zip | |
Update 32-bit PowerPC syscall functions
musl and glibc both specify r0 as an output register because its value
may be overwritten by system calls. As with the updates for 64-bit
PowerPC in the previous commit, this commit brings Zig's syscall
functions for 32-bit PowerPC in line with musl and glibc by adding r0 to
the list of clobbers. (Listing r0 as both an input and a clobber is as
close as we can get to musl, which declares it as a "+r" read-write
output, since Zig doesn't support multiple outputs or the "+"
specifier.)
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
