]> www.infradead.org Git - users/dwmw2/qemu.git/commit
linux-user: Tidy loader_exec
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 17 Jun 2021 02:37:00 +0000 (19:37 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 30 Oct 2023 20:41:55 +0000 (13:41 -0700)
commitf485be725d4a08c950bf6996e33c178bfbd98509
tree4355f3278e3c411f5dc6ebdb8140354af831acf2
parent7d2c5526ed85dcd7c81d91a3e2782db883366143
linux-user: Tidy loader_exec

Reorg the if cases to reduce indentation.
Test for 4 bytes in the file before checking the signatures.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/linuxload.c