aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authortaylor.fish <contact@taylor.fish>2025-06-22 16:36:44 -0700
committertaylor.fish <contact@taylor.fish>2025-06-22 16:48:36 -0700
commit95b638f613406c6bd609c7addd666dbe1758486a (patch)
treeb443561403ca23a7041dc81ffbbc353600e74c1c /src/Compilation.zig
parent79807468e747bac056cfea4340065e49a5d97120 (diff)
downloadzig-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/Compilation.zig')
0 files changed, 0 insertions, 0 deletions