From b587e5b3ac34179eb1f7fccf07651ec2335fe82d Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Mon, 2 Sep 2024 17:29:40 -0300 Subject: [PATCH] libcextract: Passes: Adjust KLP_RELOC_SYMBOL_POS format This was changed on linux kernel mailing list due to possible problems on binutils. For more information take a look here[1]; [1]: https://lore.kernel.org/all/ZljceDZ7eqEJtYhQ@redhat.com/ Signed-off-by: Marcos Paulo de Souza --- libcextract/Passes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcextract/Passes.cpp b/libcextract/Passes.cpp index 0748eb9..6dc4ddb 100644 --- a/libcextract/Passes.cpp +++ b/libcextract/Passes.cpp @@ -574,7 +574,7 @@ class IbtTailGeneratePass : public Pass { PrettyPrint::Print_Raw( "#define KLP_RELOC_SYMBOL_POS(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME, SYM_POS) \\\n" - "\tasm(\"\\\".klp.sym.rela.\" #LP_OBJ_NAME \".\" #SYM_OBJ_NAME \".\" #SYM_NAME \",\" #SYM_POS \"\\\"\")\n" + "\tasm(\"\\\".klp.sym.rela.\" #LP_OBJ_NAME \".\" #SYM_OBJ_NAME \".\" #SYM_NAME \".\" #SYM_POS \"\\\"\")\n" "#define KLP_RELOC_SYMBOL(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME) \\\n" "\tKLP_RELOC_SYMBOL_POS(LP_OBJ_NAME, SYM_OBJ_NAME, SYM_NAME, 0)\n\n");