Skip to content
Snippets Groups Projects
Commit 12b9450b authored by Simon McVittie's avatar Simon McVittie
Browse files

Merge branch 'wip/smcv/versioned-symbols' into 'master'

inspect-library: Ignore symbols like LIBATOMIC_1.0@LIBATOMIC_1.0

See merge request steam/steam-runtime-tools!113
parents bbb7df0d 63a9c774
No related branches found
No related tags found
1 merge request!113inspect-library: Ignore symbols like LIBATOMIC_1.0@LIBATOMIC_1.0
Pipeline #2703 passed
......@@ -329,7 +329,13 @@ main (int argc,
}
else
{
if (!has_versioned_symbol (handle, symbol, version))
if (strcmp (symbol, version) == 0)
{
/* Ignore: dlsym() and dlvsym() don't find the
* special symbol representing the version itself,
* because it is neither data nor code. */
}
else if (!has_versioned_symbol (handle, symbol, version))
{
char * merged_string;
asprintf_or_die (&merged_string, "%s@%s", symbol, version);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment