ntdll: Always return a value in get_builtin_init_funcs.
This only showed up in the #ifdef __FreeBSD__ case, so did not appear on other platforms during testing. Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b13c024d64
commit
6468e445bd
|
@ -1729,7 +1729,8 @@ NTSTATUS get_builtin_init_funcs( void *handle, void **funcs, SIZE_T len, SIZE_T
|
|||
#ifdef __FreeBSD__
|
||||
/* 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;
|
||||
if (!get_relocbase(map->l_addr, &relocbase))
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
#endif
|
||||
switch (dyn->d_tag)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue