aboutsummaryrefslogtreecommitdiff
path: root/gold/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/script.h')
-rw-r--r--gold/script.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/script.h b/gold/script.h
index ea19cfa..26abd46 100644
--- a/gold/script.h
+++ b/gold/script.h
@@ -338,6 +338,10 @@ class Script_options
script_sections()
{ return &this->script_sections_; }
+ const Script_sections*
+ script_sections() const
+ { return &this->script_sections_; }
+
// Whether we saw a SECTIONS clause.
bool
saw_sections_clause() const