From a5dc07065554d074ae0452b388cd9c80b2bc6504 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 26 Feb 2008 22:48:08 +0000 Subject: From Craig Silverstein: rework handling of Script_options. --- gold/script.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'gold/script.h') diff --git a/gold/script.h b/gold/script.h index 64d7fd6..b212227 100644 --- a/gold/script.h +++ b/gold/script.h @@ -294,16 +294,6 @@ class Script_options public: Script_options(); - // The entry address. - const char* - entry() const - { return this->entry_.empty() ? NULL : this->entry_.c_str(); } - - // Set the entry address. - void - set_entry(const char* entry, size_t length) - { this->entry_.assign(entry, length); } - // Add a symbol to be defined. void add_symbol_assignment(const char* name, size_t length, Expression* value, @@ -331,6 +321,10 @@ class Script_options version_script_info() { return &this->version_script_info_; } + const Version_script_info* + version_script_info() const + { return &this->version_script_info_; } + // A SECTIONS clause parsed from a linker script. Everything else // has a pointer to this object. Script_sections* -- cgit v1.1