diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-08 16:10:35 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-08 16:10:35 -0400 |
commit | 72482f9020e4362b8d35849df6dca49f26d24c54 (patch) | |
tree | 7a635929d2df888adfcf47d98e91ff0ed06aa332 /src/ldso/dlsym.c | |
parent | e28c2ecae43468e2abf92957d3622dc830d90ada (diff) | |
download | musl-72482f9020e4362b8d35849df6dca49f26d24c54.tar.gz musl-72482f9020e4362b8d35849df6dca49f26d24c54.tar.xz musl-72482f9020e4362b8d35849df6dca49f26d24c54.zip |
work around libraries with versioned symbols in dynamic linker
this commit does not add versioning support; it merely fixes incorrect lookups of symbols in libraries that contain versioned symbols. previously, the version information was completely ignored, and empirically this seems to have resulted in the oldest version being chosen, but I am uncertain if that behavior was even reliable. the new behavior being introduced is to completely ignore symbols which are marked "hidden" (this seems to be the confusing nomenclature for non-current-version) when versioning is present. this should solve all problems related to libraries with symbol versioning as long as all binaries involved are up-to-date (compatible with the latest-version symbols), and it's the needed behavior for dlsym under all circumstances.
Diffstat (limited to 'src/ldso/dlsym.c')
0 files changed, 0 insertions, 0 deletions