]> git.proxmox.com Git - mirror_qemu.git/commit - dump/dump.c
dump: Cleanup dump_begin write functions
authorJanosch Frank <frankja@linux.ibm.com>
Wed, 30 Mar 2022 12:36:02 +0000 (12:36 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:36:04 +0000 (13:36 +0400)
commit5ff2e5a3e1e67930e523486e39549a33fcf97227
treeed4c7284e8e560a36231fc8b4691a9d140fdcf05
parentbc7d558017e6700f9a05c61b0b638a8994945f0d
dump: Cleanup dump_begin write functions

There's no need to have a gigantic if in there let's move the elf
32/64 bit logic into the section, segment or note code.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220330123603.107120-9-frankja@linux.ibm.com>
dump/dump.c