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

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

Make the mips32 loader machine-neutral, not preferring msim.

  • Allow load address it be in both KSEG0 and KSEG1
  • 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 . = 0x80004000;
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.