diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-29 11:03:31 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-30 07:04:04 +1000 |
| commit | 4a56d73ae20aa893ce4f3f7d691310f9d503e7b9 (patch) | |
| tree | f25b3d62abd4850d79e7a74a43ec11aa080c0c38 /linux-user/elfload.c | |
| parent | 2fed144511457a2bc83f8731b8af4dc4b476bba4 (diff) | |
| download | focaccia-qemu-4a56d73ae20aa893ce4f3f7d691310f9d503e7b9.tar.gz focaccia-qemu-4a56d73ae20aa893ce4f3f7d691310f9d503e7b9.zip | |
linux-user: Move elf parameters to riscv/target_elf.h
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/elfload.c')
| -rw-r--r-- | linux-user/elfload.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 705d726922..6e476d5308 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -130,20 +130,6 @@ typedef abi_uint target_gid_t; #endif typedef abi_int target_pid_t; -#ifdef TARGET_RISCV - -#define ELF_ARCH EM_RISCV - -#ifdef TARGET_RISCV32 -#define ELF_CLASS ELFCLASS32 -#define VDSO_HEADER "vdso-32.c.inc" -#else -#define ELF_CLASS ELFCLASS64 -#define VDSO_HEADER "vdso-64.c.inc" -#endif - -#endif /* TARGET_RISCV */ - #ifdef TARGET_HPPA #define ELF_CLASS ELFCLASS32 |