From 12980325f7a5b47df65ae258d489ec56ffb06cce Mon Sep 17 00:00:00 2001 From: Keith Marshall Date: Sun, 28 Feb 2016 21:16:41 +0000 Subject: [PATCH] Correct atexit() and _onexit() export declaration regression. --- mingwrt/ChangeLog | 7 +++++++ mingwrt/msvcrt-xref/msvcrt.def.in | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/mingwrt/ChangeLog b/mingwrt/ChangeLog index dbd8694..f97aade 100644 --- a/mingwrt/ChangeLog +++ b/mingwrt/ChangeLog @@ -1,3 +1,10 @@ +2016-02-28 Keith Marshall + + 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 Refactor to make and redundant. diff --git a/mingwrt/msvcrt-xref/msvcrt.def.in b/mingwrt/msvcrt-xref/msvcrt.def.in index f2ad243..d2bffdf 100644 --- a/mingwrt/msvcrt-xref/msvcrt.def.in +++ b/mingwrt/msvcrt-xref/msvcrt.def.in @@ -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 -- 2.11.0