Move the arcitecture specific defines to target_arch_elf.h and delete them from
elfload.c. unifdef as appropriate for i386 vs x86_64 versions.
Signed-off-by: Warner Losh<imp@bsdimp.com>
---
bsd-user/elfload.c | 81 +------------------------------
bsd-user/i386/target_arch_elf.h | 54 +++++++++++++++++++++
bsd-user/x86_64/target_arch_elf.h | 41 ++++++++++++++++
3 files changed, 97 insertions(+), 79 deletions(-)
create mode 100644 bsd-user/i386/target_arch_elf.h
create mode 100644 bsd-user/x86_64/target_arch_elf.h