Am Mo., 8. Apr. 2024 um 16:25 Uhr schrieb LIU Hao :
>
> 在 2024-04-06 18:48, Oleg Tolmatcev 写道:
> > Hello,
> >
> > this is needed by PCSX2.
> >
>
> Would the attached patch look good to you?
Yes it looks good. Thank you.
___
Mingw-w64-public mailing lis
Symbols _swprintf and _vswprintf were added in Windows Vista and have same
meaning as symbols without leading underscore in msvcrt.dll. These symbols
(both with and without leading underscore) differs from C99 variant as they
do not take maxlen parameter.
For compatibility with pre-Vista systems,
X64 llabs and imaxabs are already defined as aliases to _abs64. Do same for
I386 build.
---
mingw-w64-crt/Makefile.am | 5 +
mingw-w64-crt/lib32/msvcr80.def.in | 2 ++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
---
mingw-w64-crt/lib32/msvcr80.def.in | 1443 ++--
mingw-w64-crt/lib64/msvcr80.def.in | 1311 +
2 files changed, 1376 insertions(+), 1378 deletions(-)
diff --git a/mingw-w64-crt/lib32/msvcr80.def.in
b/mingw-w64-crt/lib32/msvcr80.def.in
index 60573
In all other msvcr* versions is X64 pow and powf defined as DATA. Do it
also in msvcr80.def.in.
---
mingw-w64-crt/lib64/msvcr80.def.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mingw-w64-crt/lib64/msvcr80.def.in
b/mingw-w64-crt/lib64/msvcr80.def.in
index 6fa6ef37c13a
It looks like that lib64/msvcr80.def.in file contains X64 C++ symbols not
from the msvcr80.dll library but from the Windows XP x64 msvcrt.dll
library. X64 version of msvcrt.dll and msvcr80.dll have different C++
symbols but relatively same set of C symbols.
Replace incorrect X64 C++ symbols in lib
Add I386 C++ symbols from Visual C++ 2005 SP1 I386 msvcr80.dll library.
---
mingw-w64-crt/lib32/msvcr80.def.in | 141 +
1 file changed, 141 insertions(+)
diff --git a/mingw-w64-crt/lib32/msvcr80.def.in
b/mingw-w64-crt/lib32/msvcr80.def.in
index e0d8ad569e13..90d4014e7
All symbols are extracted from the latest version of msvcr80.dll library
which is Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package
MFC Security Update available for download at page:
https://www.microsoft.com/download/details.aspx?id=26347
---
mingw-w64-crt/lib32/msvcr80.def.in | 5
I386 symbols __CxxLongjmpUnwind, _adj_fdiv_m*, _adj_fdivr_m* and
_seh_longjmp_unwind have @SIZE suffix in I386 version of msvcr80.dll.
Fix symbol names in lib32/msvcr80.def.in file.
---
mingw-w64-crt/lib32/msvcr80.def.in | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
__lc_clike and _mbcasemap symbols are DATA in all msvcr*.dll libraries,
including I386 variant of msvcr80.dll. So fix lib32/msvcr80.def.in file.
---
mingw-w64-crt/lib32/msvcr80.def.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mingw-w64-crt/lib32/msvcr80.def.in
b/ming
Symbols __p__fileinfo, _ctype, _fileinfo, _ftime, _futime, _mbscat,
_mbscpy, _mbsdup, _strcmpi, _utime, _wutime, difftime, swprintf, vswprintf,
__buffer_overrun, __security_error_handler, __set_buffer_overrun_handler,
_set_security_error_handler and _wctype are not present in any variant of
msvcr80
在 2024-04-06 18:48, Oleg Tolmatcev 写道:
Hello,
this is needed by PCSX2.
Would the attached patch look good to you?
--
Best regards,
LIU Hao
From 52d6399f66c73a779f9b59391db3d59d98864e36 Mon Sep 17 00:00:00 2001
From: LIU Hao
Date: Mon, 8 Apr 2024 22:22:39 +0800
Subject: [PATCH] headers/pat
在 2024-04-06 06:19, Pali Rohár 写道:
Commit c52f1eb09901e038ceb7012730e7cf3395d65a78 incorectly stated that
_strtoi64 and _strtoui64 symbols are available since the first release of
msvcrt.dll library (part of MS Visual C++ 4.2).
But only the symbol _atoi64 mentioned in that commit is available si
在 2024-04-08 00:24, Pali Rohár 写道:
For non-msvcrtos builds are global variables __MINGW_IMP_SYMBOL(_scprintf)
__MINGW_IMP_SYMBOL(_vscprintf) not changing, they are constant.
So define _scprintf and _vscprintf functions as direct alias to
emu_scprintf and emu_vscprintf functions instead of via in
14 matches
Mail list logo