diff ticoff/tables.c @ 74:2eef88395908

tiobjd: a little refactoring
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 25 Mar 2014 18:55:36 +0000
parents 10f3fbff5e97
children 1a23ff9a81de
line wrap: on
line diff
--- a/ticoff/tables.c	Tue Mar 25 18:34:03 2014 +0000
+++ b/ticoff/tables.c	Tue Mar 25 18:55:36 2014 +0000
@@ -78,22 +78,6 @@
 	}
 }
 
-cmd_sechdr()
-{
-	unsigned n;
-	struct internal_scnhdr *inf;
-
-	get_int_section_table();
-	for (n = 0; n < nsections; n++) {
-		inf = sections + n;
-		printf("#%d: %s size=%u, flags=0x%x\n", n, inf->name,
-			inf->size, inf->flags);
-		printf("\t%u reloc, %u line entries\n",
-			inf->nreloc, inf->nlineent);
-	}
-	exit(0);
-}
-
 get_int_symbol_table()
 {
 	unsigned n;