Compare commits

...

2 Commits

Author SHA1 Message Date
Nick Clifton 3e1f16cb9d Do not set version info on unversion symbols. Resolves: RHEL-22601 2024-01-26 01:17:40 +00:00
Miloš Prchlík ab3efab52a tests: make pesign optional requirement for kernel rebuild 2023-06-22 13:41:10 +02:00
4 changed files with 28 additions and 9 deletions

2
.binutils.metadata Normal file
View File

@ -0,0 +1,2 @@
2dd8d1ce34dc7b1cb2073123e30c4901221835b0 binutils-2.35.2.tar.xz
713b4e570b46156c1d5172c8eba1bec6ac92d8fe binutils-2.19.50.0.1-output-format.sed

12
binutils-verdef.patch Normal file
View File

@ -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];

View File

@ -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)

View File

@ -51,16 +51,13 @@ require:
- xmlto
- asciidoc
- net-tools
- pesign
duration: 20h
#adjust:
# - because: "C9S-specific requirements"
# when: distro == c9s
# require+:
# - ppl-devel
# - cloog-ppl-devel
# - gcc-java
adjust:
- because: "pesign is available for some architectures only"
when: distro == rhel and arch != ppc64le and arch != s390x
require+:
- pesign
# Dropping TCMS integration, these links should not be needed anymore.
# extra-summary: /tools/binutils/Sanity/rebuild-kernel-and-reboot