summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-02-08 01:48:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-02-08 01:49:04 +0100
commit1a882b32d2450c05e79c5f9a5af984014f971621 (patch)
tree8ede4d3eac9c879973e83caf469e08ef23ad6db1 /toolchain/binutils/patches
parent844ec8aee59feefa2a5646050aa80b8a65b4bf13 (diff)
bfin: remove assert, FDPIC works fine without it, tested with gdb simulator
Diffstat (limited to 'toolchain/binutils/patches')
-rw-r--r--toolchain/binutils/patches/2.26/bfin.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.26/bfin.patch b/toolchain/binutils/patches/2.26/bfin.patch
new file mode 100644
index 000000000..09fe05a9d
--- /dev/null
+++ b/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))
+ {