aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/label.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/label.h')
-rw-r--r--src/libthread/label.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libthread/label.h b/src/libthread/label.h
index a1f6fa5a..874fb070 100644
--- a/src/libthread/label.h
+++ b/src/libthread/label.h
@@ -32,6 +32,14 @@ struct Label
// uvlong fpr[18]; /* callee saved: f14-f31 */
// ulong vr[4*12]; /* callee saved: v20-v31, 256-bits each */
};
+#elif defined(__sun__)
+struct Label
+{
+ ulong input[8]; /* %i registers */
+ ulong local[8]; /* %l registers */
+ ulong sp; /* %o6 */
+ ulong link; /* %o7 */
+};
#else
#error "Unknown or unsupported architecture"
#endif