artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7059f27
)
Seems they fixed that old bug. Remove workaround
author
pefo
<pefo@openbsd.org>
Fri, 6 Sep 1996 19:28:20 +0000
(19:28 +0000)
committer
pefo
<pefo@openbsd.org>
Fri, 6 Sep 1996 19:28:20 +0000
(19:28 +0000)
gnu/usr.bin/binutils/bfd/elf.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils/bfd/elf.c
b/gnu/usr.bin/binutils/bfd/elf.c
index
a68e6ba
..
17893e1
100644
(file)
--- 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;