From: Alan Modra Date: Thu, 17 Jan 2013 23:29:14 +0000 (+0000) Subject: * powerpc.cc (Stub_table::find_plt_call_entry): Make types X-Git-Tag: sid-snapshot-20130201~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec5b818745092ebe75b50cc2296f56339ecb6457;p=external%2Fbinutils.git * powerpc.cc (Stub_table::find_plt_call_entry): Make types used in declaration and definition consistent. (Target_powerpc::symval_for_branch): Ditto. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 46726d0..01058c1 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2013-01-17 Serge Pavlov + + * powerpc.cc (Stub_table::find_plt_call_entry): Make types + used in declaration and definition consistent. + (Target_powerpc::symval_for_branch): Ditto. + 2013-01-16 Sriraman Tallam * testsuite/plugin_final_layout.cc: Fix comment. diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 26ae337..f9dadd2 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -3171,7 +3171,7 @@ Stub_table::add_plt_call_entry( // Find a plt call stub. template -typename elfcpp::Elf_types::Elf_Addr +typename Stub_table::Address Stub_table::find_plt_call_entry( const Sized_relobj_file* object, const Symbol* gsym, @@ -3184,7 +3184,7 @@ Stub_table::find_plt_call_entry( } template -typename elfcpp::Elf_types::Elf_Addr +typename Stub_table::Address Stub_table::find_plt_call_entry(const Symbol* gsym) const { Plt_stub_ent ent(gsym); @@ -3193,7 +3193,7 @@ Stub_table::find_plt_call_entry(const Symbol* gsym) const } template -typename elfcpp::Elf_types::Elf_Addr +typename Stub_table::Address Stub_table::find_plt_call_entry( const Sized_relobj_file* object, unsigned int locsym_index, @@ -3206,7 +3206,7 @@ Stub_table::find_plt_call_entry( } template -typename elfcpp::Elf_types::Elf_Addr +typename Stub_table::Address Stub_table::find_plt_call_entry( const Sized_relobj_file* object, unsigned int locsym_index) const @@ -3239,7 +3239,7 @@ Stub_table::add_long_branch_entry( // Find long branch stub. template -typename elfcpp::Elf_types::Elf_Addr +typename Stub_table::Address Stub_table::find_long_branch_entry( const Powerpc_relobj* object, Address to) @@ -5661,7 +5661,7 @@ ok_lo_toc_insn(uint32_t insn) // Return the value to use for a branch relocation. template -typename elfcpp::Elf_types::Elf_Addr +typename Target_powerpc::Address Target_powerpc::symval_for_branch( Address value, const Sized_symbol* gsym,