📄 filehdr.h
字号:
/* * static char ID_filhdrh[] = "@(#)filehdr.h 1.1 11/21/89 ATT ESI"; */struct filehdr { unsigned short f_magic; /* magic number */ unsigned short f_nscns; /* number of sections */ long f_timdat; /* time & date stamp */ long f_symptr; /* file pointer to symtab */ long f_nsyms; /* number of symtab entries */ unsigned short f_opthdr; /* sizeof(optional hdr) */ unsigned short f_flags; /* flags */ };/* * Bits for f_flags: * * F_RELFLG relocation info stripped from file * F_EXEC file is executable (i.e. no unresolved * externel references) * F_LNNO line nunbers stripped from file * F_LSYMS local symbols stripped from file * F_MINMAL this is a minimal object file (".m") output of fextract * F_UPDATE this is a fully bound update file, output of ogen * F_SWABD this file has had its bytes swabbed (in names) * F_AR16WR this file has the byte ordering of an AR16WR (e.g. 11/70) machine * (it was created there, or was produced by conv) * F_AR32WR this file has the byte ordering of an AR32WR machine(e.g. vax) * F_AR32W this file has the byte ordering of an AR32W machine (e.g. 3b,maxi) * F_PATCH file contains "patch" list in optional header * F_NODF (minimal file only) no decision functions for * replaced functions */#define F_RELFLG 0000001#define F_EXEC 0000002#define F_LNNO 0000004#define F_LSYMS 0000010#define F_MINMAL 0000020#define F_UPDATE 0000040#define F_SWABD 0000100#define F_AR16WR 0000200#define F_AR32WR 0000400#define F_AR32W 0001000#define F_PATCH 0002000#define F_NODF 0002000 /* DSP32 */#define DSPMAGIC 0540#define DSP32CMAGIC 0542#define DSP32MAGICNEW 0544#define FILHDR struct filehdr#define FILHSZ sizeof(FILHDR)#define ISCOFF(x) (((x)==DSPMAGIC) || ((x)==DSP32CMAGIC) || ((x)==DSP32MAGICNEW))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -