4.104.114.84.95
Last change
on this file since 486c329 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.8 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 | MEMORY |
---|
34 | { |
---|
35 | ram : ORIGIN = 0x80000, LENGTH = 256K |
---|
36 | } |
---|
37 | |
---|
38 | _copy_data_from_rom = 0; |
---|
39 | |
---|
40 | /* |
---|
41 | * stick everything in ram (of course) |
---|
42 | */ |
---|
43 | SECTIONS |
---|
44 | { |
---|
45 | .text : |
---|
46 | { |
---|
47 | CREATE_OBJECT_SYMBOLS |
---|
48 | text_start = .; |
---|
49 | _text_start = .; |
---|
50 | *(.text) |
---|
51 | etext = ALIGN(0x10); |
---|
52 | _etext = .; |
---|
53 | __CTOR_LIST__ = .; |
---|
54 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
55 | *(.ctors) |
---|
56 | LONG(0) |
---|
57 | __CTOR_END__ = .; |
---|
58 | __DTOR_LIST__ = .; |
---|
59 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
60 | *(.dtors) |
---|
61 | LONG(0) |
---|
62 | __DTOR_END__ = .; |
---|
63 | *(.lit) |
---|
64 | *(.shdata) |
---|
65 | _endtext = .; |
---|
66 | } > ram |
---|
67 | .data : |
---|
68 | { |
---|
69 | data_start = .; |
---|
70 | _data_start = .; |
---|
71 | _sdata = . ; |
---|
72 | *(.data) |
---|
73 | CONSTRUCTORS |
---|
74 | edata = ALIGN(0x10); |
---|
75 | _edata = .; |
---|
76 | } > ram |
---|
77 | .shbss : |
---|
78 | { |
---|
79 | *(.shbss) |
---|
80 | } > ram |
---|
81 | .bss : |
---|
82 | { |
---|
83 | __bss_start = ALIGN(0x8); |
---|
84 | bss_start = .; |
---|
85 | _bss_start = .; |
---|
86 | *(.bss) |
---|
87 | *(COMMON) |
---|
88 | end = .; |
---|
89 | _end = ALIGN(0x8); |
---|
90 | __end = ALIGN(0x8); |
---|
91 | } > ram |
---|
92 | .stab . (NOLOAD) : |
---|
93 | { |
---|
94 | [ .stab ] |
---|
95 | } |
---|
96 | .stabstr . (NOLOAD) : |
---|
97 | { |
---|
98 | [ .stabstr ] |
---|
99 | } |
---|
100 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.