diff --git a/libcextract/Passes.cpp b/libcextract/Passes.cpp index 0e4bf96..0ddae3b 100644 --- a/libcextract/Passes.cpp +++ b/libcextract/Passes.cpp @@ -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 << ", " <<