4.104.114.84.95
Last change
on this file since 11290355 was
486c329,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/20/95 at 15:05:19
|
Actually adding efi bsp's from John Gwynne after forgetting to
commit them.
|
-
Property mode set to
100644
|
File size:
1.9 KB
|
Line | |
---|
1 | /* linkcmds |
---|
2 | * |
---|
3 | * $Id$ |
---|
4 | */ |
---|
5 | |
---|
6 | OUTPUT_ARCH(m68k) |
---|
7 | __DYNAMIC = 0; |
---|
8 | |
---|
9 | /* |
---|
10 | * The memory map looks like this: |
---|
11 | * +--------------------+ <- low memory |
---|
12 | * | .text | |
---|
13 | * | etext | |
---|
14 | * | ctor list | the ctor and dtor lists are for |
---|
15 | * | dtor list | C++ support |
---|
16 | * | _endtext | |
---|
17 | * +--------------------+ |
---|
18 | * | .data | initialized data goes here |
---|
19 | * | _sdata | |
---|
20 | * | _edata | |
---|
21 | * +--------------------+ |
---|
22 | * | .bss | |
---|
23 | * | __bss_start | start of bss, cleared by crt0 |
---|
24 | * | _end | start of heap, used by sbrk() |
---|
25 | * +--------------------+ |
---|
26 | * | heap space | |
---|
27 | * | _ENDHEAP | |
---|
28 | * | stack space | |
---|
29 | * | __stack | top of stack |
---|
30 | * +--------------------+ <- high memory |
---|
31 | */ |
---|
32 | |
---|
33 | |
---|
34 | /* |
---|
35 | * User modifiable values: |
---|
36 | * |
---|
37 | * _VBR location of VBR table |
---|
38 | */ |
---|
39 | |
---|
40 | MEMORY |
---|
41 | { |
---|
42 | ram : ORIGIN = 0x203000, LENGTH = 256K |
---|
43 | } |
---|
44 | |
---|
45 | _VBR = 0x200000; /* location of the VBR table (in RAM) */ |
---|
46 | _copy_data_from_rom = 0; |
---|
47 | |
---|
48 | /* |
---|
49 | * stick everything in ram (of course) |
---|
50 | */ |
---|
51 | SECTIONS |
---|
52 | { |
---|
53 | .text : |
---|
54 | { |
---|
55 | CREATE_OBJECT_SYMBOLS |
---|
56 | text_start = .; |
---|
57 | _text_start = .; |
---|
58 | *(.text) |
---|
59 | etext = ALIGN(0x10); |
---|
60 | _etext = .; |
---|
61 | __CTOR_LIST__ = .; |
---|
62 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
63 | *(.ctors) |
---|
64 | LONG(0) |
---|
65 | __CTOR_END__ = .; |
---|
66 | __DTOR_LIST__ = .; |
---|
67 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
68 | *(.dtors) |
---|
69 | LONG(0) |
---|
70 | __DTOR_END__ = .; |
---|
71 | *(.lit) |
---|
72 | *(.shdata) |
---|
73 | _endtext = .; |
---|
74 | } > ram |
---|
75 | .data : |
---|
76 | { |
---|
77 | data_start = .; |
---|
78 | _data_start = .; |
---|
79 | _sdata = . ; |
---|
80 | *(.data) |
---|
81 | CONSTRUCTORS |
---|
82 | edata = ALIGN(0x10); |
---|
83 | _edata = .; |
---|
84 | } > ram |
---|
85 | .shbss : |
---|
86 | { |
---|
87 | *(.shbss) |
---|
88 | } > ram |
---|
89 | .bss : |
---|
90 | { |
---|
91 | __bss_start = ALIGN(0x8); |
---|
92 | bss_start = .; |
---|
93 | _bss_start = .; |
---|
94 | *(.bss) |
---|
95 | *(COMMON) |
---|
96 | end = .; |
---|
97 | _end = ALIGN(0x8); |
---|
98 | __end = ALIGN(0x8); |
---|
99 | } > ram |
---|
100 | .stab . (NOLOAD) : |
---|
101 | { |
---|
102 | [ .stab ] |
---|
103 | } |
---|
104 | .stabstr . (NOLOAD) : |
---|
105 | { |
---|
106 | [ .stabstr ] |
---|
107 | } |
---|
108 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.