diff options
author | Ian Lance Taylor <iant@google.com> | 2006-11-30 23:52:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-11-30 23:52:50 +0000 |
commit | 5a6f7e2db556f93765b75baf2d1ee1509225410d (patch) | |
tree | 6db53a1cd843958dc18135430dbf37bd7b92b17e /gold/target.h | |
parent | 2621033b5dbe773f00cb90d24604b70a1cead2f1 (diff) | |
download | gdb-5a6f7e2db556f93765b75baf2d1ee1509225410d.zip gdb-5a6f7e2db556f93765b75baf2d1ee1509225410d.tar.gz gdb-5a6f7e2db556f93765b75baf2d1ee1509225410d.tar.bz2 |
Added a testsuite. More support for COPY relocations.
Diffstat (limited to 'gold/target.h')
-rw-r--r-- | gold/target.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/target.h b/gold/target.h index 039b97d..a031c40 100644 --- a/gold/target.h +++ b/gold/target.h @@ -83,6 +83,12 @@ class Target common_pagesize() const { return this->pti_->common_pagesize; } + // This is called to tell the target to complete any sections it is + // handling. After this all sections must have their final size. + void + finalize_sections(Layout* layout) + { return this->do_finalize_sections(layout); } + protected: // This struct holds the constant information for a child class. We // use a struct to avoid the overhead of virtual function calls for @@ -113,6 +119,11 @@ class Target : pti_(pti) { } + // Virtual function which may be implemented by the child class. + virtual void + do_finalize_sections(Layout*) + { } + private: Target(const Target&); Target& operator=(const Target&); |