ntdll: Fix init_builtin_dll for FreeBSD again.
Commite9cfc97d46
Revert "ntdll: Add a Wine-specific class in NtQueryVirtualMemory to retrieve the init functions of a module." This reverts commitse5339ecbc6
and18408b18f3
. broke the build on FreeBSD. Adjust the return value for FreeBSD as well. Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9f6e39e8b9
commit
cac8c971a7
|
@ -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. */
|
/* 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 (offsetof(struct link_map, l_addr) == 0)
|
||||||
if (!get_relocbase(map->l_addr, &relocbase))
|
if (!get_relocbase(map->l_addr, &relocbase))
|
||||||
return STATUS_NOT_SUPPORTED;
|
return;
|
||||||
#endif
|
#endif
|
||||||
switch (dyn->d_tag)
|
switch (dyn->d_tag)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue