diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-11-30 13:03:03 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-11-30 13:03:03 +0100 |
commit | 965b795b87c59ed45cc7f16a62301dbae65b1627 (patch) | |
tree | 958e486f4f23177746ddee11913d3b59ff4e7f8e /coreutils/stty.c | |
parent | 2fba2f5bb99145eaa1635fe5a162426158d56a2c (diff) | |
download | busybox-w32-965b795b87c59ed45cc7f16a62301dbae65b1627.tar.gz busybox-w32-965b795b87c59ed45cc7f16a62301dbae65b1627.tar.bz2 busybox-w32-965b795b87c59ed45cc7f16a62301dbae65b1627.zip |
decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly
text data bss dec hex filename
1021988 559 5052 1027599 fae0f busybox_old
1021236 559 5052 1026847 fab1f busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r-- | coreutils/stty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c index 40e812799..19253964c 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -487,7 +487,7 @@ static const char mode_name[] ALIGN1 = | |||
487 | #undef MI_ENTRY | 487 | #undef MI_ENTRY |
488 | #define MI_ENTRY(N,T,F,B,M) { T, F, M, B }, | 488 | #define MI_ENTRY(N,T,F,B,M) { T, F, M, B }, |
489 | 489 | ||
490 | static const struct mode_info mode_info[] = { | 490 | static const struct mode_info mode_info[] ALIGN4 = { |
491 | /* This should be verbatim cut-n-paste copy of the above MI_ENTRYs */ | 491 | /* This should be verbatim cut-n-paste copy of the above MI_ENTRYs */ |
492 | MI_ENTRY("evenp", combination, REV | OMIT, 0, 0 ) | 492 | MI_ENTRY("evenp", combination, REV | OMIT, 0, 0 ) |
493 | MI_ENTRY("parity", combination, REV | OMIT, 0, 0 ) | 493 | MI_ENTRY("parity", combination, REV | OMIT, 0, 0 ) |
@@ -905,7 +905,7 @@ static void display_window_size(int fancy) | |||
905 | } | 905 | } |
906 | } | 906 | } |
907 | 907 | ||
908 | static const struct suffix_mult stty_suffixes[] = { | 908 | static const struct suffix_mult stty_suffixes[] ALIGN_SUFFIX = { |
909 | { "b", 512 }, | 909 | { "b", 512 }, |
910 | { "k", 1024 }, | 910 | { "k", 1024 }, |
911 | { "B", 1024 }, | 911 | { "B", 1024 }, |