4.104.114.84.95
Last change
on this file since a902441a was
a902441a,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/16/99 at 02:26:50
|
Patch from John S. Gwynne <jgwynne@…> to correct minor
problems that prevented the 19990302 snapshot from running on
the efi332.
I'm happy to report that rtems-19990302 is running on the efi332
board. I have enclosed a few minor patches below to the efi332 bsp. All
patches are within that library but one. make/custom/efi332.cfg has a
patch to select the right CPU_CFLAGS (at one time -m68332 was a
problem... -mcpu32 or -m68332 work fine now).
|
-
Property mode set to
100644
|
File size:
2.1 KB
|
Line | |
---|
1 | /* linkcmds |
---|
2 | * |
---|
3 | * $Id$ |
---|
4 | */ |
---|
5 | |
---|
6 | OUTPUT_ARCH(m68k) |
---|
7 | STARTUP(except_vect_332_ROM.o) |
---|
8 | __DYNAMIC = 0; |
---|
9 | |
---|
10 | /* |
---|
11 | * ROM: |
---|
12 | * +--------------------+ <- low memory |
---|
13 | * | .text | |
---|
14 | * | etext | |
---|
15 | * | ctor list | the ctor and dtor lists are for |
---|
16 | * | dtor list | C++ support |
---|
17 | * | _endtext | |
---|
18 | * | temporary .data | .data is moved to RAM by crt0 |
---|
19 | * | | |
---|
20 | * +--------------------+ <- high memory |
---|
21 | * |
---|
22 | * |
---|
23 | * RAM: |
---|
24 | * +--------------------+ <- low memory |
---|
25 | * | .data | initialized data goes here |
---|
26 | * | _sdata | |
---|
27 | * | _edata | |
---|
28 | * +--------------------+ |
---|
29 | * | .bss | |
---|
30 | * | __bss_start | start of bss, cleared by crt0 |
---|
31 | * | _end | start of heap, used by sbrk() |
---|
32 | * +--------------------+ |
---|
33 | * | heap space | |
---|
34 | * | _ENDHEAP | |
---|
35 | * | stack space | |
---|
36 | * | __stack | top of stack |
---|
37 | * +--------------------+ <- high memory |
---|
38 | */ |
---|
39 | |
---|
40 | MEMORY |
---|
41 | { |
---|
42 | rom : ORIGIN = 0x00000, LENGTH = 256K |
---|
43 | ram : ORIGIN = 0x80000, LENGTH = 512K |
---|
44 | } |
---|
45 | |
---|
46 | __end_of_ram = 0x100000; |
---|
47 | _copy_data_from_rom = 1; |
---|
48 | |
---|
49 | /* |
---|
50 | * |
---|
51 | */ |
---|
52 | SECTIONS |
---|
53 | { |
---|
54 | .text : |
---|
55 | { |
---|
56 | CREATE_OBJECT_SYMBOLS |
---|
57 | text_start = .; |
---|
58 | _text_start = .; |
---|
59 | *(.text) |
---|
60 | . = ALIGN (16); |
---|
61 | |
---|
62 | *(.eh_fram) |
---|
63 | . = ALIGN (16); |
---|
64 | |
---|
65 | etext = ALIGN(0x10); |
---|
66 | _etext = .; |
---|
67 | __CTOR_LIST__ = .; |
---|
68 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
69 | *(.ctors) |
---|
70 | LONG(0) |
---|
71 | __CTOR_END__ = .; |
---|
72 | __DTOR_LIST__ = .; |
---|
73 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
74 | *(.dtors) |
---|
75 | LONG(0) |
---|
76 | __DTOR_END__ = .; |
---|
77 | *(.lit) |
---|
78 | *(.shdata) |
---|
79 | _endtext = .; |
---|
80 | } > rom |
---|
81 | .gcc_exc : |
---|
82 | AT ( ADDR(.text) + SIZEOF( .text ) ) |
---|
83 | { |
---|
84 | *(.gcc_exc) |
---|
85 | } > ram |
---|
86 | .data : |
---|
87 | { |
---|
88 | data_start = .; |
---|
89 | _data_start = .; |
---|
90 | _sdata = . ; |
---|
91 | *(.data) |
---|
92 | CONSTRUCTORS |
---|
93 | edata = ALIGN(0x10); |
---|
94 | _edata = .; |
---|
95 | } > ram |
---|
96 | .shbss : |
---|
97 | { |
---|
98 | *(.shbss) |
---|
99 | } > ram |
---|
100 | .bss : |
---|
101 | { |
---|
102 | __bss_start = ALIGN(0x8); |
---|
103 | bss_start = .; |
---|
104 | _bss_start = .; |
---|
105 | *(.bss) |
---|
106 | *(COMMON) |
---|
107 | end = .; |
---|
108 | _end = ALIGN(0x8); |
---|
109 | __end = ALIGN(0x8); |
---|
110 | } > ram |
---|
111 | .stab . (NOLOAD) : |
---|
112 | { |
---|
113 | [ .stab ] |
---|
114 | } |
---|
115 | .stabstr . (NOLOAD) : |
---|
116 | { |
---|
117 | [ .stabstr ] |
---|
118 | } |
---|
119 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.