mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 17:23:36 +00:00
ARM: 9382/1: ftrace: Define ftrace_stub_graph
Several architectures defines this stub for the graph tracer,
and it is needed for CFI, as it needs a separate symbol for it.
The trick from include/asm-generic/vmlinux.lds.h to define
ftrace_stub_graph to ftrace_stub isn't working when using CFI.
Commit 883bbbffa5
contains the details.
Tested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
This commit is contained in:
parent
7af5b901e8
commit
a9a058031c
@ -271,6 +271,10 @@ ENTRY(ftrace_stub)
|
||||
ret lr
|
||||
ENDPROC(ftrace_stub)
|
||||
|
||||
ENTRY(ftrace_stub_graph)
|
||||
ret lr
|
||||
ENDPROC(ftrace_stub_graph)
|
||||
|
||||
#ifdef CONFIG_DYNAMIC_FTRACE
|
||||
|
||||
__INIT
|
||||
|
Loading…
Reference in New Issue
Block a user