projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4acc95e
)
eliminate gdb complaints about missing linux-gate.so.1
author
Rich Felker
<dalias@aerifal.cx>
Mon, 26 Nov 2012 01:56:31 +0000
(20:56 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 26 Nov 2012 01:56:31 +0000
(20:56 -0500)
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.
src/ldso/dynlink.c
patch
|
blob
|
history
diff --git
a/src/ldso/dynlink.c
b/src/ldso/dynlink.c
index 66f22bef194f2ed0e430c74acaa5155471e098ef..c436b88fadf6771aa53d76e9b3cae67315d63422 100644
(file)
--- 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;