[binutils-gdb] bfd/ELF: mark an internal PowerPC function hidden
Jan Beulich
jbeulich@sourceware.org
Fri Nov 7 13:56:04 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=57930ff75f8084467f9364db3ac529719fc9a8e2
commit 57930ff75f8084467f9364db3ac529719fc9a8e2
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Nov 7 14:51:58 2025 +0100
bfd/ELF: mark an internal PowerPC function hidden
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.
Diff:
---
bfd/elf32-ppc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bfd/elf32-ppc.h b/bfd/elf32-ppc.h
index b9b0d048cd5..ad598a1f38d 100644
--- a/bfd/elf32-ppc.h
+++ b/bfd/elf32-ppc.h
@@ -64,6 +64,6 @@ bool ppc_elf_inline_plt (struct bfd_link_info *);
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-cvs
mailing list