提交 75a31faa 编写于 作者: R Rich Felker

eliminate gdb complaints about missing linux-gate.so.1

actually, the hard-coded name should be eliminated too, and replaced
by a search for the soname in the headers, but that can be done
separately later.
上级 4acc95e4
...@@ -927,7 +927,8 @@ void *__dynlink(int argc, char **argv) ...@@ -927,7 +927,8 @@ void *__dynlink(int argc, char **argv)
if (phdr->p_type == PT_LOAD) if (phdr->p_type == PT_LOAD)
vdso->base = (void *)(vdso_base - phdr->p_vaddr + phdr->p_offset); vdso->base = (void *)(vdso_base - phdr->p_vaddr + phdr->p_offset);
} }
vdso->name = vdso->shortname = "linux-gate.so.1"; vdso->name = "";
vdso->shortname = "linux-gate.so.1";
vdso->global = 1; vdso->global = 1;
decode_dyn(vdso); decode_dyn(vdso);
vdso->prev = lib; vdso->prev = lib;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册