forked from Minki/linux
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: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
1026ded693
commit
960b82c383
@ -298,22 +298,11 @@ SECTIONS
|
||||
|
||||
_end = .;
|
||||
|
||||
.xt.lit : { *(.xt.lit) }
|
||||
.xt.prop : { *(.xt.prop) }
|
||||
|
||||
DWARF_DEBUG
|
||||
|
||||
.xt.insn 0 :
|
||||
{
|
||||
*(.xt.insn)
|
||||
*(.gnu.linkonce.x*)
|
||||
}
|
||||
|
||||
.xt.lit 0 :
|
||||
{
|
||||
*(.xt.lit)
|
||||
*(.gnu.linkonce.p*)
|
||||
}
|
||||
.xt.prop 0 : { KEEP(*(.xt.prop .xt.prop.* .gnu.linkonce.prop.*)) }
|
||||
.xt.insn 0 : { KEEP(*(.xt.insn .xt.insn.* .gnu.linkonce.x*)) }
|
||||
.xt.lit 0 : { KEEP(*(.xt.lit .xt.lit.* .gnu.linkonce.p*)) }
|
||||
|
||||
/* Sections to be discarded */
|
||||
DISCARDS
|
||||
|
Loading…
Reference in New Issue
Block a user