PR21910, segfault in common symbol override test when hash-style=gnu
authorAlan Modra <amodra@gmail.com>
Mon, 7 Aug 2017 08:32:49 +0000 (18:02 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 7 Aug 2017 11:56:09 +0000 (21:26 +0930)
commitb3293efaf8ddef1eba52de14be47e3d33bbce35a
tree6172bda76041f31165b5bdc6aa55c912ef8fb800
parent74cbb09e74dda17fc79e2ce709116780a90310ef
PR21910, segfault in common symbol override test when hash-style=gnu

PR 21910
* elflink.c (bfd_elf_final_link): Don't segfault when sections
needed to define various dynamic tags have been discarded.
bfd/ChangeLog
bfd/elflink.c