]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elflint, readelf, support SHT_LLVM_LTO and SHT_LLVM_ADDRSIG
authorMark Wielaard <mark@klomp.org>
Mon, 9 Feb 2026 22:18:40 +0000 (23:18 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 17 Feb 2026 12:36:10 +0000 (13:36 +0100)
commit1ae7d8e1cd9493c07e89d1a6b9c24b23d7cc8d8a
treea6340cddd57f675fbe46e7db9c00099d0d495acf
parent3f3b902d5609771686a24f12d0427dc81d2c59c7
elflint, readelf, support SHT_LLVM_LTO and SHT_LLVM_ADDRSIG

An SHT_LLVM_LTO section contains LLVM bitcode. An SHT_LLVM_ADDRSIG
section contains ULEB128 integers referring to the symbol table
indexes of address-significant symbols. This patch just recognizes the
SHT constants but doesn't handle the section contents.

 * libebl/eblsectiontypename.c (ebl_section_type_name):
 Recognize SHT_LLVM_ADDRSIG and SHT_LLVM_LTO.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libebl/eblsectiontypename.c