objdump: Fix check for corrupt reloc information, to allow for the fact that PDP11...
authorNick Clifton <nickc@redhat.com>
Thu, 29 Nov 2018 10:57:54 +0000 (10:57 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Nov 2018 10:57:54 +0000 (10:57 +0000)
commit8936f76804c2908e4abe911441dd03641204df9d
tree5a98f04351f088d89f1c3f965116df76cdef9440
parent27e8f8efca2bea184e485c3c2ceaea6c42a82125
objdump: Fix check for corrupt reloc information, to allow for the fact that PDP11 relocs are bigger when in internal format.

PR 23931
* objdump.c (dump_relocs_in_section): When checking for an
unreasonable amount of relocs in a bfd, allow for the fact that
the internal representation of a reloc may be bigger than the
external representation.
binutils/ChangeLog
binutils/objdump.c