diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-28 04:45:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-28 04:45:47 +0000 |
commit | 919ed24cbc56717156ee86a754281cc08919d2ba (patch) | |
tree | 87151a758daf5709e798f285c607fb459b72523b /gold/script-sections.h | |
parent | 15cf077ef4df71bb31c803ed9cf94d8ccdb72dc5 (diff) | |
download | gdb-919ed24cbc56717156ee86a754281cc08919d2ba.zip gdb-919ed24cbc56717156ee86a754281cc08919d2ba.tar.gz gdb-919ed24cbc56717156ee86a754281cc08919d2ba.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/script-sections.h b/gold/script-sections.h index 138f144..9043dfd 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*); |