diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-10-16 21:19:05 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-10-16 21:19:05 +0200 |
commit | a1e17a2551ddd1b2c4853e053dc1b254440211bd (patch) | |
tree | b675cdd05cd9a408b0b1d8fc3d4c27bca33318d0 /src/ChangeLog | |
parent | 0479e127b146b585b023380579e11e7015de9c6c (diff) | |
download | android_external_elfutils-a1e17a2551ddd1b2c4853e053dc1b254440211bd.tar.gz android_external_elfutils-a1e17a2551ddd1b2c4853e053dc1b254440211bd.tar.bz2 android_external_elfutils-a1e17a2551ddd1b2c4853e053dc1b254440211bd.zip |
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: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0d2b1d61..f9e3b4a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,12 @@ 2015-10-16 Mark Wielaard <mjw@redhat.com> + * elflint.c (check_symtab): Don't check TLS symbol value against TLS + phdr offset in debuginfo files. + (check_sections): Don't try to match section offsets to phdrs offsets + in debuginfo files. + +2015-10-16 Mark Wielaard <mjw@redhat.com> + * elflint.c (check_reloc_shdr): Reject only desthdrs if they have both SHF_MERGE and SHF_STRINGS set. |