diff options
author | oltolm <oleg.tolmatcev@gmail.com> | 2024-11-29 22:02:07 +0100 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-12-01 16:41:11 +1030 |
commit | 227146c286e894a8886965a7576a70a451058ae5 (patch) | |
tree | 332f4ca8ac7f30e6d55161a89814be24d1892163 | |
parent | 936f94cf5fd29f8642cab4f1b03b711b9cab699f (diff) | |
download | binutils-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.c | 1 |
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); |