mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
![]() my_tramp[12]? are declared as global functions in C, but they are not
marked global in the inline assembly definition. This mismatch confuses
Clang's Control-Flow Integrity checking. Fix the definitions by adding
.globl.
Link: https://lkml.kernel.org/r/20201113183414.1446671-1-samitolvanen@google.com
Fixes:
|
||
---|---|---|
.. | ||
ftrace-direct-modify.c | ||
ftrace-direct-too.c | ||
ftrace-direct.c | ||
Makefile | ||
sample-trace-array.c | ||
sample-trace-array.h |