]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd/COFF: drop link_add_one_symbol() hook
authorJan Beulich <jbeulich@suse.com>
Mon, 7 Apr 2025 10:46:16 +0000 (12:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 7 Apr 2025 10:46:16 +0000 (12:46 +0200)
commit0b4a7d8c8a037a671e588db9a190c0194dd1ec43
tree2d108cb93af49ead307284d61b96d6ee5c8c1b7e
parente71f5f09ce75ed54c75fd5a7ca47f0452081e26e
bfd/COFF: drop link_add_one_symbol() hook

The need for this has disappeared with dc12032bca08 ("Remove m68k-aout
and m68k-coff support"); avoid the unnecessary indirection.

Sadly, with ld/pe-dll.c using the wrapper, the removal requires moving
the declaration out of libcoff.h, to properly export the underlying BFD
function.
14 files changed:
bfd/bfd-in2.h
bfd/coff-alpha.c
bfd/coff-arm.c
bfd/coff-mips.c
bfd/coff-rs6000.c
bfd/coff-sh.c
bfd/coff64-rs6000.c
bfd/coffcode.h
bfd/cofflink.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/libcoff.h
bfd/linker.c
ld/pe-dll.c