mirror of https://github.com/dynup/kpatch
Merge pull request #1249 from sm00th/locals_match_fix
Fix sym->type condition in locals_match()
This commit is contained in:
commit
aaaebaf258
|
@ -131,7 +131,7 @@ static bool locals_match(struct lookup_table *table, int idx,
|
||||||
break;
|
break;
|
||||||
if (sym->bind != STB_LOCAL)
|
if (sym->bind != STB_LOCAL)
|
||||||
continue;
|
continue;
|
||||||
if (sym->type != STT_FUNC && table_sym->type != STT_OBJECT)
|
if (sym->type != STT_FUNC && sym->type != STT_OBJECT)
|
||||||
continue;
|
continue;
|
||||||
/*
|
/*
|
||||||
* Symbols which get discarded at link time are missing from
|
* Symbols which get discarded at link time are missing from
|
||||||
|
|
Loading…
Reference in New Issue