comparison ticoff/main.c @ 82:c20dc315a9d4

tiobjd: beginning of reloc handling
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 26 Mar 2014 06:00:07 +0000
parents 192da19c7506
children e650fdc743fe
comparison
equal deleted inserted replaced
81:192da19c7506 82:c20dc315a9d4
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_nm();
14 extern int cmd_profile(); 14 extern int cmd_profile();
15 extern int cmd_rawrel();
15 extern int cmd_sechdr(); 16 extern int cmd_sechdr();
16 extern int cmd_symtab(); 17 extern int cmd_symtab();
17 extern int dump_filehdr_info(); 18 extern int dump_filehdr_info();
18 19
19 static struct cmdtab { 20 static struct cmdtab {
23 {"basics", cmd_basics}, 24 {"basics", cmd_basics},
24 {"dumpsym", cmd_symtab}, /* backward compat */ 25 {"dumpsym", cmd_symtab}, /* backward compat */
25 {"hdr", dump_filehdr_info}, 26 {"hdr", dump_filehdr_info},
26 {"nm", cmd_nm}, 27 {"nm", cmd_nm},
27 {"profile", cmd_profile}, 28 {"profile", cmd_profile},
29 {"rawrel", cmd_rawrel},
28 {"sechdr", cmd_sechdr}, 30 {"sechdr", cmd_sechdr},
29 {"symtab", cmd_symtab}, 31 {"symtab", cmd_symtab},
30 {0, 0} 32 {0, 0}
31 }; 33 };
32 34