parent
6766a3d6b6
commit
d88807d21a
14
binutils-2.28-ignore-gold-duplicates.patch
Normal file
14
binutils-2.28-ignore-gold-duplicates.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -rup binutils.orig/ld/ldmain.c binutils-2.28/ld/ldmain.c
|
||||||
|
--- binutils.orig/ld/ldmain.c 2017-06-09 09:08:26.954016429 +0100
|
||||||
|
+++ binutils-2.28/ld/ldmain.c 2017-06-09 09:09:11.307490976 +0100
|
||||||
|
@@ -923,6 +923,10 @@ multiple_definition (struct bfd_link_inf
|
||||||
|
obfd = h->u.def.section->owner;
|
||||||
|
break;
|
||||||
|
case bfd_link_hash_indirect:
|
||||||
|
+ /* PR 21074: The GOLD linker can produce multiple indirect
|
||||||
|
+ refences to the same symbol. These can be ignored. */
|
||||||
|
+ if (bfd_is_ind_section (nsec))
|
||||||
|
+ return;
|
||||||
|
osec = bfd_ind_section_ptr;
|
||||||
|
oval = 0;
|
||||||
|
obfd = NULL;
|
@ -62,7 +62,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: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
@ -168,6 +168,12 @@ Patch13: binutils-2.30-allow_R_AARCH64-symbols.patch
|
|||||||
# Lifetime: Fixed in 2.31.
|
# Lifetime: Fixed in 2.31.
|
||||||
Patch14: binutils-speed-up-objdump.patch
|
Patch14: binutils-speed-up-objdump.patch
|
||||||
|
|
||||||
|
# Purpose: Ignore duplicate indirect symbols generated by GOLD.
|
||||||
|
# Lifetime: Permanent.
|
||||||
|
# FIXME: This problem needs to be resolved in the FSF sources, but the
|
||||||
|
# GOLD maintainers seem to be reluctant to address the issue.
|
||||||
|
Patch15: binutils-2.28-ignore-gold-duplicates.patch
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
Provides: bundled(libiberty)
|
Provides: bundled(libiberty)
|
||||||
@ -307,6 +313,7 @@ using libelf instead of BFD.
|
|||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
|
%patch15 -p1
|
||||||
|
|
||||||
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
||||||
|
|
||||||
@ -715,6 +722,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 07 2018 Nick Clifton <nickc@redhat.com> 2.30-8
|
||||||
|
- Ignore duplicate symbols generated by GOLD. (#1458003)
|
||||||
|
|
||||||
* Mon Mar 05 2018 Nick Clifton <nickc@redhat.com> 2.30-7
|
* Mon Mar 05 2018 Nick Clifton <nickc@redhat.com> 2.30-7
|
||||||
- Speed up objdump. (#1551540)
|
- Speed up objdump. (#1551540)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user