2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/arch/cris/boot/rescue/rescue_v32.lds
Jesper Nilsson 66ab3a74c5 CRIS: Merge machine dependent boot/compressed and boot/rescue
Merge the machine dependent boot directories for v10 and v32.
This avoids some code duplication and eases the way for further
merging later on.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2009-04-21 11:44:57 +02:00

44 lines
698 B
Plaintext

/*#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. */
MEMORY
{
bootblk : ORIGIN = 0x38000000,
LENGTH = 0x00004000
intmem : ORIGIN = 0x38004000,
LENGTH = 0x00005000
}
SECTIONS
{
.text :
{
_stext = . ;
*(.text)
*(.init.text)
*(.rodata)
*(.rodata.*)
_etext = . ;
} > bootblk
.data :
{
*(.data)
_edata = . ;
} > bootblk
.bss :
{
_bss = . ;
*(.bss)
_end = ALIGN( 0x10 ) ;
} > intmem
/* Get rid of stuff from EXPORT_SYMBOL(foo). */
/DISCARD/ :
{
*(__ksymtab_strings)
*(__ksymtab)
}
}