aboutsummaryrefslogtreecommitdiff
path: root/gold/script.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-29 00:04:06 +0000
committerIan Lance Taylor <iant@google.com>2008-02-29 00:04:06 +0000
commit8f2eb564ddf8002e343bd917a1f1e62f6412e862 (patch)
treee5d97984c7493e519018e1c759bd9418644ed3f3 /gold/script.h
parent46132b50a2d5b5fa2662e6b7c071fa47898a2fe1 (diff)
downloadgdb-8f2eb564ddf8002e343bd917a1f1e62f6412e862.zip
gdb-8f2eb564ddf8002e343bd917a1f1e62f6412e862.tar.gz
gdb-8f2eb564ddf8002e343bd917a1f1e62f6412e862.tar.bz2
Permit scripts to refer to the addresses of output sections which were
not created.
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