Root/xbboot/target-echokernel/target.ld

1OUTPUT_ARCH(mips)
2ENTRY(_start)
3MEMORY
4{
5    ram : ORIGIN = 0x80000000 , LENGTH = 3M
6}
7
8SECTIONS
9{
10    . = ALIGN(4);
11    .text : { *(.text*) } > ram
12
13    . = ALIGN(4);
14    .rodata : { *(.rodata*) } > ram
15
16    . = ALIGN(4);
17    .sdata : { *(.sdata*) } > ram
18
19    . = ALIGN(4);
20    .data : { *(.data*) *(.scommon*) *(.reginfo*) } > ram
21
22    _gp = ALIGN(16);
23
24    .got : { *(.got*) } > ram
25    _got_end = ABSOLUTE(.);
26
27    . = ALIGN(4);
28    .sbss : { *(.sbss*) } > ram
29    .bss : { *(.bss*) } > ram
30    . = ALIGN (4);
31}
32

Archive Download this file



interactive