diff options
Diffstat (limited to 'bfd/elf-hppa.h')
-rw-r--r-- | bfd/elf-hppa.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h index 7896c02..747c5b1 100644 --- a/bfd/elf-hppa.h +++ b/bfd/elf-hppa.h @@ -984,7 +984,8 @@ elf_hppa_sort_unwind (bfd *abfd) Consider what happens if someone inept creates a linker script that puts unwind information in .text. */ s = bfd_get_section_by_name (abfd, ".PARISC.unwind"); - if (s != NULL) + if (s != NULL && (s->flags & SEC_HAS_CONTENTS) != 0) + { bfd_size_type size; bfd_byte *contents; |