aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroltolm <oleg.tolmatcev@gmail.com>2024-11-29 22:02:07 +0100
committerAlan Modra <amodra@gmail.com>2024-12-01 16:41:11 +1030
commit227146c286e894a8886965a7576a70a451058ae5 (patch)
tree332f4ca8ac7f30e6d55161a89814be24d1892163
parent936f94cf5fd29f8642cab4f1b03b711b9cab699f (diff)
downloadbinutils-227146c286e894a8886965a7576a70a451058ae5.zip
binutils-227146c286e894a8886965a7576a70a451058ae5.tar.gz
binutils-227146c286e894a8886965a7576a70a451058ae5.tar.bz2
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>
-rw-r--r--binutils/dwarf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 4b46100..79a18e3 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);