*: 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>
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
# include <sys/timex.h>
|
||||
#endif
|
||||
|
||||
static const uint16_t statlist_bit[] = {
|
||||
static const uint16_t statlist_bit[] ALIGN2 = {
|
||||
STA_PLL,
|
||||
STA_PPSFREQ,
|
||||
STA_PPSTIME,
|
||||
@ -45,7 +45,7 @@ static const uint16_t statlist_bit[] = {
|
||||
STA_CLOCKERR,
|
||||
0
|
||||
};
|
||||
static const char statlist_name[] =
|
||||
static const char statlist_name[] ALIGN1 =
|
||||
"PLL" "\0"
|
||||
"PPSFREQ" "\0"
|
||||
"PPSTIME" "\0"
|
||||
@ -61,7 +61,7 @@ static const char statlist_name[] =
|
||||
"CLOCKERR"
|
||||
;
|
||||
|
||||
static const char ret_code_descript[] =
|
||||
static const char ret_code_descript[] ALIGN1 =
|
||||
"clock synchronized" "\0"
|
||||
"insert leap second" "\0"
|
||||
"delete leap second" "\0"
|
||||
|
@ -40,7 +40,7 @@
|
||||
#if ENABLE_FEATURE_EJECT_SCSI
|
||||
static void eject_scsi(const char *dev)
|
||||
{
|
||||
static const char sg_commands[3][6] = {
|
||||
static const char sg_commands[3][6] ALIGN1 = {
|
||||
{ ALLOW_MEDIUM_REMOVAL, 0, 0, 0, 0, 0 },
|
||||
{ START_STOP, 0, 0, 0, 1, 0 },
|
||||
{ START_STOP, 0, 0, 0, 2, 0 }
|
||||
|
@ -41,7 +41,7 @@ enum {
|
||||
IOPRIO_CLASS_IDLE
|
||||
};
|
||||
|
||||
static const char to_prio[] = "none\0realtime\0best-effort\0idle";
|
||||
static const char to_prio[] ALIGN1 = "none\0realtime\0best-effort\0idle";
|
||||
|
||||
#define IOPRIO_CLASS_SHIFT 13
|
||||
|
||||
|
@ -257,7 +257,7 @@ enum print_mode
|
||||
#define CTL_CLOSE (1 << 3)
|
||||
#define CTL_NODIE (1 << 4)
|
||||
|
||||
static const char serial_types[] =
|
||||
static const char serial_types[] ALIGN1 =
|
||||
"unknown\0" /* 0 */
|
||||
"8250\0" /* 1 */
|
||||
"16450\0" /* 2 */
|
||||
@ -288,7 +288,7 @@ static const char serial_types[] =
|
||||
# define MAX_SERIAL_TYPE 13
|
||||
#endif
|
||||
|
||||
static const char commands[] =
|
||||
static const char commands[] ALIGN1 =
|
||||
"spd_normal\0"
|
||||
"spd_hi\0"
|
||||
"spd_vhi\0"
|
||||
@ -404,8 +404,8 @@ static const uint16_t setbits[CMD_FLAG_LAST + 1] =
|
||||
ASYNC_LOW_LATENCY
|
||||
};
|
||||
|
||||
static const char STR_INFINITE[] = "infinite";
|
||||
static const char STR_NONE[] = "none";
|
||||
#define STR_INFINITE "infinite"
|
||||
#define STR_NONE "none"
|
||||
|
||||
static const char *uart_type(int type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user