summary refs log tree commit diff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-08-16 13:26:16 -0700
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-08-16 13:28:55 -0700
commitcad13d0dce46dbbb42140a40f32245f73672dc39 (patch)
tree6fe5be74e6e00951eb6ff1cd4c6dcc5762dc099c /all.h
parentfbbb8e4d78e8b2e9410699fd27af282cc6ddfc4b (diff)
downloadroux-cad13d0dce46dbbb42140a40f32245f73672dc39.tar.gz
add support for unions in sysv abi
Diffstat (limited to 'all.h')
-rw-r--r--all.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/all.h b/all.h
index b6392e5..39c85f1 100644
--- a/all.h
+++ b/all.h
@@ -429,13 +429,14 @@ struct Typ {
 
 	struct Seg {
 		enum {
+			Send,
 			Spad,
 			Sint,
 			Sflt,
 			Styp,
 		};
-		uint type:2;
-		uint len:30; /* index in typ[] for Styp */
+		uint type:3;
+		uint len:29; /* index in typ[] for Styp */
 	} (*seg)[NSeg+1];
 };