forked from Imagelibrary/rtems
2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov>
* startup/linkcmds: Shifted .init, .fini to match better with crtbegin/crtend linking.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov>
|
||||||
|
|
||||||
|
* startup/linkcmds: Shifted .init, .fini to match better with
|
||||||
|
crtbegin/crtend linking.
|
||||||
|
|
||||||
2002-12-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2002-12-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* bootloader/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
* bootloader/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ SECTIONS
|
|||||||
.rela.sbss : { *(.rela.sbss) } > CODE
|
.rela.sbss : { *(.rela.sbss) } > CODE
|
||||||
.rela.sdata2 : { *(.rela.sdata2) } > CODE
|
.rela.sdata2 : { *(.rela.sdata2) } > CODE
|
||||||
.rela.sbss2 : { *(.rela.sbss2) } > CODE
|
.rela.sbss2 : { *(.rela.sbss2) } > CODE
|
||||||
|
|
||||||
|
.init : { _init = .; KEEP(*(.init)) } > CODE
|
||||||
|
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
*(.text)
|
*(.text)
|
||||||
@@ -59,14 +62,15 @@ SECTIONS
|
|||||||
*(.gnu.warning)
|
*(.gnu.warning)
|
||||||
*(.gnu.linkonce.t*)
|
*(.gnu.linkonce.t*)
|
||||||
} > CODE
|
} > CODE
|
||||||
.init : { _init = .; KEEP(*(.init)) } >CODE
|
|
||||||
.fini : { _fini = .; KEEP(*(.fini)) } >CODE
|
.fini : { _fini = .; KEEP(*(.fini)) } > CODE
|
||||||
.rodata : { *(.rodata*) *(.gnu.linkonce.r*) } > CODE
|
|
||||||
.rodata1 : { *(.rodata1) } > CODE
|
|
||||||
.eh_frame : { *.(eh_frame) } >CODE
|
|
||||||
_etext = .;
|
_etext = .;
|
||||||
PROVIDE (etext = .);
|
PROVIDE (etext = .);
|
||||||
|
|
||||||
|
.rodata : { *(.rodata*) *(.gnu.linkonce.r*) } > CODE
|
||||||
|
.rodata1 : { *(.rodata1) } > CODE
|
||||||
|
|
||||||
/* Adjust the address for the data segment. We want to adjust up to
|
/* Adjust the address for the data segment. We want to adjust up to
|
||||||
the same address within the page on the next page up. */
|
the same address within the page on the next page up. */
|
||||||
. = ALIGN(0x10000) + (. & (0x10000 - 1));
|
. = ALIGN(0x10000) + (. & (0x10000 - 1));
|
||||||
@@ -87,6 +91,8 @@ SECTIONS
|
|||||||
|
|
||||||
.sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >CODE
|
.sdata2 : { *(.sdata2) *(.gnu.linkonce.s2.*) } >CODE
|
||||||
.sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >CODE
|
.sbss2 : { *(.sbss2) *(.gnu.linkonce.sb2.*) } >CODE
|
||||||
|
.eh_frame : { *.(eh_frame) } >CODE
|
||||||
|
|
||||||
/* Adjust the address for the data segment. We want to adjust up to
|
/* Adjust the address for the data segment. We want to adjust up to
|
||||||
the same address within the page on the next page up. It would
|
the same address within the page on the next page up. It would
|
||||||
be more correct to do this:
|
be more correct to do this:
|
||||||
@@ -113,23 +119,12 @@ SECTIONS
|
|||||||
.gcc_except_table : { *(.gcc_except_table) } > CODE
|
.gcc_except_table : { *(.gcc_except_table) } > CODE
|
||||||
PROVIDE (__EXCEPT_END__ = .);
|
PROVIDE (__EXCEPT_END__ = .);
|
||||||
.got1 : { *(.got1) } > CODE
|
.got1 : { *(.got1) } > CODE
|
||||||
.dynamic : { *(.dynamic) } > CODE
|
|
||||||
/* Put .ctors and .dtors next to the .got2 section, so that the pointers
|
/* Put .ctors and .dtors next to the .got2 section, so that the pointers
|
||||||
get relocated with -mrelocatable. Also put in the .fixup pointers.
|
get relocated with -mrelocatable. Also put in the .fixup pointers.
|
||||||
The current compiler no longer needs this, but keep it around for 2.7.2 */
|
The current compiler no longer needs this, but keep it around for 2.7.2 */
|
||||||
PROVIDE (_GOT2_START_ = .);
|
PROVIDE (_GOT2_START_ = .);
|
||||||
.got2 : { *(.got2) } > CODE
|
.got2 : { *(.got2) } > CODE
|
||||||
|
.dynamic : { *(.dynamic) } > CODE
|
||||||
|
|
||||||
/* removed 11/14, gregm
|
|
||||||
PROVIDE (__CTOR_LIST__ = .);
|
|
||||||
.ctors : { *(.ctors) } > CODE
|
|
||||||
PROVIDE (__CTOR_END__ = .);
|
|
||||||
PROVIDE (__DTOR_LIST__ = .);
|
|
||||||
.dtors : { *(.dtors) } > CODE
|
|
||||||
PROVIDE (__DTOR_END__ = .);
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
.ctors :
|
.ctors :
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user