c52e405968
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>
12 lines
409 B
Meson
12 lines
409 B
Meson
vdso_inc = gen_vdso.process('vdso.so',
|
|
extra_args: ['-r', '__vdso_rt_sigreturn'])
|
|
|
|
linux_user_ss.add(when: 'TARGET_LOONGARCH64', if_true: vdso_inc)
|
|
|
|
|
|
syscall_nr_generators += {
|
|
'loongarch64': generator(sh,
|
|
arguments: [ meson.current_source_dir() / 'syscallhdr.sh', '@INPUT@', '@OUTPUT@', '@EXTRA_ARGS@' ],
|
|
output: '@BASENAME@_nr.h')
|
|
}
|