From: Rich Felker Date: Mon, 26 Nov 2012 01:56:31 +0000 (-0500) Subject: eliminate gdb complaints about missing linux-gate.so.1 X-Git-Tag: v0.9.8~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75a31faaedb12cad0b884a41c73057cb80a14ed3;p=oweals%2Fmusl.git 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. --- diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 66f22bef..c436b88f 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -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;