From 7d8a31665739412395f6dd370d2279acd322e78e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 30 Jul 2018 09:34:40 +0100 Subject: Combine ,gnu.build.attributes.* sections into one .gnu.build.attributes section during linking. gold * layout.cc (section_name_mapping): Add an entry for .gnu.build.attributes. ld * scripttempl/elf.sc: Place .gnu.build.attributes sections with other read-only sections. --- gold/ChangeLog | 5 +++++ gold/layout.cc | 1 + 2 files changed, 6 insertions(+) (limited to 'gold') diff --git a/gold/ChangeLog b/gold/ChangeLog index 93efd29d1cf..d5cc02b14bd 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2018-07-30 Nick Clifton + + * layout.cc (section_name_mapping): Add an entry for + .gnu.build.attributes. + 2018-07-18 Nick Clifton * po/fr.po: Updated French translation. diff --git a/gold/layout.cc b/gold/layout.cc index 0df7ed37f02..66162a253d4 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -5429,6 +5429,7 @@ const Layout::Section_name_mapping Layout::section_name_mapping[] = MAPPING_INIT(".gnu.linkonce.armextab.", ".ARM.extab"), MAPPING_INIT(".ARM.exidx", ".ARM.exidx"), MAPPING_INIT(".gnu.linkonce.armexidx.", ".ARM.exidx"), + MAPPING_INIT(".gnu.build.attributes.", ".gnu.build.attributes"), }; // Mapping for ".text" section prefixes with -z,keep-text-section-prefix. -- cgit v1.2.3-65-gdbad