projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2704f0e
)
[ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80
author
Koen Kooi
<
[email protected]
>
Thu, 13 Jul 2006 12:04:24 +0000
(13:04 +0100)
committer
Russell King
<
[email protected]
>
Thu, 13 Jul 2006 12:04:24 +0000
(13:04 +0100)
Patch from Koen Kooi
EABI padding rules necessitate the packed attribute of floatx80,
otherwise nwfpe complains about invalid structure sizes.
Signed-off-by: Koen Kooi <
[email protected]
>
Signed-off-by: Lennert Buytenhek <
[email protected]
>
Signed-off-by: Nicolas Pitre <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
arch/arm/nwfpe/softfloat.h
patch
|
blob
|
history
diff --git
a/arch/arm/nwfpe/softfloat.h
b/arch/arm/nwfpe/softfloat.h
index e1125bc39ee49ba57eea514cd79d1078385bbd8f..0a3067452cd29767544cc4b3198d7eabc0a32b7c 100644
(file)
--- a/
arch/arm/nwfpe/softfloat.h
+++ b/
arch/arm/nwfpe/softfloat.h
@@
-61,7
+61,7
@@
typedef struct {
u16 __padding;
#endif
u64 low;
-} floatx80;
+}
__attribute__ ((packed,aligned(4)))
floatx80;
/*
-------------------------------------------------------------------------------