home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1999 February
/
MACPOWER-1999-02.ISO.7z
/
MACPOWER-1999-02.ISO
/
9902⁄AMUG
/
UTILITY
/
mac06-0.95.sit
/
mac06-0.95
/
usr
/
include
/
coff
/
filehdr.h
< prev
next >
Wrap
Text File
|
1997-10-29
|
1KB
|
35 lines
/* mac06ゥ1997 by HNS/DSITRI hns@computer.org
** filehdr.h
*/
#ifdef __SC__ /* Symantec C++ for PowerPC 8.0 */
#pragma options align=mac68k
#endif
struct filehdr {
unsigned short f_magic; /* magic number */
unsigned short f_nscns; /* # of sections */
unsigned long f_timdat; /* time stamp */
unsigned long f_symptr; /* symbol table offset */
long f_nsyms; /* # of symbols */
unsigned short f_opthdr; /* size of system header */
unsigned short f_flags; /* flags, see below */
};
#ifdef __SC__ /* Symantec C++ for PowerPC 8.0 */
#pragma options align=reset
#endif
enum filehdr_flags {
F_RELFLG = 0x01, /* relocs have been stripped */
F_EXEC = 0x02, /* executable file (or shlib) */
F_LNNO = 0x04, /* line numbers have been stripped */
F_LSYMS = 0x08 /* symbols have been stripped */
};
#define FILHDR struct filehdr
#define FILHSZ sizeof(FILHDR)
#define F_MAGIC (0737) /* procesor model dependent */
/* EOF */