提交 31f340a1 编写于 作者: R Rich Felker

remove dead code from dynamic linker

上级 216dca82
......@@ -627,16 +627,6 @@ static void reloc_all(struct dso *p)
}
}
static void free_all(struct dso *p)
{
struct dso *n;
while (p) {
n = p->next;
if (p->map && p!=libc && p!=head) free(p);
p = n;
}
}
static size_t find_dyn(Phdr *ph, size_t cnt, size_t stride)
{
for (; cnt--; ph = (void *)((char *)ph + stride))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册