]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[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>
Tue, 21 Feb 2017 23:10:22 +0000 (09:40 +1030)
commit4790d4b3cef58c4663f8b63bb1761e8494d323f5
tree3a1363de43aa027b6e2b6586a869494ae72794f8
parentf9b240971736450d8556b23c4ea4d7dd747b1b44
[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