diff options
author | Nick Clifton <nickc@redhat.com> | 2018-07-30 09:34:40 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-07-30 09:34:40 +0100 |
commit | 7d8a31665739412395f6dd370d2279acd322e78e (patch) | |
tree | d0cdcd79dfabc9fa991d749e48e3cb9efa0f198c /gold/layout.cc | |
parent | 906c6f2c54425f18eccb30e3ae54cbe620f0fe86 (diff) | |
download | fsf-binutils-gdb-7d8a31665739412395f6dd370d2279acd322e78e.zip fsf-binutils-gdb-7d8a31665739412395f6dd370d2279acd322e78e.tar.gz fsf-binutils-gdb-7d8a31665739412395f6dd370d2279acd322e78e.tar.bz2 |
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.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r-- | gold/layout.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/layout.cc b/gold/layout.cc index 0df7ed3..66162a2 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. |