*: slap on a few ALIGN* where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map" function old new delta .rodata 108586 108460 -126 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-126) Total: -126 bytes text data bss dec hex filename 970412 4219 1848 976479 ee65f busybox_old 970286 4219 1848 976353 ee5e1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -71,7 +71,7 @@ static void bb_dump_addfile(dumper_t *dumper, char *name)
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
static const char *const add_strings[] = {
|
||||
static const char *const add_strings[] ALIGN_PTR = {
|
||||
"\"%07.7_ax \"16/1 \"%03o \"\"\n\"", /* b */
|
||||
"\"%07.7_ax \"16/1 \"%3_c \"\"\n\"", /* c */
|
||||
"\"%07.7_ax \"8/2 \" %05u \"\"\n\"", /* d */
|
||||
|
@ -93,7 +93,7 @@ enum {
|
||||
* The user namespace comes first, so that it is entered first.
|
||||
* This gives an unprivileged user the potential to enter other namespaces.
|
||||
*/
|
||||
static const struct namespace_descr ns_list[] = {
|
||||
static const struct namespace_descr ns_list[] ALIGN_INT = {
|
||||
{ CLONE_NEWUSER, "ns/user", },
|
||||
{ CLONE_NEWIPC, "ns/ipc", },
|
||||
{ CLONE_NEWUTS, "ns/uts", },
|
||||
|
@ -120,7 +120,7 @@ enum {
|
||||
NS_USR_POS, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */
|
||||
NS_COUNT,
|
||||
};
|
||||
static const struct namespace_descr ns_list[] = {
|
||||
static const struct namespace_descr ns_list[] ALIGN_INT = {
|
||||
{ CLONE_NEWNS, "mnt" },
|
||||
{ CLONE_NEWUTS, "uts" },
|
||||
{ CLONE_NEWIPC, "ipc" },
|
||||
|
Reference in New Issue
Block a user