]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/x86: mark _bfd_x86_elf_link_report_tls_{transition,invalid_section}_error() hidden
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Nov 2025 13:53:32 +0000 (14:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Nov 2025 13:53:32 +0000 (14:53 +0100)
For some reason the attributes were missing there.

bfd/elfxx-x86.h

index f3e376782731dda8d6aea61ac623ada5f16815e9..9ed1864b9cc68fab91352c866580ce3d1f07b94a 100644 (file)
@@ -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