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 <mpdesouza@suse.com>
  • Loading branch information
marcosps committed Aug 1, 2024
1 parent 542ab78 commit 7b1d82e
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 7b1d82e

Please sign in to comment.