]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/ELF: mark internal IA-64 functions hidden
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Nov 2025 13:50:13 +0000 (14:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Nov 2025 13:50:13 +0000 (14:50 +0100)
This reduces the dynamic symbol table a little and allows the compiler to
be more aggressive about inlining (as it sees fit, of course).

bfd/elfxx-ia64.h

index fda7c040f5a5b34771b4778adf92d9cacd973dc1..49f9e4aa5bf895f51b0e1daf939f25afb90966df 100644 (file)
    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