]> git.cryptolib.org Git - arm-crypto-lib.git/blob - lm3s9b90.ld
more precise type for arguments of bcal_nessie_multiple()
[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                 *(.text*)
30                 *(.rodata*)
31         } > flash
32      /* .ARM.exidx is sorted, so has to go in its own output section.
33 */
34     .ARM.exidx : {
35         __exidx_start = .;
36         *(.ARM.exidx* .gnu.linkonce.armexidx.*)
37         __exidx_end = .;
38     } > flash
39
40   . = ALIGN(4);
41     .ARM.extab : {
42         __extab_start = .;
43         *(.ARM.extab* .gnu.linkonce.armextab.*)
44         __extab_end = .;
45     } > flash
46
47   . = ALIGN(4);
48         
49         _text_end = .;
50         .data : AT ( ADDR(.ARM.extab) + SIZEOF(.ARM.extab) ) {
51                 _data = .;
52                 *(.data*)
53                 _data_end = .;
54         } > ram
55         
56         .bss : AT ( ADDR(.data) + SIZEOF(.data) ) {
57                 _bss = .;
58                 *(.bss*)
59                 *(COMMON)
60                 _bss_end = .;
61         } > ram 
62     end = .;
63 }