2008-01-25 15:05:55 +00:00
|
|
|
/*#OUTPUT_FORMAT(elf32-us-cris) */
|
|
|
|
OUTPUT_ARCH (crisv32)
|
|
|
|
/* Now that NAND support has been stripped, this file could be simplified,
|
|
|
|
* but it doesn't do any harm on the other hand so why bother. */
|
|
|
|
|
2005-07-27 18:44:44 +00:00
|
|
|
MEMORY
|
|
|
|
{
|
2008-01-25 15:05:55 +00:00
|
|
|
bootblk : ORIGIN = 0x38000000,
|
|
|
|
LENGTH = 0x00004000
|
|
|
|
intmem : ORIGIN = 0x38004000,
|
|
|
|
LENGTH = 0x00005000
|
2005-07-27 18:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
2008-01-25 15:05:55 +00:00
|
|
|
_stext = . ;
|
2005-07-27 18:44:44 +00:00
|
|
|
*(.text)
|
2008-01-25 15:05:55 +00:00
|
|
|
*(.init.text)
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata.*)
|
|
|
|
_etext = . ;
|
|
|
|
} > bootblk
|
2005-07-27 18:44:44 +00:00
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
2008-01-25 15:05:55 +00:00
|
|
|
_edata = . ;
|
|
|
|
} > bootblk
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
_bss = . ;
|
|
|
|
*(.bss)
|
|
|
|
_end = ALIGN( 0x10 ) ;
|
|
|
|
} > intmem
|
|
|
|
|
|
|
|
/* Get rid of stuff from EXPORT_SYMBOL(foo). */
|
|
|
|
/DISCARD/ :
|
|
|
|
{
|
|
|
|
*(__ksymtab_strings)
|
|
|
|
*(__ksymtab)
|
|
|
|
}
|
2005-07-27 18:44:44 +00:00
|
|
|
}
|