From: Rich Felker Date: Wed, 24 Jul 2013 15:53:23 +0000 (-0400) Subject: support STB_GNU_UNIQUE symbol bindings in dynamic linker X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=e152ee9778846c1f233641b2d3562ccdb081c6a9 support STB_GNU_UNIQUE symbol bindings in dynamic linker these are needed for some C++ library binaries including most builds of libstdc++. I'm not entirely clear on the rationale. this patch does not implement any special semantics for them, but as far as I can tell, no special treatment is needed in correctly-linked programs; this binding seems to exist only for catching incorrectly-linked programs. --- diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 98a18bba..f4c32ffe 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -190,7 +190,7 @@ static Sym *gnu_lookup(const char *s, uint32_t h1, struct dso *dso) } #define OK_TYPES (1<