|
2
|
1 //=========================================================================== |
|
|
2 // |
|
|
3 // MLT linker script export |
|
|
4 // |
|
|
5 //=========================================================================== |
|
|
6 //####COPYRIGHTBEGIN#### |
|
|
7 // |
|
|
8 // ------------------------------------------- |
|
|
9 // The contents of this file are subject to the Cygnus eCos Public License |
|
|
10 // Version 1.0 (the "License"); you may not use this file except in |
|
|
11 // compliance with the License. You may obtain a copy of the License at |
|
|
12 // http://sourceware.cygnus.com/ecos |
|
|
13 // |
|
|
14 // Software distributed under the License is distributed on an "AS IS" |
|
|
15 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
|
16 // License for the specific language governing rights and limitations under |
|
|
17 // the License. |
|
|
18 // |
|
|
19 // The Original Code is eCos - Embedded Cygnus Operating System, released |
|
|
20 // September 30, 1998. |
|
|
21 // |
|
|
22 // The Initial Developer of the Original Code is Cygnus. Portions created |
|
|
23 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. |
|
|
24 // ------------------------------------------- |
|
|
25 // |
|
|
26 //####COPYRIGHTEND#### |
|
|
27 //=========================================================================== |
|
|
28 |
|
|
29 MEMORY |
|
|
30 { |
|
|
31 ram : ORIGIN = 0x8000, LENGTH = 0x4000 |
|
|
32 rom : ORIGIN = 0x4018000, LENGTH = 0x8000 |
|
|
33 } |
|
|
34 |
|
|
35 SECTIONS |
|
|
36 { |
|
|
37 SECTIONS_BEGIN |
|
|
38 SECTION_rom_vectors (rom, 0x4018000, LMA_EQ_VMA) |
|
|
39 SECTION_text (rom, ALIGN (0x1), LMA_EQ_VMA) |
|
|
40 SECTION_fini (rom, ALIGN (0x1), LMA_EQ_VMA) |
|
|
41 SECTION_rodata (rom, ALIGN (0x1), LMA_EQ_VMA) |
|
|
42 SECTION_rodata1 (rom, ALIGN (0x1), LMA_EQ_VMA) |
|
|
43 SECTION_fixup (rom, ALIGN (0x1), LMA_EQ_VMA) |
|
|
44 SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) |
|
|
45 SECTION_data (ram, 0x8000, FOLLOWING (.gcc_except_table)) |
|
|
46 SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA) |
|
|
47 SECTIONS_END |
|
|
48 } |