PR23805, NULL pointer dereference in elf_link_input_bfd
authorAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2018 08:00:22 +0000 (18:30 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2018 10:39:09 +0000 (21:09 +1030)
commit102def4da826b3d9e169741421e5e67e8731909a
tree0fd9ebb55888cb2eee0b559be776df8b5ab999c3
parentab419ddbb2cdd17ca83618990f2cacf904ce1d61
PR23805, NULL pointer dereference in elf_link_input_bfd

PR 23805
* elflink.c (elf_link_input_bfd): Don't segfault on finding
STT_TLS symbols without any TLS sections.  Instead, change the
symbol type to STT_NOTYPE.
bfd/ChangeLog
bfd/elflink.c