]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: move sec_info from ELF to general section struct
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Oct 2025 13:09:11 +0000 (15:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Oct 2025 13:09:11 +0000 (15:09 +0200)
commiteb92a17c47ea497e3e1e11c33a290860a8b1f6a2
tree495223ebcee78aa8cc90b2ca008441ea1067683a
parent0bdfbd3710f49eaa6d737dcb32463912269ba826
bfd: move sec_info from ELF to general section struct

This is in preparation of supporting section merging also when the output
isn't ELF (or not of the same class). Note that it's also more consistent
this way, as the related sec_info_type field also live in the same struct.
19 files changed:
bfd/bfd-in2.h
bfd/elf-bfd.h
bfd/elf-eh-frame.c
bfd/elf-m10300.c
bfd/elf-sframe.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.h
bfd/section.c