]> git.ipfire.org Git - thirdparty/qemu.git/commit
contrib/elf2dmp: Use lduw_le_p() to read PDB
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 7 Mar 2024 10:20:56 +0000 (19:20 +0900)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Mar 2024 17:06:06 +0000 (17:06 +0000)
commit2aa501af351c25f91c56f3c9fd023df4bbea3f3c
tree9308895324c49df9d9b8a23eb9216ed3fafda2f4
parent667909478b09f9f16b03b7e7b11f3c42e7bdcdf3
contrib/elf2dmp: Use lduw_le_p() to read PDB

The relevant value may be unaligned and is little-endian.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240307-elf2dmp-v4-13-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/pdb.c