[BACK]Return to rescue.ld CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / cris / arch-v32 / boot / rescue

File: [Development] / linux-2.6-xfs / arch / cris / arch-v32 / boot / rescue / rescue.ld (download)

Revision 1.2, Tue Feb 26 16:44:40 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +30 -7 lines

Merge up to 2.6.25-rc3
Merge of 2.6.x-xfs-melb:linux:30555a by kenmcd.

/*#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)
	}
}