From fbd3340c7d23016059693696aa07c51bc1c22aae Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Tue, 28 Feb 2012 21:53:35 +0100 Subject: sfp-machine.h (_FP_STRUCT_LAYOUT): Define it for mingw-targets as attribute gcc_struct. * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it for mingw-targets as attribute gcc_struct. From-SVN: r184641 --- libgcc/ChangeLog | 5 +++++ libgcc/config/i386/sfp-machine.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'libgcc') diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 8324c743687..275d7f2c443 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2012-02-28 Kai Tietz + + * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it + for mingw-targets as attribute gcc_struct. + 2012-02-28 Ian Lance Taylor * generic-morestack.c (__splitstack_releasecontext): Correct call diff --git a/libgcc/config/i386/sfp-machine.h b/libgcc/config/i386/sfp-machine.h index f2df869653f..eb4b8bfb5fd 100644 --- a/libgcc/config/i386/sfp-machine.h +++ b/libgcc/config/i386/sfp-machine.h @@ -1,3 +1,8 @@ +#ifdef __MINGW32__ + /* Make sure we are using gnu-style bitfield handling. */ +#define _FP_STRUCT_LAYOUT __attribute__ ((gcc_struct)) +#endif + #ifdef __x86_64__ #include "config/i386/64/sfp-machine.h" #else -- cgit v1.2.1