When installing both ld.bfd and ld.gold, do not reset the current alternative if upgrading.
Resolves: #1592069
This commit is contained in:
parent
24eecafa20
commit
ed4765883e
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
# Disable the default generation of GNU Build notes by the assembler.
|
# Disable the default generation of GNU Build notes by the assembler.
|
||||||
# This has turned out to be problematic for the i686 architecture.
|
# This has turned out to be problematic for the i686 architecture.
|
||||||
# although the extact reason has not been determined. (See BZ 1572485)
|
# although the exact reason has not been determined. (See BZ 1572485)
|
||||||
# It also breaks building EFI binaries on AArch64, as these cannot have
|
# It also breaks building EFI binaries on AArch64, as these cannot have
|
||||||
# relocations against absolute symbols.
|
# relocations against absolute symbols.
|
||||||
%define default_generate_notes 0
|
%define default_generate_notes 0
|
||||||
@ -69,7 +69,7 @@
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: %{?cross}binutils%{?_with_debug:-debug}
|
Name: %{?cross}binutils%{?_with_debug:-debug}
|
||||||
Version: 2.30
|
Version: 2.30
|
||||||
Release: 23%{?dist}
|
Release: 24%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
@ -186,7 +186,7 @@ Patch15: binutils-speed-up-objdump.patch
|
|||||||
# GOLD maintainers seem to be reluctant to address the issue.
|
# GOLD maintainers seem to be reluctant to address the issue.
|
||||||
Patch16: binutils-2.28-ignore-gold-duplicates.patch
|
Patch16: binutils-2.28-ignore-gold-duplicates.patch
|
||||||
|
|
||||||
# Purpose: Treat relosc against STT_GNU_IFUNC symbols in note sections as
|
# Purpose: Treat relocs against STT_GNU_IFUNC symbols in note sections as
|
||||||
# if they were relocs against STT_FUNC symbols instead.
|
# if they were relocs against STT_FUNC symbols instead.
|
||||||
# Lifetime: Fixed in 2.31.
|
# Lifetime: Fixed in 2.31.
|
||||||
Patch17: binutils-ifunc-relocs-in-notes.patch
|
Patch17: binutils-ifunc-relocs-in-notes.patch
|
||||||
@ -403,7 +403,7 @@ Requires: coreutils
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains BFD and opcodes static and dynamic libraries.
|
This package contains BFD and opcodes static and dynamic libraries.
|
||||||
|
|
||||||
The dynamic libraries are in this package, rather than a seperate
|
The dynamic libraries are in this package, rather than a separate
|
||||||
base package because they are actually linker scripts that force
|
base package because they are actually linker scripts that force
|
||||||
the use of the static libraries. This is because the API of the
|
the use of the static libraries. This is because the API of the
|
||||||
BFD library is too unstable to be used dynamically.
|
BFD library is too unstable to be used dynamically.
|
||||||
@ -764,7 +764,9 @@ rm -rf %{buildroot}
|
|||||||
%{_bindir}/%{?cross}ld.bfd %{ld_bfd_priority}
|
%{_bindir}/%{?cross}ld.bfd %{ld_bfd_priority}
|
||||||
%{_sbindir}/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
|
%{_sbindir}/alternatives --install %{_bindir}/%{?cross}ld %{?cross}ld \
|
||||||
%{_bindir}/%{?cross}ld.gold %{ld_gold_priority}
|
%{_bindir}/%{?cross}ld.gold %{ld_gold_priority}
|
||||||
%{_sbindir}/alternatives --auto %{?cross}ld
|
if [ $1 = 0 ]; then
|
||||||
|
%{_sbindir}/alternatives --auto %{?cross}ld
|
||||||
|
fi
|
||||||
%endif # both ld.gold and ld.bfd
|
%endif # both ld.gold and ld.bfd
|
||||||
|
|
||||||
%if %{isnative}
|
%if %{isnative}
|
||||||
@ -869,6 +871,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 18 2018 Nick Clifton <nickc@redhat.com> 2.30-24
|
||||||
|
- When installing both ld.bfd and ld.gold, do not reset the current alternative if upgrading. (#1592069)
|
||||||
|
|
||||||
* Tue Jun 12 2018 Nick Clifton <nickc@redhat.com> 2.30-23
|
* Tue Jun 12 2018 Nick Clifton <nickc@redhat.com> 2.30-23
|
||||||
- Correct warning messages about incompatible PowerPC IEEE long double settings.
|
- Correct warning messages about incompatible PowerPC IEEE long double settings.
|
||||||
|
|
||||||
@ -923,7 +928,7 @@ exit 0
|
|||||||
- Treat relocs against s390x IFUNC symbols in note sections as relocs against the FUNC symbol instead. (#1553705)
|
- Treat relocs against s390x IFUNC symbols in note sections as relocs against the FUNC symbol instead. (#1553705)
|
||||||
|
|
||||||
* Wed Mar 07 2018 Nick Clifton <nickc@redhat.com> 2.30-10
|
* Wed Mar 07 2018 Nick Clifton <nickc@redhat.com> 2.30-10
|
||||||
- Treat relocs against x86_64 IFUNC symbols in note sections as relocs against the FUNC symbol instead. (#1552056)
|
- Ignore duplicate symbols generated by GOLD. (#1458003)
|
||||||
|
|
||||||
* Wed Mar 07 2018 Nick Clifton <nickc@redhat.com> 2.30-9
|
* Wed Mar 07 2018 Nick Clifton <nickc@redhat.com> 2.30-9
|
||||||
- Stop strip from replacing unknown relocs with null relocs. (#1545386)
|
- Stop strip from replacing unknown relocs with null relocs. (#1545386)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user