|
213 | 213 | @ cdecl __doserrno() |
214 | 214 | @ cdecl __dstbias() __p__dstbias |
215 | 215 | @ cdecl __fpecode() |
216 | | -@ stub __get_app_type |
217 | 216 | @ cdecl __getmainargs(ptr ptr ptr long ptr) |
218 | 217 | @ extern __initenv MSVCRT___initenv |
219 | 218 | @ cdecl __iob_func() |
|
222 | 221 | @ cdecl __iscsymf(long) |
223 | 222 | @ stdcall -arch=arm __jump_unwind(ptr ptr) ntdll.__jump_unwind |
224 | 223 | @ extern __lc_codepage MSVCRT___lc_codepage |
225 | | -@ stub __lc_collate |
226 | 224 | @ extern __lc_collate_cp MSVCRT___lc_collate_cp |
227 | 225 | @ extern __lc_handle MSVCRT___lc_handle |
228 | 226 | @ cdecl __lconv_init() |
|
369 | 367 | @ cdecl _control87(long long) |
370 | 368 | @ cdecl _controlfp(long long) |
371 | 369 | @ cdecl _controlfp_s(ptr long long) |
372 | | -@ cdecl _copysign(double double) copysign |
373 | | -@ cdecl -arch=!i386 _copysignf(float float) copysignf |
| 370 | +@ cdecl _copysign(double double) # copysign |
| 371 | +@ cdecl -arch=!i386 _copysignf(float float) # copysignf |
374 | 372 | @ varargs _cprintf(str) |
375 | 373 | @ varargs _cprintf_l(str ptr) |
376 | 374 | # stub _cprintf_p(str) |
|
479 | 477 | @ cdecl _fstat(long ptr) |
480 | 478 | @ cdecl _fstat64(long ptr) |
481 | 479 | @ cdecl _fstati64(long ptr) |
482 | | -@ cdecl -ret64 _ftelli64(ptr) |
483 | 480 | @ cdecl -arch=win32 _ftime(ptr) _ftime32 |
484 | 481 | @ cdecl -arch=win64 _ftime(ptr) _ftime64 |
485 | 482 | @ cdecl _ftime32(ptr) |
|
488 | 485 | @ cdecl _ftime64_s(ptr) |
489 | 486 | @ cdecl -arch=i386 -ret64 _ftol() |
490 | 487 | @ cdecl -arch=i386 -ret64 _ftol2() _ftol |
491 | | -@ cdecl -arch=i386 -ret64 _ftol2_sse() _ftol #FIXME: SSE variant should be implemented |
| 488 | +@ cdecl -arch=i386 -ret64 _ftol2_sse() |
492 | 489 | # stub _ftol2_sse_excpt |
493 | 490 | @ cdecl _fullpath(ptr str long) |
494 | 491 | # stub _fullpath_dbg(ptr str long long str long) |
|
560 | 557 | @ cdecl _i64tow_s(int64 ptr long long) |
561 | 558 | @ cdecl _initterm(ptr ptr) |
562 | 559 | @ cdecl _initterm_e(ptr ptr) |
563 | | -@ stub -arch=i386 _inp(long) |
564 | | -@ stub -arch=i386 _inpd(long) |
565 | | -@ stub -arch=i386 _inpw(long) |
| 560 | +@ cdecl -arch=i386 _inp(long) |
| 561 | +@ cdecl -arch=i386 _inpd(long) |
| 562 | +@ cdecl -arch=i386 _inpw(long) |
566 | 563 | @ cdecl _invalid_parameter(wstr wstr wstr long long) |
567 | 564 | @ extern _iob MSVCRT__iob |
568 | 565 | @ cdecl _isalnum_l(long ptr) |
|
672 | 669 | @ cdecl _lock(long) |
673 | 670 | @ cdecl _lock_file(ptr) |
674 | 671 | @ cdecl _locking(long long long) |
675 | | -@ cdecl _logb(double) logb |
676 | | -@ cdecl -arch=!i386 _logbf(float) logbf |
| 672 | +@ cdecl _logb(double) # logb |
| 673 | +@ cdecl -arch=!i386 _logbf(float) # logbf |
677 | 674 | @ cdecl -arch=i386 _longjmpex(ptr long) longjmp |
678 | 675 | @ cdecl _lrotl(long long) MSVCRT__lrotl |
679 | 676 | @ cdecl _lrotr(long long) MSVCRT__lrotr |
|
844 | 841 | # stub -arch=win64 _msize_dbg(ptr long) |
845 | 842 | @ cdecl _nextafter(double double) nextafter |
846 | 843 | @ cdecl -arch=x86_64 _nextafterf(float float) nextafterf |
847 | | -@ cdecl _onexit(ptr) |
| 844 | +@ extern _onexit # Declaring it as extern let us use the symbol from msvcrtex while having the __imp_ symbol defined in the import lib |
848 | 845 | @ varargs _open(str long) |
849 | 846 | @ cdecl _open_osfhandle(long long) |
850 | 847 | @ extern _osplatform MSVCRT__osplatform |
851 | 848 | @ extern _osver MSVCRT__osver |
852 | | -@ stub -arch=i386 _outp(long long) |
853 | | -@ stub -arch=i386 _outpd(long long) |
854 | | -@ stub -arch=i386 _outpw(long long) |
| 849 | +@ cdecl -arch=i386 _outp(long long) |
| 850 | +@ cdecl -arch=i386 _outpd(long long) |
| 851 | +@ cdecl -arch=i386 _outpw(long long) |
855 | 852 | @ cdecl _pclose (ptr) _pclose |
856 | 853 | @ extern _pctype MSVCRT__pctype |
857 | 854 | @ extern _pgmptr MSVCRT__pgmptr |
|
1256 | 1253 | @ cdecl asctime(ptr) |
1257 | 1254 | @ cdecl asctime_s(ptr long ptr) |
1258 | 1255 | @ cdecl asin(double) MSVCRT_asin |
| 1256 | +@ cdecl -arch=!i386 asinf(float) |
1259 | 1257 | @ cdecl atan(double) MSVCRT_atan |
1260 | 1258 | @ cdecl atan2(double double) |
1261 | | -@ cdecl -arch=!i386 asinf(float) |
1262 | | -@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf |
1263 | 1259 | @ cdecl -arch=!i386 atan2f(float float) |
| 1260 | +@ cdecl -arch=!i386 atanf(float) MSVCRT_atanf |
1264 | 1261 | @ cdecl -private atexit(ptr) MSVCRT_atexit # not imported to avoid conflicts with Mingw |
1265 | 1262 | @ cdecl atof(str) |
1266 | 1263 | @ cdecl atoi(str) |
|
1314 | 1311 | @ cdecl freopen(str str ptr) |
1315 | 1312 | @ cdecl freopen_s(ptr str str ptr) |
1316 | 1313 | @ cdecl frexp(double ptr) |
1317 | | -@ cdecl -arch=x86_64 frexpf(float ptr) |
1318 | 1314 | @ varargs fscanf(ptr str) |
1319 | 1315 | @ varargs fscanf_s(ptr str) |
1320 | 1316 | @ cdecl fseek(ptr long long) |
|
1414 | 1410 | @ varargs scanf(str) |
1415 | 1411 | @ varargs scanf_s(str) |
1416 | 1412 | @ cdecl setbuf(ptr ptr) |
1417 | | -@ cdecl -arch=arm,x86_64 -norelay -private setjmp(ptr ptr) _setjmp |
| 1413 | +@ cdecl -arch=arm,x86_64 -norelay setjmp(ptr ptr) _setjmp # FIXME: should be private, but is imported by ARM builds somehow |
1418 | 1414 | @ cdecl setlocale(long str) |
1419 | 1415 | @ cdecl setvbuf(ptr str long long) |
1420 | 1416 | @ cdecl signal(long long) |
|
1478 | 1474 | @ cdecl towupper(long) |
1479 | 1475 | @ cdecl ungetc(long ptr) |
1480 | 1476 | @ cdecl ungetwc(long ptr) |
1481 | | -# stub utime |
| 1477 | +@ cdecl -arch=win32 utime(str ptr) _utime32 |
| 1478 | +@ cdecl -arch=win64 utime(str ptr) _utime64 |
1482 | 1479 | @ cdecl vfprintf(ptr str ptr) |
1483 | 1480 | @ cdecl vfprintf_s(ptr str ptr) |
1484 | 1481 | @ cdecl vfwprintf(ptr wstr ptr) |
|
0 commit comments