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.
This commit is contained in:
Doug Kwan
2009-12-03 23:13:55 +00:00
parent 6bfd70b9fd
commit f59f41f3e6
8 changed files with 57 additions and 22 deletions

View File

@@ -95,7 +95,7 @@ class Target_i386 : public Target_freebsd<32, 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.
@@ -1552,7 +1552,10 @@ Target_i386::scan_relocs(Symbol_table* symtab,
// Finalize the sections.
void
Target_i386::do_finalize_sections(Layout* layout, const Input_objects*)
Target_i386::do_finalize_sections(
Layout* layout,
const Input_objects*,
Symbol_table*)
{
// Fill in some more dynamic tags.
Output_data_dynamic* const odyn = layout->dynamic_data();