]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd/ELF: properly mark bfd_elf_{,gc_common_}final_link() as private
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Nov 2025 08:03:49 +0000 (09:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Nov 2025 08:03:49 +0000 (09:03 +0100)
commit362b674aa48a7bd18012d07e4cf7f3e2122fee30
tree98a9b3433eebd8f3831f478f273930d36a50c9a2
parentfdcdfdbb821c01948eadf14f92e51c910638df29
bfd/ELF: properly mark bfd_elf_{,gc_common_}final_link() as private

They're solely used as hook functions (or helpers thereof), so aren't
intended to be invoked directly from outside the library. Add underscore
prefixes and make them hidden.
18 files changed:
bfd/elf-bfd.h
bfd/elf32-arm.c
bfd/elf32-bfin.c
bfd/elf32-cris.c
bfd/elf32-hppa.c
bfd/elf32-m68k.c
bfd/elf32-rx.c
bfd/elf32-spu.c
bfd/elf32-tic6x.c
bfd/elf32-vax.c
bfd/elf64-alpha.c
bfd/elf64-hppa.c
bfd/elf64-ia64-vms.c
bfd/elf64-mmix.c
bfd/elflink.c
bfd/elfnn-ia64.c
bfd/elfxx-mips.c
bfd/elfxx-target.h