frv.patch 869 B

123456789101112131415161718192021222324252627
  1. diff -Nur binutils-2.27.orig/bfd/elf32-frv.c binutils-2.27/bfd/elf32-frv.c
  2. --- binutils-2.27.orig/bfd/elf32-frv.c 2016-08-03 09:36:50.000000000 +0200
  3. +++ binutils-2.27/bfd/elf32-frv.c 2016-08-16 14:04:27.941065290 +0200
  4. @@ -5723,10 +5723,6 @@
  5. }
  6. if (frvfdpic_got_section (info))
  7. {
  8. - BFD_ASSERT (frvfdpic_gotrel_section (info)->size
  9. - == (frvfdpic_gotrel_section (info)->reloc_count
  10. - * sizeof (Elf32_External_Rel)));
  11. -
  12. if (frvfdpic_gotfixup_section (info))
  13. {
  14. struct elf_link_hash_entry *hgot = elf_hash_table (info)->hgot;
  15. @@ -5766,12 +5762,6 @@
  16. }
  17. }
  18. }
  19. - if (frvfdpic_pltrel_section (info))
  20. - {
  21. - BFD_ASSERT (frvfdpic_pltrel_section (info)->size
  22. - == (frvfdpic_pltrel_section (info)->reloc_count
  23. - * sizeof (Elf32_External_Rel)));
  24. - }
  25. if (elf_hash_table (info)->dynamic_sections_created)