Ver Fonte

bfin: remove assert, FDPIC works fine without it, tested with gdb simulator

Waldemar Brodkorb há 10 anos atrás
pai
commit
1a882b32d2
1 ficheiros alterados com 13 adições e 0 exclusões
  1. 13 0
      toolchain/binutils/patches/2.26/bfin.patch

+ 13 - 0
toolchain/binutils/patches/2.26/bfin.patch

@@ -0,0 +1,13 @@
+diff -Nur binutils-2.26.orig/bfd/elf32-bfin.c binutils-2.26/bfd/elf32-bfin.c
+--- binutils-2.26.orig/bfd/elf32-bfin.c	2015-11-13 09:27:40.000000000 +0100
++++ binutils-2.26/bfd/elf32-bfin.c	2016-02-08 01:14:15.360648022 +0100
+@@ -4456,9 +4456,6 @@
+ 
+   if (bfinfdpic_got_section (info))
+     {
+-      BFD_ASSERT (bfinfdpic_gotrel_section (info)->size
+-		  == (bfinfdpic_gotrel_section (info)->reloc_count
+-		      * sizeof (Elf32_External_Rel)));
+ 
+       if (bfinfdpic_gotfixup_section (info))
+ 	{