Files
android_kernel_xiaomi_sm8450/include/linux/export.h
Sami Tolvanen e135c46cdf ANDROID: export: cfi: fix ksymtab addresses
With CONFIG_CFI_CLANG, LLVM replaces function references with CFI
jump table addresses to allow type checking with indirect calls. This is
unnecessary in ksymtab, so this change uses inline assembly to emit
ksymtab entries that point to the actual function instead when CFI is
enabled.

Bug: 145210207
Change-Id: I894af2c7df476eb00d656c7692a33b25de31e26d
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2021-01-14 16:30:01 +00:00

6.3 KiB