* archive.cc (Library_base::should_include_member): Pull in object
authorIan Lance Taylor <ian@airs.com>
Wed, 25 May 2011 00:17:47 +0000 (00:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 25 May 2011 00:17:47 +0000 (00:17 +0000)
commita10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d
treedb379e021d168b95da97d0a9eb80e0175b3142ad
parent012ca7c8a8622d803a1f367ac9bd53be7f8eafee
* archive.cc (Library_base::should_include_member): Pull in object
from archive if it defines the entry symbol.
* parameters.cc (Parameters::entry): New function.
* parameters.h (class Parameters): Declare entry.
* output.h (class Output_file_header): Remove entry_ field.
* output.cc (Output_file_header::Output_file_header): Remove entry
parameter.  Change all callers.
(Output_file_header::entry): Use parameters->entry.
* gold.cc (queue_middle_tasks): Likewise.
* plugin.cc (Plugin_hook::run): Likewise.
gold/ChangeLog
gold/archive.cc
gold/gold.cc
gold/layout.cc
gold/output.cc
gold/output.h
gold/parameters.cc
gold/parameters.h
gold/plugin.cc