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/sparc.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/sparc.cc')
-rw-r--r-- | gold/sparc.cc | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/gold/sparc.cc b/gold/sparc.cc index eac983f..74a91e9 100644 --- a/gold/sparc.cc +++ b/gold/sparc.cc @@ -67,8 +67,7 @@ class Target_sparc : 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, @@ -82,8 +81,7 @@ class Target_sparc : 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, @@ -118,8 +116,7 @@ class Target_sparc : 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, @@ -181,8 +178,7 @@ class Target_sparc : public Sized_target<size, big_endian> { } inline void - local(const General_options& options, Symbol_table* symtab, - Layout* layout, Target_sparc* target, + local(Symbol_table* symtab, Layout* layout, Target_sparc* target, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, Output_section* output_section, @@ -190,8 +186,7 @@ class Target_sparc : 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_sparc* target, + global(Symbol_table* symtab, Layout* layout, Target_sparc* target, Sized_relobj<size, big_endian>* object, unsigned int data_shndx, Output_section* output_section, @@ -1600,7 +1595,6 @@ Target_sparc<size, big_endian>::Scan::check_non_pic(Relobj* object, unsigned int template<int size, bool big_endian> inline void Target_sparc<size, big_endian>::Scan::local( - const General_options&, Symbol_table* symtab, Layout* layout, Target_sparc<size, big_endian>* target, @@ -1902,7 +1896,6 @@ Target_sparc<size, big_endian>::Scan::unsupported_reloc_global( template<int size, bool big_endian> inline void Target_sparc<size, big_endian>::Scan::global( - const General_options&, Symbol_table* symtab, Layout* layout, Target_sparc<size, big_endian>* target, @@ -2250,7 +2243,6 @@ Target_sparc<size, big_endian>::Scan::global( template<int size, bool big_endian> void Target_sparc<size, big_endian>::gc_process_relocs( - const General_options& options, Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, @@ -2267,7 +2259,6 @@ Target_sparc<size, big_endian>::gc_process_relocs( typedef typename Target_sparc<size, big_endian>::Scan Scan; gold::gc_process_relocs<size, big_endian, Sparc, elfcpp::SHT_RELA, Scan>( - options, symtab, layout, this, @@ -2286,7 +2277,6 @@ Target_sparc<size, big_endian>::gc_process_relocs( template<int size, bool big_endian> void Target_sparc<size, big_endian>::scan_relocs( - const General_options& options, Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, @@ -2310,7 +2300,6 @@ Target_sparc<size, big_endian>::scan_relocs( } gold::scan_relocs<size, big_endian, Sparc, elfcpp::SHT_RELA, Scan>( - options, symtab, layout, this, @@ -3149,7 +3138,6 @@ Target_sparc<size, big_endian>::Relocatable_size_for_reloc::get_size_for_reloc( template<int size, bool big_endian> void Target_sparc<size, big_endian>::scan_relocatable_relocs( - const General_options& options, Symbol_table* symtab, Layout* layout, Sized_relobj<size, big_endian>* object, @@ -3170,7 +3158,6 @@ Target_sparc<size, big_endian>::scan_relocatable_relocs( gold::scan_relocatable_relocs<size, big_endian, elfcpp::SHT_RELA, Scan_relocatable_relocs>( - options, symtab, layout, object, |