diff options
| author | Michael Ellerman <[email protected]> | 2022-12-08 12:57:47 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-12-08 12:57:47 +0000 |
| commit | f24f21c4122e837fa031cc512a7f20eb8c554c5e (patch) | |
| tree | b19acb396850fbfb36218329659b926446c24914 /tools/objtool/arch/x86/decode.c | |
| parent | powerpc/prom: Fix 32-bit build (diff) | |
| parent | objtool/powerpc: Implement arch_pc_relative_reloc() (diff) | |
| download | kernel-f24f21c4122e837fa031cc512a7f20eb8c554c5e.tar.gz kernel-f24f21c4122e837fa031cc512a7f20eb8c554c5e.zip | |
Merge branch 'topic/objtool' into next
Merge the powerpc objtool support, which we were keeping in a topic
branch in case of any merge conflicts.
Diffstat (limited to 'tools/objtool/arch/x86/decode.c')
| -rw-r--r-- | tools/objtool/arch/x86/decode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/objtool/arch/x86/decode.c b/tools/objtool/arch/x86/decode.c index 1c253b4b7ce0..af7ad09c926c 100644 --- a/tools/objtool/arch/x86/decode.c +++ b/tools/objtool/arch/x86/decode.c @@ -23,6 +23,11 @@ #include <objtool/builtin.h> #include <arch/elf.h> +int arch_ftrace_match(char *name) +{ + return !strcmp(name, "__fentry__"); +} + static int is_x86_64(const struct elf *elf) { switch (elf->ehdr.e_machine) { |
