]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: simplify _bfd_{link,write,discard}_section_stabs() interface
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Oct 2025 13:10:35 +0000 (15:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Oct 2025 13:10:35 +0000 (15:10 +0200)
commit1e1701c4d81a50183875d9431587790ff0acfc8a
treee86c795881f808cf3a75b43e43fa9540a0008b8c
parentf2dbe10f66e86324f2b0d379de8a7ecf15da3ac9
bfd: simplify _bfd_{link,write,discard}_section_stabs() interface

... as well as that of _bfd_stab_section_offset(): As sec_info is now
hanging off of sec, there's no need for the extra 4th parameter anymore.
Along these line struct struct coff_section_tdata's stab_info member then
isn't needed anymore either.

Furthermore there also hasn't been a good reason to have the caller of
_bfd_link_section_stabs() set sec_info_type.
bfd/coff-bfd.h
bfd/cofflink.c
bfd/elf.c
bfd/elflink.c
bfd/libbfd.h
bfd/stabs.c