2011-11-26 19:04:55 +00:00
|
|
|
#include <config.h>
|
|
|
|
OUTPUT_ARCH(or32)
|
|
|
|
__DYNAMIC = 0;
|
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
vectors : ORIGIN = 0, LENGTH = 0x2000
|
|
|
|
ram : ORIGIN = CONFIG_SYS_MONITOR_BASE,
|
|
|
|
LENGTH = CONFIG_SYS_MONITOR_LEN
|
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.vectors :
|
|
|
|
{
|
|
|
|
*(.vectors)
|
|
|
|
} > vectors
|
|
|
|
|
|
|
|
__start = .;
|
|
|
|
.text : AT (__start) {
|
|
|
|
_stext = .;
|
|
|
|
*(.text)
|
|
|
|
_etext = .;
|
|
|
|
*(.lit)
|
|
|
|
*(.shdata)
|
|
|
|
_endtext = .;
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
|
2012-10-12 10:27:03 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
2013-02-25 00:59:00 +00:00
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
2013-05-01 09:32:45 +00:00
|
|
|
} > ram
|
2012-10-12 10:27:03 +00:00
|
|
|
|
2011-11-26 19:04:55 +00:00
|
|
|
.rodata : {
|
|
|
|
*(.rodata);
|
|
|
|
*(.rodata.*)
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
.shbss :
|
|
|
|
{
|
|
|
|
*(.shbss)
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
.talias :
|
|
|
|
{
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
.data : {
|
|
|
|
sdata = .;
|
|
|
|
_sdata = .;
|
|
|
|
*(.data)
|
|
|
|
edata = .;
|
|
|
|
_edata = .;
|
|
|
|
} > ram
|
|
|
|
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
_bss_start = .;
|
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
|
|
|
_bss_end = .;
|
|
|
|
} > ram
|
|
|
|
__end = .;
|
|
|
|
|
|
|
|
/* No stack specification - done manually */
|
|
|
|
|
|
|
|
.stab 0 (NOLOAD) :
|
|
|
|
{
|
|
|
|
[ .stab ]
|
|
|
|
}
|
|
|
|
|
|
|
|
.stabstr 0 (NOLOAD) :
|
|
|
|
{
|
|
|
|
[ .stabstr ]
|
|
|
|
}
|
|
|
|
}
|