From b97225ea487eb501cadb17a6cbc9d1844179e07e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 30 Jul 2018 11:42:41 +0100 Subject: [PATCH] Move the .gnu.build.attributes section to after the .comment section. --- binutils-merge-attribute-sections.patch | 19 ++++++++++--------- binutils.spec | 5 ++++- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/binutils-merge-attribute-sections.patch b/binutils-merge-attribute-sections.patch index 5479833..5dcd5e4 100644 --- a/binutils-merge-attribute-sections.patch +++ b/binutils-merge-attribute-sections.patch @@ -10,13 +10,14 @@ diff -rup binutils.orig/gold/layout.cc binutils-2.31.1/gold/layout.cc // Mapping for ".text" section prefixes with -z,keep-text-section-prefix. diff -rup binutils.orig/ld/scripttempl/elf.sc binutils-2.31.1/ld/scripttempl/elf.sc ---- binutils.orig/ld/scripttempl/elf.sc 2018-07-27 11:49:16.418925906 +0100 -+++ binutils-2.31.1/ld/scripttempl/elf.sc 2018-07-27 11:49:44.991613567 +0100 -@@ -564,6 +564,7 @@ cat < - 2.31.1-8 +- Move the .gnu.build.attributes section to after the .comment section. + * Fri Jul 27 2018 Nick Clifton - 2.31.1-7 - Fix a thinko in the merge patch.