From ce3ac18a8c86858c9118a6115e05d1052f9abc50 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 13 Jun 2008 17:15:52 +0000 Subject: [PATCH] * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC. --- gold/ChangeLog | 4 ++++ gold/powerpc.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 6da9299d901..c0b33910783 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2008-06-13 David Edelsohn + + * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC. + 2008-06-12 David Edelsohn David S. Miller diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 2fc2ed891c8..1eb72697a28 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -906,7 +906,7 @@ Output_data_plt_powerpc::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; } -- 2.30.2