From: H.J. Lu Date: Tue, 28 Dec 2021 17:51:50 +0000 (-0800) Subject: elf32-i386: Fix a typo in GOT comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfe29d94f13695c7df65059b76636507875f4323;p=binutils-gdb.git 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 --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.