cmse_scan segfault
authorAlan Modra <amodra@gmail.com>
Wed, 24 Oct 2018 04:38:28 +0000 (15:08 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 24 Oct 2018 13:08:52 +0000 (23:38 +1030)
commit8c246a60c08d82066b16973bcd622e671300eb02
treebf9abda94655f8c0a60483189264ae712306f4a7
parenta76dc3b7705c5c85efc00521ebfac49e80c3fedf
cmse_scan segfault

elf_sym_hashes for as-needed libs will be zeroed if the library is
found to be not needed.  More than that, the local symbols for such a
library should not be considered by cmse_scan.

* elf32-arm.c (elf32_arm_size_stubs): Ignore as-needed libs that
were not needed.
bfd/ChangeLog
bfd/elf32-arm.c