Remove more remnants of old Mach-O workaround

Remove another adjustment for section address, this time for the
offset into .debug_str{,.dwo} read from .debug_str_offsets{,.dwo} by
fetch_indexed_string.

Signed-off-by: oltolm <oleg.tolmatcev@gmail.com>
This commit is contained in:
oltolm
2024-11-29 22:02:07 +01:00
committed by Alan Modra
parent 936f94cf5f
commit 227146c286

View File

@@ -677,7 +677,6 @@ fetch_indexed_string (uint64_t idx,
str_offset = byte_get (index_section->start + index_offset, offset_size);
str_offset -= str_section->address;
if (str_offset >= str_section->size)
{
warn (_("indirect offset too big: %#" PRIx64 "\n"), str_offset);