summaryrefslogtreecommitdiff
path: root/gold/script-sections.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-28 04:45:47 +0000
committerIan Lance Taylor <iant@google.com>2008-02-28 04:45:47 +0000
commit919ed24cbc56717156ee86a754281cc08919d2ba (patch)
tree87151a758daf5709e798f285c607fb459b72523b /gold/script-sections.h
parent15cf077ef4df71bb31c803ed9cf94d8ccdb72dc5 (diff)
downloadbinutils-gdb-919ed24cbc56717156ee86a754281cc08919d2ba.tar.gz
Don't check assertions until symbols are finalized. Create an output
section if the script uses a data statement with no input sections. Don't create a loadable segment for the headers if there is no room.
Diffstat (limited to 'gold/script-sections.h')
-rw-r--r--gold/script-sections.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/script-sections.h b/gold/script-sections.h
index 138f144c29d..9043dfdda56 100644
--- a/gold/script-sections.h
+++ b/gold/script-sections.h
@@ -106,6 +106,10 @@ class Script_sections
void
add_input_section(const Input_section_spec* spec, bool keep);
+ // Create any required sections.
+ void
+ create_sections(Layout*);
+
// Add any symbols we are defining to the symbol table.
void
add_symbols_to_table(Symbol_table*);