aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 1b24f66..e57d4cd 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -14412,16 +14412,7 @@ _bfd_mips_elf_final_link (bfd *abfd, struct bfd_link_info *info)
}
/* Size has been set in _bfd_mips_elf_always_size_sections. */
- if (o->size != sizeof (Elf32_External_RegInfo))
- {
- _bfd_error_handler
- (_("%pB: .reginfo section size should be %ld bytes, "
- "actual size is %" PRId64),
- abfd, (unsigned long) sizeof (Elf32_External_RegInfo),
- (int64_t) o->size);
-
- return FALSE;
- }
+ BFD_ASSERT(o->size == sizeof (Elf32_External_RegInfo));
/* Skip this section later on (I don't think this currently
matters, but someday it might). */