From bdd21355f50f838e8800eff33e77fd900b7f50e6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 8 Aug 2016 21:13:29 +0200 Subject: binutils: add 2.27 support, relax choice for blackfin and add required upstream patch --- toolchain/binutils/patches/2.25.1/bfin.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toolchain/binutils/patches/2.25.1/bfin.patch (limited to 'toolchain/binutils/patches/2.25.1') diff --git a/toolchain/binutils/patches/2.25.1/bfin.patch b/toolchain/binutils/patches/2.25.1/bfin.patch new file mode 100644 index 000000000..1f287518a --- /dev/null +++ b/toolchain/binutils/patches/2.25.1/bfin.patch @@ -0,0 +1,13 @@ +diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c +index 7cc8b6d..12f0add 100644 +--- a/bfd/elf32-bfin.c ++++ b/bfd/elf32-bfin.c +@@ -4457,7 +4457,7 @@ elf32_bfinfdpic_finish_dynamic_sections (bfd *output_bfd, + if (bfinfdpic_got_section (info)) + { + BFD_ASSERT (bfinfdpic_gotrel_section (info)->size +- == (bfinfdpic_gotrel_section (info)->reloc_count ++ >= (bfinfdpic_gotrel_section (info)->reloc_count + * sizeof (Elf32_External_Rel))); + + if (bfinfdpic_gotfixup_section (info)) -- cgit v1.2.3