Stop bogus warnings about DWARF indexed string offsets being too big.
authorNick Clifton <nickc@redhat.com>
Mon, 27 Jun 2022 10:48:24 +0000 (11:48 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Jun 2022 10:49:14 +0000 (11:49 +0100)
commita3f1431a5087445ec3987d38b5ee37bcb802214c
treebb628b59bdad6582504286099389ec532c4267fb
parent2135495484109f888167287cca249be9d84ed535
Stop bogus warnings about DWARF indexed string offsets being too big.

* dwarf.c (fetch_indexed_string): Do not use length of first table
in string section as the length of every table in the section.
* testsuite/binutils-all/pr26112.r: Update expected output.
binutils/ChangeLog
binutils/dwarf.c
binutils/testsuite/binutils-all/pr26112.r