bsd-user: Remove all non-x86 code from elfload.c
authorWarner Losh <imp@bsdimp.com>
Thu, 29 Apr 2021 16:10:02 +0000 (10:10 -0600)
committerWarner Losh <imp@bsdimp.com>
Tue, 7 Sep 2021 14:26:52 +0000 (08:26 -0600)
commitdd869a96659abe061e854716964465ab38d256d6
treef8336e486f767de30a13a32e8227916c352569bc
parenta8998784aec15a25fd2c4495f2be2fe0465370fb
bsd-user: Remove all non-x86 code from elfload.c

bsd-user only builds x86 at the moment. Remove all non x86 code from
elfload.c. We'll move the x86 code to {i386,x86_64}/target_arch_elf.h
and bring it that support code from the forked bsd-user when the time
comes.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/elfload.c