Both _NLG_Dispatch2 and _NLG_Return symbols in i386 version have stdcall
convention, like in all other CRT libraries. So add missing @4 / @12.

Also sort symbols by name and make library name uppercase as it is stored
in the vcruntime140_app.dll and as gendef detects it.
---
 mingw-w64-crt/lib-common/vcruntime140_app.def.in | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/mingw-w64-crt/lib-common/vcruntime140_app.def.in 
b/mingw-w64-crt/lib-common/vcruntime140_app.def.in
index f4f70060ecb9..1f13abb0f71f 100644
--- a/mingw-w64-crt/lib-common/vcruntime140_app.def.in
+++ b/mingw-w64-crt/lib-common/vcruntime140_app.def.in
@@ -1,5 +1,4 @@
-LIBRARY vcruntime140_app
-
+LIBRARY "VCRUNTIME140_APP.dll"
 EXPORTS
 
 #include "func.def.in"
@@ -10,8 +9,8 @@ F_NON_I386(_CxxThrowException)
 F_I386(_EH_prolog)
 _FindAndUnlinkFrame
 _IsExceptionObjectToBeDestroyed
-F_I386(_NLG_Dispatch2)
-F_I386(_NLG_Return)
+F_I386(_NLG_Dispatch2@4)
+F_I386(_NLG_Return@12)
 F_I386(_NLG_Return2)
 _SetWinRTOutOfMemoryExceptionCallback
 __AdjustPointer
@@ -69,10 +68,10 @@ _get_purecall_handler
 _get_unexpected
 F_I386(_global_unwind2)
 _is_exception_typeof
+F64(_local_unwind)
 F_I386(_local_unwind2)
 F_I386(_local_unwind4)
 F_I386(_longjmpex)
-F64(_local_unwind)
 _purecall
 F_I386(_seh_longjmp_unwind4@4)
 F_I386(_seh_longjmp_unwind@4)
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to