This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix a typo in comment in elf32-i386.c


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a3718e9efd2e0035dc0c008c754309edd8d5ae28

commit a3718e9efd2e0035dc0c008c754309edd8d5ae28
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Oct 28 09:03:59 2015 -0700

    Fix a typo in comment in elf32-i386.c
    
    	* elf32-i386.c (elf_i386_relocate_section): Fix a typo in
    	comment.

Diff:
---
 bfd/ChangeLog    | 5 +++++
 bfd/elf32-i386.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]