bfin: Check bfd_link_hash_indirect
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 29 Dec 2020 18:41:51 +0000 (10:41 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jan 2021 00:38:53 +0000 (16:38 -0800)
commitd4e57b87a3d5879917c30e33b14760fd76ff7b38
tree22a03a00ae91860c71bc1af120a18844d406bc54
parent6987d5a1bbf61f56ef188b794a494fb495c9660a
bfin: Check bfd_link_hash_indirect

Add bfd_link_hash_indirect check to check_relocs.  This fixed:

FAIL: ld-elf/pr26979a
FAIL: ld-elf/pr26979b
FAIL: Symbol export class test (final shared object)

* elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
(bfinfdpic_check_relocs): Likewise.
bfd/ChangeLog
bfd/elf32-bfin.c