aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2009-10-25 00:49:43 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2009-10-25 00:49:43 +0000
commit9e86195cc153d280b37e0724b53583e3d1bfb480 (patch)
tree26b2f32146ff8c5567993a8ab55c8a48a2225803 /bfd
parent765b414521fb2d98084acc799572795644159c72 (diff)
downloadgdb-9e86195cc153d280b37e0724b53583e3d1bfb480.zip
gdb-9e86195cc153d280b37e0724b53583e3d1bfb480.tar.gz
gdb-9e86195cc153d280b37e0724b53583e3d1bfb480.tar.bz2
* elf32-vax.c (elf_vax_relocate_section): Fix a typo.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-vax.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 35a295a..4442b02 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * elf32-vax.c (elf_vax_relocate_section): Fix a typo.
+
2009-10-23 Kai Tietz <kai.tietz@onevision.com>
* coff-x86_64.c (coff_amd64_rtype_to_howto): Subtract offset
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index 27bb230..4a8f0f3 100644
--- a/bfd/elf32-vax.c
+++ b/bfd/elf32-vax.c
@@ -1593,7 +1593,7 @@ elf_vax_relocate_section (bfd *output_bfd,
The first two are reserved. */
got_offset = (plt_index + 3) * 4;
- /* We want the relocate to point into the .got.plt instead
+ /* We want the relocation to point into the .got.plt instead
of the plt itself. */
relocation = (sgotplt->output_section->vma
+ sgotplt->output_offset