Commit a1e17a25 authored by Mark Wielaard's avatar Mark Wielaard
Browse files

elflint: Don't check shdr or TLS symbol offsets against debuginfo phdrs.



In debuginfo files the phdrs file offsets match those of the original ELF
file. So the section header file offsets and the TLS symbol value offset
in debuginfo files cannot be sanity checked against the phdrs file offset.

The issue can be triggered with run-strip-strmerge.sh test when configured
with --enable-gcov. Which will insert a .tbss section and TLS symbols that
trigger the above checks.

Signed-off-by: default avatarMark Wielaard <mjw@redhat.com>
parent 0479e127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment