Go to the documentation of this file.
13 #define FILHSZ sizeof(FILHDR)
16 #define MIPSEBMAGIC 0x160
17 #define MIPSELMAGIC 0x162
31 #define SCNHSZ sizeof(SCNHDR)
32 #define SCNROUND ((long)16)
48 #define AOUTHSZ sizeof(AOUTHDR)
56 #define N_TXTOFF(f, a) \
57 ((a).magic == ZMAGIC || (a).magic == LIBMAGIC ? 0 : \
59 ((FILHSZ + AOUTHSZ + (f).f_nscns * SCNHSZ + 7) & 0xfffffff8) : \
60 ((FILHSZ + AOUTHSZ + (f).f_nscns * SCNHSZ + SCNROUND-1) & ~(SCNROUND-1)) ) )
61 #define N_DATOFF(f, a) \
62 N_TXTOFF(f, a) + (a).tsize;