The "b" flag for COFF sections only unsets the LOAD attribute. It should also clear...
authorJ.W. Jagersma <jwjagersma@gmail.com>
Wed, 25 Mar 2020 11:52:07 +0000 (11:52 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 25 Mar 2020 11:53:12 +0000 (11:53 +0000)
commitb77809577782d8798bc86dde3a2a28c30d7805f0
tree603ac5a5f7cc001fe756bb91a10c75816d58c5b5
parent7b1eff95bed765cb20dd3168cb99896a91fcdca7
The "b" flag for COFF sections only unsets the LOAD attribute.  It should also clear the CONTENTS attribute so that named bss sections don't take up space in an object file.  This can be achieved by setting the 'bss' flag in seg_info.

* config/obj-coff.c (obj_coff_section): Set the bss flag on
sections with the "b" attribute.
gas/ChangeLog
gas/config/obj-coff.c