Disable ld.gold on RISC-V

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2019-03-15 12:22:15 +01:00
parent c77184d403
commit f052716c2b
Signed by: davidlt
GPG Key ID: 7108702C938B13C1

View File

@ -31,7 +31,12 @@
# Use "--without gold" to exclude the gold linker.
# The default is to include it.
# Note - in the future the gold linker may become deprecated.
%ifnarch riscv64
%bcond_without gold
%else
# RISC-V does not have ld.gold thus disable
%bcond_with gold
%endif
# Enable thread support in the GOLD linker. This is particularly
# important if plugins to the linker intend to use threads themselves.
@ -80,7 +85,7 @@
Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.32
Release: 9%{?dist}
Release: 9.0.riscv64%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -744,6 +749,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Fri Mar 15 2019 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.32-9.0.riscv64
- Disable ld.gold on RISC-V
* Wed Mar 06 2019 Nick Clifton <nickc@redhat.com> - 2.32-9
- Stop potential illegal memory access when disassembling an EFI binary. (#1685727)