aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/objtool/include
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2022-11-23 21:26:10 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2022-11-23 21:26:10 +1100
commita39818a3fb2bf12ae945a7c5fba8c5d9048a0e96 (patch)
tree64a9c4cb033c8c97d4d974a3d2b171b360ac42fa /tools/objtool/include
parentobjtool/powerpc: Add --mcount specific implementation (diff)
downloadwireguard-linux-a39818a3fb2bf12ae945a7c5fba8c5d9048a0e96.tar.xz
wireguard-linux-a39818a3fb2bf12ae945a7c5fba8c5d9048a0e96.zip
objtool/powerpc: Implement arch_pc_relative_reloc()
Provide an implementation for arch_pc_relative_reloc(). It is needed to pass the build once 61c6065ef7ec ("objtool: Allow !PC relative relocations") is merged. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/objtool/include')
-rw-r--r--tools/objtool/include/objtool/arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/objtool/include/objtool/arch.h b/tools/objtool/include/objtool/arch.h
index 5149330f400f..4ecb480131c7 100644
--- a/tools/objtool/include/objtool/arch.h
+++ b/tools/objtool/include/objtool/arch.h
@@ -95,4 +95,6 @@ bool arch_is_rethunk(struct symbol *sym);
int arch_rewrite_retpolines(struct objtool_file *file);
+bool arch_pc_relative_reloc(struct reloc *reloc);
+
#endif /* _ARCH_H */