FreeCalypso > hg > freecalypso-reveng
comparison ticoff/main.c @ 111:0f94d17899b3
tiobjd: disassembly integrated, no relocs or hints yet
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 03 Apr 2014 05:14:15 +0000 |
parents | e650fdc743fe |
children | 2c6b1319383b |
comparison
equal
deleted
inserted
replaced
110:e650fdc743fe | 111:0f94d17899b3 |
---|---|
8 #include <string.h> | 8 #include <string.h> |
9 #include <strings.h> | 9 #include <strings.h> |
10 #include "globals.h" | 10 #include "globals.h" |
11 | 11 |
12 extern int cmd_basics(); | 12 extern int cmd_basics(); |
13 extern int cmd_disasm(); | |
13 extern int cmd_nm(); | 14 extern int cmd_nm(); |
14 extern int cmd_profile(); | 15 extern int cmd_profile(); |
15 extern int cmd_rawrel(); | 16 extern int cmd_rawrel(); |
16 extern int cmd_reloc(); | 17 extern int cmd_reloc(); |
17 extern int cmd_sechdr(); | 18 extern int cmd_sechdr(); |
21 static struct cmdtab { | 22 static struct cmdtab { |
22 char *cmd; | 23 char *cmd; |
23 int (*func)(); | 24 int (*func)(); |
24 } cmdtab[] = { | 25 } cmdtab[] = { |
25 {"basics", cmd_basics}, | 26 {"basics", cmd_basics}, |
27 {"disasm", cmd_disasm}, | |
26 {"dumpsym", cmd_symtab}, /* backward compat */ | 28 {"dumpsym", cmd_symtab}, /* backward compat */ |
27 {"hdr", dump_filehdr_info}, | 29 {"hdr", dump_filehdr_info}, |
28 {"nm", cmd_nm}, | 30 {"nm", cmd_nm}, |
29 {"profile", cmd_profile}, | 31 {"profile", cmd_profile}, |
30 {"rawrel", cmd_rawrel}, | 32 {"rawrel", cmd_rawrel}, |