diff options
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r-- | bfd/cofflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 3174bd3..0de2e0b 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -1213,7 +1213,7 @@ process_embedded_commands (bfd *output_bfd, char *e; bfd_byte *copy; - if (!sec) + if (sec == NULL || (sec->flags & SEC_HAS_CONTENTS) == 0) return 1; if (!bfd_malloc_and_get_section (abfd, sec, ©)) |