diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-04 06:45:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-04 06:45:50 +0000 |
commit | 3802b2dd6b937e2904b6e2de087e224437eab493 (patch) | |
tree | ac185197a2a44c92c3785020c2ce1e389f2b0287 /gold/layout.h | |
parent | ae7d22a6f2f59251b85ef5655b800f2dfe2dfbee (diff) | |
download | gdb-3802b2dd6b937e2904b6e2de087e224437eab493.zip gdb-3802b2dd6b937e2904b6e2de087e224437eab493.tar.gz gdb-3802b2dd6b937e2904b6e2de087e224437eab493.tar.bz2 |
Implement SIZEOF_HEADERS, section constraints, other minor linker
script items.
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index ceacf5d..d7f5965 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -237,6 +237,10 @@ class Layout find_output_segment(elfcpp::PT type, elfcpp::Elf_Word set, elfcpp::Elf_Word clear) const; + // Return the number of segments we expect to produce. + size_t + expected_segment_count() const; + // Set a flag to indicate that an object file uses the static TLS model. void set_has_static_tls() |