On 8/7/21 11:41 AM, Warner Losh wrote:
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<[email protected]>
---
  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

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

r~

Reply via email to