LM32 linker segmentation faults
authorAlan Modra <amodra@gmail.com>
Tue, 28 May 2019 05:04:37 +0000 (14:34 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 28 May 2019 05:08:31 +0000 (14:38 +0930)
commita0f6fd217fa53ab80a335fb69f12f1f28ac3335a
treee89d3909aa1250a3cc529fac625813483c67f428
parentc83004d526c9f5e203926a979d405f7b720b9ede
LM32 linker segmentation faults

PR 24596
* elf32-lm32.c (lm32_elf_finish_dynamic_sections): Don't segfault
on NULL output_section.
* elflink.c (elf_final_link_free): Don't free -1 symshndxbuf.
bfd/ChangeLog
bfd/elf32-lm32.c
bfd/elflink.c