linux-user: update syscall_nr.h to Linux 5.9-rc7
Update gensyscalls.sh not to generate an empty line at the end of the file And then automatically update syscall_nr.h running scripts/gensyscalls.sh Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200930003033.554124-2-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
b94e2b4e34
commit
29fe5029a4
|
@ -298,7 +298,10 @@
|
|||
#define TARGET_NR_fspick 433
|
||||
#define TARGET_NR_pidfd_open 434
|
||||
#define TARGET_NR_clone3 435
|
||||
#define TARGET_NR_syscalls 436
|
||||
#define TARGET_NR_close_range 436
|
||||
#define TARGET_NR_openat2 437
|
||||
#define TARGET_NR_pidfd_getfd 438
|
||||
#define TARGET_NR_faccessat2 439
|
||||
#define TARGET_NR_syscalls 440
|
||||
|
||||
#endif /* LINUX_USER_AARCH64_SYSCALL_NR_H */
|
||||
|
||||
|
|
|
@ -318,7 +318,10 @@
|
|||
#define TARGET_NR_fsmount 432
|
||||
#define TARGET_NR_fspick 433
|
||||
#define TARGET_NR_pidfd_open 434
|
||||
#define TARGET_NR_syscalls 436
|
||||
#define TARGET_NR_close_range 436
|
||||
#define TARGET_NR_openat2 437
|
||||
#define TARGET_NR_pidfd_getfd 438
|
||||
#define TARGET_NR_faccessat2 439
|
||||
#define TARGET_NR_syscalls 440
|
||||
|
||||
#endif /* LINUX_USER_NIOS2_SYSCALL_NR_H */
|
||||
|
||||
|
|
|
@ -318,7 +318,11 @@
|
|||
#define TARGET_NR_fsmount 432
|
||||
#define TARGET_NR_fspick 433
|
||||
#define TARGET_NR_pidfd_open 434
|
||||
#define TARGET_NR_syscalls 436
|
||||
#define TARGET_NR_clone3 435
|
||||
#define TARGET_NR_close_range 436
|
||||
#define TARGET_NR_openat2 437
|
||||
#define TARGET_NR_pidfd_getfd 438
|
||||
#define TARGET_NR_faccessat2 439
|
||||
#define TARGET_NR_syscalls 440
|
||||
|
||||
#endif /* LINUX_USER_OPENRISC_SYSCALL_NR_H */
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/*
|
||||
* This file contains the system call numbers.
|
||||
* Do not modify.
|
||||
* This file is generated by scripts/gensyscalls.sh
|
||||
*/
|
||||
#ifndef LINUX_USER_RISCV_SYSCALL32_NR_H
|
||||
#define LINUX_USER_RISCV_SYSCALL32_NR_H
|
||||
|
@ -290,6 +292,10 @@
|
|||
#define TARGET_NR_fspick 433
|
||||
#define TARGET_NR_pidfd_open 434
|
||||
#define TARGET_NR_clone3 435
|
||||
#define TARGET_NR_syscalls 436
|
||||
#define TARGET_NR_close_range 436
|
||||
#define TARGET_NR_openat2 437
|
||||
#define TARGET_NR_pidfd_getfd 438
|
||||
#define TARGET_NR_faccessat2 439
|
||||
#define TARGET_NR_syscalls 440
|
||||
|
||||
#endif /* LINUX_USER_RISCV_SYSCALL32_NR_H */
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
/*
|
||||
* This file contains the system call numbers.
|
||||
* Do not modify.
|
||||
* This file is generated by scripts/gensyscalls.sh
|
||||
*/
|
||||
#ifndef LINUX_USER_RISCV_SYSCALL64_NR_H
|
||||
#define LINUX_USER_RISCV_SYSCALL64_NR_H
|
||||
|
@ -296,6 +298,10 @@
|
|||
#define TARGET_NR_fspick 433
|
||||
#define TARGET_NR_pidfd_open 434
|
||||
#define TARGET_NR_clone3 435
|
||||
#define TARGET_NR_syscalls 436
|
||||
#define TARGET_NR_close_range 436
|
||||
#define TARGET_NR_openat2 437
|
||||
#define TARGET_NR_pidfd_getfd 438
|
||||
#define TARGET_NR_faccessat2 439
|
||||
#define TARGET_NR_syscalls 440
|
||||
|
||||
#endif /* LINUX_USER_RISCV_SYSCALL64_NR_H */
|
||||
|
|
|
@ -86,8 +86,7 @@ generate_syscall_nr()
|
|||
read_includes $arch $bits | filter_defines | rename_defines | \
|
||||
evaluate_values | sort -n -k 3
|
||||
echo
|
||||
echo "#endif /* ${guard} */"
|
||||
echo) > "$file"
|
||||
echo "#endif /* ${guard} */") > "$file"
|
||||
}
|
||||
|
||||
mkdir "$TMP/asm"
|
||||
|
|
Loading…
Reference in New Issue