summaryrefslogtreecommitdiff
path: root/util-linux/hexdump.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /util-linux/hexdump.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'util-linux/hexdump.c')
-rw-r--r--util-linux/hexdump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c
index 213f6071b..e294f19da 100644
--- a/util-linux/hexdump.c
+++ b/util-linux/hexdump.c
@@ -35,7 +35,7 @@ static void bb_dump_addfile(char *name)
35 fclose(fp); 35 fclose(fp);
36} 36}
37 37
38static const char * const add_strings[] = { 38static const char *const add_strings[] = {
39 "\"%07.7_ax \" 16/1 \"%03o \" \"\\n\"", /* b */ 39 "\"%07.7_ax \" 16/1 \"%03o \" \"\\n\"", /* b */
40 "\"%07.7_ax \" 16/1 \"%3_c \" \"\\n\"", /* c */ 40 "\"%07.7_ax \" 16/1 \"%3_c \" \"\\n\"", /* c */
41 "\"%07.7_ax \" 8/2 \" %05u \" \"\\n\"", /* d */ 41 "\"%07.7_ax \" 8/2 \" %05u \" \"\\n\"", /* d */
@@ -43,9 +43,9 @@ static const char * const add_strings[] = {
43 "\"%07.7_ax \" 8/2 \" %04x \" \"\\n\"", /* x */ 43 "\"%07.7_ax \" 8/2 \" %04x \" \"\\n\"", /* x */
44}; 44};
45 45
46static const char add_first[] = "\"%07.7_Ax\n\""; 46static const char add_first[] ALIGN1 = "\"%07.7_Ax\n\"";
47 47
48static const char hexdump_opts[] = "bcdoxCe:f:n:s:v"; 48static const char hexdump_opts[] ALIGN1 = "bcdoxCe:f:n:s:v";
49 49
50static const struct suffix_mult suffixes[] = { 50static const struct suffix_mult suffixes[] = {
51 { "b", 512 }, 51 { "b", 512 },