From 4d5effb90d5c2334b9147b5eb60c64bb3966b386 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Thu, 11 Jul 2013 21:30:56 +0000 Subject: [PATCH] gold/ * powerpc.cc (Target_powerpc::write_branch_lookup_table): Use correct BRLT entry size. --- gold/ChangeLog | 5 +++++ gold/powerpc.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); } } -- 2.30.2