summaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorTony Ambardar <tony.ambardar@gmail.com>2024-09-16 01:37:42 -0700
committerAlexei Starovoitov <ast@kernel.org>2024-10-03 17:47:36 -0700
commitf896b4a5399e97af0b451fcf04754ed316935674 (patch)
treef7a5e137d92fd84d6121939f5d289bb35359e233 /scripts/bpf_doc.py
parent769ad3a61e335ced0a47e300b71b2206963e09a9 (diff)
downloadlinux-stable-f896b4a5399e97af0b451fcf04754ed316935674.tar.gz
linux-stable-f896b4a5399e97af0b451fcf04754ed316935674.tar.bz2
linux-stable-f896b4a5399e97af0b451fcf04754ed316935674.zip
libbpf: Fix output .symtab byte-order during linking
Object linking output data uses the default ELF_T_BYTE type for '.symtab' section data, which disables any libelf-based translation. Explicitly set the ELF_T_SYM type for output to restore libelf's byte-order conversion, noting that input '.symtab' data is already correctly translated. Fixes: faf6ed321cf6 ("libbpf: Add BPF static linker APIs") Signed-off-by: Tony Ambardar <tony.ambardar@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/87868bfeccf3f51aec61260073f8778e9077050a.1726475448.git.tony.ambardar@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions