From 227146c286e894a8886965a7576a70a451058ae5 Mon Sep 17 00:00:00 2001 From: oltolm Date: Fri, 29 Nov 2024 22:02:07 +0100 Subject: [PATCH] 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 --- binutils/dwarf.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.47.2