FreeCalypso > hg > freecalypso-reveng
annotate ticoff/coffconst.h @ 118:193926ccd1ec
tiobjd: better handling of section-relative relocs
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 03 Apr 2014 07:47:03 +0000 |
parents | 3dfecd91c5b0 |
children |
rev | line source |
---|---|
78
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /********************** STORAGE CLASSES **********************/ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 #define C_NULL 0 |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 #define C_AUTO 1 /* automatic variable */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 #define C_EXT 2 /* external symbol */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 #define C_STAT 3 /* static */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 #define C_REG 4 /* register variable */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 #define C_EXTREF 5 /* external reference */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 #define C_LABEL 6 /* label */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 #define C_ULABEL 7 /* undefined label */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 #define C_MOS 8 /* member of structure */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 #define C_ARG 9 /* function argument */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 #define C_STRTAG 10 /* structure tag */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 #define C_MOU 11 /* member of union */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 #define C_UNTAG 12 /* union tag */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 #define C_TPDEF 13 /* type definition */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 #define C_USTATIC 14 /* undefined static */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 #define C_ENTAG 15 /* enumeration tag */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 #define C_MOE 16 /* member of enumeration */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 #define C_REGPARM 17 /* register parameter */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 #define C_FIELD 18 /* bit field */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 #define C_UEXT 19 /* Tentative external definition */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #define C_STATLAB 20 /* Static load time label */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define C_EXTLAB 21 /* External load time label */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 #define C_SYSTEM 23 /* System Wide variable */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 #define C_VARARG 27 /* from TI's spraao8.pdf */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define C_BLOCK 100 /* ".bb" or ".eb" */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 #define C_FCN 101 /* ".bf" or ".ef" */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define C_EOS 102 /* end of structure */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define C_FILE 103 /* file name */ |
c2445afce514
tiobjd: symbol storage classes decoded into mnemonics
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define C_LINE 104 /* line # reformatted as symbol table entry */ |
83
3dfecd91c5b0
tiobjd: known reloc types defined
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
78
diff
changeset
|
32 |
3dfecd91c5b0
tiobjd: known reloc types defined
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
78
diff
changeset
|
33 /* Reloc types */ |
3dfecd91c5b0
tiobjd: known reloc types defined
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
78
diff
changeset
|
34 |
3dfecd91c5b0
tiobjd: known reloc types defined
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
78
diff
changeset
|
35 #define RTYPE_LONG 0x11 |
3dfecd91c5b0
tiobjd: known reloc types defined
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
78
diff
changeset
|
36 #define RTYPE_THUMB_BL 0x16 |
3dfecd91c5b0
tiobjd: known reloc types defined
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
78
diff
changeset
|
37 #define RTYPE_ARM_B 0x17 |