target/s390x: Implement STCK et al for CONFIG_USER_ONLY
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 12 Feb 2019 05:30:44 +0000 (21:30 -0800)
committerCornelia Huck <cohuck@redhat.com>
Mon, 18 Feb 2019 10:25:43 +0000 (11:25 +0100)
commit965018bea7ce79e1987b50ba9160cba957f015df
treea4e15366471490bf25b2e7e8d48d76ad1a8b57b0
parent4037c39ba5d0507fa9e1ee302013b4b35e2526f5
target/s390x: Implement STCK et al for CONFIG_USER_ONLY

This is a non-privileged instruction that was only implemented
for system mode.  However, the stck instruction is used by glibc,
so this was causing SIGILL for programs run under debian stretch.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190212053044.29015-3-richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/misc_helper.c
target/s390x/translate.c