diff mbox

[libgcc] : Fix float128 soft-float for mingw targets

Message ID CAEwic4aPSH2dirmpLuh7SVOVNXWYxA+BTJ-+R=StQQaJ4_hoLw@mail.gmail.com
State New
Headers show

Commit Message

Kai Tietz Feb. 27, 2012, 5:22 p.m. UTC
So here is the libgcc patch only.

ChangeLog gcc's libgcc

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.

Ok for apply?

Regards,
Kai

Comments

Richard Henderson Feb. 28, 2012, 5:15 p.m. UTC | #1
On 02/27/12 09:22, Kai Tietz wrote:
> 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.

This is ok.


r~
diff mbox

Patch

Index: config/i386/sfp-machine.h
===================================================================
--- config/i386/sfp-machine.h	(revision 184486)
+++ config/i386/sfp-machine.h	(working copy)
@@ -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