mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-30 06:38:20 +08:00
2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds, startup/linkcmds.csb637: Move .init section from the front of the executable so the start label has the first instruction in the executable.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* startup/linkcmds, startup/linkcmds.csb637: Move .init section from
|
||||
the front of the executable so the start label has the first
|
||||
instruction in the executable.
|
||||
|
||||
2009-06-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am, preinstall.am: Make an RTEMS specific umon.h wrapper
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Cogent CSB337 Linker script
|
||||
*
|
||||
* Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
|
||||
*
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
*
|
||||
@@ -58,7 +58,7 @@ SECTIONS
|
||||
|
||||
/* 256 byte aligned rx buffer header array */
|
||||
. = ALIGN (0x100);
|
||||
at91rm9200_emac_rxbuf_hdrs = .;
|
||||
at91rm9200_emac_rxbuf_hdrs = .;
|
||||
|
||||
/* 1 transmit buffer, 0x600 size */
|
||||
. += (0x100);
|
||||
@@ -71,11 +71,6 @@ SECTIONS
|
||||
|
||||
} > sram
|
||||
|
||||
.init :
|
||||
{
|
||||
KEEP (*(.init))
|
||||
} > sdram /*=0*/
|
||||
|
||||
.text :
|
||||
{
|
||||
_text_start = .;
|
||||
@@ -99,7 +94,7 @@ SECTIONS
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
|
||||
/* I think these come from the ld docs: */
|
||||
/* I think these come from the ld docs: */
|
||||
___CTOR_LIST__ = .;
|
||||
LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2)
|
||||
*(.ctors)
|
||||
@@ -115,6 +110,11 @@ SECTIONS
|
||||
PROVIDE (etext = .);
|
||||
} > sdram
|
||||
|
||||
.init :
|
||||
{
|
||||
KEEP (*(.init))
|
||||
} > sdram /*=0*/
|
||||
|
||||
.fini :
|
||||
{
|
||||
KEEP (*(.fini))
|
||||
|
||||
@@ -71,11 +71,6 @@ SECTIONS
|
||||
|
||||
} > sram
|
||||
|
||||
.init :
|
||||
{
|
||||
KEEP (*(.init))
|
||||
} > sdram /*=0*/
|
||||
|
||||
.text :
|
||||
{
|
||||
_text_start = .;
|
||||
@@ -115,6 +110,11 @@ SECTIONS
|
||||
PROVIDE (etext = .);
|
||||
} > sdram
|
||||
|
||||
.init :
|
||||
{
|
||||
KEEP (*(.init))
|
||||
} > sdram /*=0*/
|
||||
|
||||
.fini :
|
||||
{
|
||||
KEEP (*(.fini))
|
||||
|
||||
Reference in New Issue
Block a user