On 8/26/21 11:11 PM, i...@bsdimp.com wrote:
> From: Warner Losh <i...@bsdimp.com>
> 
> Move the arcitecture specific defines to target_arch_elf.h and delete

Typo "architecture"

> them from elfload.c. unifdef as appropriate for i386 vs x86_64

"un-ifdef" or untangle?

> versions. Add the copyright/license comments, and guard ifdefs.
> 
> Signed-off-by: Warner Losh <i...@bsdimp.com>
> Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
> ---
>  bsd-user/elfload.c                | 81 +------------------------------
>  bsd-user/i386/target_arch_elf.h   | 76 +++++++++++++++++++++++++++++
>  bsd-user/x86_64/target_arch_elf.h | 64 ++++++++++++++++++++++++
>  3 files changed, 142 insertions(+), 79 deletions(-)
>  create mode 100644 bsd-user/i386/target_arch_elf.h
>  create mode 100644 bsd-user/x86_64/target_arch_elf.h

Reply via email to