aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 60e8957..847d8e4 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. */