1
0
Fork 0

[ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80

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 <koen@dominion.kabel.utwente.nl>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>

Signed-off-by: Nicolas Pitre <nico@cam.org>

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
hifive-unleashed-5.1
Koen Kooi 2006-07-13 13:04:24 +01:00 committed by Russell King
parent 2704f0e69f
commit a9da396a37
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ typedef struct {
u16 __padding;
#endif
u64 low;
} floatx80;
} __attribute__ ((packed,aligned(4))) floatx80;
/*
-------------------------------------------------------------------------------