diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-02-06 19:53:10 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-02-06 19:53:10 +0100 |
commit | ca466f385ac985a8b3491daa9f326dc480cdee70 (patch) | |
tree | 2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /libbb | |
parent | 4f40735c87f8292a87c066b3b7099b0be007cf59 (diff) | |
download | busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.bz2 busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.zip |
*: 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>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/appletlib.c | 2 | ||||
-rw-r--r-- | libbb/get_console.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 03389f541..841b3b873 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -651,7 +651,7 @@ static void check_suid(int applet_no) | |||
651 | # if ENABLE_FEATURE_INSTALLER | 651 | # if ENABLE_FEATURE_INSTALLER |
652 | static const char usr_bin [] ALIGN1 = "/usr/bin/"; | 652 | static const char usr_bin [] ALIGN1 = "/usr/bin/"; |
653 | static const char usr_sbin[] ALIGN1 = "/usr/sbin/"; | 653 | static const char usr_sbin[] ALIGN1 = "/usr/sbin/"; |
654 | static const char *const install_dir[] = { | 654 | static const char *const install_dir[] ALIGN_PTR = { |
655 | &usr_bin [8], /* "/" */ | 655 | &usr_bin [8], /* "/" */ |
656 | &usr_bin [4], /* "/bin/" */ | 656 | &usr_bin [4], /* "/bin/" */ |
657 | &usr_sbin[4] /* "/sbin/" */ | 657 | &usr_sbin[4] /* "/sbin/" */ |
diff --git a/libbb/get_console.c b/libbb/get_console.c index 7f2c75332..9044efea1 100644 --- a/libbb/get_console.c +++ b/libbb/get_console.c | |||
@@ -37,7 +37,7 @@ static int open_a_console(const char *fnam) | |||
37 | */ | 37 | */ |
38 | int FAST_FUNC get_console_fd_or_die(void) | 38 | int FAST_FUNC get_console_fd_or_die(void) |
39 | { | 39 | { |
40 | static const char *const console_names[] = { | 40 | static const char *const console_names[] ALIGN_PTR = { |
41 | DEV_CONSOLE, CURRENT_VC, CURRENT_TTY | 41 | DEV_CONSOLE, CURRENT_VC, CURRENT_TTY |
42 | }; | 42 | }; |
43 | 43 | ||