summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-16 14:23:59 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-08-16 14:24:07 +0200
commit398d68e04a14582a3ed788e3ea26f6834abd1d5f (patch)
treeaf1f264280487085344dd2d8c57b7a7b032b6fcf /toolchain/binutils/patches
parent60d226836435ccea378258f0c210a10b0729a670 (diff)
frv: only use binutils 2.27, allow to compile libstdc++ (buildtime tested)
Diffstat (limited to 'toolchain/binutils/patches')
-rw-r--r--toolchain/binutils/patches/2.27/frv.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.27/frv.patch b/toolchain/binutils/patches/2.27/frv.patch
new file mode 100644
index 000000000..4c378ad17
--- /dev/null
+++ b/toolchain/binutils/patches/2.27/frv.patch
@@ -0,0 +1,27 @@
+diff -Nur binutils-2.27.orig/bfd/elf32-frv.c binutils-2.27/bfd/elf32-frv.c
+--- binutils-2.27.orig/bfd/elf32-frv.c 2016-08-03 09:36:50.000000000 +0200
++++ binutils-2.27/bfd/elf32-frv.c 2016-08-16 14:04:27.941065290 +0200
+@@ -5723,10 +5723,6 @@
+ }
+ if (frvfdpic_got_section (info))
+ {
+- BFD_ASSERT (frvfdpic_gotrel_section (info)->size
+- == (frvfdpic_gotrel_section (info)->reloc_count
+- * sizeof (Elf32_External_Rel)));
+-
+ if (frvfdpic_gotfixup_section (info))
+ {
+ struct elf_link_hash_entry *hgot = elf_hash_table (info)->hgot;
+@@ -5766,12 +5762,6 @@
+ }
+ }
+ }
+- if (frvfdpic_pltrel_section (info))
+- {
+- BFD_ASSERT (frvfdpic_pltrel_section (info)->size
+- == (frvfdpic_pltrel_section (info)->reloc_count
+- * sizeof (Elf32_External_Rel)));
+- }
+
+
+ if (elf_hash_table (info)->dynamic_sections_created)