diff options
author | Arnd Bergmann <[email protected]> | 2018-02-02 15:56:19 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-13 14:33:35 +0100 |
commit | 01684e72f16727e6ae0aeb1392f478e11ec5b8f7 (patch) | |
tree | 4bb22328882e248856bda2ddc892f20215427b5b /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | c25d99d20ba69824a1e2cc118e04b877cd427afc (diff) |
x86/error_inject: Make just_return_func() globally visible
With link time optimizations enabled, I get a link failure:
./ccLbOEHX.ltrans19.ltrans.o: In function `override_function_with_return':
<artificial>:(.text+0x7f3): undefined reference to `just_return_func'
Marking the symbol .globl makes it work as expected.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: 540adea3809f ("error-injection: Separate error-injection from kprobe")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions