Gerald Pfeifer : ntdll: Fix init_builtin_dll for FreeBSD again.
Alexandre Julliard
julliard at winehq.org
Thu Sep 23 15:35:03 CDT 2021
Module: wine
Branch: master
Commit: cac8c971a7a989afb4a5a6f8f95a4f3b78e78593
URL: https://source.winehq.org/git/wine.git/?a=commit;h=cac8c971a7a989afb4a5a6f8f95a4f3b78e78593
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Wed Sep 22 18:58:33 2021 +0200
ntdll: Fix init_builtin_dll for FreeBSD again.
Commit e9cfc97d46aaf39bc9c2a41b319d3b3b358c0f04
Revert "ntdll: Add a Wine-specific class in NtQueryVirtualMemory
to retrieve the init functions of a module."
This reverts commits e5339ecbc66f20193a0a6b1dfdce98d42d2ad926 and
18408b18f3ebd9630a02f0bd16864f5e5118b71a.
broke the build on FreeBSD.
Adjust the return value for FreeBSD as well.
Signed-off-by: Gerald Pfeifer <gerald at pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
index 6fbd112be01..5e39209eddc 100644
--- a/dlls/ntdll/unix/loader.c
+++ b/dlls/ntdll/unix/loader.c
@@ -2001,7 +2001,7 @@ static void CDECL init_builtin_dll( void *module )
/* On older FreeBSD versions, l_addr was the absolute load address, now it's the relocation offset. */
if (offsetof(struct link_map, l_addr) == 0)
if (!get_relocbase(map->l_addr, &relocbase))
- return STATUS_NOT_SUPPORTED;
+ return;
#endif
switch (dyn->d_tag)
{
More information about the wine-cvs
mailing list