summaryrefslogtreecommitdiff
path: root/arch/x32/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-03-18 23:12:40 -0400
committerRich Felker <dalias@aerifal.cx>2014-03-18 23:12:40 -0400
commitbd5f221eaa16fcc13f050201883428afa3a9d0c0 (patch)
tree6087e2f8744927a23112275b2fa46a96a77a7e2f /arch/x32/bits
parent25faa2034de38f7d8cc919e61e55e7067584077d (diff)
downloadmusl-bd5f221eaa16fcc13f050201883428afa3a9d0c0.tar.gz
move signal.h definition of stack_t to arch-specific bits
it's different at least on mips. mips version will be fixed in a separate commit to show the change.
Diffstat (limited to 'arch/x32/bits')
-rw-r--r--arch/x32/bits/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x32/bits/signal.h b/arch/x32/bits/signal.h
index ecbb8139..67056c9e 100644
--- a/arch/x32/bits/signal.h
+++ b/arch/x32/bits/signal.h
@@ -69,6 +69,12 @@ typedef struct __ucontext {
unsigned long long __fpregs_mem[64];
} ucontext_t;
+typedef struct sigaltstack {
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
+} stack_t;
+
#define SA_NOCLDSTOP 1
#define SA_NOCLDWAIT 2
#define SA_SIGINFO 4