2009-08-28 00:07:35 +08:00
|
|
|
INCLUDE ../common/ldscript.common
|
2009-08-27 12:25:34 +08:00
|
|
|
|
2009-08-28 00:07:35 +08:00
|
|
|
ENTRY(flashstart)
|
2009-04-09 14:43:20 +08:00
|
|
|
SECTIONS
|
|
|
|
{
|
2009-08-27 12:25:34 +08:00
|
|
|
. = 0;
|
|
|
|
|
|
|
|
bootphase1 : {
|
|
|
|
*(.startup)
|
|
|
|
*(.bootphase1)
|
|
|
|
} >bootphase1
|
|
|
|
|
|
|
|
bootphase2 : {
|
|
|
|
__bootphase2_start__ = .;
|
|
|
|
*(.startphase2)
|
|
|
|
*(.text)
|
|
|
|
*(.glue_7)
|
2009-08-27 12:46:31 +08:00
|
|
|
*(.glue_7t)
|
2009-08-27 12:25:34 +08:00
|
|
|
*(.rodata)
|
|
|
|
*(.data)
|
|
|
|
. = ALIGN( 32 / 8 );
|
|
|
|
__bootphase2_end__ = .;
|
|
|
|
} >ram AT>bootphase2
|
|
|
|
|
|
|
|
.bss : {
|
|
|
|
__bss_start__ = .;
|
|
|
|
*(.bss)
|
|
|
|
} >ram
|
|
|
|
|
|
|
|
. = ALIGN( 32 / 8 );
|
2009-04-09 14:43:20 +08:00
|
|
|
__bss_end__ = .;
|
|
|
|
}
|