diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-22 18:09:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-22 18:09:21 +0200 |
commit | 3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch) | |
tree | 6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /shell | |
parent | 663d1da1e68b15397c00d6a094f78c2cf08358ea (diff) | |
download | busybox-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 'shell')
-rw-r--r-- | shell/ash.c | 6 | ||||
-rw-r--r-- | shell/shell_common.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c index da9c95045..faa45a8dc 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -2750,7 +2750,7 @@ pwdcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
2750 | #else | 2750 | #else |
2751 | # define SIT_ITEM(a,b,c,d) (a | (b << 4) | (c << 8)) | 2751 | # define SIT_ITEM(a,b,c,d) (a | (b << 4) | (c << 8)) |
2752 | #endif | 2752 | #endif |
2753 | static const uint16_t S_I_T[] = { | 2753 | static const uint16_t S_I_T[] ALIGN2 = { |
2754 | #if ENABLE_ASH_ALIAS | 2754 | #if ENABLE_ASH_ALIAS |
2755 | SIT_ITEM(CSPCL , CIGN , CIGN , CIGN ), /* 0, PEOA */ | 2755 | SIT_ITEM(CSPCL , CIGN , CIGN , CIGN ), /* 0, PEOA */ |
2756 | #endif | 2756 | #endif |
@@ -2852,7 +2852,7 @@ SIT(int c, int syntax) | |||
2852 | 2852 | ||
2853 | #else /* !USE_SIT_FUNCTION */ | 2853 | #else /* !USE_SIT_FUNCTION */ |
2854 | 2854 | ||
2855 | static const uint8_t syntax_index_table[] = { | 2855 | static const uint8_t syntax_index_table[] ALIGN1 = { |
2856 | /* BASESYNTAX_DQSYNTAX_SQSYNTAX_ARISYNTAX */ | 2856 | /* BASESYNTAX_DQSYNTAX_SQSYNTAX_ARISYNTAX */ |
2857 | /* 0 */ CWORD_CWORD_CWORD_CWORD, | 2857 | /* 0 */ CWORD_CWORD_CWORD_CWORD, |
2858 | /* 1 */ CWORD_CWORD_CWORD_CWORD, | 2858 | /* 1 */ CWORD_CWORD_CWORD_CWORD, |
@@ -7977,7 +7977,7 @@ static char *funcstring; /* block to allocate strings from */ | |||
7977 | #define EV_TESTED 02 /* exit status is checked; ignore -e flag */ | 7977 | #define EV_TESTED 02 /* exit status is checked; ignore -e flag */ |
7978 | #define EV_BACKCMD 04 /* command executing within back quotes */ | 7978 | #define EV_BACKCMD 04 /* command executing within back quotes */ |
7979 | 7979 | ||
7980 | static const uint8_t nodesize[N_NUMBER] = { | 7980 | static const uint8_t nodesize[N_NUMBER] ALIGN1 = { |
7981 | [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)), | 7981 | [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)), |
7982 | [NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)), | 7982 | [NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)), |
7983 | [NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)), | 7983 | [NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)), |
diff --git a/shell/shell_common.c b/shell/shell_common.c index 8c9607c8c..14eeaafcc 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -328,7 +328,7 @@ enum { | |||
328 | }; | 328 | }; |
329 | 329 | ||
330 | /* "-": treat args as parameters of option with ASCII code 1 */ | 330 | /* "-": treat args as parameters of option with ASCII code 1 */ |
331 | static const char ulimit_opt_string[] = "-HSa" | 331 | static const char ulimit_opt_string[] ALIGN1 = "-HSa" |
332 | #ifdef RLIMIT_FSIZE | 332 | #ifdef RLIMIT_FSIZE |
333 | "f::" | 333 | "f::" |
334 | #endif | 334 | #endif |