data relocation to !ENDBR
jim.cromie at gmail.com
jim.cromie at gmail.com
Tue Sep 10 14:49:22 EDT 2024
anybody familiar with this error, or how to fix it ?
It doesnt seem to break anything (boots,runs fine),
but thats not much of a test.
[jimc at frodo b0-dd]$ make
GEN Makefile
CALL ../scripts/checksyscalls.sh
DESCEND objtool
INSTALL libsubcmd_headers
LD vmlinux.o
vmlinux.o: warning: objtool: .export_symbol+0x2c1d8: data relocation
to !ENDBR: stpcpy+0x0
OBJCOPY modules.builtin.modinfo
...
make finishes
[jimc at frodo b0-dd]$ nm vmlinux.a | grep s7tpcpy
0000000000000050 r __export_symbol_stpcpy
0000000000000110 T stpcpy
00000000000000b0 d __UNIQUE_ID___addressable_stpcpy9
is it improper to EXPORT_SYMBOL a struct in a __section ?
More information about the Kernelnewbies
mailing list