mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 11:47:28 +00:00
fix breakage in non-fdpic dynamic linker init/fini processing
a mistaken #ifdef instead of #if caused conversion of code addresses to function descriptors to be performed even on non-fdpic.
This commit is contained in:
parent
30fdc06bba
commit
78f430295c
@ -139,7 +139,7 @@ static int dl_strcmp(const char *l, const char *r)
|
||||
#define strcmp(l,r) dl_strcmp(l,r)
|
||||
|
||||
/* Compute load address for a virtual address in a given dso. */
|
||||
#ifdef DL_FDPIC
|
||||
#if DL_FDPIC
|
||||
static void *laddr(const struct dso *p, size_t v)
|
||||
{
|
||||
size_t j=0;
|
||||
|
Loading…
Reference in New Issue
Block a user