[binutils-gdb] x86: Correct _bfd_x86_elf_copy_indirect_symbol comments

H.J. Lu hjl@sourceware.org
Wed Sep 10 12:17:48 GMT 2025


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

commit 0a0918901acb8a57c322f42d8480de9401315fb3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Sep 9 18:05:41 2025 -0700

    x86: Correct _bfd_x86_elf_copy_indirect_symbol comments
    
    Since
    
    commit eeb2f20a764bee3a6a1edb9872467d044aaad848
    Author: H.J. Lu <hjl.tools@gmail.com>
    Date:   Fri Sep 1 13:03:40 2017 -0700
    
        x86: Add _bfd_x86_elf_adjust_dynamic_symbol
    
    replaced elf_i386_adjust_dynamic_symbol with
    _bfd_x86_elf_copy_indirect_symbol, correct the comments.
    
            * elfxx-x86.c (_bfd_x86_elf_copy_indirect_symbol): Replace
            elf_i386_adjust_dynamic_symbol with
            _bfd_x86_elf_copy_indirect_symbol in comments.
    
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

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

diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
index 6dc15864833..58a83173827 100644
--- a/bfd/elfxx-x86.c
+++ b/bfd/elfxx-x86.c
@@ -3151,7 +3151,7 @@ _bfd_x86_elf_copy_indirect_symbol (struct bfd_link_info *info,
       eind->tls_type = GOT_UNKNOWN;
     }
 
-  /* Copy gotoff_ref so that elf_i386_adjust_dynamic_symbol will
+  /* Copy gotoff_ref so that _bfd_x86_elf_adjust_dynamic_symbol will
      generate a R_386_COPY reloc.  */
   edir->gotoff_ref |= eind->gotoff_ref;


More information about the Binutils-cvs mailing list