Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more mips syscall numbers #6875

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Conversation

jorangreef
Copy link
Contributor

As per: lib/libc/musl/arch/mips/bits/syscall.h.in

And as promised in #6356 (comment).

Thanks @daurnimator again for the help with #6356.

As per: lib/libc/musl/arch/mips/bits/syscall.h.in

...and as promised: ziglang#6356 (comment)

Thanks @daurnimator again for the help with ziglang#6356.
Copy link
Contributor

@daurnimator daurnimator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL (while reviewing this) different mips ABIs have different syscall numbers.
diff -u <(cut -f 1,3 arch/mips/kernel/syscalls/syscall_o32.tbl) <(cut -f 1,3 arch/mips/kernel/syscalls/syscall_n32.tbl)

lib/std/os/bits/linux/mips.zig Show resolved Hide resolved
@andrewrk andrewrk merged commit e59f447 into ziglang:master Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants