From 07a2a5840da6e454fda5de88f904a532f8cd8274 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 2 Dec 2019 15:58:13 +0000 Subject: [PATCH] Re-enable strip merging build notes. Resolves: #1777760 --- binutils-improved-note-merging.patch | 20 -------------------- binutils.spec | 5 ++++- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/binutils-improved-note-merging.patch b/binutils-improved-note-merging.patch index 885ed16..2f7b30c 100644 --- a/binutils-improved-note-merging.patch +++ b/binutils-improved-note-merging.patch @@ -1874,26 +1874,6 @@ diff -rupN binutils.orig/binutils/testsuite/binutils-all/objcopy.exp binutils-2. } free (pnotes); ---- binutils.orig/binutils/objcopy.c 2019-11-06 13:37:33.952297613 +0000 -+++ binutils-2.33.1/binutils/objcopy.c 2019-11-06 13:38:23.751933043 +0000 -@@ -4660,7 +4660,7 @@ strip_main (int argc, char *argv[]) - strip_usage (stderr, 1); - } - } -- -+#if 0 - /* If the user has not expressly chosen to merge/not-merge ELF notes - then enable the merging unless we are stripping debug or dwo info. */ - if (! merge_notes_set -@@ -4670,7 +4670,7 @@ strip_main (int argc, char *argv[]) - || strip_symbols == STRIP_NONDEBUG - || strip_symbols == STRIP_NONDWO)) - merge_notes = TRUE; -- -+#endif - if (formats_info) - { - display_info (); --- binutils.orig/binutils/objcopy.c 2019-11-06 21:57:19.772862679 +0000 +++ binutils-2.33.1/binutils/objcopy.c 2019-11-06 22:00:00.206626724 +0000 @@ -2869,6 +2869,11 @@ copy_object (bfd *ibfd, bfd *obfd, const diff --git a/binutils.spec b/binutils.spec index f850cf6..7b0b7bf 100644 --- a/binutils.spec +++ b/binutils.spec @@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.33.1 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -777,6 +777,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Mon Dec 02 2019 Nick Clifton - 2.33.1-10 +- Re-enable strip merging build notes. (#1777760) + * Mon Nov 25 2019 Nick Clifton - 2.33.1-9 - Remove spurious code left in gold-mimatched-section-flags patch. (#1775750)