aboutsummaryrefslogtreecommitdiff
path: root/gold/powerpc.cc
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/powerpc.cc
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/powerpc.cc')
-rw-r--r--gold/powerpc.cc2
1 files changed, 1 insertions, 1 deletions
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;
}