source: mainline/boot/arch/mips32/_link.ld.in@ e330da6e

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since e330da6e was 14febed9, checked in by Jakub Jermar <jakub@…>, 13 years ago

Do not damage the YAMON image in SDRAM.

  • Change loader and kernel link addresses so that we do not overwrite the YAMON image in SDRAM.
  • Ban the YAMON SDRAM range of physical memory from allocations.
  • Property mode set to 100644
File size: 530 bytes
Line 
1ENTRY(start)
2
3SECTIONS {
4#if defined(MACHINE_msim)
5 . = 0xbfc00000;
6#elif defined(MACHINE_lmalta) || defined(MACHINE_bmalta)
7 . = 0x80103000;
8#endif
9 .text : {
10 *(BOOTSTRAP);
11 *(.text);
12 }
13 .data : {
14 *(.data); /* initialized data */
15 *(.rodata);
16 *(.rodata.*);
17 *(.sdata);
18 *(.reginfo);
19 *(.sbss);
20 *(.scommon);
21 *(.bss); /* uninitialized static variables */
22 *(COMMON); /* global variables */
23[[COMPONENTS]]
24 }
25
26 /DISCARD/ : {
27 *(.gnu.*);
28 *(.mdebug*);
29 *(.pdr);
30 *(.comment);
31 *(.note);
32 }
33}
Note: See TracBrowser for help on using the repository browser.