diff options
| author | Sathvika Vasireddy <sv@linux.ibm.com> | 2022-11-14 23:27:54 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-18 19:00:16 +1100 |
| commit | c984aef8c8326035570ff6e01d0ff9e79a5dfa76 (patch) | |
| tree | 1377b4cab23358cfafb36d3991d783bca023e57d /tools/objtool/arch/powerpc/include | |
| parent | e52ec98c5ab18c0710ea22bf52f45e60a725adaf (diff) | |
objtool/powerpc: Add --mcount specific implementation
This patch enables objtool --mcount on powerpc, and adds implementation
specific to powerpc.
Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Sathvika Vasireddy <sv@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221114175754.1131267-17-sv@linux.ibm.com
Diffstat (limited to 'tools/objtool/arch/powerpc/include')
| -rw-r--r-- | tools/objtool/arch/powerpc/include/arch/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/objtool/arch/powerpc/include/arch/elf.h b/tools/objtool/arch/powerpc/include/arch/elf.h index 3c8ebb7d2a6b..73f9ae172fe5 100644 --- a/tools/objtool/arch/powerpc/include/arch/elf.h +++ b/tools/objtool/arch/powerpc/include/arch/elf.h @@ -4,5 +4,7 @@ #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 */ |
