From f432e19a5402ed367c3c75011e564f7fe4ca7387 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 6 Jun 2018 09:45:44 +0200 Subject: 5: Update RISC-V Binutils This includes the following bug fix: https://sourceware.org/bugzilla/show_bug.cgi?id=23244 Update #3452. --- rtems/config/5/rtems-riscv32.bset | 2 +- rtems/config/5/rtems-riscv64.bset | 2 +- ...ls-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg | 29 ++++++++++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 rtems/config/tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg diff --git a/rtems/config/5/rtems-riscv32.bset b/rtems/config/5/rtems-riscv32.bset index c4e99f2..f19adcd 100644 --- a/rtems/config/5/rtems-riscv32.bset +++ b/rtems/config/5/rtems-riscv32.bset @@ -10,7 +10,7 @@ 5/rtems-autotools devel/expat-2.1.0-1 -tools/rtems-binutils-2.30 +tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792 tools/rtems-gcc-7.3.0-newlib-3.0.0 tools/rtems-tools-5-1 tools/rtems-kernel-5 diff --git a/rtems/config/5/rtems-riscv64.bset b/rtems/config/5/rtems-riscv64.bset index c2fb727..feb693e 100644 --- a/rtems/config/5/rtems-riscv64.bset +++ b/rtems/config/5/rtems-riscv64.bset @@ -10,7 +10,7 @@ 5/rtems-autotools devel/expat-2.1.0-1 -tools/rtems-binutils-2.30 +tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792 tools/rtems-gcc-7.3.0-newlib-3.0.0 tools/rtems-tools-5-1 tools/rtems-kernel-5 diff --git a/rtems/config/tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg b/rtems/config/tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg new file mode 100644 index 0000000..dd396c5 --- /dev/null +++ b/rtems/config/tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg @@ -0,0 +1,29 @@ +# +# Binutils +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define binutils_version 773ff7907c05313aebbcd5e8319e5b869ac4f792 +%define binutils_external 1 +%define binutils_expand_name sourceware-mirror-binutils-gdb-%{binutils_version} +%source set binutils --rsb-file=%{binutils_expand_name}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version} +%hash sha512 %{binutils_expand_name}.tar.gz 97e9ee9f28e71d012e894080b736c6e3876a408e37163f2602b46bc053ddb700d8a6b1ba066b53a4a3a90a1645e4df8b6bd3fb5086cc0c1dda3e2847e7ff0c8e + +# +# Enable deterministic archives by default. This will be the default +# there all tools using this binutils will create deterministic +# archives. +# +%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 -- cgit v1.2.3