Rev 647 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 647 | Rev 6429 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | 35 | ||
36 | #define F_VERSION (F_GSP10 | F_GSP20) |
36 | #define F_VERSION (F_GSP10 | F_GSP20) |
37 | #define F_BYTE_ORDER (F_LITTLE | F_BIG) |
37 | #define F_BYTE_ORDER (F_LITTLE | F_BIG) |
Line 38... | Line 38... | ||
38 | #define FILHDR struct filehdr |
38 | #define FILHDR struct filehdr |
39 | 39 | ||
Line 40... | Line 40... | ||
40 | //#define FILHSZ sizeof(FILHDR) |
40 | /* #define FILHSZ sizeof(FILHDR) */ |
Line 41... | Line 41... | ||
41 | #define FILHSZ 22 // above rounds to align on 4 bytes which causes problems |
41 | #define FILHSZ 22 /* above rounds to align on 4 bytes which causes problems */ |
42 | 42 | ||
Line 148... | Line 148... | ||
148 | #define SCNHSZ sizeof(SCNHDR) |
148 | #define SCNHSZ sizeof(SCNHDR) |
Line 149... | Line 149... | ||
149 | 149 | ||
150 | /*------------------------------------------------------------------------*/ |
150 | /*------------------------------------------------------------------------*/ |
151 | /* Define constants for names of "special" sections */ |
151 | /* Define constants for names of "special" sections */ |
152 | /*------------------------------------------------------------------------*/ |
152 | /*------------------------------------------------------------------------*/ |
153 | //#define _TEXT ".text" |
153 | /* #define _TEXT ".text" */ |
154 | #define _DATA ".data" |
154 | #define _DATA ".data" |
155 | #define _BSS ".bss" |
155 | #define _BSS ".bss" |
156 | #define _CINIT ".cinit" |
156 | #define _CINIT ".cinit" |