From ff29d18002b9e6c7acee01719babc613f0dd263d Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 21 Sep 2019 19:37:03 +0200 Subject: [PATCH] [NTDLL] Architecture specific spec file improvements --- dll/ntdll/def/ntdll.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/dll/ntdll/def/ntdll.spec b/dll/ntdll/def/ntdll.spec index 94dd49a5d71..da5e3614322 100644 --- a/dll/ntdll/def/ntdll.spec +++ b/dll/ntdll/def/ntdll.spec @@ -7,9 +7,9 @@ @ fastcall -arch=i386 RtlUlongByteSwap(long) @ fastcall -ret64 RtlUlonglongByteSwap(double) @ fastcall -arch=i386 RtlUshortByteSwap(long) -@ stdcall -arch=i386,x86_64 ExpInterlockedPopEntrySListEnd() -@ stdcall -arch=i386,x86_64 ExpInterlockedPopEntrySListFault() -@ stdcall -arch=i386,x86_64 ExpInterlockedPopEntrySListResume() +@ stdcall -arch=i386 ExpInterlockedPopEntrySListEnd() +@ stdcall -arch=i386 ExpInterlockedPopEntrySListFault() +@ stdcall -arch=i386 ExpInterlockedPopEntrySListResume() @ stdcall CsrAllocateCaptureBuffer(long long) @ stdcall CsrAllocateMessagePointer(ptr long ptr) @ stdcall CsrCaptureMessageBuffer(ptr ptr long ptr) @@ -76,6 +76,9 @@ @ stdcall EtwUpdateTraceW(double wstr ptr) @ stdcall -stub EtwpGetTraceBuffer(long long long long) @ stdcall -stub EtwpSetHWConfigFunction(ptr long) +@ stdcall -arch=x86_64 ExpInterlockedPopEntrySListEnd() +@ stdcall -arch=x86_64 ExpInterlockedPopEntrySListFault() +@ stdcall -arch=x86_64 ExpInterlockedPopEntrySListResume() @ stdcall -arch=i386 KiFastSystemCall() @ stdcall -arch=i386 KiFastSystemCallRet() @ stdcall -arch=i386 KiIntSystemCall() @@ -478,7 +481,7 @@ @ stdcall RtlCancelTimer(ptr ptr) @ stdcall -register RtlCaptureContext(ptr) @ stdcall RtlCaptureStackBackTrace(long long ptr ptr) -@ stdcall -stub RtlCaptureStackContext(ptr ptr ptr) +@ stdcall -stub -arch=i386 RtlCaptureStackContext(ptr ptr ptr) @ stdcall RtlCharToInteger(ptr long ptr) @ stdcall RtlCheckForOrphanedCriticalSections(ptr) @ stdcall -stub RtlCheckProcessParameters(ptr ptr ptr ptr) @@ -611,7 +614,7 @@ @ stdcall -arch=win32 -ret64 RtlExtendedLargeIntegerDivide(double long ptr) @ stdcall -arch=win32 -ret64 RtlExtendedMagicDivide(double double long) @ stdcall RtlFillMemory(ptr long long) -@ stdcall RtlFillMemoryUlong(ptr long long) +@ stdcall -arch=i386 RtlFillMemoryUlong(ptr long long) @ stdcall RtlFinalReleaseOutOfProcessMemoryStream(ptr) @ stdcall RtlFindActivationContextSectionGuid(long ptr long ptr ptr) @ stdcall RtlFindActivationContextSectionString(long ptr long ptr ptr) @@ -1274,10 +1277,11 @@ @ cdecl -arch=i386 _CIsin() @ cdecl -arch=i386 _CIsqrt() @ cdecl -arch=x86_64,arm __C_specific_handler(ptr long ptr ptr) -@ cdecl -arch=arm __jump_unwind() +@ cdecl -arch=x86_64 __chkstk() @ cdecl __isascii(long) @ cdecl __iscsym(long) @ cdecl __iscsymf(long) +@ cdecl -arch=arm __jump_unwind() @ cdecl __toascii(long) @ cdecl -arch=i386 -ret64 _alldiv(double double) @ cdecl -arch=i386 _alldvrm()