summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-09-06 19:28:21 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-09-06 19:28:21 +0000
commit3d6d7f320d454d833f95445e482f3f782184c10b (patch)
tree3f6bdf3f8e30c9eb14d48cf6660cf32779a5981f /gnu
parentce5a7848c6e8d4bc75b5fbaf130a87fffdc80cab (diff)
Seems they fixed that old bug. Remove workaround
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/bfd/elf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/bfd/elf.c b/gnu/usr.bin/binutils/bfd/elf.c
index a68e6baa1c3..17893e1bd69 100644
--- a/gnu/usr.bin/binutils/bfd/elf.c
+++ b/gnu/usr.bin/binutils/bfd/elf.c
@@ -862,11 +862,6 @@ bfd_section_from_shdr (abfd, shindex)
if (! bfd_section_from_shdr (abfd, hdr->sh_info))
return false;
-/*XXX Why is sh_info sometimes (-static linked) zero? */
- if(hdr->sh_info == 0)
- return true;
-/*XXX*/
-
target_sect = bfd_section_from_elf_index (abfd, hdr->sh_info);
if (target_sect == NULL)
return false;