FreeCalypso > hg > freecalypso-reveng
comparison ticoff/main.c @ 81:192da19c7506
tiobjd: symbol sorting implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 26 Mar 2014 03:23:20 +0000 |
parents | 8f4996bff904 |
children | c20dc315a9d4 |
comparison
equal
deleted
inserted
replaced
80:da103b9377e3 | 81:192da19c7506 |
---|---|
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_nm(); | |
13 extern int cmd_profile(); | 14 extern int cmd_profile(); |
14 extern int cmd_sechdr(); | 15 extern int cmd_sechdr(); |
15 extern int cmd_symtab(); | 16 extern int cmd_symtab(); |
16 extern int dump_filehdr_info(); | 17 extern int dump_filehdr_info(); |
17 | 18 |
20 int (*func)(); | 21 int (*func)(); |
21 } cmdtab[] = { | 22 } cmdtab[] = { |
22 {"basics", cmd_basics}, | 23 {"basics", cmd_basics}, |
23 {"dumpsym", cmd_symtab}, /* backward compat */ | 24 {"dumpsym", cmd_symtab}, /* backward compat */ |
24 {"hdr", dump_filehdr_info}, | 25 {"hdr", dump_filehdr_info}, |
26 {"nm", cmd_nm}, | |
25 {"profile", cmd_profile}, | 27 {"profile", cmd_profile}, |
26 {"sechdr", cmd_sechdr}, | 28 {"sechdr", cmd_sechdr}, |
27 {"symtab", cmd_symtab}, | 29 {"symtab", cmd_symtab}, |
28 {0, 0} | 30 {0, 0} |
29 }; | 31 }; |