Alexandre Julliard : winebuild: Generate the __wine_call_from_32_regs function along with the 16-bit kernel routines .
Alexandre Julliard
julliard at winehq.org
Sat Dec 27 13:45:18 CST 2008
Module: wine
Branch: master
Commit: 8a87aaa9d90ce2a9c7b1769c9da223828dc395a2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a87aaa9d90ce2a9c7b1769c9da223828dc395a2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Dec 27 19:50:25 2008 +0100
winebuild: Generate the __wine_call_from_32_regs function along with the 16-bit kernel routines.
---
dlls/ntdll/ntdll.spec | 1 -
tools/winebuild/relay.c | 6 ++++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 1e41e4d..1eb53d7 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -1370,7 +1370,6 @@
# or 'wine_' (for user-visible functions) to avoid namespace conflicts.
# Relays
-@ cdecl -norelay -i386 __wine_call_from_32_regs()
@ cdecl -i386 __wine_enter_vm86(ptr)
# Server interface
diff --git a/tools/winebuild/relay.c b/tools/winebuild/relay.c
index 4ec0dbf..a1c7970 100644
--- a/tools/winebuild/relay.c
+++ b/tools/winebuild/relay.c
@@ -975,6 +975,12 @@ void BuildRelays16(void)
output( "%s\n\t.long 0\n", asm_globl("CallTo16_DataSelector") );
output( "%s\n\t.long 0\n", asm_globl("CallTo16_TebSelector") );
if (UsePIC) output( "wine_ldt_copy_ptr:\t.long %s\n", asm_name("wine_ldt_copy") );
+
+ output( "\t.text\n" );
+ output( "%s:\n\n", asm_name("__wine_spec_thunk_text_32") );
+ BuildCallFrom32Regs();
+ output_function_size( "__wine_spec_thunk_text_32" );
+
output_gnu_stack_note();
}
More information about the wine-cvs
mailing list