crisv10-assertion-remove.patch 623 B

123456789101112131415
  1. diff -Nur binutils-2.28.orig/bfd/elf32-cris.c binutils-2.28/bfd/elf32-cris.c
  2. --- binutils-2.28.orig/bfd/elf32-cris.c 2017-03-02 09:23:53.000000000 +0100
  3. +++ binutils-2.28/bfd/elf32-cris.c 2017-03-05 09:38:18.895667626 +0100
  4. @@ -2713,11 +2713,6 @@
  5. {
  6. struct bfd_link_info *info = (struct bfd_link_info *) p;
  7. - /* A GOTPLT reloc, when activated, is supposed to be included into
  8. - the PLT refcount. */
  9. - BFD_ASSERT (h->gotplt_refcount == 0
  10. - || h->gotplt_refcount <= h->root.plt.refcount);
  11. -
  12. /* If nobody wanted a GOTPLT with this symbol, we're done. */
  13. if (h->gotplt_refcount <= 0)
  14. return TRUE;