Skip to content
Commit 565587d8 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

modpost: refactor sech_name()



Use sym_get_data_by_offset() helper to get access to the .shstrtab
section data. No functional change is intended because
elf->sechdrs[elf->secindex_strings].sh_addr is 0 for both ET_REL
and ET_EXEC object types.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent d2e4d05c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment