aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-22 18:09:21 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-22 18:09:21 +0200
commit3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch)
tree6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /archival
parent663d1da1e68b15397c00d6a094f78c2cf08358ea (diff)
downloadbusybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.gz
busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.bz2
busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.zip
*: slap on a few ALIGN1/2s where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map" text data bss dec hex filename 829901 4086 1904 835891 cc133 busybox_before 829665 4086 1904 835655 cc047 busybox Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/libarchive/common.c2
-rw-r--r--archival/lzop.c2
-rw-r--r--archival/unzip.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/libarchive/common.c b/archival/libarchive/common.c
index dd69d2222..389cb7856 100644
--- a/archival/libarchive/common.c
+++ b/archival/libarchive/common.c
@@ -6,4 +6,4 @@
6#include "libbb.h" 6#include "libbb.h"
7#include "bb_archive.h" 7#include "bb_archive.h"
8 8
9const char cpio_TRAILER[] = "TRAILER!!!"; 9const char cpio_TRAILER[] ALIGN1 = "TRAILER!!!";
diff --git a/archival/lzop.c b/archival/lzop.c
index 4afa21889..202de4d03 100644
--- a/archival/lzop.c
+++ b/archival/lzop.c
@@ -896,7 +896,7 @@ static NOINLINE int lzo_decompress(const header_t *h)
896 * chksum_out 896 * chksum_out
897 * The rest is identical. 897 * The rest is identical.
898*/ 898*/
899static const unsigned char lzop_magic[9] = { 899static const unsigned char lzop_magic[9] ALIGN1 = {
900 0x89, 0x4c, 0x5a, 0x4f, 0x00, 0x0d, 0x0a, 0x1a, 0x0a 900 0x89, 0x4c, 0x5a, 0x4f, 0x00, 0x0d, 0x0a, 0x1a, 0x0a
901}; 901};
902 902
diff --git a/archival/unzip.c b/archival/unzip.c
index be32e60e2..c540485ac 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -487,7 +487,7 @@ int unzip_main(int argc, char **argv)
487 if (overwrite == O_PROMPT) 487 if (overwrite == O_PROMPT)
488 overwrite = O_NEVER; 488 overwrite = O_NEVER;
489 } else { 489 } else {
490 static const char extn[][5] = { ".zip", ".ZIP" }; 490 static const char extn[][5] ALIGN1 = { ".zip", ".ZIP" };
491 char *ext = src_fn + strlen(src_fn); 491 char *ext = src_fn + strlen(src_fn);
492 int src_fd; 492 int src_fd;
493 493