PR 21414, null pointer deref of _bfd_elf_large_com_section sym
authorAlan Modra <amodra@gmail.com>
Sun, 23 Apr 2017 05:51:11 +0000 (15:21 +0930)
committerAlan Modra <amodra@gmail.com>
Sun, 23 Apr 2017 11:03:34 +0000 (20:33 +0930)
commit7eacd66b086cabb1daab20890d5481894d4f56b2
tree15b664ffb07f3dd3e24c80c24e69c54f396b46af
parentbce964aa6c777d236fbd641f2bc7bb931cfe4bf3
PR 21414, null pointer deref of _bfd_elf_large_com_section sym

PR 21414
* section.c (GLOBAL_SYM_INIT): Make available in bfd.h.
* elf.c (lcomm_sym): New.
(_bfd_elf_large_com_section): Use lcomm_sym section symbol.
* bfd-in2.h: Regenerate.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elf.c
bfd/section.c