Another PE SEC_HAS_CONTENTS test
authorAlan Modra <amodra@gmail.com>
Mon, 27 Feb 2023 04:19:10 +0000 (14:49 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 28 Feb 2023 00:07:12 +0000 (10:37 +1030)
commit3f316bf83bc59299e96e1395793e6493d3ab9581
tree93819a88b45fef60023de55045205730bc27f438
parentbb66431be17cf9f50c7712e852b72c2dfddd1ee0
Another PE SEC_HAS_CONTENTS test

I'd skipped this one before, thinking "obfd, that's the linker output
bfd so no need to test".  Wrong, this is objcopy output.

* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Test
SEC_HAS_CONTENTS before reading section.
bfd/peXXigen.c