aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 8856125..675c658 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -602,6 +602,11 @@ class Layout
this->script_output_section_data_list_.push_back(posd);
}
+ // Return section list.
+ const Section_list&
+ section_list() const
+ { return this->section_list_; }
+
private:
Layout(const Layout&);
Layout& operator=(const Layout&);