diff options
author | Nathan Chancellor <[email protected]> | 2022-07-13 10:35:03 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2022-07-14 16:57:26 +0200 |
commit | 33f32e5072b6cc84d1b130a3ad485849bcec907a (patch) | |
tree | c2fbbeba0620fde9c734e3f7d479ab102ac506c3 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 94bf6aad5dbed1c93618035ec31b37927538c276 (diff) |
bpf, arm64: Mark dummy_tramp as global
When building with clang + CONFIG_CFI_CLANG=y, the following error
occurs at link time:
ld.lld: error: undefined symbol: dummy_tramp
dummy_tramp is declared globally in C but its definition in inline
assembly does not use .global, which prevents clang from properly
resolving the references to it when creating the CFI jump tables.
Mark dummy_tramp as global so that the reference can be properly
resolved.
Fixes: b2ad54e1533e ("bpf, arm64: Implement bpf_arch_text_poke() for arm64")
Suggested-by: Sami Tolvanen <[email protected]>
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Stanislav Fomichev <[email protected]>
Link: https://github.com/ClangBuiltLinux/linux/issues/1661
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions