diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-08 21:13:29 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-08-08 21:13:39 +0200 |
commit | bdd21355f50f838e8800eff33e77fd900b7f50e6 (patch) | |
tree | d0e23baa02d8fd3eea0c44d42dd2af60bd72d827 /toolchain | |
parent | daafed04398891141f1096b2bf92a4aeae00b725 (diff) |
binutils: add 2.27 support, relax choice for blackfin and add required upstream patch
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/Makefile.inc | 7 | ||||
-rw-r--r-- | toolchain/binutils/patches/2.24/bfin.patch | 13 | ||||
-rw-r--r-- | toolchain/binutils/patches/2.25.1/bfin.patch | 13 | ||||
-rw-r--r-- | toolchain/elf2flt/Makefile | 3 |
4 files changed, 36 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc index bd173e716..ec2003f52 100644 --- a/toolchain/binutils/Makefile.inc +++ b/toolchain/binutils/Makefile.inc @@ -2,6 +2,13 @@ # material, please see the LICENCE file in the top-level directory. PKG_NAME:= binutils +ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_27),y) +PKG_VERSION:= 2.27 +PKG_RELEASE:= 1 +PKG_HASH:= 26253bf0f360ceeba1d9ab6965c57c6a48a01a8343382130d1ed47c468a3094f +PKG_SITES:= ${MASTER_SITE_GNU:=binutils/} +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz +endif ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_26_1),y) PKG_VERSION:= 2.26.1 PKG_RELEASE:= 1 diff --git a/toolchain/binutils/patches/2.24/bfin.patch b/toolchain/binutils/patches/2.24/bfin.patch new file mode 100644 index 000000000..1f287518a --- /dev/null +++ b/toolchain/binutils/patches/2.24/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)) 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)) diff --git a/toolchain/elf2flt/Makefile b/toolchain/elf2flt/Makefile index bde4b335e..b0daa414a 100644 --- a/toolchain/elf2flt/Makefile +++ b/toolchain/elf2flt/Makefile @@ -18,6 +18,9 @@ endif ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_26_1),y) BINUTILS_VERSION:= 2.26.1 endif +ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_27),y) +BINUTILS_VERSION:= 2.27 +endif $(WRKBUILD)/.configured: (cd $(WRKBUILD); \ |