Root/mips/nanonote/stage1.ld

1OUTPUT_ARCH(mips)
2ENTRY(__start)
3MEMORY
4{
5    ram : ORIGIN = 0x80003000 , LENGTH = 0x800
6}
7
8SECTIONS
9{
10    /* Start with the part containing the interrupt and exception code. */
11    .text : { mips/board/mips_board_stage1_elf-stage1.o(.text*) } > ram
12    .text : { *(.text*) } > ram
13
14    .rodata : { *(.rodata*) *(.note*) } > ram
15    .sdata : { *(.sdata*) } > ram
16    .data : { *(.data*) *(.scommon*) *(.reginfo*) } > ram
17
18    _gp = ABSOLUTE(.);
19
20    .got : { *(.got*) } > ram
21    .sbss : { *(.sbss*) } > ram
22    .bss : { *(.bss*) } > ram
23}
24

Archive Download this file

Branches:
master



interactive