From: Rich Felker Date: Tue, 22 Sep 2015 20:20:39 +0000 (+0000) Subject: fix breakage in non-fdpic dynamic linker init/fini processing X-Git-Tag: v1.1.12~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=78f430295c92ae15510082c04e537da4256aa7a7;p=oweals%2Fmusl.git 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. --- diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index f8325a01..8967505a 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -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;