4.104.114.84.95
Last change
on this file since 68c498f4 was
68c498f4,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 16:34:46
|
Added i960sim BSP which (ignoring the 3 instructions not supported
by gdb 5.0's i960 simulator) is enough to run hello world.
|
-
Property mode set to
100644
|
File size:
1006 bytes
|
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 | . = 0xa0008000; |
---|
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 | .data SIZEOF(.text) + ADDR(.text): |
---|
34 | { |
---|
35 | *(.data) |
---|
36 | CONSTRUCTORS |
---|
37 | _edata = .; |
---|
38 | } |
---|
39 | .bss SIZEOF(.data) + ADDR(.data): |
---|
40 | { |
---|
41 | _bss_start = .; |
---|
42 | *(.bss) |
---|
43 | *(COMMON) |
---|
44 | . = ALIGN (64); |
---|
45 | _stack_init = .; |
---|
46 | . += _StackSize; |
---|
47 | _clear_end = .; |
---|
48 | _WorkspaceBase = .; |
---|
49 | . += 512K; /* reserve some memory for workspace */ |
---|
50 | _HeapBase = .; |
---|
51 | . += _HeapSize; /* reserve some memory for heap */ |
---|
52 | _end = .; |
---|
53 | __end = .; |
---|
54 | } |
---|
55 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.