gold/
authorCary Coutant <ccoutant@google.com>
Thu, 11 Jul 2013 21:30:56 +0000 (21:30 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 11 Jul 2013 21:30:56 +0000 (21:30 +0000)
* powerpc.cc (Target_powerpc::write_branch_lookup_table): Use
correct BRLT entry size.

gold/ChangeLog
gold/powerpc.cc

index 33737151e02aaddbbc3efdb8aed14db938915e8e..0322e0328b8c0e143a0745cc4cd26b10bd21fa38 100644 (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
index 0653ea7167ab0a79a48baab2a471c885c156bf07..7d383f74f41c7e3b59e23851b5938d896d2a6813 100644 (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);
       }
   }