4.104.114.84.95
Last change
on this file since caf88699 was
caf88699,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/00 at 18:29:37
|
New bsp for simulator in gdb. Does not work yet.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * Declare some sizes. |
---|
7 | */ |
---|
8 | _RamBase = DEFINED(_RamBase) ? _RamBase : 0x0; |
---|
9 | _RamSize = DEFINED(_RamSize) ? _RamSize : 1M; |
---|
10 | _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000; |
---|
11 | _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; |
---|
12 | |
---|
13 | SECTIONS |
---|
14 | { |
---|
15 | . = 0x8000; |
---|
16 | .text : |
---|
17 | { |
---|
18 | CREATE_OBJECT_SYMBOLS |
---|
19 | *(.text) |
---|
20 | _etext = .; |
---|
21 | |
---|
22 | ___CTOR_LIST__ = .; |
---|
23 | LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2) |
---|
24 | *(.ctors) |
---|
25 | LONG(0) |
---|
26 | ___CTOR_END__ = .; |
---|
27 | ___DTOR_LIST__ = .; |
---|
28 | LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2) |
---|
29 | *(.dtors) |
---|
30 | LONG(0) |
---|
31 | ___DTOR_END__ = .; |
---|
32 | } |
---|
33 | . = ALIGN(256) + (. & (256 - 1)); |
---|
34 | .data : |
---|
35 | { |
---|
36 | *(.data) |
---|
37 | CONSTRUCTORS |
---|
38 | _edata = .; |
---|
39 | } |
---|
40 | .bss SIZEOF(.data) + ADDR(.data): |
---|
41 | { |
---|
42 | _bss_start = .; |
---|
43 | _clear_start = .; |
---|
44 | *(.bss) |
---|
45 | *(COMMON) |
---|
46 | . = ALIGN (64); |
---|
47 | _stack_init = .; |
---|
48 | . += _StackSize; |
---|
49 | _clear_end = .; |
---|
50 | _WorkspaceBase = .; |
---|
51 | . += 512K; /* reserve some memory for workspace */ |
---|
52 | _HeapBase = .; |
---|
53 | . += _HeapSize; /* reserve some memory for heap */ |
---|
54 | _end = .; |
---|
55 | __end = .; |
---|
56 | } |
---|
57 | } |
---|
58 | |
---|
59 | HeapBase = _HeapBase; |
---|
60 | HeapSize = _HeapSize; |
---|
61 | WorkspaceBase = _WorkspaceBase; |
---|
Note: See
TracBrowser
for help on using the repository browser.