[PATCH] Enable 64-bit BFD support. Needed on 32bit hosts

Chris Johns chrisj at rtems.org
Thu Oct 12 01:19:42 UTC 2017


+1, please push.

On 11/10/17 6:09 am, Joel Sherrill wrote:
> From: Joel Sherrill <joel.sherrill at oarcorp.com>
> 
> ---
>  rtems/config/tools/rtems-binutils-2.29-1.cfg | 5 +++++
>  source-builder/config/binutils-2-1.cfg       | 1 +
>  2 files changed, 6 insertions(+)
> 
> diff --git a/rtems/config/tools/rtems-binutils-2.29-1.cfg b/rtems/config/tools/rtems-binutils-2.29-1.cfg
> index 6941ebb..87580f8 100644
> --- a/rtems/config/tools/rtems-binutils-2.29-1.cfg
> +++ b/rtems/config/tools/rtems-binutils-2.29-1.cfg
> @@ -20,6 +20,11 @@
>  %define with_deterministic_archives 1
>  
>  #
> +# Enable 64-bit BFD support
> +#
> +%define with_64_bit_bfd 1
> +
> +#
>  # The binutils build instructions. We use 2.xx Release 1.
>  #
>  %include %{_configdir}/binutils-2-1.cfg
> diff --git a/source-builder/config/binutils-2-1.cfg b/source-builder/config/binutils-2-1.cfg
> index 539f076..0b4101d 100644
> --- a/source-builder/config/binutils-2-1.cfg
> +++ b/source-builder/config/binutils-2-1.cfg
> @@ -70,6 +70,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
>      --target=%{_target} \
>      --verbose --disable-nls \
>      %{?with_deterministic_archives:--enable-deterministic-archives} \
> +    %{?with_64_bit_bfd:--enable-64-bit-bfd} \
>      %{?with_gold:--enable-gold=yes} \
>      %{?with_lto:--enable-lto --enable-plugins}%{!?with_lto:--disable-lto} \
>      --without-included-gettext \
> 



More information about the devel mailing list