mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
linux-user: Add gen-vdso tool
This tool will be used for post-processing the linked vdso image, turning it into something that is easy to include into elfload.c. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c40f621a19
commit
2fa536d107
3 changed files with 535 additions and 1 deletions
|
@ -28,9 +28,13 @@ linux_user_ss.add(when: 'TARGET_HAS_BFLT', if_true: files('flatload.c'))
|
|||
linux_user_ss.add(when: 'TARGET_I386', if_true: files('vm86.c'))
|
||||
linux_user_ss.add(when: 'CONFIG_ARM_COMPATIBLE_SEMIHOSTING', if_true: files('semihost.c'))
|
||||
|
||||
|
||||
syscall_nr_generators = {}
|
||||
|
||||
gen_vdso_exe = executable('gen-vdso', 'gen-vdso.c',
|
||||
native: true, build_by_default: false)
|
||||
gen_vdso = generator(gen_vdso_exe, output: '@BASENAME@.c.inc',
|
||||
arguments: ['-o', '@OUTPUT@', '@EXTRA_ARGS@', '@INPUT@'])
|
||||
|
||||
subdir('alpha')
|
||||
subdir('arm')
|
||||
subdir('hppa')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue