diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2008-06-13 17:15:52 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2008-06-13 17:15:52 +0000 |
commit | ce3ac18a8c86858c9118a6115e05d1052f9abc50 (patch) | |
tree | ba91619ed5cdf2c4f1ae2581538e399d7e775578 /gold | |
parent | b018a5d147e711c54d11d9974da5e851b87e918e (diff) | |
download | gdb-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/ChangeLog | 4 | ||||
-rw-r--r-- | gold/powerpc.cc | 2 |
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; } |