FreeCalypso > hg > freecalypso-reveng
comparison ticoff/main.c @ 110:e650fdc743fe
tiobjd: higher-level reloc handling
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
|---|---|
| date | Thu, 03 Apr 2014 03:03:41 +0000 |
| parents | c20dc315a9d4 |
| children | 0f94d17899b3 |
comparison
equal
deleted
inserted
replaced
| 109:e40592990516 | 110:e650fdc743fe |
|---|---|
| 11 | 11 |
| 12 extern int cmd_basics(); | 12 extern int cmd_basics(); |
| 13 extern int cmd_nm(); | 13 extern int cmd_nm(); |
| 14 extern int cmd_profile(); | 14 extern int cmd_profile(); |
| 15 extern int cmd_rawrel(); | 15 extern int cmd_rawrel(); |
| 16 extern int cmd_reloc(); | |
| 16 extern int cmd_sechdr(); | 17 extern int cmd_sechdr(); |
| 17 extern int cmd_symtab(); | 18 extern int cmd_symtab(); |
| 18 extern int dump_filehdr_info(); | 19 extern int dump_filehdr_info(); |
| 19 | 20 |
| 20 static struct cmdtab { | 21 static struct cmdtab { |
| 25 {"dumpsym", cmd_symtab}, /* backward compat */ | 26 {"dumpsym", cmd_symtab}, /* backward compat */ |
| 26 {"hdr", dump_filehdr_info}, | 27 {"hdr", dump_filehdr_info}, |
| 27 {"nm", cmd_nm}, | 28 {"nm", cmd_nm}, |
| 28 {"profile", cmd_profile}, | 29 {"profile", cmd_profile}, |
| 29 {"rawrel", cmd_rawrel}, | 30 {"rawrel", cmd_rawrel}, |
| 31 {"reloc", cmd_reloc}, | |
| 30 {"sechdr", cmd_sechdr}, | 32 {"sechdr", cmd_sechdr}, |
| 31 {"symtab", cmd_symtab}, | 33 {"symtab", cmd_symtab}, |
| 32 {0, 0} | 34 {0, 0} |
| 33 }; | 35 }; |
| 34 | 36 |
