summaryrefslogtreecommitdiff
path: root/src/ldso
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-25 20:56:31 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-25 20:56:31 -0500
commit75a31faaedb12cad0b884a41c73057cb80a14ed3 (patch)
treeec60eb6c92fa00416580d5ad25e67fcdd2a4dfe4 /src/ldso
parent4acc95e497956d926bc9b9a0534cc93a73a6d3e1 (diff)
downloadmusl-75a31faaedb12cad0b884a41c73057cb80a14ed3.tar.gz
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.
Diffstat (limited to 'src/ldso')
-rw-r--r--src/ldso/dynlink.c3
1 files changed, 2 insertions, 1 deletions
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;