aboutsummaryrefslogtreecommitdiff
path: root/gold/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/script.h')
-rw-r--r--gold/script.h14
1 files changed, 4 insertions, 10 deletions
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*