]> git.cryptolib.org Git - arm-crypto-lib.git/blob - lm3s9b90.ld
Adding Khazad
[arm-crypto-lib.git] / lm3s9b90.ld
1 /* lm3s9b90.ld */
2 /*
3     This file is part of the OpenARMWare.
4     Copyright (C) 2010  Daniel Otte (daniel.otte@rub.de)
5
6     This program is free software: you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation, either version 3 of the License, or
9     (at your option) any later version.
10
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 MEMORY {
21         flash (rx): ORIGIN = 0x00000000, LENGTH = 256K
22         ram  (rwx): ORIGIN = 0x20000000, LENGTH =  96K
23 }
24
25 SECTIONS {
26         .text : {
27                 _text = .;
28                 KEEP(*(.isr_vectors))
29                 *(.init*)
30                 *(.fini*)
31                 *(.text*)
32                 *(.rodata*)
33                 _text_end = .;
34         } > flash
35         
36         .data : AT ( ADDR(.text) + SIZEOF(.text) ) {
37                 _data = .;
38                 *(.data*)
39                 _data_end = .;
40         } > ram
41         
42         .bss : AT ( ADDR(.data) + SIZEOF(.data) ) {
43                 _bss = .;
44                 __bss_start__ = .;
45                 *(.bss*)
46                 *(COMMON)
47                 _bss_end = .;
48                 __bss_end__ = .;
49         } > ram 
50     end = .;
51 }