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.
This commit is contained in:
Rich Felker 2012-11-25 20:56:31 -05:00
parent 4acc95e497
commit 75a31faaed
1 changed files with 2 additions and 1 deletions

View File

@ -927,7 +927,8 @@ void *__dynlink(int argc, char **argv)
if (phdr->p_type == PT_LOAD)
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;
decode_dyn(vdso);
vdso->prev = lib;