Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3242676e
Commit
3242676e
authored
Dec 02, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Only build the wow64 function table on 64-bit.
parent
6a4e0d60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
loader.c
dlls/ntdll/unix/loader.c
+3
-0
virtual.c
dlls/ntdll/unix/virtual.c
+8
-0
No files found.
dlls/ntdll/unix/loader.c
View file @
3242676e
...
...
@@ -2136,6 +2136,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
};
#ifdef _WIN64
static
NTSTATUS
wow64_load_so_dll
(
void
*
args
)
{
return
STATUS_INVALID_IMAGE_FORMAT
;
}
static
NTSTATUS
wow64_init_builtin_dll
(
void
*
args
)
{
return
STATUS_UNSUCCESSFUL
;
}
static
NTSTATUS
wow64_unwind_builtin_dll
(
void
*
args
)
{
return
STATUS_UNSUCCESSFUL
;
}
...
...
@@ -2151,6 +2153,7 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
system_time_precise
,
};
#endif
/* _WIN64 */
/***********************************************************************
* start_main_thread
...
...
dlls/ntdll/unix/virtual.c
View file @
3242676e
...
...
@@ -647,7 +647,11 @@ static NTSTATUS get_builtin_unix_funcs( void *module, BOOL wow, const void **fun
if
(
module
==
ntdll_module
)
{
#ifdef _WIN64
*
funcs
=
wow
?
__wine_unix_call_wow64_funcs
:
__wine_unix_call_funcs
;
#else
*
funcs
=
__wine_unix_call_funcs
;
#endif
return
STATUS_SUCCESS
;
}
...
...
@@ -657,7 +661,11 @@ static NTSTATUS get_builtin_unix_funcs( void *module, BOOL wow, const void **fun
if
(
builtin
->
module
!=
module
)
continue
;
if
(
builtin
->
unix_path
&&
(
p
=
strrchr
(
builtin
->
unix_path
,
'/'
))
&&
!
strcmp
(
p
,
"/ntdll.so"
))
{
#ifdef _WIN64
*
funcs
=
wow
?
__wine_unix_call_wow64_funcs
:
__wine_unix_call_funcs
;
#else
*
funcs
=
__wine_unix_call_funcs
;
#endif
status
=
STATUS_SUCCESS
;
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment