]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
elf32-i386: Fix a typo in GOT comments
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 28 Dec 2021 17:51:50 +0000 (09:51 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 28 Dec 2021 17:51:50 +0000 (09:51 -0800)
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.

bfd/elf32-i386.c

index db6d1accdbc7e0143757206fea53cddfd709315b..d4f8ec3b21db3906b376d4563ca1e568b452679f 100644 (file)
@@ -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.