Fix a bug in the s390x linker when discarding all inpuit files.
authorNick Clifton <nickc@redhat.com>
Thu, 19 Nov 2020 17:36:24 +0000 (17:36 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 19 Nov 2020 17:36:24 +0000 (17:36 +0000)
commita4eba6087d4cec81f8b41477b4da56ff87b88e91
treebaabbcc8c0610795c87b07a15a829cf2203e8283
parenta5adb8f3b40184cfe8f0bfd362ba1d37d780d62f
Fix a bug in the s390x linker when discarding all inpuit files.

PR 26918
* elf64-s390.c (elf_s390_finish_dynamic_sections): Check for the
existance of an sgot output section before setting the
sh_entsize.
bfd/ChangeLog
bfd/elf64-s390.c