[GOLD] Don't assert in powerpc stub_table
authorAlan Modra <amodra@gmail.com>
Thu, 8 Dec 2016 05:38:29 +0000 (16:08 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 8 Dec 2016 11:48:47 +0000 (22:18 +1030)
commit980d0cdd2fc40c30f3ddef644659d7d0dc00ed40
treec20068802784eb03b3c8a1af8c55d26ef1fb5e44
parent69a2af1016e03239f7af4e55268bd27fc500f800
[GOLD] Don't assert in powerpc stub_table

A branch in a non-exec section that needs a stub can lead to this
assertion.

* powerpc.cc (Powerpc_relobj::stub_table): Return NULL rather
then asserting.
gold/ChangeLog
gold/powerpc.cc