diff options
Diffstat (limited to 'gold/script-sections.h')
-rw-r--r-- | gold/script-sections.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/script-sections.h b/gold/script-sections.h index 6ac4303..ec708bd 100644 --- a/gold/script-sections.h +++ b/gold/script-sections.h @@ -134,6 +134,11 @@ class Script_sections Output_segment* set_section_addresses(Symbol_table*, Layout*); + // Return the number of segments we expect to create based on the + // SECTIONS clause. + size_t + expected_segment_count(const Layout*) const; + // Print the contents to the FILE. This is for debugging. void print(FILE*) const; |