diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-29 00:04:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-29 00:04:06 +0000 |
commit | 8f2eb564ddf8002e343bd917a1f1e62f6412e862 (patch) | |
tree | e5d97984c7493e519018e1c759bd9418644ed3f3 /gold/script.h | |
parent | 46132b50a2d5b5fa2662e6b7c071fa47898a2fe1 (diff) | |
download | gdb-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.h | 4 |
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 |