OSDN Git Service

Correct atexit() and _onexit() export declaration regression.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Sun, 28 Feb 2016 21:16:41 +0000 (21:16 +0000)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Sun, 28 Feb 2016 21:16:41 +0000 (21:16 +0000)
mingwrt/ChangeLog
mingwrt/msvcrt-xref/msvcrt.def.in

index dbd8694..f97aade 100644 (file)
@@ -1,3 +1,10 @@
+2016-02-28  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct atexit() and _onexit() export declaration regression.
+
+       * msvcrt-xref/msvcrt.def.in (atexit, _onexit): These must be exported
+       as DATA; declare them accordingly.
+
 2016-02-18  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Refactor to make <parts/time.h> and <parts/wchar.h> redundant.
index f2ad243..d2bffdf 100644 (file)
@@ -1911,7 +1911,9 @@ _msize_debug
 # endif
 #endif
 _nextafter
-_onexit
+; pexports doesn't report it as such, but libmsvcrt.a needs
+; _onexit to be qualified as DATA.
+_onexit DATA
 _open
 _open_osfhandle
 #if __MSVCRT_VERSION__ < 0x09000000UL
@@ -2914,7 +2916,9 @@ atanh
 atanhf
 atanhl
 #endif
-atexit
+; pexports doesn't report it as such, but libmsvcrt.a needs
+; atexit to be qualified as DATA.
+atexit DATA
 atof
 atoi
 atol