From: Jan Beulich Date: Fri, 7 Nov 2025 13:50:13 +0000 (+0100) Subject: bfd/ELF: mark internal IA-64 functions hidden X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11fe65581d6f8d8d7cb99fc92d6d486367d19b1f;p=thirdparty%2Fbinutils-gdb.git bfd/ELF: mark internal IA-64 functions hidden This reduces the dynamic symbol table a little and allows the compiler to be more aggressive about inlining (as it sees fit, of course). --- diff --git a/bfd/elfxx-ia64.h b/bfd/elfxx-ia64.h index fda7c040f5a..49f9e4aa5bf 100644 --- a/bfd/elfxx-ia64.h +++ b/bfd/elfxx-ia64.h @@ -19,18 +19,21 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -reloc_howto_type *ia64_elf_reloc_type_lookup (bfd *, bfd_reloc_code_real_type); +reloc_howto_type *ia64_elf_reloc_type_lookup (bfd *, bfd_reloc_code_real_type) + ATTRIBUTE_HIDDEN; -reloc_howto_type *ia64_elf_reloc_name_lookup (bfd *, const char *); +reloc_howto_type *ia64_elf_reloc_name_lookup (bfd *, const char *) + ATTRIBUTE_HIDDEN; -reloc_howto_type *ia64_elf_lookup_howto (unsigned int rtype); +reloc_howto_type *ia64_elf_lookup_howto (unsigned int rtype) ATTRIBUTE_HIDDEN; -bool ia64_elf_relax_br (bfd_byte *contents, bfd_vma off); -void ia64_elf_relax_brl (bfd_byte *contents, bfd_vma off); -void ia64_elf_relax_ldxmov (bfd_byte *contents, bfd_vma off); +bool ia64_elf_relax_br (bfd_byte *contents, bfd_vma off) ATTRIBUTE_HIDDEN; +void ia64_elf_relax_brl (bfd_byte *contents, bfd_vma off) ATTRIBUTE_HIDDEN; +void ia64_elf_relax_ldxmov (bfd_byte *contents, bfd_vma off) ATTRIBUTE_HIDDEN; bfd_reloc_status_type ia64_elf_install_value (bfd_byte *hit_addr, bfd_vma v, - unsigned int r_type); + unsigned int r_type) + ATTRIBUTE_HIDDEN; /* IA64 Itanium code generation. Called from linker. */ extern void bfd_elf32_ia64_after_parse