From 3802b2dd6b937e2904b6e2de087e224437eab493 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 4 Feb 2008 06:45:50 +0000 Subject: Implement SIZEOF_HEADERS, section constraints, other minor linker script items. --- gold/script-sections.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gold/script-sections.h') 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; -- cgit v1.1