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

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 2a37b9f 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
RevLine 
[656b789]1ENTRY(start)
2
[960f8476]3SECTIONS {
[295732b]4#if defined(MACHINE_msim)
[4872160]5 . = 0xbfc00000;
[295732b]6#elif defined(MACHINE_lmalta) || defined(MACHINE_bmalta)
[14febed9]7 . = 0x80103000;
[295732b]8#endif
[4872160]9 .text : {
[e19d667]10 *(BOOTSTRAP);
11 *(.text);
[4872160]12 }
13 .data : {
14 *(.data); /* initialized data */
[e19d667]15 *(.rodata);
16 *(.rodata.*);
17 *(.sdata);
[4872160]18 *(.reginfo);
[e19d667]19 *(.sbss);
20 *(.scommon);
[656b789]21 *(.bss); /* uninitialized static variables */
22 *(COMMON); /* global variables */
[960f8476]23[[COMPONENTS]]
24 }
[4872160]25
26 /DISCARD/ : {
27 *(.gnu.*);
28 *(.mdebug*);
29 *(.pdr);
30 *(.comment);
31 *(.note);
32 }
[960f8476]33}
Note: See TracBrowser for help on using the repository browser.