* powerpc.cc (Target_powerpc::write_branch_lookup_table): Use
	correct BRLT entry size.
This commit is contained in:
Cary Coutant 2013-07-11 21:30:56 +00:00
parent cf0063592d
commit 4d5effb90d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-07-11 Cary Coutant <ccoutant@google.com>
* powerpc.cc (Target_powerpc::write_branch_lookup_table): Use
correct BRLT entry size.
2013-07-03 Alan Modra <amodra@gmail.com>
* powerpc.cc (Target_powerpc::Relocate::relocate): Update self-call

View File

@ -735,7 +735,7 @@ class Target_powerpc : public Sized_target<size, big_endian>
p != this->branch_lookup_table_.end();
++p)
{
elfcpp::Swap<32, big_endian>::writeval(oview + p->second, p->first);
elfcpp::Swap<size, big_endian>::writeval(oview + p->second, p->first);
}
}