diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-10-29 05:16:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-10-29 05:16:23 +0000 |
commit | ad0f2072a6a647a9c209a8538bd994d7fc7033f5 (patch) | |
tree | 0e5f1660d92b994ad5344d75eb9f3e5bf3eae3e1 /gold/powerpc.cc | |
parent | 8ffa36676179f56936e273c26c63dd16f7a043ee (diff) | |
download | gdb-ad0f2072a6a647a9c209a8538bd994d7fc7033f5.zip gdb-ad0f2072a6a647a9c209a8538bd994d7fc7033f5.tar.gz gdb-ad0f2072a6a647a9c209a8538bd994d7fc7033f5.tar.bz2 |
* object.h (class Relobj): Drop options parameter from
gc_process_relocs, scan_relocs, relocate, do_gc_process_relocs,
do_scan_relocs, do_relocate. Change all callers.
(class Sized_relobj): Drop options parameters from
do_gc_process_relocs, do_scan_relocs, do_relocate,
do_relocate_sections, relocate_sections, emit_relocs_scan,
emit_relocs_scan_reltype. Change all callers.
(struct Relocate_info): Remove options field and all references to
it.
* reloc.h (class Read_relocs): Remove options constructor
parameter and options_ field. Change all callers.
(class Gc_process_relocs, class Scan_relocs): Likewise.
(class Relocate_task): Likewise.
* target-reloc.h (scan_relocs): Remove options parameter. Change
all callers.
(scan_relocatable_relocs): Likewise.
* target.h (class Sized_target): Remove options parameter from
gc_process_relocs, scan_relocs, scan_relocatable_relocs. Change
all callers.
* gc.h (gc_process_relocs): Remove options parameter. Change all
callers.
* arm.cc: Update functions to remove options parameters.
* i386.cc: Likewise.
* powerpc.cc: Likewise.
* sparc.cc: Likewise.
* x86_64.cc: Likewise.
* testsuite/testfile.cc: Likewise.
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r-- | gold/powerpc.cc | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 71f2ae4..a93e895 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -65,8 +65,7 @@ class Target_powerpc : public Sized_target<size, big_endian> // Process the relocations to determine unreferenced sections for // garbage collection. void - gc_process_relocs(const General_options& options, - Symbol_table* symtab, + gc_process_relocs(Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, @@ -80,8 +79,7 @@ class Target_powerpc : public Sized_target<size, big_endian> // Scan the relocations to look for symbol adjustments. void - scan_relocs(const General_options& options, - Symbol_table* symtab, + scan_relocs(Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, @@ -116,8 +114,7 @@ class Target_powerpc : public Sized_target<size, big_endian> // Scan the relocs during a relocatable link. void - scan_relocatable_relocs(const General_options& options, - Symbol_table* symtab, + scan_relocatable_relocs(Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, @@ -171,8 +168,7 @@ class Target_powerpc : public Sized_target<size, big_endian> { } inline void - local(const General_options& options, Symbol_table* symtab, - Layout* layout, Target_powerpc* target, + local(Symbol_table* symtab, Layout* layout, Target_powerpc* target, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, Output_section* output_section, @@ -180,8 +176,7 @@ class Target_powerpc : public Sized_target<size, big_endian> const elfcpp::Sym<size, big_endian>& lsym); inline void - global(const General_options& options, Symbol_table* symtab, - Layout* layout, Target_powerpc* target, + global(Symbol_table* symtab, Layout* layout, Target_powerpc* target, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, Output_section* output_section, @@ -1113,7 +1108,6 @@ Target_powerpc<size, big_endian>::Scan::check_non_pic(Relobj* object, template<int size, bool big_endian> inline void Target_powerpc<size, big_endian>::Scan::local( - const General_options&, Symbol_table* symtab, Layout* layout, Target_powerpc<size, big_endian>* target, @@ -1248,7 +1242,6 @@ Target_powerpc<size, big_endian>::Scan::unsupported_reloc_global( template<int size, bool big_endian> inline void Target_powerpc<size, big_endian>::Scan::global( - const General_options&, Symbol_table* symtab, Layout* layout, Target_powerpc<size, big_endian>* target, @@ -1444,7 +1437,6 @@ Target_powerpc<size, big_endian>::Scan::global( template<int size, bool big_endian> void Target_powerpc<size, big_endian>::gc_process_relocs( - const General_options& options, Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, @@ -1461,7 +1453,6 @@ Target_powerpc<size, big_endian>::gc_process_relocs( typedef typename Target_powerpc<size, big_endian>::Scan Scan; gold::gc_process_relocs<size, big_endian, Powerpc, elfcpp::SHT_RELA, Scan>( - options, symtab, layout, this, @@ -1480,7 +1471,6 @@ Target_powerpc<size, big_endian>::gc_process_relocs( template<int size, bool big_endian> void Target_powerpc<size, big_endian>::scan_relocs( - const General_options& options, Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, @@ -1523,7 +1513,6 @@ Target_powerpc<size, big_endian>::scan_relocs( } gold::scan_relocs<size, big_endian, Powerpc, elfcpp::SHT_RELA, Scan>( - options, symtab, layout, this, @@ -1897,7 +1886,6 @@ Target_powerpc<size, big_endian>::Relocatable_size_for_reloc::get_size_for_reloc template<int size, bool big_endian> void Target_powerpc<size, big_endian>::scan_relocatable_relocs( - const General_options& options, Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, @@ -1918,7 +1906,6 @@ Target_powerpc<size, big_endian>::scan_relocatable_relocs( gold::scan_relocatable_relocs<size, big_endian, elfcpp::SHT_RELA, Scan_relocatable_relocs>( - options, symtab, layout, object, |