objdump.h (675B)
1 typedef struct flags Flags; 2 3 enum file_flags { 4 HAS_RELOC, 5 EXEC_P, 6 HAS_LINENO, 7 HAS_DEBUG, 8 HAS_SYMS, 9 HAS_LOCALS, 10 D_PAGED, 11 NR_FILE_FLAGS, 12 }; 13 14 enum sec_flags { 15 SEC_HAS_CONTENTS, 16 SEC_ALLOC, 17 SEC_LOAD, 18 SEC_RELOC, 19 SEC_READONLY, 20 SEC_CODE, 21 SEC_DATA, 22 SEC_DEBUGGING, 23 NR_SEC_FLAGS, 24 }; 25 26 struct flags { 27 int nr; 28 unsigned long flags; 29 char *text[]; 30 }; 31 32 /* coff32.c */ 33 extern void coff32syms(Obj *); 34 extern void coff32scns(Obj *); 35 extern void coff32fhdr(Obj *, unsigned long long *, Flags *); 36 37 /* main.c */ 38 extern void error(char *, ...); 39 extern void setflag(Flags *, int, int); 40 extern void printflags(Flags *); 41 extern int selected(char *); 42 43 /* globals */ 44 extern int pflag;