diff options
Diffstat (limited to 'coff.h')
| -rw-r--r-- | coff.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -31,9 +31,9 @@ struct filehdr { #define F_LITTLE 0x100 /* byte ordering of an AR32WR (vax) */ #define F_BIG 0x200 /* byte ordering of an AR32W (3B, maxi) */ #define F_PATCH 0x400 /* contains "patch" list in optional header */ -#define F_NODF 0x400 +#define F_NODF 0x400 -#define F_VERSION (F_GSP10 | F_GSP20) +#define F_VERSION (F_GSP10 | F_GSP20) #define F_BYTE_ORDER (F_LITTLE | F_BIG) #define FILHDR struct filehdr @@ -68,7 +68,7 @@ typedef struct aouthdr { /*----------------------------------------------------------------------*/ /* When a UNIX aout header is to be built in the optional header, */ -/* the following magic numbers can appear in that header: */ +/* the following magic numbers can appear in that header: */ /* */ /* AOUT1MAGIC : default : readonly sharable text segment */ /* AOUT2MAGIC: : writable text segment */ @@ -164,7 +164,7 @@ struct scnhdr { #define STYP_NOLOAD 0x02 /* "noload" : allocated, relocated, not loaded */ #define STYP_GROUP 0x04 /* "grouped" : formed of input sections */ #define STYP_PAD 0x08 /* "padding" : not allocated, not relocated, loaded */ -#define STYP_COPY 0x10 /* "copy" : used for C init tables - +#define STYP_COPY 0x10 /* "copy" : used for C init tables - not allocated, relocated, loaded; reloc & lineno entries processed normally */ @@ -358,11 +358,11 @@ struct syment #define N_BTSHFT_COFF 4 #define N_TSHIFT_COFF 2 -#define BTYPE_COFF(x) ((x) & N_BTMASK_COFF) +#define BTYPE_COFF(x) ((x) & N_BTMASK_COFF) #define ISINT(x) (((x) >= T_CHAR && (x) <= T_LONG) || \ ((x) >= T_UCHAR && (x) <= T_ULONG) || (x) == T_ENUM) #define ISFLT_COFF(x) ((x) == T_DOUBLE || (x) == T_FLOAT) -#define ISPTR_COFF(x) (((x) & N_TMASK_COFF) == (DT_PTR << N_BTSHFT_COFF)) +#define ISPTR_COFF(x) (((x) & N_TMASK_COFF) == (DT_PTR << N_BTSHFT_COFF)) #define ISFCN_COFF(x) (((x) & N_TMASK_COFF) == (DT_FCN << N_BTSHFT_COFF)) #define ISARY_COFF(x) (((x) & N_TMASK_COFF) == (DT_ARY << N_BTSHFT_COFF)) #define ISTAG_COFF(x) ((x)==C_STRTAG || (x)==C_UNTAG || (x)==C_ENTAG) |
