aboutsummaryrefslogtreecommitdiff
path: root/coreutils/od_bloaty.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-11-30 13:03:03 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-11-30 13:03:03 +0100
commit965b795b87c59ed45cc7f16a62301dbae65b1627 (patch)
tree958e486f4f23177746ddee11913d3b59ff4e7f8e /coreutils/od_bloaty.c
parent2fba2f5bb99145eaa1635fe5a162426158d56a2c (diff)
downloadbusybox-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/od_bloaty.c')
-rw-r--r--coreutils/od_bloaty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c
index e9c071f3a..d5bd7bfe8 100644
--- a/coreutils/od_bloaty.c
+++ b/coreutils/od_bloaty.c
@@ -627,7 +627,7 @@ decode_one_format(const char *s_orig, const char *s, struct tspec *tspec)
627 bytes_to_unsigned_dec_digits, 627 bytes_to_unsigned_dec_digits,
628 bytes_to_hex_digits, 628 bytes_to_hex_digits,
629 }; 629 };
630 static const char doux_fmtstring[][sizeof(" %%0%u%s")] = { 630 static const char doux_fmtstring[][sizeof(" %%0%u%s")] ALIGN1 = {
631 " %%%u%s", 631 " %%%u%s",
632 " %%0%u%s", 632 " %%0%u%s",
633 " %%%u%s", 633 " %%%u%s",
@@ -1148,7 +1148,7 @@ dump_strings(off_t address, off_t end_offset)
1148static int 1148static int
1149parse_old_offset(const char *s, off_t *offset) 1149parse_old_offset(const char *s, off_t *offset)
1150{ 1150{
1151 static const struct suffix_mult Bb[] = { 1151 static const struct suffix_mult Bb[] ALIGN_SUFFIX = {
1152 { "B", 1024 }, 1152 { "B", 1024 },
1153 { "b", 512 }, 1153 { "b", 512 },
1154 { "", 0 } 1154 { "", 0 }