Fix failures in MMIX linker tests introduced by fix for PR 21665.
authorNick Clifton <nickc@redhat.com>
Fri, 30 Jun 2017 10:03:37 +0000 (11:03 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 30 Jun 2017 10:03:37 +0000 (11:03 +0100)
commit60a02042bacf8d25814430080adda61ed086bca6
treee61d4715a2ea8455bd81a1a1593d936e8d183402
parent4151f6842850876e93c8e5d870d7c9147065788d
Fix failures in MMIX linker tests introduced by fix for PR 21665.

PR binutils/21665
* objdump.c (disassemble_section): Move check for an overlarge
section to just before the allocation of memory.  Do not check
section size against file size, but instead use an arbitrary 2Gb
limit.  Issue a warning message if the section is too big.
binutils/ChangeLog
binutils/objdump.c