Skip to content

Commit

Permalink
libcextract: Passes: Drop attributes when creating the KLP_RELOC entries
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Paulo de Souza <[email protected]>
  • Loading branch information
marcosps committed Aug 1, 2024
1 parent e9f12bb commit cfe5277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcextract/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ class IbtTailGeneratePass : public Pass
if (sym_mod.empty())
sym_mod = "vmlinux";

decl->dropAttrs();
decl->print(outstr);

outstr << " \\\n" << "\tKLP_RELOC_SYMBOL(" << ctx->PatchObject << ", " <<
Expand Down

0 comments on commit cfe5277

Please sign in to comment.