]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: move arch specific defines out of elfload.c
authorWarner Losh <imp@bsdimp.com>
Thu, 29 Apr 2021 16:41:29 +0000 (10:41 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 10 Sep 2021 20:12:59 +0000 (14:12 -0600)
commit66ef252fab33d2113fd6cf399a1fd5e19ed26676
tree1b09574648a05b6fa674ddb41c03ac2df85b49d7
parentdd869a96659abe061e854716964465ab38d256d6
bsd-user: move arch specific defines out of elfload.c

Move the architecture specific defines to target_arch_elf.h and delete
them from elfload.c. Only retain ifdefs appropriate for i386 and x86_64.
Add the copyright/license comments, and guard ifdefs.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/elfload.c
bsd-user/i386/target_arch_elf.h [new file with mode: 0644]
bsd-user/x86_64/target_arch_elf.h [new file with mode: 0644]