parent
84771fa58a
commit
34f3e5e618
@ -39,7 +39,7 @@
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: binutils%{?name_cross}%{?_with_debug:-debug}
|
Name: binutils%{?name_cross}%{?_with_debug:-debug}
|
||||||
Version: 2.35.1
|
Version: 2.35.1
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
@ -534,40 +534,32 @@ case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*|aarch64*|riscv*)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Extra targets to build along with the default one.
|
# Extra targets to build along with the default one.
|
||||||
# We add the BPF target so that strip will work on bpf files.
|
#
|
||||||
|
# BZ 1920373: Enable PEP support for all targets as the PERF package's
|
||||||
case %{binutils_target} in ia64*)
|
# testsuite expects to be able to read PE format files ragrdless of
|
||||||
CARGS="$CARGS --enable-targets=ia64-linux,bpf-unknown-none"
|
# the host's architecture.
|
||||||
;;
|
#
|
||||||
esac
|
# Also enable the BPF target so that strip will work on BPF files.
|
||||||
|
case %{binutils_target} in
|
||||||
case %{binutils_target} in ppc*|ppc64*)
|
s390*)
|
||||||
CARGS="$CARGS --enable-targets=spu,bpf-unknown-none"
|
# FIXME: For some unknown reason settting --enable-targets=x86_64-pep
|
||||||
;;
|
# here breaks the building of GOLD. I have no idea why, and not enough
|
||||||
esac
|
# knowledge of how gold is configured to fix quickly. So instead I have
|
||||||
|
# found that supporting "all" targets works.
|
||||||
case %{binutils_target} in ppc64-*)
|
CARGS="$CARGS --enable-targets=all"
|
||||||
CARGS="$CARGS --enable-targets=powerpc64le-linux,bpf-unknown-none"
|
;;
|
||||||
;;
|
ia64*)
|
||||||
esac
|
CARGS="$CARGS --enable-targets=ia64-linux,x86_64-pep,bpf-unknown-none"
|
||||||
|
;;
|
||||||
case %{binutils_target} in ppc64le*)
|
ppc64-*)
|
||||||
CARGS="$CARGS --enable-targets=powerpc-linux,bpf-unknown-none"
|
CARGS="$CARGS --enable-targets=powerpc64le-linux,spu,x86_64-pep,bpf-unknown-none"
|
||||||
;;
|
;;
|
||||||
esac
|
ppc64le*)
|
||||||
|
CARGS="$CARGS --enable-targets=powerpc-linux,spu,x86_64-pep,bpf-unknown-none"
|
||||||
case %{binutils_target} in s390*)
|
;;
|
||||||
# FIXME: For some unknown reason settting --enable-targets=bpf-unknown-none
|
*)
|
||||||
# here breaks the building of GOLD. I have no idea why, and not enough
|
CARGS="$CARGS --enable-targets=x86_64-pep,bpf-unknown-none"
|
||||||
# knowledge of how gold is configured to fix quickly. So instead I have
|
;;
|
||||||
# found that supporting "all" targets works.
|
|
||||||
CARGS="$CARGS --enable-targets=all"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case %{binutils_target} in x86_64*|i?86*|arm*|aarch64*|riscv*)
|
|
||||||
CARGS="$CARGS --enable-targets=x86_64-pep,bpf-unknown-none"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
%if %{default_relro}
|
%if %{default_relro}
|
||||||
@ -916,6 +908,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 03 2021 Nick Clifton <nickc@redhat.com> - 2.35.1-31
|
||||||
|
- Enable PEP support for all targets. (#1920373)
|
||||||
|
|
||||||
* Tue Feb 02 2021 Nick Clifton <nickc@redhat.com> - 2.35.1-30
|
* Tue Feb 02 2021 Nick Clifton <nickc@redhat.com> - 2.35.1-30
|
||||||
- Extend vulnerability fix. (#1913744)
|
- Extend vulnerability fix. (#1913744)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user