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 /archival | |
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 'archival')
-rw-r--r-- | archival/dpkg.c | 2 | ||||
-rw-r--r-- | archival/libarchive/bz/blocksort.c | 2 | ||||
-rw-r--r-- | archival/libarchive/data_extract_to_command.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 68a40bf6e..bf070a001 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -1304,7 +1304,7 @@ postrm abort-install <old_version> | |||
1304 | postrm abort-upgrade <old_version> | 1304 | postrm abort-upgrade <old_version> |
1305 | postrm disappear <overwriter> <version> | 1305 | postrm disappear <overwriter> <version> |
1306 | */ | 1306 | */ |
1307 | static const char *const all_control_files[] = { | 1307 | static const char *const all_control_files[] ALIGN_PTR = { |
1308 | "preinst", "postinst", "prerm", "postrm", | 1308 | "preinst", "postinst", "prerm", "postrm", |
1309 | "list", "md5sums", "shlibs", "conffiles", | 1309 | "list", "md5sums", "shlibs", "conffiles", |
1310 | "config", "templates" | 1310 | "config", "templates" |
diff --git a/archival/libarchive/bz/blocksort.c b/archival/libarchive/bz/blocksort.c index 92d6d8251..062fd0f54 100644 --- a/archival/libarchive/bz/blocksort.c +++ b/archival/libarchive/bz/blocksort.c | |||
@@ -459,7 +459,7 @@ int mainGtU(EState* state, | |||
459 | * usually small, typically <= 20. | 459 | * usually small, typically <= 20. |
460 | */ | 460 | */ |
461 | static | 461 | static |
462 | const uint32_t incs[14] = { | 462 | const uint32_t incs[14] ALIGN4 = { |
463 | 1, 4, 13, 40, 121, 364, 1093, 3280, | 463 | 1, 4, 13, 40, 121, 364, 1093, 3280, |
464 | 9841, 29524, 88573, 265720, | 464 | 9841, 29524, 88573, 265720, |
465 | 797161, 2391484 | 465 | 797161, 2391484 |
diff --git a/archival/libarchive/data_extract_to_command.c b/archival/libarchive/data_extract_to_command.c index 0fcabb4a9..f8b2ff8d2 100644 --- a/archival/libarchive/data_extract_to_command.c +++ b/archival/libarchive/data_extract_to_command.c | |||
@@ -20,7 +20,7 @@ enum { | |||
20 | TAR_MAX, | 20 | TAR_MAX, |
21 | }; | 21 | }; |
22 | 22 | ||
23 | static const char *const tar_var[] = { | 23 | static const char *const tar_var[] ALIGN_PTR = { |
24 | // "FILETYPE", | 24 | // "FILETYPE", |
25 | "MODE", | 25 | "MODE", |
26 | "FILENAME", | 26 | "FILENAME", |