Merge pull request #1249 from sm00th/locals_match_fix

Fix sym->type condition in locals_match()
This commit is contained in:
Joe Lawrence 2022-02-04 09:10:01 -05:00 committed by GitHub
commit aaaebaf258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ static bool locals_match(struct lookup_table *table, int idx,
break;
if (sym->bind != STB_LOCAL)
continue;
if (sym->type != STT_FUNC && table_sym->type != STT_OBJECT)
if (sym->type != STT_FUNC && sym->type != STT_OBJECT)
continue;
/*
* Symbols which get discarded at link time are missing from