]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas/COFF: extend use of SEC_ALLOC
authorJan Beulich <jbeulich@suse.com>
Fri, 10 Oct 2025 13:58:03 +0000 (15:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 10 Oct 2025 13:58:03 +0000 (15:58 +0200)
commit6e870bea5f3d79a63604e1b5141385e011061df7
treecd326371079bbdbbdf62c25de8b02153cd71eac5
parent3f80863fbf9b8dfb70c8dbf1f71220c4910318f9
gas/COFF: extend use of SEC_ALLOC

In line with bfd's styp_to_sec_flags(), set SEC_ALLOC for code/data
sections. Tie the setting to SEC_LOAD, not avoid inadvertently producing
a .bss-like section.
gas/config/obj-coff.c