aboutsummaryrefslogtreecommitdiff
path: root/gold/target.h
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-12-03 23:13:55 +0000
committerDoug Kwan <dougkwan@google.com>2009-12-03 23:13:55 +0000
commitf59f41f3e62c417ef569b65a01cc2e657ec9a94f (patch)
treea6f7f1e6150845fd7ed36e2e08634edf5850f71c /gold/target.h
parent6bfd70b9fdf629da7ba33b644c889668c7473bc5 (diff)
downloadgdb-f59f41f3e62c417ef569b65a01cc2e657ec9a94f.zip
gdb-f59f41f3e62c417ef569b65a01cc2e657ec9a94f.tar.gz
gdb-f59f41f3e62c417ef569b65a01cc2e657ec9a94f.tar.bz2
2009-12-03 Doug Kwan <dougkwan@google.com>
* arm.cc: Remove comment about missing .ARM.exidx section symbols. (Target_arm::do_finalize_sections): Add parameter for symbol table pointer. Add __exidx_start and __exidx_end symbols as appropriate. * i386.cc (Target_i386::do_finalize_sections): Add an additional parameter for symbol table pointer. * layout.cc (Layout::finalize): Call Target::finalize_sections with an additional parameter for a pointer to symbol table. * powerpc.cc (Target_powerpc::do_finalize_sections): Add an additional parameter for a symbol table pointer. * sparc.cc (Target_sparc::do_finalize_sections): Ditto. * target.h (Target::finalize_sections, Target::do_finalize_sections): Ditto. * x86_64.cc (Target_x86_64::do_finalize_sections): Add an additional parameter for a symbol table pointer.
Diffstat (limited to 'gold/target.h')
-rw-r--r--gold/target.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gold/target.h b/gold/target.h
index e301b0b..729b4c7 100644
--- a/gold/target.h
+++ b/gold/target.h
@@ -194,8 +194,9 @@ class Target
// 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, const Input_objects* input_objects)
- { return this->do_finalize_sections(layout, input_objects); }
+ finalize_sections(Layout* layout, const Input_objects* input_objects,
+ Symbol_table* symtab)
+ { return this->do_finalize_sections(layout, input_objects, symtab); }
// Return the value to use for a global symbol which needs a special
// value in the dynamic symbol table. This will only be called if
@@ -336,7 +337,7 @@ class Target
// Virtual function which may be implemented by the child class.
virtual void
- do_finalize_sections(Layout*, const Input_objects*)
+ do_finalize_sections(Layout*, const Input_objects*, Symbol_table*)
{ }
// Virtual function which may be implemented by the child class.