aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-28 09:03:59 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-28 09:15:40 -0700
commita3718e9efd2e0035dc0c008c754309edd8d5ae28 (patch)
tree5825bf34ec70ce15a4f2ae5938aab1defc3d02fa
parent0e3536f9844e6a6c7a882387ad5d765944f510ad (diff)
downloadbinutils-a3718e9efd2e0035dc0c008c754309edd8d5ae28.zip
binutils-a3718e9efd2e0035dc0c008c754309edd8d5ae28.tar.gz
binutils-a3718e9efd2e0035dc0c008c754309edd8d5ae28.tar.bz2
Fix a typo in comment in elf32-i386.c
* elf32-i386.c (elf_i386_relocate_section): Fix a typo in comment.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ba8466f..e124aa6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_relocate_section): Fix a typo in
+ comment.
+
2015-10-28 Nick Clifton <nickc@redhat.com>
* elf32-arm.c (create_instruction_branch_absolute): Replace
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index fca7663..98d2b49 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -4006,7 +4006,7 @@ elf_i386_relocate_section (bfd *output_bfd,
if (!bfd_link_pic (info))
{
/* If not PIC, add the .got.plt section address for
- baseless adressing. */
+ baseless addressing. */
unsigned int modrm;
modrm = bfd_get_8 (abfd, contents + rel->r_offset - 1);
if ((modrm & 0xc7) == 0x5)