mirror_qemu/dump
Janosch Frank 344107e07b dump: Remove the section if when calculating the memory offset
When s->shdr_num is 0 we'll add 0 bytes of section headers which is
equivalent to not adding section headers but with the multiplication
we can remove a if/else.

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-5-frankja@linux.ibm.com>
2022-04-22 13:36:03 +04:00
..
dump-hmp-cmds.c hmp: drop Error pointer indirection in hmp_handle_error 2019-12-18 08:36:16 +01:00
dump.c dump: Remove the section if when calculating the memory offset 2022-04-22 13:36:03 +04:00
meson.build meson: convert dump/ 2020-08-21 06:30:22 -04:00
win_dump.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
win_dump.h dump: Move the code to dump/ 2019-07-02 13:37:00 +02:00