4.104.114.84.95
Last change
on this file since 7b0c547a was
8cfdb56,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/07/02 at 15:40:31
|
2002-08-07 Ivan Guzvinec <ivang@…>
- include/bsp.h, start/start.S, startup/linkcmds: Patches which
were required to make the BSP run.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * This file contains directives for the GNU linker which are specific |
---|
3 | * to the NO_CPU NO_BSP BOARD. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1999. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * |
---|
8 | * The license and distribution terms for this file may be |
---|
9 | * found in the file LICENSE in this distribution or at |
---|
10 | * http://www.OARcorp.com/rtems/license.html. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | MEMORY |
---|
16 | { |
---|
17 | flash : org = 0x00000000, l = 2M |
---|
18 | ram : org = 0x10000000, l = 32M |
---|
19 | } |
---|
20 | |
---|
21 | SECTIONS |
---|
22 | { |
---|
23 | .text : AT (0x0) { |
---|
24 | text_start = . ; |
---|
25 | _text_start = . ; |
---|
26 | |
---|
27 | *(.text) |
---|
28 | . = ALIGN (16); |
---|
29 | |
---|
30 | *(.eh_fram) |
---|
31 | . = ALIGN (16); |
---|
32 | |
---|
33 | /* |
---|
34 | * C++ constructors |
---|
35 | */ |
---|
36 | __CTOR_LIST__ = .; |
---|
37 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
38 | *(.ctors) |
---|
39 | LONG(0) |
---|
40 | __CTOR_END__ = .; |
---|
41 | __DTOR_LIST__ = .; |
---|
42 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
43 | *(.dtors) |
---|
44 | LONG(0) |
---|
45 | __DTOR_END__ = .; |
---|
46 | _etext = ALIGN( 0x10 ) ; |
---|
47 | . = ALIGN( 0x10) ; |
---|
48 | } > flash |
---|
49 | |
---|
50 | .data : AT ( ADDR(.text) + SIZEOF(.text) ) { |
---|
51 | data_start = . ; |
---|
52 | _data_start = . ; |
---|
53 | |
---|
54 | *(.data) |
---|
55 | |
---|
56 | _edata = ALIGN( 0x10 ); |
---|
57 | . = ALIGN (0x10); |
---|
58 | } > ram |
---|
59 | |
---|
60 | .bss : AT ( ADDR(.text) + SIZEOF(.text) + SIZEOF(.data) ) { |
---|
61 | bss_start = .; |
---|
62 | _bss_start = .; |
---|
63 | |
---|
64 | *(.bss) |
---|
65 | *(COMMON) |
---|
66 | |
---|
67 | end = ALIGN( 0x10 ); |
---|
68 | __end = ALIGN( 0x10 ); |
---|
69 | . = ALIGN (0x10); |
---|
70 | } > ram |
---|
71 | |
---|
72 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.