OSDN Git Service

2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
authorironhead <ironhead>
Sat, 18 Jul 2009 15:05:20 +0000 (15:05 +0000)
committerironhead <ironhead>
Sat, 18 Jul 2009 15:05:20 +0000 (15:05 +0000)
        * 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

winsup/mingw/ChangeLog
winsup/mingw/cpu_features.c
winsup/mingw/crt1.c

index 55bd536..6cebfaa 100644 (file)
@@ -1,5 +1,11 @@
 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
+
+2009-07-18  Gregory McGarry  <gregorymcgarry@users.sourceforge.net>
+
        * include/_mingw.h: Changes required for PCC compiler.
 
 2009-07-18 Jeff Lu  <jll544@yahoo.com>
index 5e2c265..0069734 100755 (executable)
@@ -19,7 +19,7 @@
 #define EDX_LM (1 << 29) /*LONG MODE */
 
 #define __cpuid(level,a,b,c,d)                                 \
-  __asm__ __volatile__ ("cpuid;"                               \
+  asm volatile ("cpuid;"                               \
                        : "=a" (a), "=b" (b), "=c" (c), "=d" (d)\
                        : "0" (level))
 
index 6ab7c1d..ad3ed71 100644 (file)
@@ -181,7 +181,7 @@ _gnu_exception_handler (EXCEPTION_POINTERS * exception_data)
 /*
  * The function mainCRTStartup is the entry point for all console programs.
  */
-static void  __attribute__((noreturn))
+static void  __MINGW_ATTRIB_NORETURN
 __mingw_CRTStartup (void)
 {
   int nRet;