add support for unions in sysv abi
This commit is contained in:
parent
fbbb8e4d78
commit
cad13d0dce
4 changed files with 67 additions and 40 deletions
5
all.h
5
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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue