> On Apr 9, 2024, at 9:48 PM, Matheus Afonso Martins Moreira via Gcc > <gcc@gcc.gnu.org> wrote: > > ... > MIPS calling conventions work like this: > >> mips/n32,64 a0 a1 a2 a3 a4 a5 >> mips/o32 a0 a1 a2 a3 ... >> mips/o32 args5-8 are passed on the stack Yes, for regular function calls, but at least in the case of NetBSD, not for syscalls. They have a somewhat odd calling convention that doesn't match any of the normal function call ABIs, though it's similar. paul
- Re: [RFC] Linux system call builtin... Florian Weimer via Gcc
- Re: [RFC] Linux system call bu... Alexander Monakov
- Re: [RFC] Linux system cal... Florian Weimer via Gcc
- Re: [RFC] Linux system... Alexander Monakov
- Re: Re: [RFC] Linux system cal... Matheus Afonso Martins Moreira via Gcc
- Re: [RFC] Linux system call builtin... Paul Iannetta via Gcc
- Re: [RFC] Linux system call bu... Andrew Pinski via Gcc
- Re: [RFC] Linux system cal... Paul Iannetta via Gcc
- Re: [RFC] Linux system... Paul Koning via Gcc
- [RFC] Linux system call bu... Matheus Afonso Martins Moreira via Gcc
- Re: [RFC] Linux system... Paul Koning via Gcc
- [RFC] Linux system... Matheus Afonso Martins Moreira via Gcc
- [RFC] Linux system call builti... Matheus Afonso Martins Moreira via Gcc
- Re: [RFC] Linux system call builtin... Paul Floyd via Gcc
- [RFC] Linux system call builti... Matheus Afonso Martins Moreira via Gcc
- Re: [RFC] Linux system call builtin... Szabolcs Nagy via Gcc
- [RFC] Linux system call builti... Matheus Afonso Martins Moreira via Gcc
- Re: [RFC] Linux system cal... Szabolcs Nagy via Gcc
- [RFC] Linux system cal... Matheus Afonso Martins Moreira via Gcc