Added a testsuite. More support for COPY relocations.
[deliverable/binutils-gdb.git] / gold / target.h
index 039b97dc7f40f20c62408f591b577071aac6ecc8..a031c403302197dd8e7f340767ab6026557491c3 100644 (file)
@@ -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&);
This page took 0.02844 seconds and 4 git commands to generate.