Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions kpatch-build/lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ static bool locals_match(struct lookup_table *table, int idx,
continue;
if (table_sym->type != STT_FUNC && table_sym->type != STT_OBJECT)
continue;
if(!strncmp(table_sym->name, "__pfx_", 6))
continue;

found = 0;
sym = file_sym;
Expand Down Expand Up @@ -136,6 +138,8 @@ static bool locals_match(struct lookup_table *table, int idx,
continue;
if (sym->type != STT_FUNC && sym->type != STT_OBJECT)
continue;
if(!strncmp(sym->name, "__pfx_", 6))
continue;
/*
* Symbols which get discarded at link time are missing from
* the lookup table, so skip them.
Expand Down