From: oltolm Date: Fri, 29 Nov 2024 21:02:07 +0000 (+0100) Subject: Remove more remnants of old Mach-O workaround X-Git-Tag: gdb-16-branchpoint~262 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=227146c286e894a8886965a7576a70a451058ae5;p=thirdparty%2Fbinutils-gdb.git 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 --- diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 4b46100c753..79a18e39ccd 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -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);