From: Cary Coutant Date: Thu, 11 Jul 2013 21:30:56 +0000 (+0000) Subject: gold/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d5effb90d5c2334b9147b5eb60c64bb3966b386;p=binutils-gdb.git gold/ * powerpc.cc (Target_powerpc::write_branch_lookup_table): Use correct BRLT entry size. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 33737151e02..0322e0328b8 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2013-07-11 Cary Coutant + + * powerpc.cc (Target_powerpc::write_branch_lookup_table): Use + correct BRLT entry size. + 2013-07-03 Alan Modra * powerpc.cc (Target_powerpc::Relocate::relocate): Update self-call diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 0653ea7167a..7d383f74f41 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -735,7 +735,7 @@ class Target_powerpc : public Sized_target p != this->branch_lookup_table_.end(); ++p) { - elfcpp::Swap<32, big_endian>::writeval(oview + p->second, p->first); + elfcpp::Swap::writeval(oview + p->second, p->first); } }