[GOLD] PowerPC64 TOC indirect to TOC relative segfault
authorAlan Modra <amodra@gmail.com>
Fri, 3 Feb 2017 08:48:37 +0000 (19:18 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 3 Feb 2017 09:36:53 +0000 (20:06 +1030)
commite666304ec603bb3249f80bac97200f2b4520ab0f
treedf1e7832c00fe5f7518d52a6994e76611cc3dc98
parent1b7e3d2fb7036ce6f9d74e32dc052518f5cd45b6
[GOLD] PowerPC64 TOC indirect to TOC relative segfault

* powerpc.cc (Powerpc_relobj::make_toc_relative): Don't crash
when no .toc section exists.
gold/ChangeLog
gold/powerpc.cc