[binutils-gdb] bfd/x86: mark _bfd_x86_elf_link_report_tls_{transition, invalid_section}_error() hidden

Jan Beulich jbeulich@sourceware.org
Fri Nov 7 13:56:29 GMT 2025


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

commit 603bc397919649a5920c9a609083eac2dbfe1617
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Nov 7 14:53:32 2025 +0100

    bfd/x86: mark _bfd_x86_elf_link_report_tls_{transition,invalid_section}_error() hidden
    
    For some reason the attributes were missing there.

Diff:
---
 bfd/elfxx-x86.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bfd/elfxx-x86.h b/bfd/elfxx-x86.h
index f3e37678273..9ed1864b9cc 100644
--- a/bfd/elfxx-x86.h
+++ b/bfd/elfxx-x86.h
@@ -946,11 +946,11 @@ extern void _bfd_x86_elf_link_report_tls_transition_error
   (struct bfd_link_info *, bfd *, asection *, Elf_Internal_Shdr *,
    struct elf_link_hash_entry *, Elf_Internal_Sym *,
    const Elf_Internal_Rela *, const char *, const char *,
-   enum elf_x86_tls_error_type);
+   enum elf_x86_tls_error_type) ATTRIBUTE_HIDDEN;
 
 extern void _bfd_x86_elf_link_report_tls_invalid_section_error
   (bfd *, asection *, Elf_Internal_Shdr *, struct elf_link_hash_entry *,
-   Elf_Internal_Sym *, reloc_howto_type *);
+   Elf_Internal_Sym *, reloc_howto_type *) ATTRIBUTE_HIDDEN;
 
 #define bfd_elf64_mkobject \
   _bfd_x86_elf_mkobject


More information about the Binutils-cvs mailing list