summaryrefslogtreecommitdiff
path: root/coreutils/od.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 /coreutils/od.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 'coreutils/od.c')
-rw-r--r--coreutils/od.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/od.c b/coreutils/od.c
index 00de080b6..114a746fa 100644
--- a/coreutils/od.c
+++ b/coreutils/od.c
@@ -131,7 +131,7 @@ odoffset(int argc, char ***argvp)
131 } 131 }
132} 132}
133 133
134static const char * const add_strings[] = { 134static const char *const add_strings[] = {
135 "16/1 \"%3_u \" \"\\n\"", /* a */ 135 "16/1 \"%3_u \" \"\\n\"", /* a */
136 "8/2 \" %06o \" \"\\n\"", /* B, o */ 136 "8/2 \" %06o \" \"\\n\"", /* B, o */
137 "16/1 \"%03o \" \"\\n\"", /* b */ 137 "16/1 \"%03o \" \"\\n\"", /* b */
@@ -147,9 +147,9 @@ static const char * const add_strings[] = {
147 "4/4 \" %011o \" \"\\n\"", /* O */ 147 "4/4 \" %011o \" \"\\n\"", /* O */
148}; 148};
149 149
150static const char od_opts[] = "aBbcDdeFfHhIiLlOoXxv"; 150static const char od_opts[] ALIGN1 = "aBbcDdeFfHhIiLlOoXxv";
151 151
152static const char od_o2si[] = { 152static const char od_o2si[] ALIGN1 = {
153 0, 1, 2, 3, 5, 153 0, 1, 2, 3, 5,
154 4, 6, 6, 7, 8, 154 4, 6, 6, 7, 8,
155 9, 0xa, 0xb, 0xa, 0xa, 155 9, 0xa, 0xb, 0xa, 0xa,