summaryrefslogtreecommitdiff
path: root/tools/objtool/arch/powerpc/include/arch/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/objtool/arch/powerpc/include/arch/elf.h')
-rw-r--r--tools/objtool/arch/powerpc/include/arch/elf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/objtool/arch/powerpc/include/arch/elf.h b/tools/objtool/arch/powerpc/include/arch/elf.h
new file mode 100644
index 000000000000..73f9ae172fe5
--- /dev/null
+++ b/tools/objtool/arch/powerpc/include/arch/elf.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef _OBJTOOL_ARCH_ELF
+#define _OBJTOOL_ARCH_ELF
+
+#define R_NONE R_PPC_NONE
+#define R_ABS64 R_PPC64_ADDR64
+#define R_ABS32 R_PPC_ADDR32
+
+#endif /* _OBJTOOL_ARCH_ELF */