diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-11 16:50:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-11 16:50:08 +0000 |
commit | 4e2b16973ed4771143d1b23d12f941743da4003e (patch) | |
tree | 14a83252458777032a7323644c67fa898c609487 /gold/layout.h | |
parent | 3f69c6bf14b5cb5a37825d65ccc08cd9201c5ddf (diff) | |
download | gdb-4e2b16973ed4771143d1b23d12f941743da4003e.zip gdb-4e2b16973ed4771143d1b23d12f941743da4003e.tar.gz gdb-4e2b16973ed4771143d1b23d12f941743da4003e.tar.bz2 |
If we a section with no flags followed by a section with the same name
with flags, put them in the same output section.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index 1005183..1712db9 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -469,6 +469,14 @@ class Layout make_output_section(const char* name, elfcpp::Elf_Word type, elfcpp::Elf_Xword flags); + // Attach a section to a segment. + void + attach_to_segment(Output_section*, elfcpp::Elf_Xword flags); + + // Allocate a previously unallocated output section. + void + allocate_output_section(Output_section*, elfcpp::Elf_Xword flags); + // Set the final file offsets of all the segments. off_t set_segment_offsets(const Target*, Output_segment*, unsigned int* pshndx); |