Don't edit bogus sh_link on reading relocatable objects (Oracle fix)
authorAlan Modra <amodra@gmail.com>
Thu, 9 Dec 2021 09:14:07 +0000 (19:44 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 11 Dec 2021 00:39:47 +0000 (11:09 +1030)
commit1563e7179a7e7f06ae9b44725f191163ccf0975c
tree33dab81e334fcc4aad04bc2aeccdd55aec82a14e
parentedce4d8c6aea4854bde4120437357f0d20e88186
Don't edit bogus sh_link on reading relocatable objects (Oracle fix)

This reverts a 1995 fix to handle bogus object files.  Presumably such
object files have long gone.

* elf.c (bfd_section_from_shdr): Remove old hack for Oracle
libraries.
bfd/elf.c