mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
Put .init/.fini in correct places.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Tue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
|
* scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section
|
||||||
|
next to .text. Put _etext after .text, .init, .fini, and
|
||||||
|
.rodata{,2} sections.
|
||||||
|
|
||||||
Tue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com>
|
Tue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.
|
* ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.
|
||||||
|
@ -67,7 +67,6 @@ SECTIONS
|
|||||||
.rela.sbss ${RELOCATING-0} : { *(.rela.sbss2) }
|
.rela.sbss ${RELOCATING-0} : { *(.rela.sbss2) }
|
||||||
.rela.sdata2 ${RELOCATING-0} : { *(.rela.sdata2) }
|
.rela.sdata2 ${RELOCATING-0} : { *(.rela.sdata2) }
|
||||||
.rela.sbss2 ${RELOCATING-0} : { *(.rela.sbss2) }
|
.rela.sbss2 ${RELOCATING-0} : { *(.rela.sbss2) }
|
||||||
.init ${RELOCATING-0} : { *(.init) } =${NOP-0}
|
|
||||||
${DATA_PLT-${PLT}}
|
${DATA_PLT-${PLT}}
|
||||||
.text ${RELOCATING-0} :
|
.text ${RELOCATING-0} :
|
||||||
{
|
{
|
||||||
@ -76,11 +75,12 @@ SECTIONS
|
|||||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||||
*(.gnu.warning)
|
*(.gnu.warning)
|
||||||
} =${NOP-0}
|
} =${NOP-0}
|
||||||
${RELOCATING+_etext = .;}
|
.init ${RELOCATING-0} : { *(.init) } =${NOP-0}
|
||||||
${RELOCATING+PROVIDE (etext = .);}
|
.fini ${RELOCATING-0} : { *(.fini) } =${NOP-0}
|
||||||
.fini ${RELOCATING-0} : { *(.fini) } =${NOP-0}
|
|
||||||
.rodata ${RELOCATING-0} : { *(.rodata) }
|
.rodata ${RELOCATING-0} : { *(.rodata) }
|
||||||
.rodata1 ${RELOCATING-0} : { *(.rodata1) }
|
.rodata1 ${RELOCATING-0} : { *(.rodata1) }
|
||||||
|
${RELOCATING+_etext = .;}
|
||||||
|
${RELOCATING+PROVIDE (etext = .);}
|
||||||
${CREATE_SHLIB-${SDATA2}}
|
${CREATE_SHLIB-${SDATA2}}
|
||||||
${CREATE_SHLIB-${SBSS2}}
|
${CREATE_SHLIB-${SBSS2}}
|
||||||
${RELOCATING+${OTHER_READONLY_SECTIONS}}
|
${RELOCATING+${OTHER_READONLY_SECTIONS}}
|
||||||
|
Reference in New Issue
Block a user