source:
mainline/boot/arch/mips32/_link.ld.in@
c7c6afd
| Last change on this file since c7c6afd was c89ae25, checked in by , 2 years ago | |
|---|---|
|
|
| File size: 664 bytes | |
| Line | |
|---|---|
| 1 | ENTRY(start) |
| 2 | |
| 3 | SECTIONS { |
| 4 | #if defined(MACHINE_msim) |
| 5 | . = 0xbfc00000; |
| 6 | #elif defined(MACHINE_lmalta) || defined(MACHINE_bmalta) |
| 7 | . = 0x80103000; |
| 8 | #endif |
| 9 | .text : { |
| 10 | loader_start = .; |
| 11 | KEEP(*(BOOTSTRAP)); |
| 12 | *(.text .text.*); |
| 13 | } |
| 14 | .data : { |
| 15 | *(.data .data.*); /* initialized data */ |
| 16 | *(.rodata .rodata.*); |
| 17 | *(.sdata .sdata.*); |
| 18 | *(.reginfo); |
| 19 | *(.sbss .sbss.*); |
| 20 | *(.scommon .scommon.*); |
| 21 | *(.bss .bss.*); /* uninitialized static variables */ |
| 22 | *(COMMON); /* global variables */ |
| 23 | loader_end = .; |
| 24 | payload_start = .; |
| 25 | KEEP(*(.payload)); |
| 26 | payload_end = .; |
| 27 | } |
| 28 | |
| 29 | /DISCARD/ : { |
| 30 | *(.gnu.*); |
| 31 | *(.mdebug*); |
| 32 | *(.pdr); |
| 33 | *(.comment); |
| 34 | *(.note); |
| 35 | } |
| 36 | } |
Note:
See TracBrowser
for help on using the repository browser.
