mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 15:11:55 +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:
@ -139,7 +139,7 @@ static int dl_strcmp(const char *l, const char *r)
|
|||||||
#define strcmp(l,r) dl_strcmp(l,r)
|
#define strcmp(l,r) dl_strcmp(l,r)
|
||||||
|
|
||||||
/* Compute load address for a virtual address in a given dso. */
|
/* 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)
|
static void *laddr(const struct dso *p, size_t v)
|
||||||
{
|
{
|
||||||
size_t j=0;
|
size_t j=0;
|
||||||
|
Reference in New Issue
Block a user