OSDN Git Service

2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
authorironhead <ironhead>
Sat, 18 Jul 2009 15:09:18 +0000 (15:09 +0000)
committerironhead <ironhead>
Sat, 18 Jul 2009 15:09:18 +0000 (15:09 +0000)
        * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
        * CRT_fp10.c: Ditto.

winsup/mingw/CRT_fp10.c
winsup/mingw/CRT_fp8.c
winsup/mingw/ChangeLog

index a13fb00..516c86c 100644 (file)
@@ -13,4 +13,8 @@
 void _fpreset (void)
   { __asm__ ( "fninit" ) ;}
 
+#if defined(__PCC__)
+void _Pragma("alias _fpreset") fpreset(void);
+#else
 void __attribute__ ((alias ("_fpreset"))) fpreset(void);
+#endif
index d772d75..e9cfbad 100644 (file)
@@ -15,4 +15,8 @@ extern void (*_imp___fpreset)(void) ;
 void _fpreset (void)
 {  (*_imp___fpreset)(); }
 
+#if defined(__PCC__)
+void _Pragma("alias _fpreset") fpreset(void);
+#else
 void __attribute__ ((alias ("_fpreset"))) fpreset(void);
+#endif
index 6cebfaa..0ab0dc3 100644 (file)
@@ -1,5 +1,10 @@
 2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>
 
+       * CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
+       * CRT_fp10.c: Ditto.
+
+2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>
+
        * cpu_features.c: replace gcc-specific construct with portable alternative
        and match the code a few lines above.
        * crt1.c: remove gcc-specific noreturn attribute with mingw alternative