diff options
| author | forsyth <forsyth@vitanuova.com> | 2010-04-27 12:51:13 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2010-04-27 12:51:13 +0100 |
| commit | d67b7dad77bb8aa973dad1f7c3ab0c309b114278 (patch) | |
| tree | 6794120fb327d6de19cf05eed53f80d877781a3e /utils/libmach/bootexec.h | |
| parent | 09da2e137d5eb0c940df35d989e4c31ec0654fc4 (diff) | |
20100427-1251
Diffstat (limited to 'utils/libmach/bootexec.h')
| -rw-r--r-- | utils/libmach/bootexec.h | 40 |
1 files changed, 2 insertions, 38 deletions
diff --git a/utils/libmach/bootexec.h b/utils/libmach/bootexec.h index a844ec7c..b401d394 100644 --- a/utils/libmach/bootexec.h +++ b/utils/libmach/bootexec.h @@ -33,12 +33,10 @@ struct mipsexec long data_start; /* base of data used for this file */ long bss_start; /* base of bss used for this file */ long gprmask; /* general purpose register mask */ -union{ - long mcprmask[4]; /* co-processor register masks */ - long mpcsize; -} u0; + long cprmask[4]; /* co-processor register masks */ long gp_value; /* the gp value used for this object */ }; +#define pcsize cprmask[0] struct mips4kexec { @@ -136,37 +134,3 @@ struct i386exec struct coffsect icomments; }; -struct i960exec -{ - struct i960coff{ - ulong i6sectmagic; - ulong i6time; - ulong i6syms; - ulong i6nsyms; - ulong i6opthdrflags; - }i6coff; - struct i960hdr{ - ulong i6magic; - ulong i6textsize; - ulong i6datasize; - ulong i6bsssize; - ulong i6entry; - ulong i6textstart; - ulong i6datastart; - ulong i6tagentries; - }i6hdr; - struct i960sect{ - char name[8]; - ulong phys; - ulong virt; - ulong size; - ulong fptr; - ulong fptrreloc; - ulong fptrlineno; - ulong nrelocnlineno; - ulong flags; - ulong align; - }i6texts; - struct i960sect i6datas; -}; - |
