lto-plugin.c (gold_version): New static variable.
authorIan Lance Taylor <iant@google.com>
Tue, 25 Jan 2011 15:29:02 +0000 (15:29 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 25 Jan 2011 15:29:02 +0000 (15:29 +0000)
commite3bb089d5f7f4d615c3cf71acacbb89a89287a8e
tree7457b3189091fc80da5fdb55ee22562c6722c4be
parentdb963b528702d92bb843ff50f8d7a3d7fb34257d
lto-plugin.c (gold_version): New static variable.

* lto-plugin.c (gold_version): New static variable.
(all_symbols_read_handler): Don't check pass_through_items if
using gold 1.11 or later.
(onload): Set gold_version if we see LDPT_GOLD_VERSION.

From-SVN: r169237
lto-plugin/ChangeLog
lto-plugin/lto-plugin.c