From: Denys Vlasenko Date: Mon, 6 Aug 2012 15:17:15 +0000 (+0200) Subject: platform.h: disable ALIGNn macros for s390[x] X-Git-Tag: 1_21_0~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2ffd710656d83c4bcc66cef10e1fe7deb1c47605;p=oweals%2Fbusybox.git platform.h: disable ALIGNn macros for s390[x] Signed-off-by: Denys Vlasenko --- 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; #define fdprintf dprintf /* Useful for defeating gcc's alignment of "char message[]"-like data */ -#if 1 /* if needed: !defined(arch1) && !defined(arch2) */ +#if !defined(__s390__) + /* on s390[x], non-word-aligned data accesses require larger code */ # define ALIGN1 __attribute__((aligned(1))) # define ALIGN2 __attribute__((aligned(2))) # define ALIGN4 __attribute__((aligned(4)))