PowerPC64 stubs don't match calculated size
[deliverable/binutils-gdb.git] / bfd / elf64-ppc.c
index 4821801c689ac13f13594d06f2327ecf71322fee..ea49706d14f3b37f149efbe1fa6612263df9f69d 100644 (file)
@@ -13411,12 +13411,7 @@ ppc64_elf_build_stubs (struct bfd_link_info *info,
          break;
       }
 
-  /* Note that the glink_eh_frame check here is not only testing that
-     the generated size matched the calculated size but also that
-     bfd_elf_discard_info didn't make any changes to the section.  */
-  if (group != NULL
-      || (htab->glink_eh_frame != NULL
-         && htab->glink_eh_frame->rawsize != htab->glink_eh_frame->size))
+  if (group != NULL)
     {
       htab->stub_error = TRUE;
       info->callbacks->einfo (_("%P: stubs don't match calculated size\n"));
This page took 0.034166 seconds and 4 git commands to generate.