Do not set version info on unversion symbols. Resolves: RHEL-22601
This commit is contained in:
parent
ab3efab52a
commit
3e1f16cb9d
|
@ -0,0 +1,2 @@
|
|||
2dd8d1ce34dc7b1cb2073123e30c4901221835b0 binutils-2.35.2.tar.xz
|
||||
713b4e570b46156c1d5172c8eba1bec6ac92d8fe binutils-2.19.50.0.1-output-format.sed
|
|
@ -0,0 +1,12 @@
|
|||
--- binutils.orig/bfd/elflink.c 2024-01-25 11:04:09.991925976 +0000
|
||||
+++ binutils-2.35.2/bfd/elflink.c 2024-01-25 11:04:18.164921403 +0000
|
||||
@@ -4913,7 +4913,8 @@ elf_link_add_object_symbols (bfd *abfd,
|
||||
|| 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];
|
|
@ -2,7 +2,7 @@
|
|||
Summary: A GNU collection of binary utilities
|
||||
Name: binutils%{?_with_debug:-debug}
|
||||
Version: 2.35.2
|
||||
Release: 42%{?dist}
|
||||
Release: 43%{?dist}
|
||||
License: GPLv3+
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
|
@ -440,6 +440,11 @@ Patch65: binutils.gold.dwarf-5-support.patch
|
|||
# Purpose: Add support for the AArch64 'flagm' extenstion to the assembler.
|
||||
# Lifetime: 2.36
|
||||
Patch66: binutils-aarch64-flagm.patch
|
||||
|
||||
# Purpose: Don't set version info on unversioned symbols.
|
||||
# Lifetime: Fixed in 2.38
|
||||
Patch67: binutils-verdef.patch
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
Provides: bundled(libiberty)
|
||||
|
@ -1280,6 +1285,9 @@ exit 0
|
|||
|
||||
#----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Thu Jan 25 2024 Nick Clifton <nickc@redhat.com> - 2.35.2-43
|
||||
- Do not set version info on unversion symbols. (RHEL-22601)
|
||||
|
||||
* Wed Apr 26 2023 Nick Clifton <nickc@redhat.com> - 2.35.2-42
|
||||
- Add support for the AArch64 'flagm' extenstion to the assembler. (#2189304)
|
||||
|
||||
|
|
Loading…
Reference in New Issue