import binutils-2.30-114.el8

This commit is contained in:
CentOS Sources 2022-04-15 14:09:25 +00:00 committed by Stepan Oksanichenko
parent 9b3f18bf66
commit 19c4644e0b
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- binutils.orig/bfd/elflink.c 2022-03-07 14:59:10.275856785 +0000
+++ binutils-2.30/bfd/elflink.c 2022-03-07 15:00:19.129562705 +0000
@@ -4578,7 +4578,8 @@ error_free_dyn:
|| h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
- if (elf_tdata (abfd)->verdef != NULL
+ if (h->versioned != unversioned
+ && elf_tdata (abfd)->verdef != NULL
&& vernum > 1
&& definition)
h->verinfo.verdef = &elf_tdata (abfd)->verdef[vernum - 1];

View File

@ -43,7 +43,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?name_cross}%{?_with_debug:-debug}
Version: 2.30
Release: 113%{?dist}
Release: 114%{?dist}
License: GPLv3+
URL: https://sourceware.org/binutils
@ -611,6 +611,10 @@ Patch96: binutils-undefined-unversioned-symbols.patch
# Lifetime: Fixed in 2.35
Patch97: binutils-plugin-error.patch
# Purpose: Don't set version info on unversioned symbols.
# Lifetime: Fixed in 2.37
Patch98: binutils-verdef.patch
#----------------------------------------------------------------------------
Provides: bundled(libiberty)
@ -845,6 +849,7 @@ using libelf instead of BFD.
%patch95 -p1
%patch96 -p1
%patch97 -p1
%patch98 -p1
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
# FIXME - this is no longer true. Maybe try reinstating autotool use ?
@ -1294,6 +1299,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Mon Mar 07 2022 Nick Clifton <nickc@redhat.com> - 2.30-114
- DO not set version info on unversion symbols. (#2055179)
* Wed Jan 19 2022 Nick Clifton <nickc@redhat.com> - 2.30-113
- When searching for plugins, do not complain if incompatible ones are found. (#2039117)