http://sourceware.org/bugzilla/show_bug.cgi?id=15745
Bug ID: 15745
Summary: erroneous warning from readelf
Product: binutils
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dmitry.b at samsung dot com
In function get_unwind_section_word readelf tries tries to match elf section
with corresponding relocation section. It makes this based only on value of
sh_info field in section header and checks section type only afterwards. If
this type doesn’t match valid section type (REL or RELA) it does no
thing with
such section but issues the warning. However interpretation of sh_info field
depends on section type so the warning is erroneous. In our case this proce
dure
is performed with .ARM.extab section and accidentally its section number
matched value of sh_info field in section header of type SHT_GNU_verdef.
This warning annoys our customers.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils