diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elfcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 60e8957a58..847d8e4666 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -2103,7 +2103,7 @@ assign_file_positions_except_relocs (abfd, dosyms) phdr_map = map_program_segments (abfd, phdr_off, first, phdr_size); if (phdr_map == (file_ptr) -1) return false; - BFD_ASSERT (phdr_map == phdr_off + phdr_size); + BFD_ASSERT (phdr_map <= phdr_off + phdr_size); } /* Place the section headers. */ |