diff ticoff/main.c @ 77:590396e27e96

tiobjd: basics dump streamlined
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 25 Mar 2014 22:47:51 +0000
parents 1a23ff9a81de
children 8f4996bff904
line wrap: on
line diff
--- a/ticoff/main.c	Tue Mar 25 20:39:44 2014 +0000
+++ b/ticoff/main.c	Tue Mar 25 22:47:51 2014 +0000
@@ -9,17 +9,20 @@
 #include <strings.h>
 #include "globals.h"
 
-extern int cmd_dumpsym();
+extern int cmd_basics();
 extern int cmd_sechdr();
+extern int cmd_symtab();
 extern int dump_filehdr_info();
 
 static struct cmdtab {
 	char	*cmd;
 	int	(*func)();
 } cmdtab[] = {
-	{"dumpsym", cmd_dumpsym},
+	{"basics", cmd_basics},
+	{"dumpsym", cmd_symtab},	/* backward compat */
 	{"hdr", dump_filehdr_info},
 	{"sechdr", cmd_sechdr},
+	{"symtab", cmd_symtab},
 	{0, 0}
 };