2009-09-27 11:23:33 +03:00
|
|
|
OUTPUT_ARCH(mips)
|
|
|
|
ENTRY(__start)
|
|
|
|
MEMORY
|
|
|
|
{
|
2012-09-26 20:03:36 +03:00
|
|
|
ram : ORIGIN = 0x80003000 , LENGTH = 0x800
|
2009-09-27 11:23:33 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2015-11-19 08:06:57 +02:00
|
|
|
/* Start with the part containing the interrupt and exception code. */
|
|
|
|
.text : { mips/board/mips_board_stage1_elf-stage1.o(.text*) } > ram
|
2009-09-27 11:23:33 +03:00
|
|
|
.text : { *(.text*) } > ram
|
|
|
|
|
2012-09-26 23:20:38 +03:00
|
|
|
.rodata : { *(.rodata*) *(.note*) } > ram
|
2009-09-27 11:23:33 +03:00
|
|
|
.sdata : { *(.sdata*) } > ram
|
|
|
|
.data : { *(.data*) *(.scommon*) *(.reginfo*) } > ram
|
|
|
|
|
2015-11-19 08:06:57 +02:00
|
|
|
_gp = ABSOLUTE(.);
|
2009-09-27 11:23:33 +03:00
|
|
|
|
|
|
|
.got : { *(.got*) } > ram
|
|
|
|
.sbss : { *(.sbss*) } > ram
|
|
|
|
.bss : { *(.bss*) } > ram
|
|
|
|
}
|