linux-user,loongarch: move to syscalltbl file
authorLaurent Vivier <laurent@vivier.eu>
Fri, 20 Sep 2024 15:10:33 +0000 (17:10 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 22 Sep 2024 07:30:18 +0000 (09:30 +0200)
commitc52e405968341b1d10c618f23bdbb841e39f9255
treeed8e2100917c78abde928da855fdf6415c985f3b
parente7e6cc50219a8ba57fc3a8d34de5243bd83c69e4
linux-user,loongarch: move to syscalltbl file

Since kernel v6.11 loongarch has moved from syscall_nr.h file
to syscall.tbl (26a3b85bac08 ("loongarch: convert to generic syscall
table"))

Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from linux v6.11 using updated
scripts/update-syscalltbl.sh

Remove scripts/gensyscalls.sh that is now useless.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-6-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
configs/targets/loongarch64-linux-user.mak
linux-user/loongarch64/meson.build
linux-user/loongarch64/syscall.tbl [new file with mode: 0644]
linux-user/loongarch64/syscall_nr.h [deleted file]
linux-user/loongarch64/syscallhdr.sh [new file with mode: 0644]
linux-user/syscall_defs.h
scripts/gensyscalls.sh [deleted file]
scripts/update-syscalltbl.sh