Correct previous misapplied patch.
This commit is contained in:
parent
6c86c54107
commit
4ab10e93d6
|
@ -124,6 +124,8 @@ SECTIONS
|
||||||
.gnu.version_d ${RELOCATING-0} : { *(.gnu.version_d) }
|
.gnu.version_d ${RELOCATING-0} : { *(.gnu.version_d) }
|
||||||
.gnu.version_r ${RELOCATING-0} : { *(.gnu.version_r) }
|
.gnu.version_r ${RELOCATING-0} : { *(.gnu.version_r) }
|
||||||
|
|
||||||
|
.rel.init ${RELOCATING-0} : { *(.rel.init) }
|
||||||
|
.rela.init ${RELOCATING-0} : { *(.rela.init) }
|
||||||
.rel.text ${RELOCATING-0} :
|
.rel.text ${RELOCATING-0} :
|
||||||
{
|
{
|
||||||
*(.rel.text)
|
*(.rel.text)
|
||||||
|
@ -136,8 +138,6 @@ SECTIONS
|
||||||
${RELOCATING+*(.rela.text.*)}
|
${RELOCATING+*(.rela.text.*)}
|
||||||
${RELOCATING+*(.rela.gnu.linkonce.t*)}
|
${RELOCATING+*(.rela.gnu.linkonce.t*)}
|
||||||
}
|
}
|
||||||
.rel.init ${RELOCATING-0} : { *(.rel.init) }
|
|
||||||
.rela.init ${RELOCATING-0} : { *(.rela.init) }
|
|
||||||
.rel.fini ${RELOCATING-0} : { *(.rel.fini) }
|
.rel.fini ${RELOCATING-0} : { *(.rel.fini) }
|
||||||
.rela.fini ${RELOCATING-0} : { *(.rela.fini) }
|
.rela.fini ${RELOCATING-0} : { *(.rela.fini) }
|
||||||
.rel.rodata ${RELOCATING-0} :
|
.rel.rodata ${RELOCATING-0} :
|
||||||
|
@ -196,9 +196,14 @@ SECTIONS
|
||||||
.rela.plt ${RELOCATING-0} : { *(.rela.plt) }
|
.rela.plt ${RELOCATING-0} : { *(.rela.plt) }
|
||||||
${OTHER_PLT_RELOC_SECTIONS}
|
${OTHER_PLT_RELOC_SECTIONS}
|
||||||
|
|
||||||
|
.init ${RELOCATING-0} :
|
||||||
|
{
|
||||||
|
${INIT_START}
|
||||||
|
KEEP (*(.init))
|
||||||
|
${INIT_END}
|
||||||
|
} =${NOP-0}
|
||||||
|
|
||||||
${DATA_PLT-${BSS_PLT-${PLT}}}
|
${DATA_PLT-${BSS_PLT-${PLT}}}
|
||||||
/* .text should be before .init and so on, so that -Ttext=0x1234
|
|
||||||
will work. */
|
|
||||||
.text ${RELOCATING-0} :
|
.text ${RELOCATING-0} :
|
||||||
{
|
{
|
||||||
${RELOCATING+${TEXT_START_SYMBOLS}}
|
${RELOCATING+${TEXT_START_SYMBOLS}}
|
||||||
|
@ -210,12 +215,6 @@ SECTIONS
|
||||||
${RELOCATING+*(.gnu.linkonce.t*)}
|
${RELOCATING+*(.gnu.linkonce.t*)}
|
||||||
${RELOCATING+${OTHER_TEXT_SECTIONS}}
|
${RELOCATING+${OTHER_TEXT_SECTIONS}}
|
||||||
} =${NOP-0}
|
} =${NOP-0}
|
||||||
.init ${RELOCATING-0} :
|
|
||||||
{
|
|
||||||
${INIT_START}
|
|
||||||
KEEP (*(.init))
|
|
||||||
${INIT_END}
|
|
||||||
} =${NOP-0}
|
|
||||||
.fini ${RELOCATING-0} :
|
.fini ${RELOCATING-0} :
|
||||||
{
|
{
|
||||||
${FINI_START}
|
${FINI_START}
|
||||||
|
|
Loading…
Reference in New Issue