[PATCH 10/27] bfd/ELF: mark an internal PowerPC function hidden

Jan Beulich jbeulich@suse.com
Mon Oct 27 14:13:32 GMT 2025


This reduces the dynamic symbol table a little.

Also drop the ppc_elf_section_processing() declaration, as its definition
was dropped almost 10 years ago.

--- a/bfd/elf32-ppc.h
+++ b/bfd/elf32-ppc.h
@@ -64,6 +64,6 @@ bool ppc_elf_inline_plt (struct bfd_link
 asection *ppc_elf_tls_setup (bfd *, struct bfd_link_info *);
 bool ppc_elf_tls_optimize (bfd *, struct bfd_link_info *);
 void ppc_elf_maybe_strip_sdata_syms (struct bfd_link_info *);
-extern bool ppc_elf_modify_segment_map (bfd *, struct bfd_link_info *);
-extern bool ppc_elf_section_processing (bfd *, Elf_Internal_Shdr *);
+extern bool ppc_elf_modify_segment_map (bfd *, struct bfd_link_info *)
+  ATTRIBUTE_HIDDEN;
 extern bool ppc_finish_symbols (struct bfd_link_info *);



More information about the Binutils mailing list