[binutils-gdb] elf32-i386: Fix a typo in GOT comments

H.J. Lu hjl@sourceware.org
Tue Dec 28 17:54:01 GMT 2021


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

commit cfe29d94f13695c7df65059b76636507875f4323
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Dec 28 09:51:50 2021 -0800

    elf32-i386: Fix a typo in GOT comments
    
    Entry offsets in the global offset table are multiples of 4, not 8.
    
            * elf32-i386.c (elf_i386_relocate_section): Fix a typo in GOT
            comments.

Diff:
---
 bfd/elf32-i386.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index db6d1accdbc..d4f8ec3b21d 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2311,7 +2311,7 @@ elf_i386_relocate_section (bfd *output_bfd,
 		    {
 		      /* This references the local defitionion.  We must
 			 initialize this entry in the global offset table.
-			 Since the offset must always be a multiple of 8,
+			 Since the offset must always be a multiple of 4,
 			 we use the least significant bit to record
 			 whether we have initialized it already.


More information about the Binutils-cvs mailing list