Commit 960b82c3 authored by Max Filippov's avatar Max Filippov

xtensa: clean up xtensa-specific property sections

xtensa-specific property sections may be section-specific. They should
be collected in the order of appearance. .gnu.linkonce.prop.* input
sections should be collected into the .xt.prop output section.
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 1026ded6
...@@ -298,22 +298,11 @@ SECTIONS ...@@ -298,22 +298,11 @@ SECTIONS
_end = .; _end = .;
.xt.lit : { *(.xt.lit) }
.xt.prop : { *(.xt.prop) }
DWARF_DEBUG DWARF_DEBUG
.xt.insn 0 : .xt.prop 0 : { KEEP(*(.xt.prop .xt.prop.* .gnu.linkonce.prop.*)) }
{ .xt.insn 0 : { KEEP(*(.xt.insn .xt.insn.* .gnu.linkonce.x*)) }
*(.xt.insn) .xt.lit 0 : { KEEP(*(.xt.lit .xt.lit.* .gnu.linkonce.p*)) }
*(.gnu.linkonce.x*)
}
.xt.lit 0 :
{
*(.xt.lit)
*(.gnu.linkonce.p*)
}
/* Sections to be discarded */ /* Sections to be discarded */
DISCARDS DISCARDS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment