Skip to content

Commit

Permalink
libcextract: Passes: Adjust KLP_RELOC_SYMBOL_POS format
Browse files Browse the repository at this point in the history
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/[email protected]/

Signed-off-by: Marcos Paulo de Souza <[email protected]>
  • Loading branch information
marcosps authored and giulianobelinassi committed Sep 2, 2024
1 parent 703568b commit 0a13816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcextract/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 0a13816

Please sign in to comment.