Skip to content
Snippets Groups Projects
Commit 23fff7a1 authored by Andreas Krebbel's avatar Andreas Krebbel Committed by Laurent Vivier
Browse files

linux-user/s390x: Use the guest pointer for the sigreturn stub


When setting up the pointer for the sigreturn stub in the return
address register (r14) we currently use the host frame address instead
of the guest frame address.

Note: This only caused problems if Qemu has been built with
--disable-pie (as it is in distros nowadays). Otherwise guest_base
defaults to 0 hiding the actual problem.

Signed-off-by: default avatarAndreas Krebbel <krebbel@linux.ibm.com>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20210324185128.63971-1-krebbel@linux.ibm.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 9e2e9fe3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment