diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-08-06 17:17:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-08-06 17:17:15 +0200 |
commit | 2ffd710656d83c4bcc66cef10e1fe7deb1c47605 (patch) | |
tree | 5762daa655e98232e8d1de8690768afd998e5203 | |
parent | ca81a937225714f75157eb596d90255243ae2e29 (diff) | |
download | busybox-w32-2ffd710656d83c4bcc66cef10e1fe7deb1c47605.tar.gz busybox-w32-2ffd710656d83c4bcc66cef10e1fe7deb1c47605.tar.bz2 busybox-w32-2ffd710656d83c4bcc66cef10e1fe7deb1c47605.zip |
platform.h: disable ALIGNn macros for s390[x]
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/platform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index ba534b284..4025561c6 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -284,7 +284,8 @@ typedef unsigned smalluint; | |||
284 | #define fdprintf dprintf | 284 | #define fdprintf dprintf |
285 | 285 | ||
286 | /* Useful for defeating gcc's alignment of "char message[]"-like data */ | 286 | /* Useful for defeating gcc's alignment of "char message[]"-like data */ |
287 | #if 1 /* if needed: !defined(arch1) && !defined(arch2) */ | 287 | #if !defined(__s390__) |
288 | /* on s390[x], non-word-aligned data accesses require larger code */ | ||
288 | # define ALIGN1 __attribute__((aligned(1))) | 289 | # define ALIGN1 __attribute__((aligned(1))) |
289 | # define ALIGN2 __attribute__((aligned(2))) | 290 | # define ALIGN2 __attribute__((aligned(2))) |
290 | # define ALIGN4 __attribute__((aligned(4))) | 291 | # define ALIGN4 __attribute__((aligned(4))) |