On 8/7/21 11:42 AM, Warner Losh wrote:
From: Warner Losh<[email protected]>

Move OS-dependent defines into target_os_elf.h. Move the architectural
dependent stuff into target_arch_elf.h. Adjust elfload.c to use
target_create_elf_tables instead of create_elf_tables.

Signed-off-by: Warner Losh<[email protected]>
Signed-off-by: Stacey Son<[email protected]>
Signed-off-by: Kyle Evans<[email protected]>
Signed-off-by: Justin Hibbits<[email protected]>
Signed-off-by: Alexander Kabaev<[email protected]>

Sponsored by:           Netflix
---
  bsd-user/elfload.c               | 190 ++++---------------------------
  bsd-user/freebsd/target_os_elf.h | 149 ++++++++++++++++++++++++
  bsd-user/netbsd/target_os_elf.h  | 143 +++++++++++++++++++++++
  bsd-user/openbsd/target_os_elf.h | 143 +++++++++++++++++++++++
  bsd-user/qemu.h                  |   1 +
  5 files changed, 459 insertions(+), 167 deletions(-)
  create mode 100644 bsd-user/freebsd/target_os_elf.h
  create mode 100644 bsd-user/netbsd/target_os_elf.h
  create mode 100644 bsd-user/openbsd/target_os_elf.h

Acked-by: Richard Henderson <[email protected]>

r~

Reply via email to