[PATCH v2 00/13] PE/COFF: .reloc handling
Jan Beulich
jbeulich@suse.com
Fri Aug 29 11:55:00 GMT 2025
The main goal is to have a way to allow .reloc to not end up discardable
in the final binary, while still having that be the default. It is amazing
though how many other, seemingly unrelated patches are needed to actually
make the new testcases work across the board (and there's still the risk
that my already large set of tested targets still doesn't include some
which may require yet more adjustments). There is then also one remaining
unrelated cleanup patch, potential for which was spotted while doing the
work.
01: ld/PE: adjust .reloc and .edata section flags
02: gas/COFF: extend use of SEC_ALLOC
03: bfd / PE/COFF: avoid setting SEC_ALLOC when finding IMAGE_SCN_MEM_DISCARDABLE
04: bfd/COFF: optionally pass BFD section into swap_scnhdr_out() hook
05: objdump: enable PE support for Interix
06: LD/PE: Remove remains of MIPS target support
07: ld/PE: adjust pe_detail_list[]
08: ld/PE: respect --enable-reloc-section even when .reloc isn't created by default
09: gas/SH: support BFD_RELOC_RVA in the PE/COFF case
10: gas/SH: respect --no-pad-sections
11: bfd / PE/COFF: permit SEC_READONLY and consolidate
12: bfd/PE: respect SEC_ALLOC when deciding whether to force IMAGE_SCN_MEM_DISCARDABLE
13: bfd/PE: make local array in _bfd_XXi_swap_scnhdr_out() static
Jan
More information about the Binutils
mailing list