From 82b0d56f5bab337702107c8990fd95e84a2938db Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Jul 24 2018 08:52:27 +0000 Subject: Extend gold linker patch to cover subsections of .gnu.build.attributes. --- diff --git a/binutils-gold-ignore-discarded-note-relocs.patch b/binutils-gold-ignore-discarded-note-relocs.patch index 9f7e435..b354fa4 100644 --- a/binutils-gold-ignore-discarded-note-relocs.patch +++ b/binutils-gold-ignore-discarded-note-relocs.patch @@ -4,7 +4,7 @@ if (Layout::is_debug_info_section(name)) return CB_PRETEND; if (strcmp(name, ".eh_frame") == 0 -+ || strcmp(name, ".gnu.build.attributes") == 0 // FIXME: We should really be checking the section type for ST_NOTE... ++ || strncmp(name, ".gnu.build.attributes", 21) == 0 // FIXME: We should really be checking the section type for ST_NOTE... || strcmp(name, ".gcc_except_table") == 0) return CB_IGNORE; return CB_ERROR; diff --git a/binutils.spec b/binutils.spec index 985ca73..13c5cf7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -69,7 +69,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.31.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -711,10 +711,13 @@ exit 0 #---------------------------------------------------------------------------- %changelog -* Thu Jul 19 2018 Fedora Release Engineering - 2.31.2-1 +* Tue Jul 24 2018 Nick Clifton - 2.31.3-1 +- Extend gold linker patch to cover subsections of .gnu.build.attributes. + +* Thu Jul 19 2018 Nick Clifton - 2.31.2-1 - Improve partial relro support for the s/390. -* Thu Jul 19 2018 Fedora Release Engineering - 2.31.1-1 +* Thu Jul 19 2018 Nick Clifton - 2.31.1-1 - Rebase to official 2.31.1 GNU Binutils release. - Retire: binutils-2.22.52.0.1-export-demangle.h.patch - Retire: binutils-2.30-allow_R_AARCH64-symbols.patch