Fix thinko in the placement of the .gnu.build.attributes section.

* scripttempl/elf.sc: Move the .gnu.build.attributes section to
	after the .comment section.
This commit is contained in:
Nick Clifton 2018-07-30 12:35:37 +01:00
parent b8891f8d62
commit 4570c3d98c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-07-30 Nick Clifton <nickc@redhat.com>
* scripttempl/elf.sc: Move the .gnu.build.attributes section to
after the .comment section.
2018-07-30 Andrew Jenner <andrew@codesourcery.com>
* Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.

View File

@ -564,7 +564,6 @@ cat <<EOF
${CREATE_SHLIB-${SDATA2}}
${CREATE_SHLIB-${SBSS2}}
${OTHER_READONLY_SECTIONS}
.gnu.build.attributes : { *(.gnu.build.attributes .gnu.build.attributes.*) }
.eh_frame_hdr : { *(.eh_frame_hdr) ${RELOCATING+*(.eh_frame_entry .eh_frame_entry.*)} }
.eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) ${RELOCATING+*(.eh_frame.*)} }
.gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { *(.gcc_except_table
@ -693,6 +692,8 @@ cat <<EOF
.comment 0 : { *(.comment) }
.gnu.build.attributes : { *(.gnu.build.attributes .gnu.build.attributes.*) }
EOF
. $srcdir/scripttempl/DWARF.sc