diff options
author | Andreas Hindborg <[email protected]> | 2024-08-15 07:49:30 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2024-08-21 01:24:10 +0200 |
commit | b8673d56935c32a4e0a1a0b40951fdd313dbf340 (patch) | |
tree | 8be5954a5db74fba67bbc98488609192de118201 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 47ac09b91befbb6a235ab620c32af719f8208399 (diff) |
rust: kbuild: fix export of bss symbols
Symbols in the bss segment are not currently exported. This is a problem
for Rust modules that link against statics, that are resident in the kernel
image. Thus export symbols in the bss segment.
Fixes: 2f7ab1267dc9 ("Kbuild: add Rust support")
Signed-off-by: Andreas Hindborg <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Tested-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Reworded slightly. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions