diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-03-26 14:50:37 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-04-22 19:26:05 -0400 |
commit | 555504166852a9b9c56ac4e1fb5bb1bf20cbf8ad (patch) | |
tree | e1c2f45817154e9b8988467b226268f3157a9233 /arch/s390x/bits | |
parent | bb439bb17108b67f3df9c9af824d3a607b5b059d (diff) | |
download | musl-555504166852a9b9c56ac4e1fb5bb1bf20cbf8ad.tar.gz musl-555504166852a9b9c56ac4e1fb5bb1bf20cbf8ad.tar.xz musl-555504166852a9b9c56ac4e1fb5bb1bf20cbf8ad.zip |
s390x: provide sigcontext struct definition
This structure was missed when creating the s390x port. This is based on the report and patch from William Pitcock, but with a modified structure defintion to more closely match the kernel's definition.
Diffstat (limited to 'arch/s390x/bits')
-rw-r--r-- | arch/s390x/bits/signal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/s390x/bits/signal.h b/arch/s390x/bits/signal.h index c8665832..e5aca4ba 100644 --- a/arch/s390x/bits/signal.h +++ b/arch/s390x/bits/signal.h @@ -33,6 +33,21 @@ typedef struct fpregset_t fpregs; } mcontext_t; +struct sigcontext { + unsigned long oldmask[1]; + struct { + struct { + __psw_t psw; + unsigned long gprs[16]; + unsigned acrs[16]; + } regs; + struct { + unsigned fpc; + double fprs[16]; + } fpregs; + } *sregs; +}; + #else typedef struct { |