As noted by Laurent in private mail, foo-linux-user is currently broken on aarch64 host in unususal circumstances. By inspection, the same thing could happen for armv6 host. My testing is always on armv7 hardware, so I wouldn't have seen this.
With that fixed, the s390x code can be simplified a bit to take advantage of this. If the s390x maintainers could test this, I would appreciate it. The test case is ./i386-linux-user/qemu-i386 -B 0x111231000 ./some-static-i386 e.g. using the binary in the busyboxes tarball linked from https://wiki.qemu.org/Testing#User_mode_emulation although any staticly linked binary would work. r~ Richard Henderson (2): tcg: Allow constant pool entries in the prologue tcg/s390x: Use constant pool for prologue tcg/s390/tcg-target.inc.c | 44 ++++++++++++------------------------------ tcg/tcg.c | 49 ++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 54 insertions(+), 39 deletions(-) -- 2.13.6