bsd-user: Eliminate elf personality
authorWarner Losh <imp@bsdimp.com>
Fri, 30 Apr 2021 04:25:36 +0000 (22:25 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 10 Sep 2021 20:13:06 +0000 (14:13 -0600)
commit7ee0986965ca868476eeca1c661198cb5a8b3c29
tree8e99d28ae0d4ee4a07b4bdb9b80c2f9331b53173
parent1b50ff64a52b08bebb17d947eb95c18ba88fa20f
bsd-user: Eliminate elf personality

The linux kernel supports a number of different ELF binaries. The Linux userland
emulator inheritted some of that. And we inheritted it from there. However, for
BSD there's only one kind of ELF file supported per platform, so there's no need
to cope with historical quirks. Simply the code as a result.

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