[PATCH v2 0/5] bfd/ELF: restrict extended feature support code to where it's actually used

Jan Beulich jbeulich@suse.com
Mon Mar 2 07:39:47 GMT 2026


A number of files are compiled into libbfd in certain configurations even when
that code is properly known dead there.

1: gas: conditionalize body of create_obj_attrs_section()
2: bfd: avoid elf-attrs.c for ELF-attributes-free targets
3: bfd: avoid elf-sframe.c for SFrame-unaware targets
4: bfd: avoid elf-solaris2.c for non-Solaris targets
5: bfd: avoid elf-vxworks.c for non-VxWorks targets

Jan


More information about the Binutils mailing list