linux-user: Move elf parameters to hppa/target_elf.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson
2025-08-30 07:04:04 +10:00
parent 4a56d73ae2
commit 964bc6c1b2
2 changed files with 6 additions and 11 deletions
-11
View File
@@ -130,17 +130,6 @@ typedef abi_uint target_gid_t;
#endif
typedef abi_int target_pid_t;
#ifdef TARGET_HPPA
#define ELF_CLASS ELFCLASS32
#define ELF_ARCH EM_PARISC
#define STACK_GROWS_DOWN 0
#define STACK_ALIGNMENT 64
#define VDSO_HEADER "vdso.c.inc"
#endif /* TARGET_HPPA */
#ifdef TARGET_XTENSA
#define ELF_CLASS ELFCLASS32
+6
View File
@@ -8,8 +8,14 @@
#ifndef HPPA_TARGET_ELF_H
#define HPPA_TARGET_ELF_H
#define ELF_CLASS ELFCLASS32
#define ELF_ARCH EM_PARISC
#define HAVE_ELF_PLATFORM 1
#define LO_COMMPAGE 0
#define STACK_GROWS_DOWN 0
#define STACK_ALIGNMENT 64
#define VDSO_HEADER "vdso.c.inc"
#endif