Hi, Here is version 3 of my random fixes series.
I've dropped the more involved re-factoring of init_guest_space as it's going to take more thought and is best left to 5.1. I've left in the earlier clean-ups which fix the spacing and of the /proc/self/maps but I can drop them if they seem too radical for rc2. The elf-ops fix is a little cleaner, dropping the return ignored value and using autoptr to avoid the goto magic. I've includes the .hex and ARM gdbstub fixes which were posted separately because I didn't have another series to put them in. Richard's configure fix is there just so I can run my CI runs but may well get picked up via another tree? Anyway I intend to cut the PR on Monday with whatever hasn't been already pulled in by other trees. The only un-reviewed patch is: - linux-user: factor out reading of /proc/self/maps Alex Bennée (9): elf-ops: bail out if we have no function symbols linux-user: protect fcntl64 with an #ifdef tests/tcg: remove extraneous pasting macros linux-user: more debug for init_guest_space target/xtensa: add FIXME for translation memory leak linux-user: factor out reading of /proc/self/maps linux-user: clean-up padding on /proc/self/maps target/arm: don't expose "ieee_half" via gdbstub hw/core: properly terminate loading .hex on EOF record Denis Plotnikov (1): gdbstub: fix compiler complaining Richard Henderson (2): softfloat: Fix BAD_SHIFT from normalizeFloatx80Subnormal configure: Add -Werror to PIE probe configure | 4 +- include/hw/elf_ops.h | 48 ++++++++++---------- include/qemu/selfmap.h | 44 +++++++++++++++++++ fpu/softfloat.c | 3 ++ gdbstub.c | 4 +- hw/core/loader.c | 5 ++- linux-user/elfload.c | 8 +++- linux-user/syscall.c | 80 ++++++++++++++++++---------------- target/arm/gdbstub.c | 7 ++- target/xtensa/translate.c | 5 +++ util/selfmap.c | 77 ++++++++++++++++++++++++++++++++ tests/tcg/x86_64/system/boot.S | 5 +-- util/Makefile.objs | 1 + 13 files changed, 219 insertions(+), 72 deletions(-) create mode 100644 include/qemu/selfmap.h create mode 100644 util/selfmap.c -- 2.20.1