From ac36f88de19ad12be5a816a3d93a4d7eddee1ef6 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 5 Apr 2014 02:03:07 +0200 Subject: [PATCH] 11-Dynamic_Unwind: Add forward from kernel32 to ntdll. --- ...-RtlInstallFunctionTableCallback-to-.patch | 24 +++++++++++++++++++ .../bbbf7d25-cca0-4630-9a83-0dec5e53ecb8.def | 2 +- patches/patch-list.patch | 2 +- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 patches/11-Dynamic_Unwind/0004-kernel32-Forward-RtlInstallFunctionTableCallback-to-.patch diff --git a/patches/11-Dynamic_Unwind/0004-kernel32-Forward-RtlInstallFunctionTableCallback-to-.patch b/patches/11-Dynamic_Unwind/0004-kernel32-Forward-RtlInstallFunctionTableCallback-to-.patch new file mode 100644 index 00000000..0f63623d --- /dev/null +++ b/patches/11-Dynamic_Unwind/0004-kernel32-Forward-RtlInstallFunctionTableCallback-to-.patch @@ -0,0 +1,24 @@ +From cc5139cddb7ca4df84b2e1f9b67b39c4c413b3ce Mon Sep 17 00:00:00 2001 +From: Sebastian Lackner +Date: Sat, 5 Apr 2014 02:01:38 +0200 +Subject: kernel32: Forward RtlInstallFunctionTableCallback to ntdll + +--- + dlls/kernel32/kernel32.spec | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec +index f3e5c67..a6c6b29 100644 +--- a/dlls/kernel32/kernel32.spec ++++ b/dlls/kernel32/kernel32.spec +@@ -1042,6 +1042,7 @@ + @ stdcall -arch=x86_64 RtlCompareMemory(ptr ptr long) ntdll.RtlCompareMemory + @ cdecl -arch=arm,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable + @ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory ++@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr ptr) ntdll.RtlInstallFunctionTableCallback + @ stdcall -arch=arm,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry + @ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory + @ stdcall -arch=x86_64,arm RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader +-- +1.7.9.5 + diff --git a/patches/11-Dynamic_Unwind/bbbf7d25-cca0-4630-9a83-0dec5e53ecb8.def b/patches/11-Dynamic_Unwind/bbbf7d25-cca0-4630-9a83-0dec5e53ecb8.def index 80102bf0..85a7ef1f 100644 --- a/patches/11-Dynamic_Unwind/bbbf7d25-cca0-4630-9a83-0dec5e53ecb8.def +++ b/patches/11-Dynamic_Unwind/bbbf7d25-cca0-4630-9a83-0dec5e53ecb8.def @@ -1,3 +1,3 @@ -Revision: 2 +Revision: 3 Author: Sebastian Lackner Title: Add implementation for dynamic unwind tables/callbacks on x86_64. diff --git a/patches/patch-list.patch b/patches/patch-list.patch index 0d1ad068..782a7741 100644 --- a/patches/patch-list.patch +++ b/patches/patch-list.patch @@ -57,7 +57,7 @@ index a273502..5fa0cd5 100644 + { "4cd13e94-7f2d-11e3-b5eb-0090f5c75ad5:1", "Erich E. Hoover", "Support for junction points/reparse points." }, + { "5fb1f5c8-7f17-11e3-9b62-0090f5c75ad5:1", "Erich E. Hoover", "Implement TransmitFile." }, + { "3d7c4774-9e7f-11e3-9cfc-0090f5c75ad5:1", "Erich E. Hoover", "Implement missing fonts expected by Silverlight." }, -+ { "bbbf7d25-cca0-4630-9a83-0dec5e53ecb8:2", "Sebastian Lackner", "Add implementation for dynamic unwind tables/callbacks on x86_64." }, ++ { "bbbf7d25-cca0-4630-9a83-0dec5e53ecb8:3", "Sebastian Lackner", "Add implementation for dynamic unwind tables/callbacks on x86_64." }, + { "0b21d7ac-0387-4493-aa38-fbafe3e749f5:1", "Michael Müller", "Decrease minimum SetTimer interval from 15 to 5 ms." }, + { "19835498-8d90-4673-867e-2376af4d7c76:1", "Sebastian Lackner", "Allow to set wined3d strictDrawOrdering via environment variable." }, + { "59bd38b7-bbdc-4cfd-9ccd-1c72c4ed84c0:1", "Sebastian Lackner", "Implement X11DRV_FLUSH_GDI_DISPLAY ExtEscape command." },