mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
mingw-w64: update CRT files to latest git commit
Upstream commit dddccbc3ef50ac52bf00723fd2f68d98140aab80 * adds ucrtbase.def.in * mingwex: replace mingw crt files with ucrt files * adds missing mingw-w64 ucrt files The rules that govern which set of files are included or excluded is contained in the logic for tools/update_mingw.zig
This commit is contained in:
parent
491b460e0a
commit
c26bace606
1753 changed files with 112577 additions and 11070 deletions
25
lib/libc/mingw/complex/cacosh.def.h
vendored
25
lib/libc/mingw/complex/cacosh.def.h
vendored
|
|
@ -80,12 +80,33 @@ __FLT_ABI(cacosh) (__FLT_TYPE __complex__ z)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* cacosh(z) = log(z + sqrt(z*z - 1)) */
|
||||
|
||||
if (__FLT_ABI(fabs) (__real__ z) >= __FLT_CST(1.0)/__FLT_EPSILON
|
||||
|| __FLT_ABI(fabs) (__imag__ z) >= __FLT_CST(1.0)/__FLT_EPSILON)
|
||||
{
|
||||
/* For large z, z + sqrt(z*z - 1) is approximately 2*z.
|
||||
Use that approximation to avoid overflow when squaring.
|
||||
Additionally, use symmetries to perform the calculation in the positive
|
||||
half plane. */
|
||||
__real__ x = __real__ z;
|
||||
__imag__ x = __FLT_ABI(fabs) (__imag__ z);
|
||||
x = __FLT_ABI(clog) (x);
|
||||
__real__ x += M_LN2;
|
||||
|
||||
/* adjust signs for input */
|
||||
__real__ ret = __real__ x;
|
||||
__imag__ ret = __FLT_ABI(copysign) (__imag__ x, __imag__ z);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
__real__ x = (__real__ z - __imag__ z) * (__real__ z + __imag__ z) - __FLT_CST(1.0);
|
||||
__imag__ x = __FLT_CST(2.0) * __real__ z * __imag__ z;
|
||||
|
||||
x = __FLT_ABI(csqrt) (x);
|
||||
|
||||
if (__real__ z < __FLT_CST(0.0))
|
||||
if (signbit (__real__ z))
|
||||
x = -x;
|
||||
|
||||
__real__ x += __real__ z;
|
||||
|
|
@ -93,7 +114,7 @@ __FLT_ABI(cacosh) (__FLT_TYPE __complex__ z)
|
|||
|
||||
ret = __FLT_ABI(clog) (x);
|
||||
|
||||
if (__real__ ret < __FLT_CST(0.0))
|
||||
if (signbit (__real__ ret))
|
||||
ret = -ret;
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
69
lib/libc/mingw/complex/casinh.def.h
vendored
69
lib/libc/mingw/complex/casinh.def.h
vendored
|
|
@ -47,6 +47,7 @@ __FLT_ABI(casinh) (__FLT_TYPE __complex__ z)
|
|||
{
|
||||
__complex__ __FLT_TYPE ret;
|
||||
__complex__ __FLT_TYPE x;
|
||||
__FLT_TYPE arz, aiz;
|
||||
int r_class = fpclassify (__real__ z);
|
||||
int i_class = fpclassify (__imag__ z);
|
||||
|
||||
|
|
@ -87,13 +88,69 @@ __FLT_ABI(casinh) (__FLT_TYPE __complex__ z)
|
|||
if (r_class == FP_ZERO && i_class == FP_ZERO)
|
||||
return z;
|
||||
|
||||
__real__ x = (__real__ z - __imag__ z) * (__real__ z + __imag__ z) + __FLT_CST(1.0);
|
||||
__imag__ x = __FLT_CST(2.0) * __real__ z * __imag__ z;
|
||||
/* casinh(z) = log(z + sqrt(z*z + 1)) */
|
||||
|
||||
x = __FLT_ABI(csqrt) (x);
|
||||
/* Use symmetries to perform the calculation in the first quadrant. */
|
||||
arz = __FLT_ABI(fabs) (__real__ z);
|
||||
aiz = __FLT_ABI(fabs) (__imag__ z);
|
||||
|
||||
__real__ x += __real__ z;
|
||||
__imag__ x += __imag__ z;
|
||||
if (arz >= __FLT_CST(1.0)/__FLT_EPSILON
|
||||
|| aiz >= __FLT_CST(1.0)/__FLT_EPSILON)
|
||||
{
|
||||
/* For large z, z + sqrt(z*z + 1) is approximately 2*z.
|
||||
Use that approximation to avoid overflow when squaring. */
|
||||
__real__ x = arz;
|
||||
__imag__ x = aiz;
|
||||
ret = __FLT_ABI(clog) (x);
|
||||
__real__ ret += M_LN2;
|
||||
}
|
||||
else if (aiz < __FLT_CST(1.0) && arz <= __FLT_EPSILON)
|
||||
{
|
||||
/* Taylor series expansion around arz=0 for z + sqrt(z*z + 1):
|
||||
c = arz + sqrt(1-aiz^2) + i*(aiz + arz*aiz / sqrt(1-aiz^2)) + O(arz^2)
|
||||
Identity: clog(c) = log(|c|) + i*arg(c)
|
||||
For real part of result:
|
||||
|c| = 1 + arz / sqrt(1-aiz^2) + O(arz^2) (Taylor series expansion)
|
||||
For imaginary part of result:
|
||||
c = (arz + sqrt(1-aiz^2))/sqrt(1-aiz^2) * (sqrt(1-aiz^2) + i*aiz) + O(arz^6)
|
||||
*/
|
||||
__FLT_TYPE s1maiz2 = __FLT_ABI(sqrt) ((__FLT_CST(1.0)+aiz)*(__FLT_CST(1.0)-aiz));
|
||||
__real__ ret = __FLT_ABI(log1p) (arz / s1maiz2);
|
||||
__imag__ ret = __FLT_ABI(atan2) (aiz, s1maiz2);
|
||||
}
|
||||
else if (aiz < __FLT_CST(1.0) && arz*arz <= __FLT_EPSILON)
|
||||
{
|
||||
/* Taylor series expansion around arz=0 for z + sqrt(z*z + 1):
|
||||
c = arz + sqrt(1-aiz^2) + arz^2 / (2*(1-aiz^2)^(3/2)) + i*(aiz + arz*aiz / sqrt(1-aiz^2)) + O(arz^4)
|
||||
Identity: clog(c) = log(|c|) + i*arg(c)
|
||||
For real part of result:
|
||||
|c| = 1 + arz / sqrt(1-aiz^2) + arz^2/(2*(1-aiz^2)) + O(arz^3) (Taylor series expansion)
|
||||
For imaginary part of result:
|
||||
c = 1/sqrt(1-aiz^2) * ((1-aiz^2) + arz*sqrt(1-aiz^2) + arz^2/(2*(1-aiz^2)) + i*aiz*(sqrt(1-aiz^2)+arz)) + O(arz^3)
|
||||
*/
|
||||
__FLT_TYPE onemaiz2 = (__FLT_CST(1.0)+aiz)*(__FLT_CST(1.0)-aiz);
|
||||
__FLT_TYPE s1maiz2 = __FLT_ABI(sqrt) (onemaiz2);
|
||||
__FLT_TYPE arz2red = arz * arz / __FLT_CST(2.0) / s1maiz2;
|
||||
__real__ ret = __FLT_ABI(log1p) ((arz + arz2red) / s1maiz2);
|
||||
__imag__ ret = __FLT_ABI(atan2) (aiz * (s1maiz2 + arz),
|
||||
onemaiz2 + arz*s1maiz2 + arz2red);
|
||||
}
|
||||
else
|
||||
{
|
||||
__real__ x = (arz - aiz) * (arz + aiz) + __FLT_CST(1.0);
|
||||
__imag__ x = __FLT_CST(2.0) * arz * aiz;
|
||||
|
||||
return __FLT_ABI(clog) (x);
|
||||
x = __FLT_ABI(csqrt) (x);
|
||||
|
||||
__real__ x += arz;
|
||||
__imag__ x += aiz;
|
||||
|
||||
ret = __FLT_ABI(clog) (x);
|
||||
}
|
||||
|
||||
/* adjust signs for input quadrant */
|
||||
__real__ ret = __FLT_ABI(copysign) (__real__ ret, __real__ z);
|
||||
__imag__ ret = __FLT_ABI(copysign) (__imag__ ret, __imag__ z);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
37
lib/libc/mingw/complex/catanh.def.h
vendored
37
lib/libc/mingw/complex/catanh.def.h
vendored
|
|
@ -75,17 +75,42 @@ __FLT_ABI(catanh) (__FLT_TYPE __complex__ z)
|
|||
if (r_class == FP_ZERO && i_class == FP_ZERO)
|
||||
return z;
|
||||
|
||||
/* catanh(z) = 1/2 * clog(1+z) - 1/2 * clog(1-z) = 1/2 * clog((1+z)/(1-z)) */
|
||||
|
||||
/* Use identity clog(c) = 1/2*log(|c|^2) + i*arg(c) to calculate real and
|
||||
imaginary parts separately. */
|
||||
|
||||
/* real part */
|
||||
/* |c|^2 = (Im(z)^2 + (1+Re(z))^2)/(Im(z)^2 + (1-Re(z))^2) */
|
||||
i2 = __imag__ z * __imag__ z;
|
||||
|
||||
n = __FLT_CST(1.0) + __real__ z;
|
||||
n = i2 + n * n;
|
||||
if (__FLT_ABI(fabs) (__real__ z) <= __FLT_EPSILON)
|
||||
{
|
||||
/* |c|^2 = 1 + 4*Re(z)/(1+Im(z)^2) + O(Re(z)^2) (Taylor series) */
|
||||
__real__ ret = __FLT_CST(0.25) *
|
||||
__FLT_ABI(log1p) (__FLT_CST(4.0)*(__real__ z) / (__FLT_CST(1.0) + i2));
|
||||
}
|
||||
else if ((__real__ z)*(__real__ z) <= __FLT_EPSILON)
|
||||
{
|
||||
/* |c|^2 = 1 + 4*Re(z)/(1+Im(z)^2) + 8*Re(z)^2/(1+Im(z)^2)^2 + O(Re(z)^3) (Taylor series) */
|
||||
d = __real__ z / (__FLT_CST(1.0) + i2);
|
||||
__real__ ret = __FLT_CST(0.25) *
|
||||
__FLT_ABI(log1p) (__FLT_CST(4.0) * d * (__FLT_CST(1.0) + __FLT_CST(2.0) * d));
|
||||
}
|
||||
else
|
||||
{
|
||||
n = __FLT_CST(1.0) + __real__ z;
|
||||
n = i2 + n * n;
|
||||
|
||||
d = __FLT_CST(1.0) - __real__ z;
|
||||
d = i2 + d * d;
|
||||
d = __FLT_CST(1.0) - __real__ z;
|
||||
d = i2 + d * d;
|
||||
|
||||
__real__ ret = __FLT_CST(0.25) * (__FLT_ABI(log) (n) - __FLT_ABI(log) (d));
|
||||
__real__ ret = __FLT_CST(0.25) * (__FLT_ABI(log) (n) - __FLT_ABI(log) (d));
|
||||
}
|
||||
|
||||
d = 1 - __real__ z * __real__ z - i2;
|
||||
/* imaginary part */
|
||||
/* z = (1 - Re(z)^2 - Im(z)^2 + 2i * Im(z) / ((1-Re(z))^2 + Im(z)^2) */
|
||||
d = __FLT_CST(1.0) - __real__ z * __real__ z - i2;
|
||||
|
||||
__imag__ ret = __FLT_CST(0.5) * __FLT_ABI(atan2) (__FLT_CST(2.0) * __imag__ z, d);
|
||||
|
||||
|
|
|
|||
20
lib/libc/mingw/crt/crt0_c.c
vendored
20
lib/libc/mingw/crt/crt0_c.c
vendored
|
|
@ -1,20 +0,0 @@
|
|||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
extern HINSTANCE __mingw_winmain_hInstance;
|
||||
extern LPSTR __mingw_winmain_lpCmdLine;
|
||||
extern DWORD __mingw_winmain_nShowCmd;
|
||||
|
||||
/*ARGSUSED*/
|
||||
int main (int __UNUSED_PARAM(flags),
|
||||
char ** __UNUSED_PARAM(cmdline),
|
||||
char ** __UNUSED_PARAM(inst))
|
||||
{
|
||||
return (int) WinMain (__mingw_winmain_hInstance, NULL,
|
||||
__mingw_winmain_lpCmdLine, __mingw_winmain_nShowCmd);
|
||||
}
|
||||
25
lib/libc/mingw/crt/crt0_w.c
vendored
25
lib/libc/mingw/crt/crt0_w.c
vendored
|
|
@ -1,25 +0,0 @@
|
|||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
#include <windows.h>
|
||||
|
||||
/* Do the UNICODE prototyping of WinMain. Be aware that in winbase.h WinMain is a macro
|
||||
defined to wWinMain. */
|
||||
int WINAPI wWinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPWSTR lpCmdLine,int nShowCmd);
|
||||
|
||||
extern HINSTANCE __mingw_winmain_hInstance;
|
||||
extern LPWSTR __mingw_winmain_lpCmdLine;
|
||||
extern DWORD __mingw_winmain_nShowCmd;
|
||||
|
||||
int wmain (int, wchar_t **, wchar_t **);
|
||||
|
||||
/*ARGSUSED*/
|
||||
int wmain (int __UNUSED_PARAM(flags),
|
||||
wchar_t ** __UNUSED_PARAM(cmdline),
|
||||
wchar_t ** __UNUSED_PARAM(inst))
|
||||
{
|
||||
return (int) wWinMain (__mingw_winmain_hInstance, NULL,
|
||||
__mingw_winmain_lpCmdLine, __mingw_winmain_nShowCmd);
|
||||
}
|
||||
10
lib/libc/mingw/crt/crt_handler.c
vendored
10
lib/libc/mingw/crt/crt_handler.c
vendored
|
|
@ -13,16 +13,6 @@
|
|||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined (_WIN64) && defined (__ia64__)
|
||||
#error FIXME: Unsupported __ImageBase implementation.
|
||||
#else
|
||||
#ifndef _MSC_VER
|
||||
#define __ImageBase __MINGW_LSYMBOL(_image_base__)
|
||||
#endif
|
||||
/* This symbol is defined by the linker. */
|
||||
extern IMAGE_DOS_HEADER __ImageBase;
|
||||
#endif
|
||||
|
||||
#pragma pack(push,1)
|
||||
typedef struct _UNWIND_INFO {
|
||||
BYTE VersionAndFlags;
|
||||
|
|
|
|||
1
lib/libc/mingw/crt/crtdll.c
vendored
1
lib/libc/mingw/crt/crtdll.c
vendored
|
|
@ -142,6 +142,7 @@ WINBOOL WINAPI DllMainCRTStartup (HANDLE, DWORD, LPVOID);
|
|||
int __mingw_init_ehandler (void);
|
||||
#endif
|
||||
|
||||
__attribute__((used)) /* required due to bug in gcc / ld */
|
||||
WINBOOL WINAPI
|
||||
DllMainCRTStartup (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved)
|
||||
{
|
||||
|
|
|
|||
130
lib/libc/mingw/crt/crtexe.c
vendored
130
lib/libc/mingw/crt/crtexe.c
vendored
|
|
@ -35,16 +35,9 @@ extern char *** __MINGW_IMP_SYMBOL(__initenv);
|
|||
#define __initenv (* __MINGW_IMP_SYMBOL(__initenv))
|
||||
#endif
|
||||
|
||||
/* Hack, for bug in ld. Will be removed soon. */
|
||||
#if defined(__GNUC__)
|
||||
#define __ImageBase __MINGW_LSYMBOL(_image_base__)
|
||||
#endif
|
||||
/* This symbol is defined by ld. */
|
||||
extern IMAGE_DOS_HEADER __ImageBase;
|
||||
|
||||
extern void _fpreset (void);
|
||||
#define SPACECHAR _T(' ')
|
||||
#define DQUOTECHAR _T('\"')
|
||||
|
||||
int *__cdecl __p__commode(void);
|
||||
|
||||
|
|
@ -68,19 +61,10 @@ extern const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback;
|
|||
|
||||
extern int __mingw_app_type;
|
||||
|
||||
HINSTANCE __mingw_winmain_hInstance;
|
||||
_TCHAR *__mingw_winmain_lpCmdLine;
|
||||
DWORD __mingw_winmain_nShowCmd = SW_SHOWDEFAULT;
|
||||
|
||||
static int argc;
|
||||
extern void __main(void);
|
||||
#ifdef WPRFLAG
|
||||
static wchar_t **argv;
|
||||
static wchar_t **envp;
|
||||
#else
|
||||
static char **argv;
|
||||
static char **envp;
|
||||
#endif
|
||||
static _TCHAR **argv;
|
||||
static _TCHAR **envp;
|
||||
|
||||
static int argret;
|
||||
static int mainret=0;
|
||||
|
|
@ -91,11 +75,7 @@ extern LPTOP_LEVEL_EXCEPTION_FILTER __mingw_oldexcpt_handler;
|
|||
|
||||
extern void _pei386_runtime_relocator (void);
|
||||
long CALLBACK _gnu_exception_handler (EXCEPTION_POINTERS * exception_data);
|
||||
#ifdef WPRFLAG
|
||||
static void duplicate_ppstrings (int ac, wchar_t ***av);
|
||||
#else
|
||||
static void duplicate_ppstrings (int ac, char ***av);
|
||||
#endif
|
||||
static void duplicate_ppstrings (int ac, _TCHAR ***av);
|
||||
|
||||
static int __cdecl pre_c_init (void);
|
||||
static void __cdecl pre_cpp_init (void);
|
||||
|
|
@ -134,7 +114,7 @@ pre_c_init (void)
|
|||
* __p__fmode() = _fmode;
|
||||
* __p__commode() = _commode;
|
||||
|
||||
#ifdef WPRFLAG
|
||||
#ifdef _UNICODE
|
||||
_wsetargv();
|
||||
#else
|
||||
_setargv();
|
||||
|
|
@ -155,7 +135,7 @@ pre_cpp_init (void)
|
|||
{
|
||||
startinfo.newmode = _newmode;
|
||||
|
||||
#ifdef WPRFLAG
|
||||
#ifdef _UNICODE
|
||||
argret = __wgetmainargs(&argc,&argv,&envp,_dowildcard,&startinfo);
|
||||
#else
|
||||
argret = __getmainargs(&argc,&argv,&envp,_dowildcard,&startinfo);
|
||||
|
|
@ -166,6 +146,7 @@ static int __tmainCRTStartup (void);
|
|||
|
||||
int WinMainCRTStartup (void);
|
||||
|
||||
__attribute__((used)) /* required due to bug in gcc / ld */
|
||||
int WinMainCRTStartup (void)
|
||||
{
|
||||
int ret = 255;
|
||||
|
|
@ -177,7 +158,11 @@ int WinMainCRTStartup (void)
|
|||
#ifdef SEH_INLINE_ASM
|
||||
asm ("\tnop\n"
|
||||
"\t.l_endw: nop\n"
|
||||
#ifdef __arm__
|
||||
"\t.seh_handler __C_specific_handler, %except\n"
|
||||
#else
|
||||
"\t.seh_handler __C_specific_handler, @except\n"
|
||||
#endif
|
||||
"\t.seh_handlerdata\n"
|
||||
"\t.long 1\n"
|
||||
"\t.rva .l_startw, .l_endw, _gnu_exception_handler ,.l_endw\n"
|
||||
|
|
@ -192,6 +177,7 @@ int mainCRTStartup (void);
|
|||
int __mingw_init_ehandler (void);
|
||||
#endif
|
||||
|
||||
__attribute__((used)) /* required due to bug in gcc / ld */
|
||||
int mainCRTStartup (void)
|
||||
{
|
||||
int ret = 255;
|
||||
|
|
@ -203,7 +189,11 @@ int mainCRTStartup (void)
|
|||
#ifdef SEH_INLINE_ASM
|
||||
asm ("\tnop\n"
|
||||
"\t.l_end: nop\n"
|
||||
#ifdef __arm__
|
||||
"\t.seh_handler __C_specific_handler, %except\n"
|
||||
#else
|
||||
"\t.seh_handler __C_specific_handler, @except\n"
|
||||
#endif
|
||||
"\t.seh_handlerdata\n"
|
||||
"\t.long 1\n"
|
||||
"\t.rva .l_start, .l_end, _gnu_exception_handler ,.l_end\n"
|
||||
|
|
@ -221,14 +211,6 @@ __attribute__((force_align_arg_pointer))
|
|||
__declspec(noinline) int
|
||||
__tmainCRTStartup (void)
|
||||
{
|
||||
_TCHAR *lpszCommandLine = NULL;
|
||||
STARTUPINFO StartupInfo;
|
||||
WINBOOL inDoubleQuote = FALSE;
|
||||
memset (&StartupInfo, 0, sizeof (STARTUPINFO));
|
||||
|
||||
if (__mingw_app_type)
|
||||
GetStartupInfo (&StartupInfo);
|
||||
{
|
||||
void *lock_free = NULL;
|
||||
void *fiberid = ((PNT_TIB)NtCurrentTeb())->StackBase;
|
||||
int nested = FALSE;
|
||||
|
|
@ -275,57 +257,20 @@ __tmainCRTStartup (void)
|
|||
|
||||
_fpreset ();
|
||||
|
||||
__mingw_winmain_hInstance = (HINSTANCE) &__ImageBase;
|
||||
|
||||
#ifdef WPRFLAG
|
||||
lpszCommandLine = (_TCHAR *) _wcmdln;
|
||||
#else
|
||||
lpszCommandLine = (char *) _acmdln;
|
||||
#endif
|
||||
|
||||
if (lpszCommandLine)
|
||||
{
|
||||
while (*lpszCommandLine > SPACECHAR || (*lpszCommandLine && inDoubleQuote))
|
||||
{
|
||||
if (*lpszCommandLine == DQUOTECHAR)
|
||||
inDoubleQuote = !inDoubleQuote;
|
||||
#ifdef _MBCS
|
||||
if (_ismbblead (*lpszCommandLine))
|
||||
{
|
||||
if (lpszCommandLine[1])
|
||||
++lpszCommandLine;
|
||||
}
|
||||
#endif
|
||||
++lpszCommandLine;
|
||||
}
|
||||
while (*lpszCommandLine && (*lpszCommandLine <= SPACECHAR))
|
||||
lpszCommandLine++;
|
||||
|
||||
__mingw_winmain_lpCmdLine = lpszCommandLine;
|
||||
}
|
||||
|
||||
if (__mingw_app_type)
|
||||
{
|
||||
__mingw_winmain_nShowCmd = StartupInfo.dwFlags & STARTF_USESHOWWINDOW ?
|
||||
StartupInfo.wShowWindow : SW_SHOWDEFAULT;
|
||||
}
|
||||
duplicate_ppstrings (argc, &argv);
|
||||
__main ();
|
||||
#ifdef WPRFLAG
|
||||
__main (); /* C++ initialization. */
|
||||
#ifdef _UNICODE
|
||||
__winitenv = envp;
|
||||
/* C++ initialization.
|
||||
gcc inserts this call automatically for a function called main, but not for wmain. */
|
||||
mainret = wmain (argc, argv, envp);
|
||||
#else
|
||||
__initenv = envp;
|
||||
mainret = main (argc, argv, envp);
|
||||
#endif
|
||||
mainret = _tmain (argc, argv, envp);
|
||||
if (!managedapp)
|
||||
exit (mainret);
|
||||
|
||||
if (has_cctor == 0)
|
||||
_cexit ();
|
||||
}
|
||||
|
||||
return mainret;
|
||||
}
|
||||
|
||||
|
|
@ -370,49 +315,22 @@ check_managed_app (void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifdef WPRFLAG
|
||||
static size_t wbytelen(const wchar_t *p)
|
||||
static void duplicate_ppstrings (int ac, _TCHAR ***av)
|
||||
{
|
||||
size_t ret = 1;
|
||||
while (*p!=0) {
|
||||
ret++,++p;
|
||||
}
|
||||
return ret*2;
|
||||
}
|
||||
static void duplicate_ppstrings (int ac, wchar_t ***av)
|
||||
{
|
||||
wchar_t **avl;
|
||||
_TCHAR **avl;
|
||||
int i;
|
||||
wchar_t **n = (wchar_t **) malloc (sizeof (wchar_t *) * (ac + 1));
|
||||
|
||||
avl=*av;
|
||||
for (i=0; i < ac; i++)
|
||||
{
|
||||
size_t l = wbytelen (avl[i]);
|
||||
n[i] = (wchar_t *) malloc (l);
|
||||
memcpy (n[i], avl[i], l);
|
||||
}
|
||||
n[i] = NULL;
|
||||
*av = n;
|
||||
}
|
||||
#else
|
||||
static void duplicate_ppstrings (int ac, char ***av)
|
||||
{
|
||||
char **avl;
|
||||
int i;
|
||||
char **n = (char **) malloc (sizeof (char *) * (ac + 1));
|
||||
_TCHAR **n = (_TCHAR **) malloc (sizeof (_TCHAR *) * (ac + 1));
|
||||
|
||||
avl=*av;
|
||||
for (i=0; i < ac; i++)
|
||||
{
|
||||
size_t l = strlen (avl[i]) + 1;
|
||||
n[i] = (char *) malloc (l);
|
||||
size_t l = sizeof (_TCHAR) * (_tcslen (avl[i]) + 1);
|
||||
n[i] = (_TCHAR *) malloc (l);
|
||||
memcpy (n[i], avl[i], l);
|
||||
}
|
||||
n[i] = NULL;
|
||||
*av = n;
|
||||
}
|
||||
#endif
|
||||
|
||||
int __cdecl atexit (_PVFV func)
|
||||
{
|
||||
|
|
|
|||
3
lib/libc/mingw/crt/dll_argv.c
vendored
3
lib/libc/mingw/crt/dll_argv.c
vendored
|
|
@ -12,11 +12,10 @@
|
|||
|
||||
extern int _dowildcard;
|
||||
|
||||
#ifdef WPRFLAG
|
||||
int __CRTDECL
|
||||
#ifdef _UNICODE
|
||||
__wsetargv (void)
|
||||
#else
|
||||
int __CRTDECL
|
||||
__setargv (void)
|
||||
#endif
|
||||
{
|
||||
|
|
|
|||
3
lib/libc/mingw/crt/dllargv.c
vendored
3
lib/libc/mingw/crt/dllargv.c
vendored
|
|
@ -10,11 +10,10 @@
|
|||
|
||||
#include <internal.h>
|
||||
|
||||
#ifdef WPRFLAG
|
||||
int __CRTDECL
|
||||
#ifdef _UNICODE
|
||||
_wsetargv (void)
|
||||
#else
|
||||
int __CRTDECL
|
||||
_setargv (void)
|
||||
#endif
|
||||
{
|
||||
|
|
|
|||
9
lib/libc/mingw/crt/pesect.c
vendored
9
lib/libc/mingw/crt/pesect.c
vendored
|
|
@ -7,16 +7,7 @@
|
|||
#include <windows.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined (_WIN64) && defined (__ia64__)
|
||||
#error FIXME: Unsupported __ImageBase implementation.
|
||||
#else
|
||||
#ifdef __GNUC__
|
||||
/* Hack, for bug in ld. Will be removed soon. */
|
||||
#define __ImageBase __MINGW_LSYMBOL(_image_base__)
|
||||
#endif
|
||||
/* This symbol is defined by the linker. */
|
||||
extern IMAGE_DOS_HEADER __ImageBase;
|
||||
#endif
|
||||
|
||||
WINBOOL _ValidateImageBase (PBYTE);
|
||||
|
||||
|
|
|
|||
7
lib/libc/mingw/crt/pseudo-reloc.c
vendored
7
lib/libc/mingw/crt/pseudo-reloc.c
vendored
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
extern char __RUNTIME_PSEUDO_RELOC_LIST__;
|
||||
extern char __RUNTIME_PSEUDO_RELOC_LIST_END__;
|
||||
extern IMAGE_DOS_HEADER __MINGW_LSYMBOL(_image_base__);
|
||||
extern IMAGE_DOS_HEADER __ImageBase;
|
||||
|
||||
void _pei386_runtime_relocator (void);
|
||||
|
||||
|
|
@ -480,6 +480,7 @@ do_pseudo_reloc (void * start, void * end, void * base)
|
|||
}
|
||||
}
|
||||
|
||||
__attribute__((used)) /* required due to bug in gcc / ld */
|
||||
void
|
||||
_pei386_runtime_relocator (void)
|
||||
{
|
||||
|
|
@ -499,11 +500,7 @@ _pei386_runtime_relocator (void)
|
|||
|
||||
do_pseudo_reloc (&__RUNTIME_PSEUDO_RELOC_LIST__,
|
||||
&__RUNTIME_PSEUDO_RELOC_LIST_END__,
|
||||
#ifdef __GNUC__
|
||||
&__MINGW_LSYMBOL(_image_base__)
|
||||
#else
|
||||
&__ImageBase
|
||||
#endif
|
||||
);
|
||||
#ifdef __MINGW64_VERSION_MAJOR
|
||||
restore_modified_sections ();
|
||||
|
|
|
|||
49
lib/libc/mingw/crt/tls_atexit.c
vendored
49
lib/libc/mingw/crt/tls_atexit.c
vendored
|
|
@ -54,42 +54,51 @@ int __mingw_cxa_atexit(dtor_fn dtor, void *obj, void *dso) {
|
|||
}
|
||||
|
||||
static void run_dtor_list(dtor_obj **ptr) {
|
||||
dtor_obj *list = *ptr;
|
||||
while (list) {
|
||||
list->dtor(list->obj);
|
||||
dtor_obj *next = list->next;
|
||||
free(list);
|
||||
list = next;
|
||||
if (!ptr)
|
||||
return;
|
||||
while (*ptr) {
|
||||
dtor_obj *cur = *ptr;
|
||||
*ptr = cur->next;
|
||||
cur->dtor(cur->obj);
|
||||
free(cur);
|
||||
}
|
||||
*ptr = NULL;
|
||||
}
|
||||
|
||||
int __mingw_cxa_thread_atexit(dtor_fn dtor, void *obj, void *dso) {
|
||||
if (!inited)
|
||||
return 1;
|
||||
assert(!dso || dso == &__dso_handle);
|
||||
|
||||
dtor_obj **head = (dtor_obj **)TlsGetValue(tls_dtors_slot);
|
||||
if (!head) {
|
||||
head = (dtor_obj **) calloc(1, sizeof(*head));
|
||||
if (!head)
|
||||
return 1;
|
||||
TlsSetValue(tls_dtors_slot, head);
|
||||
}
|
||||
dtor_obj *handler = (dtor_obj *) calloc(1, sizeof(*handler));
|
||||
if (!handler)
|
||||
return 1;
|
||||
handler->dtor = dtor;
|
||||
handler->obj = obj;
|
||||
handler->next = (dtor_obj *)TlsGetValue(tls_dtors_slot);
|
||||
TlsSetValue(tls_dtors_slot, handler);
|
||||
handler->next = *head;
|
||||
*head = handler;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void WINAPI tls_atexit_callback(HANDLE __UNUSED_PARAM(hDllHandle), DWORD dwReason, LPVOID __UNUSED_PARAM(lpReserved)) {
|
||||
if (dwReason == DLL_PROCESS_DETACH) {
|
||||
dtor_obj * p = (dtor_obj *)TlsGetValue(tls_dtors_slot);
|
||||
run_dtor_list(&p);
|
||||
TlsSetValue(tls_dtors_slot, p);
|
||||
dtor_obj **p = (dtor_obj **)TlsGetValue(tls_dtors_slot);
|
||||
run_dtor_list(p);
|
||||
free(p);
|
||||
TlsSetValue(tls_dtors_slot, NULL);
|
||||
TlsFree(tls_dtors_slot);
|
||||
run_dtor_list(&global_dtors);
|
||||
}
|
||||
}
|
||||
|
||||
static void WINAPI tls_callback(HANDLE hDllHandle, DWORD dwReason, LPVOID __UNUSED_PARAM(lpReserved)) {
|
||||
dtor_obj * p;
|
||||
dtor_obj **p;
|
||||
switch (dwReason) {
|
||||
case DLL_PROCESS_ATTACH:
|
||||
if (inited == 0) {
|
||||
|
|
@ -134,9 +143,10 @@ static void WINAPI tls_callback(HANDLE hDllHandle, DWORD dwReason, LPVOID __UNUS
|
|||
* linked CRT (which still runs TLS destructors for the main thread).
|
||||
*/
|
||||
if (__mingw_module_is_dll) {
|
||||
p = (dtor_obj *)TlsGetValue(tls_dtors_slot);
|
||||
run_dtor_list(&p);
|
||||
TlsSetValue(tls_dtors_slot, p);
|
||||
p = (dtor_obj **)TlsGetValue(tls_dtors_slot);
|
||||
run_dtor_list(p);
|
||||
free(p);
|
||||
TlsSetValue(tls_dtors_slot, NULL);
|
||||
/* For DLLs, run dtors when detached. For EXEs, run dtors via the
|
||||
* thread local atexit callback, to make sure they don't run when
|
||||
* exiting the process with _exit or ExitProcess. */
|
||||
|
|
@ -151,9 +161,10 @@ static void WINAPI tls_callback(HANDLE hDllHandle, DWORD dwReason, LPVOID __UNUS
|
|||
case DLL_THREAD_ATTACH:
|
||||
break;
|
||||
case DLL_THREAD_DETACH:
|
||||
p = (dtor_obj *)TlsGetValue(tls_dtors_slot);
|
||||
run_dtor_list(&p);
|
||||
TlsSetValue(tls_dtors_slot, p);
|
||||
p = (dtor_obj **)TlsGetValue(tls_dtors_slot);
|
||||
run_dtor_list(p);
|
||||
free(p);
|
||||
TlsSetValue(tls_dtors_slot, NULL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1
lib/libc/mingw/crt/tlssup.c
vendored
1
lib/libc/mingw/crt/tlssup.c
vendored
|
|
@ -44,6 +44,7 @@ _CRTALLOC(".tls$ZZZ") char *_tls_end = NULL;
|
|||
_CRTALLOC(".CRT$XLA") PIMAGE_TLS_CALLBACK __xl_a = 0;
|
||||
_CRTALLOC(".CRT$XLZ") PIMAGE_TLS_CALLBACK __xl_z = 0;
|
||||
|
||||
__attribute__((used))
|
||||
const IMAGE_TLS_DIRECTORY _tls_used = {
|
||||
(ULONG_PTR) &_tls_start, (ULONG_PTR) &_tls_end,
|
||||
(ULONG_PTR) &_tls_index, (ULONG_PTR) (&__xl_a+1),
|
||||
|
|
|
|||
169
lib/libc/mingw/crt/ucrtbase_compat.c
vendored
Normal file
169
lib/libc/mingw/crt/ucrtbase_compat.c
vendored
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Winline"
|
||||
#endif
|
||||
|
||||
#undef __MSVCRT_VERSION__
|
||||
#define _UCRT
|
||||
|
||||
#define __getmainargs crtimp___getmainargs
|
||||
#define __wgetmainargs crtimp___wgetmainargs
|
||||
#define _amsg_exit crtimp__amsg_exit
|
||||
#define _get_output_format crtimp__get_output_format
|
||||
|
||||
#include <internal.h>
|
||||
#include <sect_attribs.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <corecrt_startup.h>
|
||||
|
||||
#undef __getmainargs
|
||||
#undef __wgetmainargs
|
||||
#undef _amsg_exit
|
||||
#undef _get_output_format
|
||||
|
||||
|
||||
|
||||
// Declarations of non-static functions implemented within this file (that aren't
|
||||
// declared in any of the included headers, and that isn't mapped away with a define
|
||||
// to get rid of the _CRTIMP in headers).
|
||||
int __cdecl __getmainargs(int * _Argc, char *** _Argv, char ***_Env, int _DoWildCard, _startupinfo *_StartInfo);
|
||||
int __cdecl __wgetmainargs(int * _Argc, wchar_t *** _Argv, wchar_t ***_Env, int _DoWildCard, _startupinfo *_StartInfo);
|
||||
void __cdecl __MINGW_ATTRIB_NORETURN _amsg_exit(int ret);
|
||||
unsigned int __cdecl _get_output_format(void);
|
||||
|
||||
int __cdecl __ms_fwprintf(FILE *, const wchar_t *, ...);
|
||||
|
||||
// Declarations of functions from ucrtbase.dll that we use below
|
||||
_CRTIMP int* __cdecl __p___argc(void);
|
||||
_CRTIMP char*** __cdecl __p___argv(void);
|
||||
_CRTIMP wchar_t*** __cdecl __p___wargv(void);
|
||||
_CRTIMP char*** __cdecl __p__environ(void);
|
||||
_CRTIMP wchar_t*** __cdecl __p__wenviron(void);
|
||||
|
||||
_CRTIMP int __cdecl _initialize_narrow_environment(void);
|
||||
_CRTIMP int __cdecl _initialize_wide_environment(void);
|
||||
_CRTIMP int __cdecl _configure_narrow_argv(int mode);
|
||||
_CRTIMP int __cdecl _configure_wide_argv(int mode);
|
||||
|
||||
// Declared in new.h, but only visible to C++
|
||||
_CRTIMP int __cdecl _set_new_mode(int _NewMode);
|
||||
|
||||
extern char __mingw_module_is_dll;
|
||||
|
||||
|
||||
// Wrappers with legacy msvcrt.dll style API, based on the new ucrtbase.dll functions.
|
||||
int __cdecl __getmainargs(int * _Argc, char *** _Argv, char ***_Env, int _DoWildCard, _startupinfo *_StartInfo)
|
||||
{
|
||||
_initialize_narrow_environment();
|
||||
_configure_narrow_argv(_DoWildCard ? 2 : 1);
|
||||
*_Argc = *__p___argc();
|
||||
*_Argv = *__p___argv();
|
||||
*_Env = *__p__environ();
|
||||
if (_StartInfo)
|
||||
_set_new_mode(_StartInfo->newmode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __cdecl __wgetmainargs(int * _Argc, wchar_t *** _Argv, wchar_t ***_Env, int _DoWildCard, _startupinfo *_StartInfo)
|
||||
{
|
||||
_initialize_wide_environment();
|
||||
_configure_wide_argv(_DoWildCard ? 2 : 1);
|
||||
*_Argc = *__p___argc();
|
||||
*_Argv = *__p___wargv();
|
||||
*_Env = *__p__wenviron();
|
||||
if (_StartInfo)
|
||||
_set_new_mode(_StartInfo->newmode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
_onexit_t __cdecl _onexit(_onexit_t func)
|
||||
{
|
||||
return _crt_atexit((_PVFV)func) == 0 ? func : NULL;
|
||||
}
|
||||
|
||||
_onexit_t __cdecl (*__MINGW_IMP_SYMBOL(_onexit))(_onexit_t func) = _onexit;
|
||||
|
||||
int __cdecl at_quick_exit(void (__cdecl *func)(void))
|
||||
{
|
||||
// In a DLL, we can't register a function with _crt_at_quick_exit, because
|
||||
// we can't unregister it when the DLL is unloaded. This matches how
|
||||
// at_quick_exit/quick_exit work with MSVC with a dynamically linked CRT.
|
||||
if (__mingw_module_is_dll)
|
||||
return 0;
|
||||
return _crt_at_quick_exit(func);
|
||||
}
|
||||
|
||||
int __cdecl (*__MINGW_IMP_SYMBOL(at_quick_exit))(void (__cdecl *)(void)) = at_quick_exit;
|
||||
|
||||
void __cdecl __MINGW_ATTRIB_NORETURN _amsg_exit(int ret) {
|
||||
fprintf(stderr, "runtime error %d\n", ret);
|
||||
_exit(255);
|
||||
}
|
||||
|
||||
unsigned int __cdecl _get_output_format(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
// These are required to provide the unrepfixed data symbols "timezone"
|
||||
// and "tzname"; we can't remap "timezone" via a define due to clashes
|
||||
// with e.g. "struct timezone".
|
||||
typedef void __cdecl (*_tzset_func)(void);
|
||||
extern _tzset_func __MINGW_IMP_SYMBOL(_tzset);
|
||||
|
||||
// Default initial values until _tzset has been called; these are the same
|
||||
// as the initial values in msvcrt/ucrtbase.
|
||||
static char initial_tzname0[] = "PST";
|
||||
static char initial_tzname1[] = "PDT";
|
||||
static char *initial_tznames[] = { initial_tzname0, initial_tzname1 };
|
||||
static long initial_timezone = 28800;
|
||||
static int initial_daylight = 1;
|
||||
char** __MINGW_IMP_SYMBOL(tzname) = initial_tznames;
|
||||
long * __MINGW_IMP_SYMBOL(timezone) = &initial_timezone;
|
||||
int * __MINGW_IMP_SYMBOL(daylight) = &initial_daylight;
|
||||
|
||||
void __cdecl _tzset(void)
|
||||
{
|
||||
__MINGW_IMP_SYMBOL(_tzset)();
|
||||
// Redirect the __imp_ pointers to the actual data provided by the UCRT.
|
||||
// From this point, the exposed values should stay in sync.
|
||||
__MINGW_IMP_SYMBOL(tzname) = _tzname;
|
||||
__MINGW_IMP_SYMBOL(timezone) = __timezone();
|
||||
__MINGW_IMP_SYMBOL(daylight) = __daylight();
|
||||
}
|
||||
|
||||
void __cdecl tzset(void)
|
||||
{
|
||||
_tzset();
|
||||
}
|
||||
|
||||
// This is called for wchar cases with __USE_MINGW_ANSI_STDIO enabled (where the
|
||||
// char case just uses fputc).
|
||||
int __cdecl __ms_fwprintf(FILE *file, const wchar_t *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
int ret;
|
||||
va_start(ap, fmt);
|
||||
ret = __stdio_common_vfwprintf(_CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS, file, fmt, NULL, ap);
|
||||
va_end(ap);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Dummy/unused __imp_ wrappers, to make GNU ld not autoexport these symbols.
|
||||
int __cdecl (*__MINGW_IMP_SYMBOL(__getmainargs))(int *, char ***, char ***, int, _startupinfo *) = __getmainargs;
|
||||
int __cdecl (*__MINGW_IMP_SYMBOL(__wgetmainargs))(int *, wchar_t ***, wchar_t ***, int, _startupinfo *) = __wgetmainargs;
|
||||
void __cdecl (*__MINGW_IMP_SYMBOL(_amsg_exit))(int) = _amsg_exit;
|
||||
unsigned int __cdecl (*__MINGW_IMP_SYMBOL(_get_output_format))(void) = _get_output_format;
|
||||
void __cdecl (*__MINGW_IMP_SYMBOL(tzset))(void) = tzset;
|
||||
int __cdecl (*__MINGW_IMP_SYMBOL(__ms_fwprintf))(FILE *, const wchar_t *, ...) = __ms_fwprintf;
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
1
lib/libc/mingw/crt/udll_argv.c
vendored
1
lib/libc/mingw/crt/udll_argv.c
vendored
|
|
@ -10,7 +10,6 @@
|
|||
#ifndef _UNICODE
|
||||
#define _UNICODE
|
||||
#endif
|
||||
#define WPRFLAG 1
|
||||
|
||||
#include "dll_argv.c"
|
||||
|
||||
|
|
|
|||
1
lib/libc/mingw/crt/udllargc.c
vendored
1
lib/libc/mingw/crt/udllargc.c
vendored
|
|
@ -10,7 +10,6 @@
|
|||
#ifndef _UNICODE
|
||||
#define _UNICODE
|
||||
#endif
|
||||
#define WPRFLAG 1
|
||||
|
||||
#include "dllargv.c"
|
||||
|
||||
|
|
|
|||
15
lib/libc/mingw/def-include/msvcrt-common.def.in
vendored
15
lib/libc/mingw/def-include/msvcrt-common.def.in
vendored
|
|
@ -12,7 +12,11 @@ wcscmpi == _wcsicmp
|
|||
strcasecmp == _stricmp
|
||||
strncasecmp == _strnicmp
|
||||
|
||||
#ifdef UCRTBASE
|
||||
; access is provided as an alias for __mingw_access
|
||||
#else
|
||||
ADD_UNDERSCORE(access)
|
||||
#endif
|
||||
ADD_UNDERSCORE(chdir)
|
||||
ADD_UNDERSCORE(chmod)
|
||||
ADD_UNDERSCORE(chsize)
|
||||
|
|
@ -139,15 +143,10 @@ ADD_UNDERSCORE(hypot)
|
|||
;logb
|
||||
ADD_UNDERSCORE(nextafter)
|
||||
|
||||
longjmp
|
||||
|
||||
#ifndef UCRTBASE
|
||||
_daylight DATA
|
||||
_timezone DATA
|
||||
_tzname DATA
|
||||
ADD_UNDERSCORE(daylight)
|
||||
ADD_UNDERSCORE(timezone)
|
||||
ADD_UNDERSCORE(tzname)
|
||||
daylight DATA == _daylight
|
||||
timezone DATA == _timezone
|
||||
tzname DATA == _tzname
|
||||
|
||||
ADD_UNDERSCORE(vsnprintf_s)
|
||||
#endif
|
||||
|
|
|
|||
21
lib/libc/mingw/gdtoa/arithchk.c
vendored
21
lib/libc/mingw/gdtoa/arithchk.c
vendored
|
|
@ -42,7 +42,7 @@ VAX = { "VAX", 4 },
|
|||
CRAY = { "CRAY", 5};
|
||||
|
||||
static Akind *
|
||||
Lcheck()
|
||||
Lcheck(void)
|
||||
{
|
||||
union {
|
||||
double d;
|
||||
|
|
@ -69,7 +69,7 @@ Lcheck()
|
|||
}
|
||||
|
||||
static Akind *
|
||||
icheck()
|
||||
icheck(void)
|
||||
{
|
||||
union {
|
||||
double d;
|
||||
|
|
@ -95,10 +95,8 @@ icheck()
|
|||
return 0;
|
||||
}
|
||||
|
||||
char *emptyfmt = ""; /* avoid possible warning message with printf("") */
|
||||
|
||||
static Akind *
|
||||
ccheck()
|
||||
ccheck(int ac, char **av)
|
||||
{
|
||||
union {
|
||||
double d;
|
||||
|
|
@ -107,10 +105,11 @@ ccheck()
|
|||
long Cray1;
|
||||
|
||||
/* Cray1 = 4617762693716115456 -- without overflow on non-Crays */
|
||||
Cray1 = printf(emptyfmt) < 0 ? 0 : 4617762;
|
||||
if (printf(emptyfmt, Cray1) >= 0)
|
||||
/* The next three tests should always be true. */
|
||||
Cray1 = ac >= -2 ? 4617762 : 0;
|
||||
if (ac >= -1)
|
||||
Cray1 = 1000000*Cray1 + 693716;
|
||||
if (printf(emptyfmt, Cray1) >= 0)
|
||||
if (av || ac >= 0)
|
||||
Cray1 = 1000000*Cray1 + 115456;
|
||||
u.d = 1e13;
|
||||
if (u.L == Cray1)
|
||||
|
|
@ -119,7 +118,7 @@ ccheck()
|
|||
}
|
||||
|
||||
static int
|
||||
fzcheck()
|
||||
fzcheck(void)
|
||||
{
|
||||
double a, b;
|
||||
int i;
|
||||
|
|
@ -138,7 +137,7 @@ fzcheck()
|
|||
}
|
||||
|
||||
int
|
||||
main()
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
Akind *a = 0;
|
||||
int Ldef = 0;
|
||||
|
|
@ -161,7 +160,7 @@ main()
|
|||
a = icheck();
|
||||
}
|
||||
else if (sizeof(double) == sizeof(long))
|
||||
a = ccheck();
|
||||
a = ccheck(argc, argv);
|
||||
if (a) {
|
||||
fprintf(f, "#define %s\n#define Arith_Kind_ASL %d\n",
|
||||
a->name, a->kind);
|
||||
|
|
|
|||
41
lib/libc/mingw/gdtoa/dtoa.c
vendored
41
lib/libc/mingw/gdtoa/dtoa.c
vendored
|
|
@ -117,7 +117,7 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
ULong x;
|
||||
#endif
|
||||
Bigint *b, *b1, *delta, *mlo, *mhi, *S;
|
||||
union _dbl_union d, d2, eps;
|
||||
union _dbl_union d, d2, eps, eps1;
|
||||
double ds;
|
||||
char *s, *s0;
|
||||
#ifdef SET_INEXACT
|
||||
|
|
@ -282,7 +282,7 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
break;
|
||||
case 2:
|
||||
leftright = 0;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case 4:
|
||||
if (ndigits <= 0)
|
||||
ndigits = 1;
|
||||
|
|
@ -290,7 +290,7 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
break;
|
||||
case 3:
|
||||
leftright = 0;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case 5:
|
||||
i = ndigits + k + 1;
|
||||
ilim = i;
|
||||
|
|
@ -363,12 +363,28 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
* generating digits needed.
|
||||
*/
|
||||
dval(&eps) = 0.5/tens[ilim-1] - dval(&eps);
|
||||
if (k0 < 0 && j2 >= 307) {
|
||||
eps1.d = 1.01e256; /* 1.01 allows roundoff in the next few lines */
|
||||
word0(&eps1) -= Exp_msk1 * (Bias+P-1);
|
||||
dval(&eps1) *= tens[j2 & 0xf];
|
||||
for(i = 0, j = (j2-256) >> 4; j; j >>= 1, i++)
|
||||
if (j & 1)
|
||||
dval(&eps1) *= bigtens[i];
|
||||
if (eps.d < eps1.d)
|
||||
eps.d = eps1.d;
|
||||
if (10. - d.d < 10.*eps.d && eps.d < 1.) {
|
||||
/* eps.d < 1. excludes trouble with the tiniest denormal */
|
||||
*s++ = '1';
|
||||
++k;
|
||||
goto ret1;
|
||||
}
|
||||
}
|
||||
for(i = 0;;) {
|
||||
L = dval(&d);
|
||||
dval(&d) -= L;
|
||||
*s++ = '0' + (int)L;
|
||||
if (dval(&d) < dval(&eps))
|
||||
goto ret1;
|
||||
goto retc;
|
||||
if (1. - dval(&d) < dval(&eps))
|
||||
goto bump_up;
|
||||
if (++i >= ilim)
|
||||
|
|
@ -389,11 +405,8 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
if (i == ilim) {
|
||||
if (dval(&d) > 0.5 + dval(&eps))
|
||||
goto bump_up;
|
||||
else if (dval(&d) < 0.5 - dval(&eps)) {
|
||||
while(*--s == '0');
|
||||
s++;
|
||||
goto ret1;
|
||||
}
|
||||
else if (dval(&d) < 0.5 - dval(&eps))
|
||||
goto retc;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -439,7 +452,7 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
#ifdef Honor_FLT_ROUNDS
|
||||
if (mode > 1)
|
||||
switch(Rounding) {
|
||||
case 0: goto ret1;
|
||||
case 0: goto retc;
|
||||
case 2: goto bump_up;
|
||||
}
|
||||
#endif
|
||||
|
|
@ -462,7 +475,7 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
break;
|
||||
}
|
||||
}
|
||||
goto ret1;
|
||||
goto retc;
|
||||
}
|
||||
|
||||
m2 = b2;
|
||||
|
|
@ -650,7 +663,7 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
}
|
||||
if (j2 > 0) {
|
||||
#ifdef Honor_FLT_ROUNDS
|
||||
if (!Rounding)
|
||||
if (!Rounding && mode > 1)
|
||||
goto accept_dig;
|
||||
#endif
|
||||
if (dig == '9') { /* possible if i == 1 */
|
||||
|
|
@ -729,6 +742,10 @@ char *__dtoa (double d0, int mode, int ndigits, int *decpt, int *sign, char **rv
|
|||
Bfree(mlo);
|
||||
Bfree(mhi);
|
||||
}
|
||||
retc:
|
||||
while(s > s0 && s[-1] == '0')
|
||||
--s;
|
||||
/* fallthrough */
|
||||
ret1:
|
||||
#ifdef SET_INEXACT
|
||||
if (inexact) {
|
||||
|
|
|
|||
56
lib/libc/mingw/gdtoa/g__fmt.c
vendored
56
lib/libc/mingw/gdtoa/g__fmt.c
vendored
|
|
@ -35,6 +35,30 @@ THIS SOFTWARE.
|
|||
#include "locale.h"
|
||||
#endif
|
||||
|
||||
#ifndef ldus_QNAN0
|
||||
#define ldus_QNAN0 0x7fff
|
||||
#endif
|
||||
#ifndef ldus_QNAN1
|
||||
#define ldus_QNAN1 0xc000
|
||||
#endif
|
||||
#ifndef ldus_QNAN2
|
||||
#define ldus_QNAN2 0
|
||||
#endif
|
||||
#ifndef ldus_QNAN3
|
||||
#define ldus_QNAN3 0
|
||||
#endif
|
||||
#ifndef ldus_QNAN4
|
||||
#define ldus_QNAN4 0
|
||||
#endif
|
||||
|
||||
const char *InfName[6] = { "Infinity", "infinity", "INFINITY", "Inf", "inf", "INF" };
|
||||
const char *NanName[3] = { "NaN", "nan", "NAN" };
|
||||
ULong NanDflt_Q_D2A[4] = { 0xffffffff, 0xffffffff, 0xffffffff, 0x7fffffff };
|
||||
ULong NanDflt_d_D2A[2] = { d_QNAN1, d_QNAN0 };
|
||||
ULong NanDflt_f_D2A[1] = { f_QNAN };
|
||||
ULong NanDflt_xL_D2A[3] = { 1, 0x80000000, 0x7fff0000 };
|
||||
UShort NanDflt_ldus_D2A[5] = { ldus_QNAN4, ldus_QNAN3, ldus_QNAN2, ldus_QNAN1, ldus_QNAN0 };
|
||||
|
||||
char *__g__fmt (char *b, char *s, char *se, int decpt, ULong sign, size_t blen)
|
||||
{
|
||||
int i, j, k;
|
||||
|
|
@ -140,3 +164,35 @@ char *__g__fmt (char *b, char *s, char *se, int decpt, ULong sign, size_t blen)
|
|||
__freedtoa(s0);
|
||||
return b;
|
||||
}
|
||||
|
||||
char *
|
||||
__add_nanbits_D2A(char *b, size_t blen, ULong *bits, int nb)
|
||||
{
|
||||
ULong t;
|
||||
char *rv;
|
||||
int i, j;
|
||||
size_t L;
|
||||
static char Hexdig[16] = "0123456789abcdef";
|
||||
|
||||
while(!bits[--nb])
|
||||
if (!nb)
|
||||
return b;
|
||||
L = 8*nb + 3;
|
||||
t = bits[nb];
|
||||
do ++L; while((t >>= 4));
|
||||
if (L > blen)
|
||||
return b;
|
||||
b += L;
|
||||
*--b = 0;
|
||||
rv = b;
|
||||
*--b = /*(*/ ')';
|
||||
for(i = 0; i < nb; ++i) {
|
||||
t = bits[i];
|
||||
for(j = 0; j < 8; ++j, t >>= 4)
|
||||
*--b = Hexdig[t & 0xf];
|
||||
}
|
||||
t = bits[nb];
|
||||
do *--b = Hexdig[t & 0xf]; while(t >>= 4);
|
||||
*--b = '('; /*)*/
|
||||
return rv;
|
||||
}
|
||||
|
|
|
|||
2
lib/libc/mingw/gdtoa/g_dfmt.c
vendored
2
lib/libc/mingw/gdtoa/g_dfmt.c
vendored
|
|
@ -45,7 +45,7 @@ char *__g_dfmt (char *buf, double *d, int ndig, size_t bufsize)
|
|||
|
||||
if (ndig < 0)
|
||||
ndig = 0;
|
||||
if ((int) bufsize < ndig + 10)
|
||||
if (bufsize < (size_t)(ndig + 10))
|
||||
return 0;
|
||||
|
||||
L = (ULong*)d;
|
||||
|
|
|
|||
2
lib/libc/mingw/gdtoa/g_ffmt.c
vendored
2
lib/libc/mingw/gdtoa/g_ffmt.c
vendored
|
|
@ -45,7 +45,7 @@ char *__g_ffmt (char *buf, float *f, int ndig, size_t bufsize)
|
|||
|
||||
if (ndig < 0)
|
||||
ndig = 0;
|
||||
if ((int) bufsize < ndig + 10)
|
||||
if (bufsize < (size_t)(ndig + 10))
|
||||
return 0;
|
||||
|
||||
L = (ULong*)f;
|
||||
|
|
|
|||
8
lib/libc/mingw/gdtoa/g_xfmt.c
vendored
8
lib/libc/mingw/gdtoa/g_xfmt.c
vendored
|
|
@ -69,7 +69,7 @@ char *__g_xfmt (char *buf, void *V, int ndig, size_t bufsize)
|
|||
|
||||
if (ndig < 0)
|
||||
ndig = 0;
|
||||
if ((int) bufsize < ndig + 10)
|
||||
if (bufsize < (size_t)(ndig + 10))
|
||||
return 0;
|
||||
|
||||
L = (UShort *)V;
|
||||
|
|
@ -103,14 +103,14 @@ char *__g_xfmt (char *buf, void *V, int ndig, size_t bufsize)
|
|||
if (ex != 0) {
|
||||
if (ex == 0x7fff) {
|
||||
/* Infinity or NaN */
|
||||
if (bits[0] | bits[1])
|
||||
b = strcp(buf, "NaN");
|
||||
else {
|
||||
if (!bits[0] && bits[1]== 0x80000000) {
|
||||
b = buf;
|
||||
if (sign)
|
||||
*b++ = '-';
|
||||
b = strcp(b, "Infinity");
|
||||
}
|
||||
else
|
||||
b = strcp(buf, "NaN");
|
||||
return b;
|
||||
}
|
||||
i = STRTOG_Normal;
|
||||
|
|
|
|||
9
lib/libc/mingw/gdtoa/gd_qnan.h
vendored
9
lib/libc/mingw/gdtoa/gd_qnan.h
vendored
|
|
@ -1,12 +1,3 @@
|
|||
#define f_QNAN 0x7fc00000
|
||||
#define d_QNAN0 0x0
|
||||
#define d_QNAN1 0x7ff80000
|
||||
#define ld_QNAN0 0x0
|
||||
#define ld_QNAN1 0xc0000000
|
||||
#define ld_QNAN2 0x7fff
|
||||
#define ld_QNAN3 0x0
|
||||
#define ldus_QNAN0 0x0
|
||||
#define ldus_QNAN1 0x0
|
||||
#define ldus_QNAN2 0x0
|
||||
#define ldus_QNAN3 0xc000
|
||||
#define ldus_QNAN4 0x7fff
|
||||
|
|
|
|||
22
lib/libc/mingw/gdtoa/gdtoa.c
vendored
22
lib/libc/mingw/gdtoa/gdtoa.c
vendored
|
|
@ -103,7 +103,7 @@ static Bigint *bitstob (ULong *bits, int nbits, int *bbits)
|
|||
* calculation.
|
||||
*/
|
||||
|
||||
char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
||||
char *__gdtoa (const FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
||||
int *decpt, char **rve)
|
||||
{
|
||||
/* Arguments ndigits and decpt are similar to the second and third
|
||||
|
|
@ -270,7 +270,7 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
break;
|
||||
case 2:
|
||||
leftright = 0;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case 4:
|
||||
if (ndigits <= 0)
|
||||
ndigits = 1;
|
||||
|
|
@ -278,7 +278,7 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
break;
|
||||
case 3:
|
||||
leftright = 0;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case 5:
|
||||
i = ndigits + k + 1;
|
||||
ilim = i;
|
||||
|
|
@ -288,7 +288,9 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
}
|
||||
s = s0 = rv_alloc(i);
|
||||
|
||||
if ( (rdir = fpi->rounding - 1) !=0) {
|
||||
if (mode <= 1)
|
||||
rdir = 0;
|
||||
else if ( (rdir = fpi->rounding - 1) !=0) {
|
||||
if (rdir < 0)
|
||||
rdir = 2;
|
||||
if (kind & STRTOG_Neg)
|
||||
|
|
@ -393,7 +395,7 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
else if (dval(&d) < ds - dval(&eps)) {
|
||||
if (dval(&d))
|
||||
inex = STRTOG_Inexlo;
|
||||
goto clear_trailing0;
|
||||
goto ret1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
@ -456,12 +458,8 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
}
|
||||
++*s++;
|
||||
}
|
||||
else {
|
||||
else
|
||||
inex = STRTOG_Inexlo;
|
||||
clear_trailing0:
|
||||
while(*--s == '0'){}
|
||||
++s;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -712,8 +710,6 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
chopzeros:
|
||||
if (b->wds > 1 || b->x[0])
|
||||
inex = STRTOG_Inexlo;
|
||||
while(*--s == '0'){}
|
||||
++s;
|
||||
}
|
||||
ret:
|
||||
Bfree(S);
|
||||
|
|
@ -723,6 +719,8 @@ char *__gdtoa (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits,
|
|||
Bfree(mhi);
|
||||
}
|
||||
ret1:
|
||||
while(s > s0 && s[-1] == '0')
|
||||
--s;
|
||||
Bfree(b);
|
||||
*s = 0;
|
||||
*decpt = k + 1;
|
||||
|
|
|
|||
2
lib/libc/mingw/gdtoa/gdtoa.h
vendored
2
lib/libc/mingw/gdtoa/gdtoa.h
vendored
|
|
@ -99,7 +99,7 @@ extern "C" {
|
|||
|
||||
extern char* __dtoa (double d, int mode, int ndigits, int *decpt,
|
||||
int *sign, char **rve);
|
||||
extern char* __gdtoa (FPI *fpi, int be, ULong *bits, int *kindp,
|
||||
extern char* __gdtoa (const FPI *fpi, int be, ULong *bits, int *kindp,
|
||||
int mode, int ndigits, int *decpt, char **rve);
|
||||
extern void __freedtoa (char *);
|
||||
|
||||
|
|
|
|||
22
lib/libc/mingw/gdtoa/gdtoaimp.h
vendored
22
lib/libc/mingw/gdtoa/gdtoaimp.h
vendored
|
|
@ -200,6 +200,12 @@ extern void *MALLOC (size_t);
|
|||
#define MALLOC malloc
|
||||
#endif
|
||||
|
||||
#ifdef REALLOC
|
||||
extern void *REALLOC (void*, size_t);
|
||||
#else
|
||||
#define REALLOC realloc
|
||||
#endif
|
||||
|
||||
#undef IEEE_Arith
|
||||
#undef Avoid_Underflow
|
||||
#ifdef IEEE_MC68k
|
||||
|
|
@ -457,10 +463,13 @@ extern double rnd_prod(double, double), rnd_quot(double, double);
|
|||
#define ALL_ON 0xffff
|
||||
#endif
|
||||
|
||||
#ifndef MULTIPLE_THREADS
|
||||
#ifdef MULTIPLE_THREADS /*{{*/
|
||||
extern void ACQUIRE_DTOA_LOCK (unsigned int);
|
||||
extern void FREE_DTOA_LOCK (unsigned int);
|
||||
#else /*}{*/
|
||||
#define ACQUIRE_DTOA_LOCK(n) /*nothing*/
|
||||
#define FREE_DTOA_LOCK(n) /*nothing*/
|
||||
#endif
|
||||
#endif /*}}*/
|
||||
|
||||
#define Kmax 9
|
||||
|
||||
|
|
@ -501,12 +510,15 @@ __hi0bits_D2A (ULong y)
|
|||
|
||||
#define Balloc __Balloc_D2A
|
||||
#define Bfree __Bfree_D2A
|
||||
#define InfName __InfName_D2A
|
||||
#define NanName __NanName_D2A
|
||||
#define ULtoQ __ULtoQ_D2A
|
||||
#define ULtof __ULtof_D2A
|
||||
#define ULtod __ULtod_D2A
|
||||
#define ULtodd __ULtodd_D2A
|
||||
#define ULtox __ULtox_D2A
|
||||
#define ULtoxL __ULtoxL_D2A
|
||||
#define add_nanbits __add_nanbits_D2A
|
||||
#define any_on __any_on_D2A
|
||||
#define b2d __b2d_D2A
|
||||
#define bigtens __bigtens_D2A
|
||||
|
|
@ -548,9 +560,11 @@ __hi0bits_D2A (ULong y)
|
|||
|
||||
#define hexdig_init_D2A __mingw_hexdig_init_D2A
|
||||
|
||||
extern char *add_nanbits (char*, size_t, ULong*, int);
|
||||
extern char *dtoa_result;
|
||||
extern const double bigtens[], tens[], tinytens[];
|
||||
extern unsigned char hexdig[];
|
||||
extern const char *InfName[6], *NanName[3];
|
||||
|
||||
extern Bigint *Balloc (int);
|
||||
extern void Bfree (Bigint*);
|
||||
|
|
@ -567,9 +581,9 @@ extern void copybits (ULong*, int, Bigint*);
|
|||
extern Bigint *d2b (double, int*, int*);
|
||||
extern void decrement (Bigint*);
|
||||
extern Bigint *diff (Bigint*, Bigint*);
|
||||
extern int gethex (const char**, FPI*, Long*, Bigint**, int);
|
||||
extern int gethex (const char**, const FPI*, Long*, Bigint**, int);
|
||||
extern void hexdig_init_D2A(void);
|
||||
extern int hexnan (const char**, FPI*, ULong*);
|
||||
extern int hexnan (const char**, const FPI*, ULong*);
|
||||
extern int hi0bits_D2A (ULong);
|
||||
extern Bigint *i2b (int);
|
||||
extern Bigint *increment (Bigint*);
|
||||
|
|
|
|||
25
lib/libc/mingw/gdtoa/gethex.c
vendored
25
lib/libc/mingw/gdtoa/gethex.c
vendored
|
|
@ -35,7 +35,7 @@ THIS SOFTWARE.
|
|||
#include "locale.h"
|
||||
#endif
|
||||
|
||||
int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
||||
int gethex (const char **sp, const FPI *fpi, Long *expo, Bigint **bp, int sign)
|
||||
{
|
||||
Bigint *b;
|
||||
const unsigned char *decpt, *s0, *s, *s1;
|
||||
|
|
@ -62,8 +62,7 @@ int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
if (!hexdig['0'])
|
||||
hexdig_init_D2A();
|
||||
/**** if (!hexdig['0']) hexdig_init_D2A(); ****/
|
||||
*bp = 0;
|
||||
havedig = 0;
|
||||
s0 = *(const unsigned char **)sp + 2;
|
||||
|
|
@ -125,7 +124,7 @@ int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
|||
switch(*++s) {
|
||||
case '-':
|
||||
esign = 1;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case '+':
|
||||
s++;
|
||||
}
|
||||
|
|
@ -177,7 +176,6 @@ int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
|||
case FPI_Round_down:
|
||||
if (sign)
|
||||
goto ovfl1;
|
||||
goto ret_big;
|
||||
}
|
||||
ret_big:
|
||||
nbits = fpi->nbits;
|
||||
|
|
@ -190,8 +188,8 @@ int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
|||
for(j = 0; j < n0; ++j)
|
||||
b->x[j] = ALL_ON;
|
||||
if (n > n0)
|
||||
b->x[j] = ULbits >> (ULbits - (nbits & kmask));
|
||||
*expo = fpi->emin;
|
||||
b->x[j] = ALL_ON >> (ULbits - (nbits & kmask));
|
||||
*expo = fpi->emax;
|
||||
return STRTOG_Normal | STRTOG_Inexlo;
|
||||
}
|
||||
n = s1 - s0 - 1;
|
||||
|
|
@ -253,6 +251,17 @@ int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
|||
Bfree(b);
|
||||
ovfl1:
|
||||
SET_ERRNO(ERANGE);
|
||||
switch (fpi->rounding) {
|
||||
case FPI_Round_zero:
|
||||
goto ret_big;
|
||||
case FPI_Round_down:
|
||||
if (!sign)
|
||||
goto ret_big;
|
||||
break;
|
||||
case FPI_Round_up:
|
||||
if (sign)
|
||||
goto ret_big;
|
||||
}
|
||||
return STRTOG_Infinite | STRTOG_Overflow | STRTOG_Inexhi;
|
||||
}
|
||||
irv = STRTOG_Normal;
|
||||
|
|
@ -262,7 +271,7 @@ int gethex (const char **sp, FPI *fpi, Long *expo, Bigint **bp, int sign)
|
|||
if (n >= nbits) {
|
||||
switch (fpi->rounding) {
|
||||
case FPI_Round_near:
|
||||
if (n == nbits && (n < 2 || any_on(b,n-1)))
|
||||
if (n == nbits && (n < 2 || lostbits || any_on(b,n-1)))
|
||||
goto one_bit;
|
||||
break;
|
||||
case FPI_Round_up:
|
||||
|
|
|
|||
24
lib/libc/mingw/gdtoa/hd_init.c
vendored
24
lib/libc/mingw/gdtoa/hd_init.c
vendored
|
|
@ -31,6 +31,7 @@ THIS SOFTWARE.
|
|||
|
||||
#include "gdtoaimp.h"
|
||||
|
||||
#if 0
|
||||
unsigned char hexdig[256];
|
||||
|
||||
static void htinit (unsigned char *h, unsigned char *s, int inc)
|
||||
|
|
@ -40,10 +41,31 @@ static void htinit (unsigned char *h, unsigned char *s, int inc)
|
|||
h[j] = i + inc;
|
||||
}
|
||||
|
||||
void hexdig_init_D2A (void)
|
||||
+hexdig_init_D2A(void) /* Use of hexdig_init omitted 20121220 to avoid a */
|
||||
/* race condition when multiple threads are used. */
|
||||
{
|
||||
#define USC (unsigned char *)
|
||||
htinit(hexdig, USC "0123456789", 0x10);
|
||||
htinit(hexdig, USC "abcdef", 0x10 + 10);
|
||||
htinit(hexdig, USC "ABCDEF", 0x10 + 10);
|
||||
}
|
||||
#else
|
||||
unsigned char hexdig[256] = {
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
16,17,18,19,20,21,22,23,24,25,0,0,0,0,0,0,
|
||||
0,26,27,28,29,30,31,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,26,27,28,29,30,31,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
21
lib/libc/mingw/gdtoa/hexnan.c
vendored
21
lib/libc/mingw/gdtoa/hexnan.c
vendored
|
|
@ -44,14 +44,13 @@ static void L_shift (ULong *x, ULong *x1, int i)
|
|||
} while(++x < x1);
|
||||
}
|
||||
|
||||
int hexnan (const char **sp, FPI *fpi, ULong *x0)
|
||||
int hexnan (const char **sp, const FPI *fpi, ULong *x0)
|
||||
{
|
||||
ULong c, h, *x, *x1, *xe;
|
||||
const char *s;
|
||||
int havedig, hd0, i, nbits;
|
||||
|
||||
if (!hexdig['0'])
|
||||
hexdig_init_D2A();
|
||||
/**** if (!hexdig['0']) hexdig_init_D2A(); ****/
|
||||
nbits = fpi->nbits;
|
||||
x = x0 + (nbits >> kshift);
|
||||
if (nbits & kmask)
|
||||
|
|
@ -61,8 +60,11 @@ int hexnan (const char **sp, FPI *fpi, ULong *x0)
|
|||
havedig = hd0 = i = 0;
|
||||
s = *sp;
|
||||
/* allow optional initial 0x or 0X */
|
||||
while((c = *(const unsigned char*)(s+1)) && c <= ' ')
|
||||
while((c = *(const unsigned char*)(s+1)) && c <= ' ') {
|
||||
if (!c)
|
||||
goto retnan;
|
||||
++s;
|
||||
}
|
||||
if (s[1] == '0' && (s[2] == 'x' || s[2] == 'X')
|
||||
&& *(const unsigned char*)(s+3) > ' ')
|
||||
s += 2;
|
||||
|
|
@ -81,8 +83,11 @@ int hexnan (const char **sp, FPI *fpi, ULong *x0)
|
|||
x1 = x;
|
||||
i = 0;
|
||||
}
|
||||
while(*(const unsigned char*)(s+1) <= ' ')
|
||||
while((c = *(const unsigned char*)(s+1)) <= ' ') {
|
||||
if (!c)
|
||||
goto retnan;
|
||||
++s;
|
||||
}
|
||||
if (s[1] == '0' && (s[2] == 'x' || s[2] == 'X')
|
||||
&& *(const unsigned char*)(s+3) > ' ')
|
||||
s += 2;
|
||||
|
|
@ -96,10 +101,11 @@ int hexnan (const char **sp, FPI *fpi, ULong *x0)
|
|||
do {
|
||||
if (/*(*/ c == ')') {
|
||||
*sp = s + 1;
|
||||
break;
|
||||
goto break2;
|
||||
}
|
||||
} while((c = *++s));
|
||||
#endif
|
||||
retnan:
|
||||
return STRTOG_NaN;
|
||||
}
|
||||
havedig++;
|
||||
|
|
@ -111,6 +117,9 @@ int hexnan (const char **sp, FPI *fpi, ULong *x0)
|
|||
}
|
||||
*x = (*x << 4) | (h & 0xf);
|
||||
}
|
||||
#ifndef GDTOA_NON_PEDANTIC_NANCHECK
|
||||
break2:
|
||||
#endif
|
||||
if (!havedig)
|
||||
return STRTOG_NaN;
|
||||
if (x < x1 && i < 8)
|
||||
|
|
|
|||
4
lib/libc/mingw/gdtoa/misc.c
vendored
4
lib/libc/mingw/gdtoa/misc.c
vendored
|
|
@ -69,7 +69,7 @@ static void dtoa_lock_cleanup (void)
|
|||
}
|
||||
}
|
||||
|
||||
static void dtoa_lock (int n)
|
||||
static void dtoa_lock (unsigned int n)
|
||||
{
|
||||
if (2 == dtoa_CS_init) {
|
||||
EnterCriticalSection (&dtoa_CritSec[n]);
|
||||
|
|
@ -96,7 +96,7 @@ static void dtoa_lock (int n)
|
|||
EnterCriticalSection(&dtoa_CritSec[n]);
|
||||
}
|
||||
|
||||
static void dtoa_unlock (int n)
|
||||
static void dtoa_unlock (unsigned int n)
|
||||
{
|
||||
if (2 == dtoa_CS_init)
|
||||
LeaveCriticalSection (&dtoa_CritSec[n]);
|
||||
|
|
|
|||
49
lib/libc/mingw/gdtoa/qnan.c
vendored
49
lib/libc/mingw/gdtoa/qnan.c
vendored
|
|
@ -51,15 +51,27 @@ SOFTWARE.
|
|||
|
||||
typedef unsigned Long Ulong;
|
||||
|
||||
#ifdef NO_LONG_LONG
|
||||
#undef Gen_ld_QNAN
|
||||
#endif
|
||||
|
||||
#undef HAVE_IEEE
|
||||
#ifdef IEEE_8087
|
||||
#define _0 1
|
||||
#define _1 0
|
||||
#ifdef Gen_ld_QNAN
|
||||
#define _3 3
|
||||
static int perm[4] = { 0, 1, 2, 3 };
|
||||
#endif
|
||||
#define HAVE_IEEE
|
||||
#endif
|
||||
#ifdef IEEE_MC68k
|
||||
#define _0 0
|
||||
#define _1 1
|
||||
#ifdef Gen_ld_QNAN
|
||||
#define _3 0
|
||||
static int perm[4] = { 3, 2, 1, 0 };
|
||||
#endif
|
||||
#define HAVE_IEEE
|
||||
#endif
|
||||
|
||||
|
|
@ -75,40 +87,35 @@ main(void)
|
|||
double d;
|
||||
Ulong L[4];
|
||||
#ifndef NO_LONG_LONG
|
||||
/* need u[8] instead of u[5] for 64 bit */
|
||||
unsigned short u[8];
|
||||
unsigned short u[5];
|
||||
long double D;
|
||||
#endif
|
||||
} U;
|
||||
U a, b, c;
|
||||
#ifdef Gen_ld_QNAN
|
||||
int i;
|
||||
a.L[0]=a.L[1]=a.L[2]=a.L[3]=0;
|
||||
b.L[0]=b.L[1]=b.L[2]=b.L[3]=0;
|
||||
c.L[0]=c.L[1]=c.L[2]=c.L[3]=0;
|
||||
#endif
|
||||
|
||||
a.L[0] = b.L[0] = 0x7f800000;
|
||||
c.f = a.f - b.f;
|
||||
printf("#define f_QNAN 0x%lx\n", UL c.L[0]);
|
||||
printf("#define f_QNAN 0x%lx\n", UL (c.L[0] & 0x7fffffff));
|
||||
a.L[_0] = b.L[_0] = 0x7ff00000;
|
||||
a.L[_1] = b.L[_1] = 0;
|
||||
c.d = a.d - b.d; /* quiet NaN */
|
||||
c.L[_0] &= 0x7fffffff;
|
||||
printf("#define d_QNAN0 0x%lx\n", UL c.L[0]);
|
||||
printf("#define d_QNAN1 0x%lx\n", UL c.L[1]);
|
||||
#ifdef NO_LONG_LONG
|
||||
for(i = 0; i < 4; i++)
|
||||
printf("#define ld_QNAN%d 0xffffffff\n", i);
|
||||
for(i = 0; i < 5; i++)
|
||||
printf("#define ldus_QNAN%d 0xffff\n", i);
|
||||
#else
|
||||
b.D = c.D = a.d;
|
||||
if (printf("") < 0)
|
||||
c.D = 37; /* never executed; just defeat optimization */
|
||||
a.L[2] = a.L[3] = 0;
|
||||
a.D = b.D - c.D;
|
||||
for(i = 0; i < 4; i++)
|
||||
printf("#define ld_QNAN%d 0x%lx\n", i, UL a.L[i]);
|
||||
for(i = 0; i < 5; i++)
|
||||
printf("#define ldus_QNAN%d 0x%x\n", i, a.u[i]);
|
||||
#ifdef Gen_ld_QNAN
|
||||
if (sizeof(a.D) >= 16) {
|
||||
b.D = c.D = a.d;
|
||||
if (printf("") < 0)
|
||||
c.D = 37; /* never executed; just defeat optimization */
|
||||
a.L[0] = a.L[1] = a.L[2] = a.L[3] = 0;
|
||||
a.D = b.D - c.D;
|
||||
a.L[_3] &= 0x7fffffff;
|
||||
for(i = 0; i < 4; i++)
|
||||
printf("#define ld_QNAN%d 0x%lx\n", i, UL a.L[perm[i]]);
|
||||
}
|
||||
#endif
|
||||
#endif /* HAVE_IEEE */
|
||||
return 0;
|
||||
|
|
|
|||
54
lib/libc/mingw/gdtoa/strtodg.c
vendored
54
lib/libc/mingw/gdtoa/strtodg.c
vendored
|
|
@ -270,8 +270,8 @@ int __strtodg (const char *s00, char **se, FPI *fpi, Long *expo, ULong *bits)
|
|||
{
|
||||
int abe, abits, asub;
|
||||
int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm;
|
||||
int dsign, e, e1, e2, emin, esign, finished, i, inex, irv;
|
||||
int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign;
|
||||
int dsign, e, e1, e2, emin, esign, finished, i, inex, irv, j, k;
|
||||
int nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign;
|
||||
int sudden_underflow;
|
||||
const char *s, *s0, *s1;
|
||||
double adj0, tol;
|
||||
|
|
@ -309,11 +309,11 @@ int __strtodg (const char *s00, char **se, FPI *fpi, Long *expo, ULong *bits)
|
|||
for(s = s00;;s++) switch(*s) {
|
||||
case '-':
|
||||
sign = 1;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case '+':
|
||||
if (*++s)
|
||||
goto break2;
|
||||
/* no break */
|
||||
/* fallthrough */
|
||||
case 0:
|
||||
sign = 0;
|
||||
irv = STRTOG_NoNumber;
|
||||
|
|
@ -411,8 +411,10 @@ int __strtodg (const char *s00, char **se, FPI *fpi, Long *expo, ULong *bits)
|
|||
switch(c = *++s) {
|
||||
case '-':
|
||||
esign = 1;
|
||||
/* fallthrough */
|
||||
case '+':
|
||||
c = *++s;
|
||||
/* fallthrough */
|
||||
}
|
||||
if (c >= '0' && c <= '9') {
|
||||
while(c == '0')
|
||||
|
|
@ -494,7 +496,7 @@ int __strtodg (const char *s00, char **se, FPI *fpi, Long *expo, ULong *bits)
|
|||
|
||||
if (!nd0)
|
||||
nd0 = nd;
|
||||
k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
|
||||
k = nd < DBL_DIG + 2 ? nd : DBL_DIG + 2;
|
||||
dval(&rv) = y;
|
||||
if (k > 9)
|
||||
dval(&rv) = tens[k - 9] * dval(&rv) + z;
|
||||
|
|
@ -921,20 +923,31 @@ int __strtodg (const char *s00, char **se, FPI *fpi, Long *expo, ULong *bits)
|
|||
Bfree(bd0);
|
||||
Bfree(delta);
|
||||
if (rve > fpi->emax) {
|
||||
switch(fpi->rounding & 3) {
|
||||
case FPI_Round_near:
|
||||
goto huge;
|
||||
case FPI_Round_up:
|
||||
if (!sign)
|
||||
goto huge;
|
||||
break;
|
||||
case FPI_Round_down:
|
||||
if (sign)
|
||||
goto huge;
|
||||
}
|
||||
/* Round to largest representable magnitude */
|
||||
huge:
|
||||
Bfree(rvb);
|
||||
rvb = 0;
|
||||
SET_ERRNO(ERANGE);
|
||||
switch(fpi->rounding & 3) {
|
||||
case FPI_Round_up:
|
||||
if (!sign)
|
||||
goto ret_inf;
|
||||
break;
|
||||
case FPI_Round_down:
|
||||
if (!sign)
|
||||
break;
|
||||
/* fallthrough */
|
||||
case FPI_Round_near:
|
||||
ret_inf:
|
||||
irv = STRTOG_Infinite | STRTOG_Overflow | STRTOG_Inexhi;
|
||||
k = nbits >> kshift;
|
||||
if (nbits & kmask)
|
||||
++k;
|
||||
memset(bits, 0, k*sizeof(ULong));
|
||||
infnanexp:
|
||||
*expo = fpi->emax + 1;
|
||||
goto ret;
|
||||
}
|
||||
/* Round to largest representable magnitude */
|
||||
irv = STRTOG_Normal | STRTOG_Inexlo;
|
||||
*expo = fpi->emax;
|
||||
b = bits;
|
||||
|
|
@ -943,13 +956,6 @@ int __strtodg (const char *s00, char **se, FPI *fpi, Long *expo, ULong *bits)
|
|||
*b++ = -1;
|
||||
if ((j = fpi->nbits & 0x1f))
|
||||
*--be >>= (32 - j);
|
||||
goto ret;
|
||||
huge:
|
||||
rvb->wds = 0;
|
||||
irv = STRTOG_Infinite | STRTOG_Overflow | STRTOG_Inexhi;
|
||||
SET_ERRNO(ERANGE);
|
||||
infnanexp:
|
||||
*expo = fpi->emax + 1;
|
||||
}
|
||||
ret:
|
||||
if (denorm) {
|
||||
|
|
|
|||
2
lib/libc/mingw/gdtoa/strtodnrp.c
vendored
2
lib/libc/mingw/gdtoa/strtodnrp.c
vendored
|
|
@ -39,7 +39,7 @@ THIS SOFTWARE.
|
|||
|
||||
double __strtod (const char *s, char **sp)
|
||||
{
|
||||
static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI, Int_max };
|
||||
static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI, Int_max /*unused*/ };
|
||||
ULong bits[2];
|
||||
Long expo;
|
||||
int k;
|
||||
|
|
|
|||
3
lib/libc/mingw/gdtoa/strtof.c
vendored
3
lib/libc/mingw/gdtoa/strtof.c
vendored
|
|
@ -33,7 +33,7 @@ THIS SOFTWARE.
|
|||
|
||||
float __strtof (const char *s, char **sp)
|
||||
{
|
||||
static FPI fpi0 = { 24, 1-127-24+1, 254-127-24+1, 1, SI, Int_max };
|
||||
static FPI fpi0 = { 24, 1-127-24+1, 254-127-24+1, 1, SI, Int_max /*unused*/ };
|
||||
ULong bits[1];
|
||||
Long expo;
|
||||
int k;
|
||||
|
|
@ -46,6 +46,7 @@ float __strtof (const char *s, char **sp)
|
|||
|
||||
k = __strtodg(s, sp, fpi, &expo, bits);
|
||||
switch(k & STRTOG_Retmask) {
|
||||
default: /* unused */
|
||||
case STRTOG_NoNumber:
|
||||
case STRTOG_Zero:
|
||||
u.L[0] = 0;
|
||||
|
|
|
|||
14
lib/libc/mingw/gdtoa/strtopx.c
vendored
14
lib/libc/mingw/gdtoa/strtopx.c
vendored
|
|
@ -31,6 +31,8 @@ THIS SOFTWARE.
|
|||
|
||||
#include "gdtoaimp.h"
|
||||
|
||||
extern UShort NanDflt_ldus_D2A[5];
|
||||
|
||||
#undef _0
|
||||
#undef _1
|
||||
|
||||
|
|
@ -63,7 +65,7 @@ typedef union lD {
|
|||
static int __strtopx (const char *s, char **sp, lD *V)
|
||||
{
|
||||
static FPI fpi0 = { 64, 1-16383-64+1, 32766 - 16383 - 64 + 1, 1, SI,
|
||||
Int_max };
|
||||
Int_max /*unused*/ };
|
||||
ULong bits[2];
|
||||
Long expo;
|
||||
int k;
|
||||
|
|
@ -103,11 +105,11 @@ static int __strtopx (const char *s, char **sp, lD *V)
|
|||
break;
|
||||
|
||||
case STRTOG_NaN:
|
||||
L[0] = ldus_QNAN0;
|
||||
L[1] = ldus_QNAN1;
|
||||
L[2] = ldus_QNAN2;
|
||||
L[3] = ldus_QNAN3;
|
||||
L[4] = ldus_QNAN4;
|
||||
L[_4] = NanDflt_ldus_D2A[0];
|
||||
L[_3] = NanDflt_ldus_D2A[1];
|
||||
L[_2] = NanDflt_ldus_D2A[2];
|
||||
L[_1] = NanDflt_ldus_D2A[3];
|
||||
L[_0] = NanDflt_ldus_D2A[4];
|
||||
}
|
||||
if (k & STRTOG_Neg)
|
||||
L[_0] |= 0x8000;
|
||||
|
|
|
|||
73
lib/libc/mingw/include/config.h
vendored
73
lib/libc/mingw/include/config.h
vendored
|
|
@ -1,73 +0,0 @@
|
|||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdio.h> header file. */
|
||||
#define HAVE_STDIO_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "mingw-w64-runtime"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "mingw-w64-public@lists.sourceforge.net"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "mingw-w64-runtime"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "mingw-w64-runtime 4.0b"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "mingw-w64-runtime"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "4.0b"
|
||||
|
||||
/* Define to 1 if all of the C90 standard headers exist (not just the ones
|
||||
required in a freestanding environment). This macro is provided for
|
||||
backward compatibility; new code need not use it. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "4.0b"
|
||||
|
||||
/* Build DFP support */
|
||||
/* #undef __ENABLE_DFP */
|
||||
|
||||
/* Define as -1 to enable command line globbing or 0 to disable it. */
|
||||
#define __ENABLE_GLOBBING 0
|
||||
|
||||
/* Build DFP support */
|
||||
/* #undef __ENABLE_PRINTF128 */
|
||||
|
||||
/* Build DFP support */
|
||||
/* #undef __ENABLE_REGISTEREDPRINTF */
|
||||
|
||||
/* Build softmath routines */
|
||||
/* #undef __ENABLE_SOFTMATH */
|
||||
2
lib/libc/mingw/include/sect_attribs.h
vendored
2
lib/libc/mingw/include/sect_attribs.h
vendored
|
|
@ -65,7 +65,7 @@
|
|||
#if defined(_MSC_VER)
|
||||
#define _CRTALLOC(x) __declspec(allocate(x))
|
||||
#elif defined(__GNUC__)
|
||||
#define _CRTALLOC(x) __attribute__ ((section (x) ))
|
||||
#define _CRTALLOC(x) __attribute__ ((section (x), used))
|
||||
#else
|
||||
#error Your compiler is not supported.
|
||||
#endif
|
||||
|
|
|
|||
16
lib/libc/mingw/lib-common/acledit.def
vendored
Normal file
16
lib/libc/mingw/lib-common/acledit.def
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
;
|
||||
; Exports of file ACLEDIT.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY ACLEDIT.dll
|
||||
EXPORTS
|
||||
EditAuditInfo
|
||||
EditOwnerInfo
|
||||
EditPermissionInfo
|
||||
DllMain
|
||||
FMExtensionProcW
|
||||
SedDiscretionaryAclEditor
|
||||
SedSystemAclEditor
|
||||
SedTakeOwnership
|
||||
11
lib/libc/mingw/lib-common/advapi32.def.in
vendored
11
lib/libc/mingw/lib-common/advapi32.def.in
vendored
|
|
@ -441,12 +441,15 @@ LsaAddAccountRights
|
|||
LsaAddPrivilegesToAccount
|
||||
LsaClearAuditLog
|
||||
LsaClose
|
||||
LsaConfigureAutoLogonCredentials
|
||||
LsaCreateAccount
|
||||
LsaCreateSecret
|
||||
LsaCreateTrustedDomain
|
||||
LsaCreateTrustedDomainEx
|
||||
LsaDelete
|
||||
LsaDeleteTrustedDomain
|
||||
LsaDisableUserArso
|
||||
LsaEnableUserArso
|
||||
LsaEnumerateAccountRights
|
||||
LsaEnumerateAccounts
|
||||
LsaEnumerateAccountsWithUserRight
|
||||
|
|
@ -456,6 +459,7 @@ LsaEnumerateTrustedDomains
|
|||
LsaEnumerateTrustedDomainsEx
|
||||
LsaFreeMemory
|
||||
LsaGetAppliedCAPIDs
|
||||
LsaGetDeviceRegistrationInfo
|
||||
LsaGetQuotasForAccount
|
||||
LsaGetRemoteUserName
|
||||
LsaGetSystemAccessAccount
|
||||
|
|
@ -464,6 +468,9 @@ LsaICLookupNames
|
|||
LsaICLookupNamesWithCreds
|
||||
LsaICLookupSids
|
||||
LsaICLookupSidsWithCreds
|
||||
LsaInvokeTrustScanner
|
||||
LsaIsUserArsoAllowed
|
||||
LsaIsUserArsoEnabled
|
||||
LsaLookupNames
|
||||
LsaLookupNames2
|
||||
LsaLookupPrivilegeDisplayName
|
||||
|
|
@ -479,9 +486,11 @@ LsaOpenPolicySce
|
|||
LsaOpenSecret
|
||||
LsaOpenTrustedDomain
|
||||
LsaOpenTrustedDomainByName
|
||||
LsaProfileDeleted
|
||||
LsaQueryCAPs
|
||||
LsaQueryDomainInformationPolicy
|
||||
LsaQueryForestTrustInformation
|
||||
LsaQueryForestTrustInformation2
|
||||
LsaQueryInfoTrustedDomain
|
||||
LsaQueryInformationPolicy
|
||||
LsaQuerySecret
|
||||
|
|
@ -494,6 +503,7 @@ LsaRetrievePrivateData
|
|||
LsaSetCAPs
|
||||
LsaSetDomainInformationPolicy
|
||||
LsaSetForestTrustInformation
|
||||
LsaSetForestTrustInformation2
|
||||
LsaSetInformationPolicy
|
||||
LsaSetInformationTrustedDomain
|
||||
LsaSetQuotasForAccount
|
||||
|
|
@ -503,6 +513,7 @@ LsaSetSystemAccessAccount
|
|||
LsaSetTrustedDomainInfoByName
|
||||
LsaSetTrustedDomainInformation
|
||||
LsaStorePrivateData
|
||||
LsaValidateProcUniqueLuid
|
||||
MD4Final
|
||||
MD4Init
|
||||
MD4Update
|
||||
|
|
|
|||
5
lib/libc/mingw/lib-common/advpack.def
vendored
5
lib/libc/mingw/lib-common/advpack.def
vendored
|
|
@ -21,10 +21,8 @@ AdvInstallFileW
|
|||
CloseINFEngine
|
||||
DelNode
|
||||
DelNodeA
|
||||
DelNodeRunDLL32
|
||||
DelNodeRunDLL32W
|
||||
DelNodeW
|
||||
DoInfInstall
|
||||
ExecuteCab
|
||||
ExecuteCabA
|
||||
ExecuteCabW
|
||||
|
|
@ -34,7 +32,6 @@ ExtractFilesW
|
|||
FileSaveMarkNotExist
|
||||
FileSaveMarkNotExistA
|
||||
FileSaveMarkNotExistW
|
||||
FileSaveRestore
|
||||
FileSaveRestoreOnINF
|
||||
FileSaveRestoreOnINFA
|
||||
FileSaveRestoreOnINFW
|
||||
|
|
@ -47,7 +44,6 @@ GetVersionFromFileExW
|
|||
GetVersionFromFileW
|
||||
IsNTAdmin
|
||||
LaunchINFSection
|
||||
LaunchINFSectionEx
|
||||
LaunchINFSectionExW
|
||||
LaunchINFSectionW
|
||||
NeedReboot
|
||||
|
|
@ -70,7 +66,6 @@ RegSaveRestoreOnINF
|
|||
RegSaveRestoreOnINFA
|
||||
RegSaveRestoreOnINFW
|
||||
RegSaveRestoreW
|
||||
RegisterOCX
|
||||
RunSetupCommand
|
||||
RunSetupCommandA
|
||||
RunSetupCommandW
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
LIBRARY api-ms-win-appmodel-runtime-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
FormatApplicationUserModelId
|
||||
GetCurrentApplicationUserModelId
|
||||
GetCurrentPackageFamilyName
|
||||
GetCurrentPackageId
|
||||
PackageFamilyNameFromFullName
|
||||
PackageFamilyNameFromId
|
||||
PackageFullNameFromId
|
||||
PackageIdFromFullName
|
||||
PackageNameAndPublisherIdFromFamilyName
|
||||
ParseApplicationUserModelId
|
||||
VerifyApplicationUserModelId
|
||||
VerifyPackageFamilyName
|
||||
VerifyPackageFullName
|
||||
VerifyPackageId
|
||||
VerifyPackageRelativeApplicationId
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
LIBRARY api-ms-win-core-comm-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
ClearCommBreak
|
||||
ClearCommError
|
||||
EscapeCommFunction
|
||||
GetCommConfig
|
||||
GetCommMask
|
||||
GetCommModemStatus
|
||||
GetCommProperties
|
||||
GetCommState
|
||||
GetCommTimeouts
|
||||
OpenCommPort
|
||||
PurgeComm
|
||||
SetCommBreak
|
||||
SetCommConfig
|
||||
SetCommMask
|
||||
SetCommState
|
||||
SetCommTimeouts
|
||||
SetupComm
|
||||
TransmitCommChar
|
||||
WaitCommEvent
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
LIBRARY api-ms-win-core-comm-l1-1-2
|
||||
|
||||
EXPORTS
|
||||
|
||||
ClearCommBreak
|
||||
ClearCommError
|
||||
EscapeCommFunction
|
||||
GetCommConfig
|
||||
GetCommMask
|
||||
GetCommModemStatus
|
||||
GetCommPorts
|
||||
GetCommProperties
|
||||
GetCommState
|
||||
GetCommTimeouts
|
||||
OpenCommPort
|
||||
PurgeComm
|
||||
SetCommBreak
|
||||
SetCommConfig
|
||||
SetCommMask
|
||||
SetCommState
|
||||
SetCommTimeouts
|
||||
SetupComm
|
||||
TransmitCommChar
|
||||
WaitCommEvent
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
LIBRARY api-ms-win-core-errorhandling-l1-1-3
|
||||
|
||||
EXPORTS
|
||||
|
||||
AddVectoredExceptionHandler
|
||||
FatalAppExitA
|
||||
FatalAppExitW
|
||||
GetLastError
|
||||
GetThreadErrorMode
|
||||
RaiseException
|
||||
RaiseFailFastException
|
||||
RemoveVectoredExceptionHandler
|
||||
SetErrorMode
|
||||
SetLastError
|
||||
SetThreadErrorMode
|
||||
SetUnhandledExceptionFilter
|
||||
UnhandledExceptionFilter
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
LIBRARY api-ms-win-core-featurestaging-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
GetFeatureEnabledState
|
||||
RecordFeatureError
|
||||
RecordFeatureUsage
|
||||
SubscribeFeatureStateChangeNotification
|
||||
UnsubscribeFeatureStateChangeNotification
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
LIBRARY api-ms-win-core-featurestaging-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
GetFeatureEnabledState
|
||||
GetFeatureVariant
|
||||
RecordFeatureError
|
||||
RecordFeatureUsage
|
||||
SubscribeFeatureStateChangeNotification
|
||||
UnsubscribeFeatureStateChangeNotification
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
LIBRARY api-ms-win-core-file-fromapp-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
CopyFileFromAppW
|
||||
CreateDirectoryFromAppW
|
||||
CreateFile2FromAppW
|
||||
CreateFileFromAppW
|
||||
DeleteFileFromAppW
|
||||
FindFirstFileExFromAppW
|
||||
GetFileAttributesExFromAppW
|
||||
MoveFileFromAppW
|
||||
RemoveDirectoryFromAppW
|
||||
ReplaceFileFromAppW
|
||||
SetFileAttributesFromAppW
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
LIBRARY api-ms-win-core-handle-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
CloseHandle
|
||||
CompareObjectHandles
|
||||
DuplicateHandle
|
||||
GetHandleInformation
|
||||
SetHandleInformation
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
LIBRARY api-ms-win-core-libraryloader-l2-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
LoadPackagedLibrary
|
||||
QueryOptionalDelayLoadedAPI
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
LIBRARY api-ms-win-core-memory-l1-1-3
|
||||
|
||||
EXPORTS
|
||||
|
||||
CreateFileMappingFromApp
|
||||
CreateFileMappingW
|
||||
DiscardVirtualMemory
|
||||
FlushViewOfFile
|
||||
GetLargePageMinimum
|
||||
GetProcessWorkingSetSizeEx
|
||||
GetWriteWatch
|
||||
MapViewOfFile
|
||||
MapViewOfFileEx
|
||||
MapViewOfFileFromApp
|
||||
OfferVirtualMemory
|
||||
OpenFileMappingFromApp
|
||||
OpenFileMappingW
|
||||
ReadProcessMemory
|
||||
ReclaimVirtualMemory
|
||||
ResetWriteWatch
|
||||
SetProcessValidCallTargets
|
||||
SetProcessWorkingSetSizeEx
|
||||
UnmapViewOfFile
|
||||
UnmapViewOfFileEx
|
||||
VirtualAlloc
|
||||
VirtualAllocFromApp
|
||||
VirtualFree
|
||||
VirtualFreeEx
|
||||
VirtualLock
|
||||
VirtualProtect
|
||||
VirtualProtectFromApp
|
||||
VirtualQuery
|
||||
VirtualQueryEx
|
||||
VirtualUnlock
|
||||
WriteProcessMemory
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
LIBRARY api-ms-win-core-memory-l1-1-5
|
||||
|
||||
EXPORTS
|
||||
|
||||
CreateFileMappingFromApp
|
||||
CreateFileMappingW
|
||||
DiscardVirtualMemory
|
||||
FlushViewOfFile
|
||||
GetLargePageMinimum
|
||||
GetProcessWorkingSetSizeEx
|
||||
GetWriteWatch
|
||||
MapViewOfFile
|
||||
MapViewOfFileEx
|
||||
MapViewOfFileFromApp
|
||||
OfferVirtualMemory
|
||||
OpenFileMappingFromApp
|
||||
OpenFileMappingW
|
||||
ReadProcessMemory
|
||||
ReclaimVirtualMemory
|
||||
ResetWriteWatch
|
||||
SetProcessValidCallTargets
|
||||
SetProcessWorkingSetSizeEx
|
||||
UnmapViewOfFile
|
||||
UnmapViewOfFile2
|
||||
UnmapViewOfFileEx
|
||||
VirtualAlloc
|
||||
VirtualAllocFromApp
|
||||
VirtualFree
|
||||
VirtualFreeEx
|
||||
VirtualLock
|
||||
VirtualProtect
|
||||
VirtualProtectFromApp
|
||||
VirtualQuery
|
||||
VirtualQueryEx
|
||||
VirtualUnlock
|
||||
VirtualUnlockEx
|
||||
WriteProcessMemory
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
LIBRARY api-ms-win-core-memory-l1-1-6
|
||||
|
||||
EXPORTS
|
||||
|
||||
CreateFileMappingFromApp
|
||||
CreateFileMappingW
|
||||
DiscardVirtualMemory
|
||||
FlushViewOfFile
|
||||
GetLargePageMinimum
|
||||
GetProcessWorkingSetSizeEx
|
||||
GetWriteWatch
|
||||
MapViewOfFile
|
||||
MapViewOfFile3FromApp
|
||||
MapViewOfFileEx
|
||||
MapViewOfFileFromApp
|
||||
OfferVirtualMemory
|
||||
OpenFileMappingFromApp
|
||||
OpenFileMappingW
|
||||
ReadProcessMemory
|
||||
ReclaimVirtualMemory
|
||||
ResetWriteWatch
|
||||
SetProcessValidCallTargets
|
||||
SetProcessWorkingSetSizeEx
|
||||
UnmapViewOfFile
|
||||
UnmapViewOfFile2
|
||||
UnmapViewOfFileEx
|
||||
VirtualAlloc
|
||||
VirtualAlloc2FromApp
|
||||
VirtualAllocFromApp
|
||||
VirtualFree
|
||||
VirtualFreeEx
|
||||
VirtualLock
|
||||
VirtualProtect
|
||||
VirtualProtectFromApp
|
||||
VirtualQuery
|
||||
VirtualQueryEx
|
||||
VirtualUnlock
|
||||
VirtualUnlockEx
|
||||
WriteProcessMemory
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
LIBRARY api-ms-win-core-memory-l1-1-7
|
||||
|
||||
EXPORTS
|
||||
|
||||
CreateFileMappingFromApp
|
||||
CreateFileMappingW
|
||||
DiscardVirtualMemory
|
||||
FlushViewOfFile
|
||||
GetLargePageMinimum
|
||||
GetProcessWorkingSetSizeEx
|
||||
GetWriteWatch
|
||||
MapViewOfFile
|
||||
MapViewOfFile3FromApp
|
||||
MapViewOfFileEx
|
||||
MapViewOfFileFromApp
|
||||
OfferVirtualMemory
|
||||
OpenFileMappingFromApp
|
||||
OpenFileMappingW
|
||||
ReadProcessMemory
|
||||
ReclaimVirtualMemory
|
||||
ResetWriteWatch
|
||||
SetProcessValidCallTargets
|
||||
SetProcessValidCallTargetsForMappedView
|
||||
SetProcessWorkingSetSizeEx
|
||||
UnmapViewOfFile
|
||||
UnmapViewOfFile2
|
||||
UnmapViewOfFileEx
|
||||
VirtualAlloc
|
||||
VirtualAlloc2FromApp
|
||||
VirtualAllocFromApp
|
||||
VirtualFree
|
||||
VirtualFreeEx
|
||||
VirtualLock
|
||||
VirtualProtect
|
||||
VirtualProtectFromApp
|
||||
VirtualQuery
|
||||
VirtualQueryEx
|
||||
VirtualUnlock
|
||||
VirtualUnlockEx
|
||||
WriteProcessMemory
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
LIBRARY api-ms-win-core-path-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
PathAllocCanonicalize
|
||||
PathAllocCombine
|
||||
PathCchAddBackslash
|
||||
PathCchAddBackslashEx
|
||||
PathCchAddExtension
|
||||
PathCchAppend
|
||||
PathCchAppendEx
|
||||
PathCchCanonicalize
|
||||
PathCchCanonicalizeEx
|
||||
PathCchCombine
|
||||
PathCchCombineEx
|
||||
PathCchFindExtension
|
||||
PathCchIsRoot
|
||||
PathCchRemoveBackslash
|
||||
PathCchRemoveBackslashEx
|
||||
PathCchRemoveExtension
|
||||
PathCchRemoveFileSpec
|
||||
PathCchRenameExtension
|
||||
PathCchSkipRoot
|
||||
PathCchStripPrefix
|
||||
PathCchStripToRoot
|
||||
PathIsUNCEx
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
LIBRARY api-ms-win-core-psm-appnotify-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
RegisterAppStateChangeNotification
|
||||
UnregisterAppStateChangeNotification
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
LIBRARY api-ms-win-core-realtime-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
QueryInterruptTime
|
||||
QueryInterruptTimePrecise
|
||||
QueryThreadCycleTime
|
||||
QueryUnbiasedInterruptTime
|
||||
QueryUnbiasedInterruptTimePrecise
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
LIBRARY api-ms-win-core-realtime-l1-1-2
|
||||
|
||||
EXPORTS
|
||||
|
||||
ConvertAuxiliaryCounterToPerformanceCounter
|
||||
ConvertPerformanceCounterToAuxiliaryCounter
|
||||
QueryAuxiliaryCounterFrequency
|
||||
QueryInterruptTime
|
||||
QueryInterruptTimePrecise
|
||||
QueryThreadCycleTime
|
||||
QueryUnbiasedInterruptTime
|
||||
QueryUnbiasedInterruptTimePrecise
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
LIBRARY api-ms-win-core-slapi-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
SLQueryLicenseValueFromApp
|
||||
SLQueryLicenseValueFromApp2
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
LIBRARY api-ms-win-core-synch-l1-2-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
AcquireSRWLockExclusive
|
||||
AcquireSRWLockShared
|
||||
CancelWaitableTimer
|
||||
CreateEventA
|
||||
CreateEventExA
|
||||
CreateEventExW
|
||||
CreateEventW
|
||||
CreateMutexA
|
||||
CreateMutexExA
|
||||
CreateMutexExW
|
||||
CreateMutexW
|
||||
CreateSemaphoreExW
|
||||
CreateWaitableTimerExW
|
||||
DeleteCriticalSection
|
||||
EnterCriticalSection
|
||||
InitializeConditionVariable
|
||||
InitializeCriticalSection
|
||||
InitializeCriticalSectionAndSpinCount
|
||||
InitializeCriticalSectionEx
|
||||
InitializeSRWLock
|
||||
InitOnceBeginInitialize
|
||||
InitOnceComplete
|
||||
InitOnceExecuteOnce
|
||||
InitOnceInitialize
|
||||
LeaveCriticalSection
|
||||
OpenEventA
|
||||
OpenEventW
|
||||
OpenMutexW
|
||||
OpenSemaphoreW
|
||||
OpenWaitableTimerW
|
||||
ReleaseMutex
|
||||
ReleaseSemaphore
|
||||
ReleaseSRWLockExclusive
|
||||
ReleaseSRWLockShared
|
||||
ResetEvent
|
||||
SetCriticalSectionSpinCount
|
||||
SetEvent
|
||||
SetWaitableTimer
|
||||
SetWaitableTimerEx
|
||||
SignalObjectAndWait
|
||||
Sleep
|
||||
SleepConditionVariableCS
|
||||
SleepConditionVariableSRW
|
||||
SleepEx
|
||||
TryAcquireSRWLockExclusive
|
||||
TryAcquireSRWLockShared
|
||||
TryEnterCriticalSection
|
||||
WaitForMultipleObjectsEx
|
||||
WaitForSingleObject
|
||||
WaitForSingleObjectEx
|
||||
WaitOnAddress
|
||||
WakeAllConditionVariable
|
||||
WakeByAddressAll
|
||||
WakeByAddressSingle
|
||||
WakeConditionVariable
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
LIBRARY api-ms-win-core-sysinfo-l1-2-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
EnumSystemFirmwareTables
|
||||
GetComputerNameExA
|
||||
GetComputerNameExW
|
||||
GetLocalTime
|
||||
GetLogicalProcessorInformation
|
||||
GetLogicalProcessorInformationEx
|
||||
GetNativeSystemInfo
|
||||
GetProductInfo
|
||||
GetSystemDirectoryA
|
||||
GetSystemDirectoryW
|
||||
GetSystemFirmwareTable
|
||||
GetSystemInfo
|
||||
GetSystemTime
|
||||
GetSystemTimeAdjustment
|
||||
GetSystemTimeAsFileTime
|
||||
GetSystemTimePreciseAsFileTime
|
||||
GetTickCount
|
||||
GetTickCount64
|
||||
GetVersion
|
||||
GetVersionExA
|
||||
GetVersionExW
|
||||
GetWindowsDirectoryA
|
||||
GetWindowsDirectoryW
|
||||
GlobalMemoryStatusEx
|
||||
SetLocalTime
|
||||
SetSystemTime
|
||||
VerSetConditionMask
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
LIBRARY api-ms-win-core-sysinfo-l1-2-3
|
||||
|
||||
EXPORTS
|
||||
|
||||
EnumSystemFirmwareTables
|
||||
GetComputerNameExA
|
||||
GetComputerNameExW
|
||||
GetIntegratedDisplaySize
|
||||
GetLocalTime
|
||||
GetLogicalProcessorInformation
|
||||
GetLogicalProcessorInformationEx
|
||||
GetNativeSystemInfo
|
||||
GetPhysicallyInstalledSystemMemory
|
||||
GetProductInfo
|
||||
GetSystemDirectoryA
|
||||
GetSystemDirectoryW
|
||||
GetSystemFirmwareTable
|
||||
GetSystemInfo
|
||||
GetSystemTime
|
||||
GetSystemTimeAdjustment
|
||||
GetSystemTimeAsFileTime
|
||||
GetSystemTimePreciseAsFileTime
|
||||
GetTickCount
|
||||
GetTickCount64
|
||||
GetVersion
|
||||
GetVersionExA
|
||||
GetVersionExW
|
||||
GetWindowsDirectoryA
|
||||
GetWindowsDirectoryW
|
||||
GlobalMemoryStatusEx
|
||||
SetLocalTime
|
||||
SetSystemTime
|
||||
VerSetConditionMask
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-error-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
GetRestrictedErrorInfo
|
||||
RoCaptureErrorContext
|
||||
RoFailFastWithErrorContext
|
||||
RoGetErrorReportingFlags
|
||||
RoOriginateError
|
||||
RoOriginateErrorW
|
||||
RoResolveRestrictedErrorInfoReference
|
||||
RoSetErrorReportingFlags
|
||||
RoTransformError
|
||||
RoTransformErrorW
|
||||
SetRestrictedErrorInfo
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-error-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
GetRestrictedErrorInfo
|
||||
IsErrorPropagationEnabled
|
||||
RoCaptureErrorContext
|
||||
RoClearError
|
||||
RoFailFastWithErrorContext
|
||||
RoGetErrorReportingFlags
|
||||
RoGetMatchingRestrictedErrorInfo
|
||||
RoInspectCapturedStackBackTrace
|
||||
RoInspectThreadErrorInfo
|
||||
RoOriginateError
|
||||
RoOriginateErrorW
|
||||
RoOriginateLanguageException
|
||||
RoReportFailedDelegate
|
||||
RoReportUnhandledError
|
||||
RoSetErrorReportingFlags
|
||||
RoTransformError
|
||||
RoTransformErrorW
|
||||
SetRestrictedErrorInfo
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
RoActivateInstance
|
||||
RoGetActivationFactory
|
||||
RoGetApartmentIdentifier
|
||||
RoInitialize
|
||||
RoRegisterActivationFactories
|
||||
RoRegisterForApartmentShutdown
|
||||
RoRevokeActivationFactories
|
||||
RoUninitialize
|
||||
RoUnregisterForApartmentShutdown
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-registration-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
RoGetActivatableClassRegistration
|
||||
RoGetServerActivatableClasses
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-robuffer-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
RoGetBufferMarshaler
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-roparameterizediid-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
RoFreeParameterizedTypeExtra
|
||||
RoGetParameterizedTypeInstanceIID
|
||||
RoParameterizedTypeExtraGetTypeSignature
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
LIBRARY api-ms-win-core-winrt-string-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
HSTRING_UserFree
|
||||
HSTRING_UserFree64
|
||||
HSTRING_UserMarshal
|
||||
HSTRING_UserMarshal64
|
||||
HSTRING_UserSize
|
||||
HSTRING_UserSize64
|
||||
HSTRING_UserUnmarshal
|
||||
HSTRING_UserUnmarshal64
|
||||
WindowsCompareStringOrdinal
|
||||
WindowsConcatString
|
||||
WindowsCreateString
|
||||
WindowsCreateStringReference
|
||||
WindowsDeleteString
|
||||
WindowsDeleteStringBuffer
|
||||
WindowsDuplicateString
|
||||
WindowsGetStringLen
|
||||
WindowsGetStringRawBuffer
|
||||
WindowsInspectString
|
||||
WindowsIsStringEmpty
|
||||
WindowsPreallocateStringBuffer
|
||||
WindowsPromoteStringBuffer
|
||||
WindowsReplaceString
|
||||
WindowsStringHasEmbeddedNull
|
||||
WindowsSubstring
|
||||
WindowsSubstringWithSpecifiedLength
|
||||
WindowsTrimStringEnd
|
||||
WindowsTrimStringStart
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
LIBRARY api-ms-win-core-wow64-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
IsWow64Process
|
||||
IsWow64Process2
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
LIBRARY api-ms-win-devices-config-l1-1-1
|
||||
|
||||
EXPORTS
|
||||
|
||||
CM_Get_Device_ID_List_SizeW
|
||||
CM_Get_Device_ID_ListW
|
||||
CM_Get_Device_IDW
|
||||
CM_Get_Device_Interface_List_SizeW
|
||||
CM_Get_Device_Interface_ListW
|
||||
CM_Get_Device_Interface_PropertyW
|
||||
CM_Get_DevNode_PropertyW
|
||||
CM_Get_DevNode_Status
|
||||
CM_Get_Parent
|
||||
CM_Locate_DevNodeW
|
||||
CM_MapCrToWin32Err
|
||||
CM_Register_Notification
|
||||
CM_Unregister_Notification
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
LIBRARY api-ms-win-gaming-deviceinformation-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
GetGamingDeviceModelInformation
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
LIBRARY api-ms-win-gaming-tcui-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
ProcessPendingGameUI
|
||||
ShowChangeFriendRelationshipUI
|
||||
ShowGameInviteUI
|
||||
ShowPlayerPickerUI
|
||||
ShowProfileCardUI
|
||||
ShowTitleAchievementsUI
|
||||
TryCancelPendingGameUI
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
LIBRARY api-ms-win-gaming-tcui-l1-1-2
|
||||
|
||||
EXPORTS
|
||||
|
||||
CheckGamingPrivilegeSilently
|
||||
CheckGamingPrivilegeSilentlyForUser
|
||||
CheckGamingPrivilegeWithUI
|
||||
CheckGamingPrivilegeWithUIForUser
|
||||
ProcessPendingGameUI
|
||||
ShowChangeFriendRelationshipUI
|
||||
ShowChangeFriendRelationshipUIForUser
|
||||
ShowGameInviteUI
|
||||
ShowGameInviteUIForUser
|
||||
ShowPlayerPickerUI
|
||||
ShowPlayerPickerUIForUser
|
||||
ShowProfileCardUI
|
||||
ShowProfileCardUIForUser
|
||||
ShowTitleAchievementsUI
|
||||
ShowTitleAchievementsUIForUser
|
||||
TryCancelPendingGameUI
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
LIBRARY api-ms-win-gaming-tcui-l1-1-3
|
||||
|
||||
EXPORTS
|
||||
|
||||
CheckGamingPrivilegeSilently
|
||||
CheckGamingPrivilegeSilentlyForUser
|
||||
CheckGamingPrivilegeWithUI
|
||||
CheckGamingPrivilegeWithUIForUser
|
||||
ProcessPendingGameUI
|
||||
ShowChangeFriendRelationshipUI
|
||||
ShowChangeFriendRelationshipUIForUser
|
||||
ShowGameInviteUI
|
||||
ShowGameInviteUIForUser
|
||||
ShowGameInviteUIWithContext
|
||||
ShowGameInviteUIWithContextForUser
|
||||
ShowPlayerPickerUI
|
||||
ShowPlayerPickerUIForUser
|
||||
ShowProfileCardUI
|
||||
ShowProfileCardUIForUser
|
||||
ShowTitleAchievementsUI
|
||||
ShowTitleAchievementsUIForUser
|
||||
TryCancelPendingGameUI
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
LIBRARY api-ms-win-gaming-tcui-l1-1-4
|
||||
|
||||
EXPORTS
|
||||
|
||||
CheckGamingPrivilegeSilently
|
||||
CheckGamingPrivilegeSilentlyForUser
|
||||
CheckGamingPrivilegeWithUI
|
||||
CheckGamingPrivilegeWithUIForUser
|
||||
ProcessPendingGameUI
|
||||
ShowChangeFriendRelationshipUI
|
||||
ShowChangeFriendRelationshipUIForUser
|
||||
ShowCustomizeUserProfileUI
|
||||
ShowCustomizeUserProfileUIForUser
|
||||
ShowFindFriendsUI
|
||||
ShowFindFriendsUIForUser
|
||||
ShowGameInfoUI
|
||||
ShowGameInfoUIForUser
|
||||
ShowGameInviteUI
|
||||
ShowGameInviteUIForUser
|
||||
ShowGameInviteUIWithContext
|
||||
ShowGameInviteUIWithContextForUser
|
||||
ShowPlayerPickerUI
|
||||
ShowPlayerPickerUIForUser
|
||||
ShowProfileCardUI
|
||||
ShowProfileCardUIForUser
|
||||
ShowTitleAchievementsUI
|
||||
ShowTitleAchievementsUIForUser
|
||||
ShowUserSettingsUI
|
||||
ShowUserSettingsUIForUser
|
||||
TryCancelPendingGameUI
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
LIBRARY api-ms-win-security-isolatedcontainer-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
IsProcessInIsolatedContainer
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
LIBRARY api-ms-win-shcore-stream-winrt-l1-1-0
|
||||
|
||||
EXPORTS
|
||||
|
||||
CreateRandomAccessStreamOnFile
|
||||
CreateRandomAccessStreamOverStream
|
||||
CreateStreamOverRandomAccessStream
|
||||
25
lib/libc/mingw/lib-common/appmgmts.def
vendored
Normal file
25
lib/libc/mingw/lib-common/appmgmts.def
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
;
|
||||
; Exports of file APPMGMTS.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY APPMGMTS.dll
|
||||
EXPORTS
|
||||
CsSetOptions
|
||||
CsCreateClassStore
|
||||
CsEnumApps
|
||||
CsGetAppCategories
|
||||
CsGetClassAccess
|
||||
CsGetClassStore
|
||||
CsGetClassStorePath
|
||||
CsRegisterAppCategory
|
||||
CsServerGetClassStore
|
||||
CsUnregisterAppCategory
|
||||
GenerateGroupPolicy
|
||||
IID_IClassAdmin
|
||||
ProcessGroupPolicyObjectsEx
|
||||
ReleaseAppCategoryInfoList
|
||||
ReleasePackageDetail
|
||||
ReleasePackageInfo
|
||||
ServiceMain
|
||||
13
lib/libc/mingw/lib-common/appmgr.def
vendored
Normal file
13
lib/libc/mingw/lib-common/appmgr.def
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
;
|
||||
; Exports of file SNAPIN.DLL
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY SNAPIN.DLL
|
||||
EXPORTS
|
||||
DllCanUnloadNow
|
||||
DllGetClassObject
|
||||
DllRegisterServer
|
||||
DllUnregisterServer
|
||||
GenerateScript
|
||||
10
lib/libc/mingw/lib-common/asycfilt.def
vendored
Normal file
10
lib/libc/mingw/lib-common/asycfilt.def
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
;
|
||||
; Exports of file ASYCFILT.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY ASYCFILT.dll
|
||||
EXPORTS
|
||||
DllCanUnloadNow
|
||||
FilterCreateInstance
|
||||
57
lib/libc/mingw/lib-common/atl.def
vendored
Normal file
57
lib/libc/mingw/lib-common/atl.def
vendored
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
;
|
||||
; Definition file of ATL.DLL
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008-2014
|
||||
;
|
||||
LIBRARY "ATL.DLL"
|
||||
EXPORTS
|
||||
AtlAdvise
|
||||
AtlUnadvise
|
||||
AtlFreeMarshalStream
|
||||
AtlMarshalPtrInProc
|
||||
AtlUnmarshalPtr
|
||||
AtlModuleGetClassObject
|
||||
AtlModuleInit
|
||||
AtlModuleRegisterClassObjects
|
||||
AtlModuleRegisterServer
|
||||
AtlModuleRegisterTypeLib
|
||||
AtlModuleRevokeClassObjects
|
||||
AtlModuleTerm
|
||||
AtlModuleUnregisterServer
|
||||
AtlModuleUpdateRegistryFromResourceD
|
||||
AtlWaitWithMessageLoop
|
||||
AtlSetErrorInfo
|
||||
AtlCreateTargetDC
|
||||
AtlHiMetricToPixel
|
||||
AtlPixelToHiMetric
|
||||
AtlDevModeW2A
|
||||
AtlComPtrAssign
|
||||
AtlComQIPtrAssign
|
||||
AtlInternalQueryInterface
|
||||
AtlGetVersion
|
||||
AtlAxDialogBoxW
|
||||
AtlAxDialogBoxA
|
||||
AtlAxCreateDialogW
|
||||
AtlAxCreateDialogA
|
||||
AtlAxCreateControl
|
||||
AtlAxCreateControlEx
|
||||
AtlAxAttachControl
|
||||
AtlAxWinInit
|
||||
AtlModuleAddCreateWndData
|
||||
AtlModuleExtractCreateWndData
|
||||
AtlModuleRegisterWndClassInfoW
|
||||
AtlModuleRegisterWndClassInfoA
|
||||
AtlAxGetControl
|
||||
AtlAxGetHost
|
||||
AtlRegisterClassCategoriesHelper
|
||||
AtlIPersistStreamInit_Load
|
||||
AtlIPersistStreamInit_Save
|
||||
AtlIPersistPropertyBag_Load
|
||||
AtlIPersistPropertyBag_Save
|
||||
AtlGetObjectSourceInterface
|
||||
AtlModuleUnRegisterTypeLib
|
||||
AtlModuleLoadTypeLib
|
||||
AtlModuleUnregisterServerEx
|
||||
AtlModuleAddTermFunc
|
||||
AtlSetErrorInfo2
|
||||
AtlIPersistStreamInit_GetSizeMax
|
||||
10
lib/libc/mingw/lib-common/audiosrv.def
vendored
Normal file
10
lib/libc/mingw/lib-common/audiosrv.def
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
;
|
||||
; Exports of file AUDIOSRV.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY AUDIOSRV.dll
|
||||
EXPORTS
|
||||
ServiceMain
|
||||
SvchostPushServiceGlobals
|
||||
21
lib/libc/mingw/lib-common/avrt.def
vendored
Normal file
21
lib/libc/mingw/lib-common/avrt.def
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
;
|
||||
; Definition file of AVRT.dll
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008
|
||||
;
|
||||
LIBRARY "AVRT.dll"
|
||||
EXPORTS
|
||||
AvQuerySystemResponsiveness
|
||||
AvRevertMmThreadCharacteristics
|
||||
AvRtCreateThreadOrderingGroup
|
||||
AvRtCreateThreadOrderingGroupExA
|
||||
AvRtCreateThreadOrderingGroupExW
|
||||
AvRtDeleteThreadOrderingGroup
|
||||
AvRtJoinThreadOrderingGroup
|
||||
AvRtLeaveThreadOrderingGroup
|
||||
AvRtWaitOnThreadOrderingGroup
|
||||
AvSetMmMaxThreadCharacteristicsA
|
||||
AvSetMmMaxThreadCharacteristicsW
|
||||
AvSetMmThreadCharacteristicsA
|
||||
AvSetMmThreadCharacteristicsW
|
||||
AvSetMmThreadPriority
|
||||
52
lib/libc/mingw/lib-common/azroles.def
vendored
Normal file
52
lib/libc/mingw/lib-common/azroles.def
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
;
|
||||
; Exports of file azroles.DLL
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY azroles.DLL
|
||||
EXPORTS
|
||||
AzAddPropertyItem
|
||||
AzApplicationClose
|
||||
AzApplicationCreate
|
||||
AzApplicationDelete
|
||||
AzApplicationEnum
|
||||
AzApplicationOpen
|
||||
AzAuthorizationStoreDelete
|
||||
AzCloseHandle
|
||||
AzContextAccessCheck
|
||||
AzContextGetAssignedScopesPage
|
||||
AzContextGetRoles
|
||||
AzFreeMemory
|
||||
AzGetProperty
|
||||
AzGroupCreate
|
||||
AzGroupDelete
|
||||
AzGroupEnum
|
||||
AzGroupOpen
|
||||
AzInitialize
|
||||
AzInitializeContextFromName
|
||||
AzInitializeContextFromToken
|
||||
AzOperationCreate
|
||||
AzOperationDelete
|
||||
AzOperationEnum
|
||||
AzOperationOpen
|
||||
AzRemovePropertyItem
|
||||
AzRoleCreate
|
||||
AzRoleDelete
|
||||
AzRoleEnum
|
||||
AzRoleOpen
|
||||
AzScopeCreate
|
||||
AzScopeDelete
|
||||
AzScopeEnum
|
||||
AzScopeOpen
|
||||
AzSetProperty
|
||||
AzSubmit
|
||||
AzTaskCreate
|
||||
AzTaskDelete
|
||||
AzTaskEnum
|
||||
AzTaskOpen
|
||||
AzUpdateCache
|
||||
DllCanUnloadNow
|
||||
DllGetClassObject
|
||||
DllRegisterServer
|
||||
DllUnregisterServer
|
||||
13
lib/libc/mingw/lib-common/basesrv.def
vendored
Normal file
13
lib/libc/mingw/lib-common/basesrv.def
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
;
|
||||
; Definition file of BASESRV.dll
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008-2014
|
||||
;
|
||||
LIBRARY "BASESRV.dll"
|
||||
EXPORTS
|
||||
BaseGetProcessCrtlRoutine
|
||||
BaseSetProcessCreateNotify
|
||||
BaseSrvNlsLogon
|
||||
BaseSrvNlsUpdateRegistryCache
|
||||
BaseSrvRegisterSxS
|
||||
ServerDllInitialization
|
||||
19
lib/libc/mingw/lib-common/bootvid.def
vendored
Normal file
19
lib/libc/mingw/lib-common/bootvid.def
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
;
|
||||
; Definition file of BOOTVID.dll
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008-2014
|
||||
;
|
||||
LIBRARY "BOOTVID.dll"
|
||||
EXPORTS
|
||||
VidBitBlt
|
||||
VidBitBltEx
|
||||
VidBufferToScreenBlt
|
||||
VidCleanUp
|
||||
VidDisplayString
|
||||
VidDisplayStringXY
|
||||
VidInitialize
|
||||
VidResetDisplay
|
||||
VidScreenToBufferBlt
|
||||
VidSetScrollRegion
|
||||
VidSetTextColor
|
||||
VidSolidColorFill
|
||||
19
lib/libc/mingw/lib-common/browcli.def
vendored
Normal file
19
lib/libc/mingw/lib-common/browcli.def
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
;
|
||||
; Definition file of browcli.dll
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008
|
||||
;
|
||||
LIBRARY "browcli.dll"
|
||||
EXPORTS
|
||||
I_BrowserDebugCall
|
||||
I_BrowserDebugTrace
|
||||
I_BrowserQueryEmulatedDomains
|
||||
I_BrowserQueryOtherDomains
|
||||
I_BrowserQueryStatistics
|
||||
I_BrowserResetNetlogonState
|
||||
I_BrowserResetStatistics
|
||||
I_BrowserServerEnum
|
||||
I_BrowserSetNetlogonState
|
||||
NetBrowserStatisticsGet
|
||||
NetServerEnum
|
||||
NetServerEnumEx
|
||||
11
lib/libc/mingw/lib-common/browser.def
vendored
Normal file
11
lib/libc/mingw/lib-common/browser.def
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
;
|
||||
; Exports of file browser.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY browser.dll
|
||||
EXPORTS
|
||||
I_BrowserServerEnumForXactsrv
|
||||
ServiceMain
|
||||
SvchostPushServiceGlobals
|
||||
9
lib/libc/mingw/lib-common/bthci.def
vendored
Normal file
9
lib/libc/mingw/lib-common/bthci.def
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
;
|
||||
; Exports of file MSPORTS.DLL
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY MSPORTS.DLL
|
||||
EXPORTS
|
||||
BluetoothClassInstaller
|
||||
47
lib/libc/mingw/lib-common/cabinet.def
vendored
47
lib/libc/mingw/lib-common/cabinet.def
vendored
|
|
@ -5,28 +5,29 @@
|
|||
;
|
||||
LIBRARY "Cabinet.dll"
|
||||
EXPORTS
|
||||
GetDllVersion
|
||||
Extract
|
||||
DeleteExtractedFiles
|
||||
FCICreate
|
||||
FCIAddFile
|
||||
FCIFlushFolder
|
||||
FCIFlushCabinet
|
||||
FCIDestroy
|
||||
FDICreate
|
||||
FDIIsCabinet
|
||||
FDICopy
|
||||
FDIDestroy
|
||||
FDITruncateCabinet
|
||||
CreateCompressor
|
||||
SetCompressorInformation
|
||||
QueryCompressorInformation
|
||||
Compress
|
||||
ResetCompressor
|
||||
CloseCompressor
|
||||
CreateDecompressor
|
||||
SetDecompressorInformation
|
||||
QueryDecompressorInformation
|
||||
Decompress
|
||||
ResetDecompressor
|
||||
CloseDecompressor
|
||||
Compress
|
||||
CreateCompressor
|
||||
CreateDecompressor
|
||||
Decompress
|
||||
DeleteExtractedFiles
|
||||
DllGetVersion
|
||||
Extract
|
||||
FCIAddFile
|
||||
FCICreate
|
||||
FCIDestroy
|
||||
FCIFlushCabinet
|
||||
FCIFlushFolder
|
||||
FDICopy
|
||||
FDICreate
|
||||
FDIDestroy
|
||||
FDIIsCabinet
|
||||
FDITruncateCabinet
|
||||
GetDllVersion
|
||||
QueryCompressorInformation
|
||||
QueryDecompressorInformation
|
||||
ResetCompressor
|
||||
ResetDecompressor
|
||||
SetCompressorInformation
|
||||
SetDecompressorInformation
|
||||
|
|
|
|||
13
lib/libc/mingw/lib-common/cabview.def
vendored
Normal file
13
lib/libc/mingw/lib-common/cabview.def
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
;
|
||||
; Exports of file CABVIEW.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY CABVIEW.dll
|
||||
EXPORTS
|
||||
Uninstall
|
||||
DllCanUnloadNow
|
||||
DllGetClassObject
|
||||
DllRegisterServer
|
||||
DllUnregisterServer
|
||||
11
lib/libc/mingw/lib-common/cfgbkend.def
vendored
Normal file
11
lib/libc/mingw/lib-common/cfgbkend.def
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
;
|
||||
; Definition file of CfgBkEnd.DLL
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008
|
||||
;
|
||||
LIBRARY "CfgBkEnd.DLL"
|
||||
EXPORTS
|
||||
CLSID_CfgComp
|
||||
IID_ICfgComp
|
||||
IID_ISettingsComp
|
||||
IID_ISettingsComp2
|
||||
124
lib/libc/mingw/lib-common/chakrart.def
vendored
Normal file
124
lib/libc/mingw/lib-common/chakrart.def
vendored
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
LIBRARY chakra
|
||||
|
||||
EXPORTS
|
||||
|
||||
JsAddRef
|
||||
JsBoolToBoolean
|
||||
JsBooleanToBool
|
||||
JsCallFunction
|
||||
JsCollectGarbage
|
||||
JsConstructObject
|
||||
JsConvertValueToBoolean
|
||||
JsConvertValueToNumber
|
||||
JsConvertValueToObject
|
||||
JsConvertValueToString
|
||||
JsCreateArray
|
||||
JsCreateArrayBuffer
|
||||
JsCreateContext
|
||||
JsCreateDataView
|
||||
JsCreateError
|
||||
JsCreateExternalArrayBuffer
|
||||
JsCreateExternalObject
|
||||
JsCreateFunction
|
||||
JsCreateNamedFunction
|
||||
JsCreateObject
|
||||
JsCreateRangeError
|
||||
JsCreateReferenceError
|
||||
JsCreateRuntime
|
||||
JsCreateSymbol
|
||||
JsCreateSyntaxError
|
||||
JsCreateThreadService
|
||||
JsCreateTypeError
|
||||
JsCreateTypedArray
|
||||
JsCreateURIError
|
||||
JsDefineProperty
|
||||
JsDeleteIndexedProperty
|
||||
JsDeleteProperty
|
||||
JsDisableRuntimeExecution
|
||||
JsDisposeRuntime
|
||||
JsDoubleToNumber
|
||||
JsEnableRuntimeExecution
|
||||
JsEnumerateHeap
|
||||
JsEquals
|
||||
JsGetAndClearException
|
||||
JsGetArrayBufferStorage
|
||||
JsGetContextData
|
||||
JsGetContextOfObject
|
||||
JsGetCurrentContext
|
||||
JsGetDataViewStorage
|
||||
JsGetExtensionAllowed
|
||||
JsGetExternalData
|
||||
JsGetFalseValue
|
||||
JsGetGlobalObject
|
||||
JsGetIndexedPropertiesExternalData
|
||||
JsGetIndexedProperty
|
||||
JsGetNullValue
|
||||
JsGetOwnPropertyDescriptor
|
||||
JsGetOwnPropertyNames
|
||||
JsGetOwnPropertySymbols
|
||||
JsGetProperty
|
||||
JsGetPropertyIdFromName
|
||||
JsGetPropertyIdFromSymbol
|
||||
JsGetPropertyIdType
|
||||
JsGetPropertyNameFromId
|
||||
JsGetPrototype
|
||||
JsGetRuntime
|
||||
JsGetRuntimeMemoryLimit
|
||||
JsGetRuntimeMemoryUsage
|
||||
JsGetStringLength
|
||||
JsGetSymbolFromPropertyId
|
||||
JsGetTrueValue
|
||||
JsGetTypedArrayInfo
|
||||
JsGetTypedArrayStorage
|
||||
JsGetUndefinedValue
|
||||
JsGetValueType
|
||||
JsHasException
|
||||
JsHasExternalData
|
||||
JsHasIndexedPropertiesExternalData
|
||||
JsHasIndexedProperty
|
||||
JsHasProperty
|
||||
JsIdle
|
||||
JsInspectableToObject
|
||||
JsInstanceOf
|
||||
JsIntToNumber
|
||||
JsIsEnumeratingHeap
|
||||
JsIsRuntimeExecutionDisabled
|
||||
JsNumberToDouble
|
||||
JsNumberToInt
|
||||
JsObjectToInspectable
|
||||
JsParseScript
|
||||
JsParseScriptWithAttributes
|
||||
JsParseSerializedScript
|
||||
JsParseSerializedScriptWithCallback
|
||||
JsPointerToString
|
||||
JsPreventExtension
|
||||
JsProjectWinRTNamespace
|
||||
JsRelease
|
||||
JsRunScript
|
||||
JsRunSerializedScript
|
||||
JsRunSerializedScriptWithCallback
|
||||
JsSerializeScript
|
||||
JsSetContextData
|
||||
JsSetCurrentContext
|
||||
JsSetException
|
||||
JsSetExternalData
|
||||
JsSetIndexedPropertiesToExternalData
|
||||
JsSetIndexedProperty
|
||||
JsSetObjectBeforeCollectCallback
|
||||
JsSetProjectionEnqueueCallback
|
||||
JsSetPromiseContinuationCallback
|
||||
JsSetProperty
|
||||
JsSetPrototype
|
||||
JsSetRuntimeBeforeCollectCallback
|
||||
JsSetRuntimeMemoryAllocationCallback
|
||||
JsSetRuntimeMemoryLimit
|
||||
JsStartDebugging
|
||||
JsStartProfiling
|
||||
JsStopProfiling
|
||||
JsStrictEquals
|
||||
JsStringToPointer
|
||||
JsValueToVariant
|
||||
JsVarAddRef
|
||||
JsVarRelease
|
||||
JsVarToExtension
|
||||
JsVariantToValue
|
||||
13
lib/libc/mingw/lib-common/clb.def
vendored
Normal file
13
lib/libc/mingw/lib-common/clb.def
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
;
|
||||
; Exports of file clb.dll
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY clb.dll
|
||||
EXPORTS
|
||||
ClbAddData
|
||||
ClbSetColumnWidths
|
||||
ClbStyleW
|
||||
ClbWndProc
|
||||
CustomControlInfoW
|
||||
63
lib/libc/mingw/lib-common/clbcatq.def.in
vendored
Normal file
63
lib/libc/mingw/lib-common/clbcatq.def.in
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
#include "func.def.in"
|
||||
|
||||
LIBRARY CLBCatQ.DLL
|
||||
EXPORTS
|
||||
ActivatorUpdateForIsRouterChanges
|
||||
; void __cdecl ClearList(class CStructArray * __ptr64)
|
||||
F_X64(?ClearList@@YAXPEAVCStructArray@@@Z)
|
||||
CoRegCleanup
|
||||
; long __cdecl CreateComponentLibraryTS(unsigned short const * __ptr64,long,struct IComponentRecords * __ptr64 * __ptr64)
|
||||
F_X64(?CreateComponentLibraryTS@@YAJPEBGJPEAPEAUIComponentRecords@@@Z)
|
||||
; long __cdecl DataConvert(unsigned short,unsigned short,unsigned long,unsigned long * __ptr64,void * __ptr64,void * __ptr64,unsigned long,unsigned long,unsigned long * __ptr64,unsigned char,unsigned char,unsigned long)
|
||||
F_X64(?DataConvert@@YAJGGKPEAKPEAX1KK0EEK@Z)
|
||||
DeleteAllActivatorsForClsid
|
||||
; void __cdecl DestroyStgDatabase(class StgDatabase * __ptr64)
|
||||
F_X64(?DestroyStgDatabase@@YAXPEAVStgDatabase@@@Z)
|
||||
DowngradeAPL
|
||||
; long __cdecl GetDataConversion(struct IDataConvert * __ptr64 * __ptr64)
|
||||
F_X64(?GetDataConversion@@YAJPEAPEAUIDataConvert@@@Z)
|
||||
; class CGetDataConversion * __ptr64 __cdecl GetDataConvertObject(void)
|
||||
F_X64(?GetDataConvertObject@@YAPEAVCGetDataConversion@@XZ)
|
||||
GetGlobalBabyJITEnabled
|
||||
; long __cdecl GetPropValue(unsigned short,long * __ptr64,void * __ptr64,int,int * __ptr64,struct tagDBPROP & __ptr64)
|
||||
F_X64(?GetPropValue@@YAJGPEAJPEAXHPEAHAEAUtagDBPROP@@@Z)
|
||||
; long __cdecl GetStgDatabase(class StgDatabase * __ptr64 * __ptr64)
|
||||
F_X64(?GetStgDatabase@@YAJPEAPEAVStgDatabase@@@Z)
|
||||
; void __cdecl InitErrors(unsigned long * __ptr64)
|
||||
F_X64(?InitErrors@@YAXPEAK@Z)
|
||||
; long __cdecl OpenComponentLibrarySharedTS(unsigned short const * __ptr64,unsigned short const * __ptr64,unsigned long,struct _SECURITY_ATTRIBUTES * __ptr64,long,struct IComponentRecords * __ptr64 * __ptr64)
|
||||
F_X64(?OpenComponentLibrarySharedTS@@YAJPEBG0KPEAU_SECURITY_ATTRIBUTES@@JPEAPEAUIComponentRecords@@@Z)
|
||||
; long __cdecl OpenComponentLibraryTS(unsigned short const * __ptr64,long,struct IComponentRecords * __ptr64 * __ptr64)
|
||||
F_X64(?OpenComponentLibraryTS@@YAJPEBGJPEAPEAUIComponentRecords@@@Z)
|
||||
; long __cdecl PostError(long,...)
|
||||
F_X64(?PostError@@YAJJZZ)
|
||||
; void __cdecl ShutDownDataConversion(void)
|
||||
F_X64(?ShutDownDataConversion@@YAXXZ)
|
||||
UpdateFromAppChange
|
||||
UpdateFromComponentChange
|
||||
CLSIDFromStringByBitness
|
||||
CheckMemoryGates
|
||||
ComPlusEnablePartitions
|
||||
ComPlusEnableRemoteAccess
|
||||
ComPlusMigrate
|
||||
ComPlusPartitionsEnabled
|
||||
ComPlusRemoteAccessEnabled
|
||||
CreateComponentLibraryEx
|
||||
DllCanUnloadNow
|
||||
DllGetClassObject
|
||||
DllRegisterServer
|
||||
DllUnregisterServer
|
||||
GetCatalogObject
|
||||
GetCatalogObject2
|
||||
GetComputerObject
|
||||
GetSimpleTableDispenser
|
||||
InprocServer32FromString
|
||||
OpenComponentLibraryEx
|
||||
OpenComponentLibraryOnMemEx
|
||||
OpenComponentLibraryOnStreamEx
|
||||
OpenComponentLibrarySharedEx
|
||||
ServerGetApplicationType
|
||||
SetSetupOpen
|
||||
SetSetupSave
|
||||
SetupOpen
|
||||
SetupSave
|
||||
11
lib/libc/mingw/lib-common/cliconfg.def
vendored
Normal file
11
lib/libc/mingw/lib-common/cliconfg.def
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
;
|
||||
; Exports of file CLICONFG.DLL
|
||||
;
|
||||
; Autogenerated by gen_exportdef
|
||||
; Written by Kai Tietz, 2007
|
||||
;
|
||||
LIBRARY CLICONFG.DLL
|
||||
EXPORTS
|
||||
CPlApplet
|
||||
ClientConfigureAddEdit
|
||||
OnInitDialogMain
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue