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/output.h | |
parent | 012ca7c8a8622d803a1f367ac9bd53be7f8eafee (diff) | |
download | fsf-binutils-gdb-a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d.zip fsf-binutils-gdb-a10ae760821ec6f09cf63f93e3b2ff0e03fbaa3d.tar.gz fsf-binutils-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/output.h')
-rw-r--r-- | gold/output.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gold/output.h b/gold/output.h index da2e9cb..86c308f 100644 --- a/gold/output.h +++ b/gold/output.h @@ -566,8 +566,7 @@ class Output_file_header : public Output_data public: Output_file_header(const Target*, const Symbol_table*, - const Output_segment_headers*, - const char* entry); + const Output_segment_headers*); // Add information about the section headers. We lay out the ELF // file header before we create the section headers. @@ -614,7 +613,6 @@ class Output_file_header : public Output_data const Output_segment_headers* segment_header_; const Output_section_headers* section_header_; const Output_section* shstrtab_; - const char* entry_; }; // Output sections are mainly comprised of input sections. However, |