Correct multi-toc tprel relocs
authorAlan Modra <amodra@gmail.com>
Sat, 17 Mar 2018 06:52:39 +0000 (17:22 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Mar 2018 11:12:48 +0000 (21:42 +1030)
commit6a3858a69e6bdff1d10136c59bfcf7a0cbe47059
tree7f5d374172fc5bf22200ae8f344b4d98bf9caf89
parent675e28092f9d92c56c38d40d13ad5b766bdede05
Correct multi-toc tprel relocs

Commit f15d0b545b trimmed some unnecessary TPREL relocs, but missed
changing another place where they are allocated.

* elf64-ppc.c (ppc_size_one_stub): Fix comment typo.
(ppc64_elf_layout_multitoc): Allocate relocs for tprel as we
do in size_dynamic_sections.
bfd/ChangeLog
bfd/elf64-ppc.c