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 /coreutils/uname.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 'coreutils/uname.c')
-rw-r--r-- | coreutils/uname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c index a934c15f4..8f07f1960 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c | |||
@@ -38,8 +38,8 @@ typedef struct { | |||
38 | char processor[8]; /* for "unknown" */ | 38 | char processor[8]; /* for "unknown" */ |
39 | } uname_info_t; | 39 | } uname_info_t; |
40 | 40 | ||
41 | static const char options[] = "snrvmpa"; | 41 | static const char options[] ALIGN1 = "snrvmpa"; |
42 | static const unsigned short int utsname_offset[] = { | 42 | static const unsigned short utsname_offset[] ALIGN2 = { |
43 | offsetof(uname_info_t,name.sysname), | 43 | offsetof(uname_info_t,name.sysname), |
44 | offsetof(uname_info_t,name.nodename), | 44 | offsetof(uname_info_t,name.nodename), |
45 | offsetof(uname_info_t,name.release), | 45 | offsetof(uname_info_t,name.release), |