summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2012-02-28 21:53:35 +0100
committerKai Tietz <ktietz@gcc.gnu.org>2012-02-28 21:53:35 +0100
commitfbd3340c7d23016059693696aa07c51bc1c22aae (patch)
tree562e7c3c181c44e873e0b6dd10eab179f63f834d /libgcc
parent66432b8ef7504f693271a0c7947f437e30cd6336 (diff)
downloadgcc-fbd3340c7d23016059693696aa07c51bc1c22aae.tar.gz
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
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config/i386/sfp-machine.h5
2 files changed, 10 insertions, 0 deletions
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 <ktietz@redhat.com>
+
+ * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
+ for mingw-targets as attribute gcc_struct.
+
2012-02-28 Ian Lance Taylor <iant@google.com>
* 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