platform.h: disable ALIGNn macros for s390[x]

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-08-06 17:17:15 +02:00
parent ca81a93722
commit 2ffd710656

View File

@ -284,7 +284,8 @@ typedef unsigned smalluint;
#define fdprintf dprintf #define fdprintf dprintf
/* Useful for defeating gcc's alignment of "char message[]"-like data */ /* 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 ALIGN1 __attribute__((aligned(1)))
# define ALIGN2 __attribute__((aligned(2))) # define ALIGN2 __attribute__((aligned(2)))
# define ALIGN4 __attribute__((aligned(4))) # define ALIGN4 __attribute__((aligned(4)))