summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.26/bfin.patch
blob: 09fe05a9d5974fac15ab8cb1457ab4ace84e5b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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))
 	{