aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
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/x86_64.cc
parent6bfd70b9fdf629da7ba33b644c889668c7473bc5 (diff)
downloadfsf-binutils-gdb-f59f41f3e62c417ef569b65a01cc2e657ec9a94f.zip
fsf-binutils-gdb-f59f41f3e62c417ef569b65a01cc2e657ec9a94f.tar.gz
fsf-binutils-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/x86_64.cc')
-rw-r--r--gold/x86_64.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 5526f6f..2972180 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -102,7 +102,7 @@ class Target_x86_64 : public Target_freebsd<64, false>
// Finalize the sections.
void
- do_finalize_sections(Layout*, const Input_objects*);
+ do_finalize_sections(Layout*, const Input_objects*, Symbol_table*);
// Return the value to use for a dynamic which requires special
// treatment.
@@ -1642,7 +1642,10 @@ Target_x86_64::scan_relocs(Symbol_table* symtab,
// Finalize the sections.
void
-Target_x86_64::do_finalize_sections(Layout* layout, const Input_objects*)
+Target_x86_64::do_finalize_sections(
+ Layout* layout,
+ const Input_objects*,
+ Symbol_table*)
{
// Fill in some more dynamic tags.
Output_data_dynamic* const odyn = layout->dynamic_data();