missing_syscall: add riscv32 support
This commit is contained in:
@@ -73,8 +73,14 @@ DEF_TEMPLATE_B = '''\
|
||||
# endif
|
||||
# elif defined(__powerpc__)
|
||||
# define systemd_NR_{syscall} {nr_powerpc}
|
||||
# elif defined(__riscv) && defined(__LP64__)
|
||||
# define systemd_NR_{syscall} {nr_riscv64}
|
||||
# elif defined(__riscv)
|
||||
# if __riscv_xlen == 32
|
||||
# define systemd_NR_{syscall} {nr_riscv32}
|
||||
# elif __riscv_xlen == 64
|
||||
# define systemd_NR_{syscall} {nr_riscv64}
|
||||
# else
|
||||
# error "Unknown RISC-V ABI"
|
||||
# endif
|
||||
# elif defined(__s390__)
|
||||
# define systemd_NR_{syscall} {nr_s390}
|
||||
# elif defined(__sparc__)
|
||||
|
||||
Reference in New Issue
Block a user