Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/binutils.git#2b38102265afe76cbac04d1467bcc55af060fb65
This commit is contained in:
DistroBaker 2021-02-22 16:00:30 +00:00
parent b7b430ece0
commit 260df458e8
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,19 @@
--- binutils.orig/binutils/readelf.c 2021-02-22 10:44:20.142262864 +0000
+++ binutils-2.35.1/binutils/readelf.c 2021-02-22 10:45:25.646842120 +0000
@@ -19285,6 +19285,7 @@ print_gnu_build_attribute_description (E
if (is_open_attr)
{
+#if 0 /* Suppressed because these gaps are no longer significant. */
/* FIXME: Need to properly allow for section alignment.
16 is just the alignment used on x86_64. */
if (global_end > 0
@@ -19295,7 +19296,7 @@ print_gnu_build_attribute_description (E
&& same_section (filedata, start, global_end))
warn (_("Gap in build notes detected from %#lx to %#lx\n"),
global_end + 1, start - 1);
-
+#endif
printf (_(" Applies to region from %#lx"), start);
global_offset = start;

View File

@ -39,7 +39,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: binutils%{?name_cross}%{?_with_debug:-debug} Name: binutils%{?name_cross}%{?_with_debug:-debug}
Version: 2.35.1 Version: 2.35.1
Release: 36%{?dist} Release: 37%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -346,6 +346,10 @@ Patch37: binutils-s390-arch14-insns.patch
# Lifetime: Fixed in 2.37 # Lifetime: Fixed in 2.37
Patch38: binutils-ppc64le-note-merge.patch Patch38: binutils-ppc64le-note-merge.patch
# Purpose: Stop readelf from warning about gaps in build notes.
# Lifetime: Fixed in 2.37 ?
Patch39: binutils-readelf-no-warn-gaps.patch
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
Provides: bundled(libiberty) Provides: bundled(libiberty)
@ -931,6 +935,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Mon Feb 22 2021 Nick Clifton <nickc@redhat.com> - 2.35.1-37
- Stop readelf from warning about gaps in notes. (#1931356)
* Fri Feb 19 2021 Nick Clifton <nickc@redhat.com> - 2.35.1-36 * Fri Feb 19 2021 Nick Clifton <nickc@redhat.com> - 2.35.1-36
- Fix merging ppc64le notes. (#1928936) - Fix merging ppc64le notes. (#1928936)