diff options
author | Cary Coutant <ccoutant@google.com> | 2013-07-11 21:30:56 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2013-07-11 21:30:56 +0000 |
commit | 4d5effb90d5c2334b9147b5eb60c64bb3966b386 (patch) | |
tree | b2e7b6408bf7af2bf630b93492d0699c09740d11 | |
parent | cf0063592da7c1a86749c717a32d6ba2880e4bab (diff) | |
download | gdb-4d5effb90d5c2334b9147b5eb60c64bb3966b386.zip gdb-4d5effb90d5c2334b9147b5eb60c64bb3966b386.tar.gz gdb-4d5effb90d5c2334b9147b5eb60c64bb3966b386.tar.bz2 |
gold/
* powerpc.cc (Target_powerpc::write_branch_lookup_table): Use
correct BRLT entry size.
-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); } } |