diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
commit | 6ca409e0e4c198fe3081346eebbae3f068fe605a (patch) | |
tree | 060cb05d99220a1eda399194d1209c269f0e8cd8 /util-linux/hexdump.c | |
parent | 4185548984357df91311f30c8e43d95f33922576 (diff) | |
download | busybox-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.c | 6 |
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 | ||
38 | static const char * const add_strings[] = { | 38 | static 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 | ||
46 | static const char add_first[] = "\"%07.7_Ax\n\""; | 46 | static const char add_first[] ALIGN1 = "\"%07.7_Ax\n\""; |
47 | 47 | ||
48 | static const char hexdump_opts[] = "bcdoxCe:f:n:s:v"; | 48 | static const char hexdump_opts[] ALIGN1 = "bcdoxCe:f:n:s:v"; |
49 | 49 | ||
50 | static const struct suffix_mult suffixes[] = { | 50 | static const struct suffix_mult suffixes[] = { |
51 | { "b", 512 }, | 51 | { "b", 512 }, |