aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2008-06-13 17:15:52 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>2008-06-13 17:15:52 +0000
commitce3ac18a8c86858c9118a6115e05d1052f9abc50 (patch)
treeba91619ed5cdf2c4f1ae2581538e399d7e775578 /gold
parentb018a5d147e711c54d11d9974da5e851b87e918e (diff)
downloadgdb-ce3ac18a8c86858c9118a6115e05d1052f9abc50.zip
gdb-ce3ac18a8c86858c9118a6115e05d1052f9abc50.tar.gz
gdb-ce3ac18a8c86858c9118a6115e05d1052f9abc50.tar.bz2
* powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/powerpc.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 6da9299..c0b3391 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-13 David Edelsohn <edelsohn@gnu.org>
+
+ * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
+
2008-06-12 David Edelsohn <edelsohn@gnu.org>
David S. Miller <davem@davemloft.net>
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index 2fc2ed8..1eb7269 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -906,7 +906,7 @@ Output_data_plt_powerpc<size, big_endian>::do_write(Output_file* of)
lwz_11_30 + plt_offset);
elfcpp::Swap<32, true>::writeval(pov + 0x04, mtctr_11);
elfcpp::Swap<32, true>::writeval(pov + 0x08, bctr);
- elfcpp::Swap<32, true>::writeval(pov + 0x0b, nop);
+ elfcpp::Swap<32, true>::writeval(pov + 0x0c, nop);
pov += base_plt_entry_size;
plt_offset += base_plt_entry_size;
}