提交 78f43029 编写于 作者: R Rich Felker

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.
上级 30fdc06b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册