projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca81a93
)
platform.h: disable ALIGNn macros for s390[x]
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 6 Aug 2012 15:17:15 +0000
(17:17 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 6 Aug 2012 15:17:15 +0000
(17:17 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/platform.h
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index ba534b28406941eb327514f902f7a1b8a9a774a0..4025561c697a7e9328fd01e9fae71c2641a6b77a 100644
(file)
--- 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)))