aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-10-21 16:16:51 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-10-21 16:16:51 +0000
commitc293fa4964b4d28ba0ea1f2551ef633024a0160f (patch)
treed1567796ba63eded4de157f6a9562deb94e29606 /bfd
parente1f987424b7b3f5ac63a2a6ae044a202a44b8ff8 (diff)
downloadgdb-c293fa4964b4d28ba0ea1f2551ef633024a0160f.zip
gdb-c293fa4964b4d28ba0ea1f2551ef633024a0160f.tar.gz
gdb-c293fa4964b4d28ba0ea1f2551ef633024a0160f.tar.bz2
Fix a typo in comments.
2011-10-21 H.J. Lu <hongjiu.lu@intel.com>. * elf32-i386.c (elf_i386_relocate_section): Fix a typo in comments. * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-i386.c2
-rw-r--r--bfd/elf64-x86-64.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1a71b6d..a20a75d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2011-10-21 H.J. Lu <hongjiu.lu@intel.com>.
+
+ * elf32-i386.c (elf_i386_relocate_section): Fix a typo in
+ comments.
+ * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
2011-10-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13302
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index c3156bd..01c0669 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -3250,7 +3250,7 @@ elf_i386_relocate_section (bfd *output_bfd,
case R_386_32:
/* Generate dynamic relcoation only when there is a
- non-GOF reference in a shared object. */
+ non-GOT reference in a shared object. */
if (info->shared && h->non_got_ref)
{
Elf_Internal_Rela outrel;
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index a850ce7..645e5a2 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -3156,7 +3156,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
}
/* Generate dynamic relcoation only when there is a
- non-GOF reference in a shared object. */
+ non-GOT reference in a shared object. */
if (info->shared && h->non_got_ref)
{
Elf_Internal_Rela outrel;