diff options
Diffstat (limited to 'bfd/elf32-rx.c')
-rw-r--r-- | bfd/elf32-rx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c index 004d7c2dc87..0fe853da932 100644 --- a/bfd/elf32-rx.c +++ b/bfd/elf32-rx.c @@ -3229,6 +3229,8 @@ rx_elf_object_p (bfd * abfd) if (phdr[i].p_filesz && phdr[i].p_offset <= (bfd_vma) sec->sh_offset + && sec->sh_size > 0 + && sec->sh_type != SHT_NOBITS && (bfd_vma)sec->sh_offset <= phdr[i].p_offset + (phdr[i].p_filesz - 1)) { /* Found one! The difference between the two addresses, |