diff options
author | Denys Vlasenko | 2022-02-06 19:53:10 +0100 |
---|---|---|
committer | Denys Vlasenko | 2022-02-06 19:53:10 +0100 |
commit | ca466f385ac985a8b3491daa9f326dc480cdee70 (patch) | |
tree | 2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /include | |
parent | 4f40735c87f8292a87c066b3b7099b0be007cf59 (diff) | |
download | busybox-ca466f385ac985a8b3491daa9f326dc480cdee70.zip busybox-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz |
*: 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 'include')
-rw-r--r-- | include/platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index ad27bb3..ea0512f 100644 --- a/include/platform.h +++ b/include/platform.h @@ -346,6 +346,7 @@ typedef unsigned smalluint; # define ALIGN4 #endif #define ALIGN8 __attribute__((aligned(8))) +#define ALIGN_INT __attribute__((aligned(sizeof(int)))) #define ALIGN_PTR __attribute__((aligned(sizeof(void*)))) /* |