* powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.

This commit is contained in:
David Edelsohn 2008-06-13 17:15:52 +00:00
parent b018a5d147
commit ce3ac18a8c
2 changed files with 5 additions and 1 deletions

View File

@ -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>

View File

@ -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;
}