On Thu, Sep 2, 2021 at 6:56 PM <[email protected]> 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]> > Acked-by: Richard Henderson <[email protected]> > --- > bsd-user/elfload.c | 191 ++++--------------------------- > bsd-user/freebsd/target_os_elf.h | 137 ++++++++++++++++++++++ > bsd-user/netbsd/target_os_elf.h | 146 +++++++++++++++++++++++ > bsd-user/openbsd/target_os_elf.h | 146 +++++++++++++++++++++++ > bsd-user/qemu.h | 1 + > 5 files changed, 454 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
Reviewed-by: Kyle Evans <[email protected]>
