FreeCalypso > hg > freecalypso-reveng
view leo-obj/tool/intstruct.h @ 133:daeaa5950d10
tiobjd: Thumb bl w/o reloc: find symbol if there is one
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 07 Apr 2014 01:22:09 +0000 |
parents | 87b82398a08b |
children | c131238c56bf |
line wrap: on
line source
/* * The structures defined in this header file * are internal to our utility. */ struct internal_scnhdr { char *name; unsigned size; unsigned data_offset; unsigned reloc_offset; unsigned line_offset; unsigned nreloc; unsigned nlineent; unsigned flags; unsigned nsymbols; struct internal_syment **sorted_symbols; struct internal_reloc *int_relocs; int disasm_mode; struct hint *hints; }; #define DISASM_MODE_UNKNOWN 0 #define DISASM_MODE_CODE 1 #define DISASM_MODE_DATA 2 #define DISASM_MODE_BSS 3 struct internal_syment { unsigned number; char *name; unsigned value; int scnum; int type; int class; u_char *aux; struct internal_scnhdr *section; }; struct internal_reloc { unsigned location; struct internal_syment *sym; int type; char *typestr; }; struct hint { unsigned pos; int type; unsigned nitems; int linebrk; struct hint *next; }; #define HINT_D8 1 #define HINT_D16 2 #define HINT_ASCIZ 3 #define HINT_D32 4