aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-07-29 11:45:13 -1000
committerRichard Henderson <richard.henderson@linaro.org>2025-08-30 07:04:04 +1000
commitab2d261ab3e73f622d75c5c6cc06cc0b7db2d79a (patch)
treed77d22b1acb19309cbb389b40fc4c02b941e4142 /linux-user
parent8218eb6f52abd08c9e89baafdddec6f0d9234768 (diff)
downloadqemu-ab2d261ab3e73f622d75c5c6cc06cc0b7db2d79a.zip
qemu-ab2d261ab3e73f622d75c5c6cc06cc0b7db2d79a.tar.gz
qemu-ab2d261ab3e73f622d75c5c6cc06cc0b7db2d79a.tar.bz2
linux-user: Remove a.out declarations from elfload.c
These should have been removed with the rest of the stub a.out support in b9329d4b5321, though they were not in use even then. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/elfload.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 12d4873..26c090c 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -178,25 +178,6 @@ bool arch_parse_elf_property(uint32_t pr_type, uint32_t pr_datasz,
#include "elf.h"
-struct exec
-{
- unsigned int a_info; /* Use macros N_MAGIC, etc for access */
- unsigned int a_text; /* length of text, in bytes */
- unsigned int a_data; /* length of data, in bytes */
- unsigned int a_bss; /* length of uninitialized data area, in bytes */
- unsigned int a_syms; /* length of symbol table data in file, in bytes */
- unsigned int a_entry; /* start address */
- unsigned int a_trsize; /* length of relocation info for text, in bytes */
- unsigned int a_drsize; /* length of relocation info for data, in bytes */
-};
-
-
-#define N_MAGIC(exec) ((exec).a_info & 0xffff)
-#define OMAGIC 0407
-#define NMAGIC 0410
-#define ZMAGIC 0413
-#define QMAGIC 0314
-
#define DLINFO_ITEMS 16
static inline void memcpy_fromfs(void * to, const void * from, unsigned long n)