summaryrefslogtreecommitdiff
path: root/gold/parameters.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/parameters.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/parameters.h')
-rw-r--r--gold/parameters.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/parameters.h b/gold/parameters.h
index f9022ae1a9..7867503007 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