]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user: Refactor load_elf_sections and is_target_elf_binary
authorWarner Losh <imp@FreeBSD.org>
Fri, 6 Aug 2021 23:12:24 +0000 (17:12 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 10 Sep 2021 20:13:06 +0000 (14:13 -0600)
commitc09f12feba6ed3faf06a2a22a988c4428a18eb51
tree7120d4ca77b5ea2e3306166889e092cbb37e8e31
parent0456a1772b479eada7160509e21f7e3a613f70e6
bsd-user: Refactor load_elf_sections and is_target_elf_binary

Factor out load_elf_sections and is_target_elf_binary out of
load_elf_interp.

Signed-off-by: Mikaƫl Urankar <mikael.urankar@gmail.com>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
bsd-user/elfload.c