summaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-05-25 00:17:44 +0000
committerIan Lance Taylor <ian@airs.com>2011-05-25 00:17:44 +0000
commitac1ddacf6fdb00103658318ed821b8ed395ee5e2 (patch)
treefe6fe852b14ee25d775a1de877144b89f6ff365b /gold/output.h
parent4534791d43cfe709a89938b0320cfa751862e7bc (diff)
downloadbinutils-redhat-ac1ddacf6fdb00103658318ed821b8ed395ee5e2.tar.gz
* 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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gold/output.h b/gold/output.h
index da2e9cb735..86c308ff73 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,