aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2020-12-11 10:46:26 -0800
committerKees Cook <[email protected]>2021-01-14 08:21:09 -0800
commit09a4e4d9c52a3c5e39e4f409b2c083ab13c6afc2 (patch)
tree6d2ace0fe37dc894cb681ca1bebb106652e4d2c8 /scripts/bpf_helpers_doc.py
parent3578ad11f3fba07e64c26d8db68cfd3dde28c59e (diff)
PCI: Fix PREL32 relocations for LTO
With Clang's Link Time Optimization (LTO), the compiler can rename static functions to avoid global naming collisions. As PCI fixup functions are typically static, renaming can break references to them in inline assembly. This change adds a global stub to DECLARE_PCI_FIXUP_SECTION to fix the issue when PREL32 relocations are used. Signed-off-by: Sami Tolvanen <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions