]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: simplify _bfd_merged_section_offset() interface
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Oct 2025 13:10:09 +0000 (15:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Oct 2025 13:10:09 +0000 (15:10 +0200)
commitf2dbe10f66e86324f2b0d379de8a7ecf15da3ac9
treeaf76ddd6f15682a6b592a8f77a6187b74b866a2f
parenteef49e5b1c7d784d6507a3a8807187c7e9776e20
bfd: simplify _bfd_merged_section_offset() interface

As sec_info is now hanging off of sec, there's no need for the extra 3rd
parameter anymore; all callers pass as 2nd argument the address of a
section pointer that sec_info can be fetched from.
16 files changed:
bfd/elf-m10300.c
bfd/elf.c
bfd/elf32-nds32.c
bfd/elf32-ppc.c
bfd/elf32-rl78.c
bfd/elf32-rx.c
bfd/elf64-alpha.c
bfd/elf64-ia64-vms.c
bfd/elflink.c
bfd/elfnn-ia64.c
bfd/elfnn-loongarch.c
bfd/elfnn-riscv.c
bfd/elfxx-mips.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/merge.c