qemu-cr16/linux-user/sh4
Richard Henderson e6b7635c9a linux-user: Standardize on ELF_MACHINE not ELF_ARCH
PowerPC was the one outlier that defined both ELF_ARCH and
ELF_MACHINE; ELF_ARCH was defined incorrectly, necessitating
the definition of elf_check_arch.

However, the elf file header field in question is called
e_machine, so ELF_MACHINE is in fact the better name.

Mechanically change most target/target_elf.h files,
then adjust ppc/target_elf.h manually.

Do not provide a default for ELF_MACHINE.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2025-08-30 07:04:04 +10:00
..
cpu_loop.c linux-user/sh4: Create init_main_thread 2025-08-28 06:39:25 +10:00
elfload.c linux-user/sh4: Expand target_elf_gregset_t 2025-08-30 07:04:04 +10:00
meson.build
signal.c linux-user: Move tswap_siginfo out of target code 2024-03-13 11:43:52 +00:00
sockbits.h
syscall.tbl target/ppc: Fix lxvx/stxvx facility check 2024-09-27 10:32:29 +01:00
syscallhdr.sh license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only 2024-09-20 10:11:59 +03:00
target_cpu.h
target_elf.h linux-user: Standardize on ELF_MACHINE not ELF_ARCH 2025-08-30 07:04:04 +10:00
target_errno_defs.h
target_fcntl.h
target_flat.h linux-user: move target_flat.h to target subdirs 2023-02-03 22:55:12 +01:00
target_mman.h linux-user: Define ELF_ET_DYN_BASE in $guest/target_mman.h 2023-08-08 13:27:15 -07:00
target_prctl.h
target_proc.h linux-user: Split out cpu/target_proc.h 2023-09-01 13:33:09 -07:00
target_ptrace.h linux-user/sh4: Create target_ptrace.h 2025-08-30 07:04:04 +10:00
target_resource.h
target_signal.h linux-user: Move TARGET_SA_RESTORER out of generic/signal.h 2025-02-18 08:29:03 -08:00
target_structs.h
target_syscall.h linux-user/sh4: Create target_ptrace.h 2025-08-30 07:04:04 +10:00
termbits.h sh4: Coding style: Remove tabs 2023-12-04 15:12:57 +01:00