mn10300: Don't free cached internal symbol table
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 9 Oct 2017 22:05:03 +0000 (15:05 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 9 Oct 2017 22:05:03 +0000 (15:05 -0700)
commit478c006f9b4a64d59c31aed081c14c1d7dd4ba68
tree096d9d422e7a2d3bad3a3db4e14fcaea790d72d0
parent9d45a7de8b80336b9965ee99353c34be85b1b98f
mn10300: Don't free cached internal symbol table

Since ELF linker may cache internal symbol table in init_reloc_cookie,
we should check if it is cached, before free it.

* elf-m10300.c (mn10300_elf_check_relocs): Don't free cached
isymbuf.
bfd/ChangeLog
bfd/elf-m10300.c