Relax ppc64_elf_tls_optimize assertion
authorAlan Modra <amodra@gmail.com>
Tue, 21 Oct 2014 10:14:38 +0000 (20:44 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 21 Oct 2014 10:35:15 +0000 (21:05 +1030)
commit73242275062071346a7c377aca5e704679f25f82
treead2a019f8fcbdfb88f19605117337aa3df9f2ce3
parente74211b660791d29be21e11766c5b375f5df59b1
Relax ppc64_elf_tls_optimize assertion

The code in ppc64_elf_tls_optimize looking at the .toc is only
interested in .toc entries that are addresses.  .toc can contain more
than just an array of addresses, so if we have items that aren't
8-byte aligned, ignore them.

* elf64-ppc.c (ppc64_elf_tls_optimize): Ignore relocs against toc
entries that aren't a multiple of 8 rather than failing assertion.
bfd/ChangeLog
bfd/elf64-ppc.c