[LEDE-DEV] [RFC 2/8] toolchain/binutils: add 2.26.1

Felix Fietkau nbd at nbd.name
Thu Jul 14 03:51:08 PDT 2016


Pushed to my staging tree with some changes (see below)

On 2016-07-13 15:57, Syrone Wong wrote:
> Signed-off-by: Syrone Wong <wong.syrone at gmail.com>
> ---
>  toolchain/binutils/Config.in                       |  6 ++++
>  toolchain/binutils/Config.version                  |  5 +++
>  toolchain/binutils/Makefile                        |  4 +++
>  .../patches/2.26.1/300-001_ld_makefile_patch.patch | 22 +++++++++++++
>  .../2.26.1/300-012_check_ldrunpath_length.patch    | 20 ++++++++++++
>  .../2.26.1/400-mips_no_dynamic_linking_sym.patch   | 18 +++++++++++
>  ...Change-default-emulation-for-mips64-linux.patch | 37 ++++++++++++++++++++++
>  7 files changed, 112 insertions(+)
>  create mode 100644 toolchain/binutils/patches/2.26.1/300-001_ld_makefile_patch.patch
>  create mode 100644 toolchain/binutils/patches/2.26.1/300-012_check_ldrunpath_length.patch
>  create mode 100644 toolchain/binutils/patches/2.26.1/400-mips_no_dynamic_linking_sym.patch
>  create mode 100644 toolchain/binutils/patches/2.26.1/500-Change-default-emulation-for-mips64-linux.patch
> 
> diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in
> index 2960c94..16c8005 100644
> --- a/toolchain/binutils/Config.in
> +++ b/toolchain/binutils/Config.in
> @@ -3,6 +3,7 @@
>  choice
>  	prompt "Binutils Version" if TOOLCHAINOPTS
>  	default BINUTILS_USE_VERSION_2_25_1 if !arc
> +	default BINUTILS_USE_VERSION_2_26_1 if !arc
I removed this line

>  	default BINUTILS_USE_VERSION_2_26_ARC if arc
>  	help
>  	  Select the version of binutils you wish to use.
> diff --git a/toolchain/binutils/Config.version b/toolchain/binutils/Config.version
> index fc7a1f3..2951c0b 100644
> --- a/toolchain/binutils/Config.version
> +++ b/toolchain/binutils/Config.version
> @@ -5,6 +5,10 @@ config BINUTILS_VERSION_2_25_1
>  	default y if (!TOOLCHAINOPTS && !arc)
>  	bool
>  
> +config BINUTILS_VERSION_2_26_1
> +	default y if (!TOOLCHAINOPTS && !arc)
And this one. binutils 2.26.1 should not be enabled by default for
anything just yet, and the default lines there actually had duplicates,
since you didn't remove the 2.25.1 ones.

- Felix



More information about the Lede-dev mailing list