diff options
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/powerpc.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 3373715..0322e03 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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 diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 0653ea7..7d383f7 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -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); } } |