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 /libbb/mode_string.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 'libbb/mode_string.c')
-rw-r--r-- | libbb/mode_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mode_string.c b/libbb/mode_string.c index d3ff18375..d17cc4a43 100644 --- a/libbb/mode_string.c +++ b/libbb/mode_string.c | |||
@@ -47,9 +47,9 @@ static const mode_t mode_flags[] = { | |||
47 | 47 | ||
48 | /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', | 48 | /* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C', |
49 | * and 'B' types don't appear to be available on linux. So I removed them. */ | 49 | * and 'B' types don't appear to be available on linux. So I removed them. */ |
50 | static const char type_chars[16] = "?pc?d?b?-?l?s???"; | 50 | static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???"; |
51 | /* 0123456789abcdef */ | 51 | /* 0123456789abcdef */ |
52 | static const char mode_chars[7] = "rwxSTst"; | 52 | static const char mode_chars[7] ALIGN1 = "rwxSTst"; |
53 | 53 | ||
54 | const char *bb_mode_string(mode_t mode) | 54 | const char *bb_mode_string(mode_t mode) |
55 | { | 55 | { |