diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-12-28 09:51:50 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-12-28 09:51:50 -0800 |
commit | cfe29d94f13695c7df65059b76636507875f4323 (patch) | |
tree | 7f3475db98d910f5b969f153698fc3ca0c7939c4 /bfd/elf32-i386.c | |
parent | c17eb63b7f69329307ba5f225364a993cfb45dca (diff) | |
download | gdb-cfe29d94f13695c7df65059b76636507875f4323.zip gdb-cfe29d94f13695c7df65059b76636507875f4323.tar.gz gdb-cfe29d94f13695c7df65059b76636507875f4323.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r-- | bfd/elf32-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index db6d1ac..d4f8ec3 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. |