diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-05-25 00:17:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-05-25 00:17:47 +0000 |
commit | a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d (patch) | |
tree | db379e021d168b95da97d0a9eb80e0175b3142ad /gold/parameters.h | |
parent | 012ca7c8a8622d803a1f367ac9bd53be7f8eafee (diff) | |
download | gdb-a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d.zip gdb-a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d.tar.gz gdb-a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d.tar.bz2 |
* 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.
Diffstat (limited to 'gold/parameters.h')
-rw-r--r-- | gold/parameters.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h index f9022ae..7867503 100644 --- a/gold/parameters.h +++ b/gold/parameters.h @@ -134,6 +134,10 @@ class Parameters return debug_; } + // Return the name of the entry symbol. + const char* + entry() const; + // A convenience routine for combining size and endianness. It also // checks the HAVE_TARGET_FOO configure options and dies if the // current target's size/endianness is not supported according to |