4.104.114.84.95
Last change
on this file since bdf531ee was
457b6ae,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/06/96 at 22:01:11
|
Generic 68360 BSP (gen360) submitted by: W. Eric Norum <eric@…>.
Contact information:
- Eric Norum
Saskatchewan Accelerator Laboratory
107 North Road
University of Saskatchewan
Saskatoon, Saskatchewan, CANADA
S7N 5C6
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * This file contains GNU linker directives for a generic MC68360 board. |
---|
3 | * |
---|
4 | * Saskatchewan Accelerator Laboratory |
---|
5 | * University of Saskatchewan |
---|
6 | * Saskatoon, Saskatchewan, CANADA |
---|
7 | * eric@skatter.usask.ca |
---|
8 | * |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | /* |
---|
13 | * Declare on-board memory |
---|
14 | */ |
---|
15 | MEMORY { |
---|
16 | ram : ORIGIN = 0x00000000, LENGTH = 4M |
---|
17 | rom : ORIGIN = 0xFF000000, LENGTH = 1M |
---|
18 | dpram : ORIGIN = 0xFE000000, LENGTH = 8k |
---|
19 | } |
---|
20 | |
---|
21 | /* |
---|
22 | * Declare some sizes |
---|
23 | */ |
---|
24 | HeapSize = DEFINED(HeapSize) ? HeapSize : 0x10000; |
---|
25 | StackSize = DEFINED(StackSize) ? StackSize : 0x1000; |
---|
26 | |
---|
27 | /* |
---|
28 | * Load objects |
---|
29 | */ |
---|
30 | SECTIONS { |
---|
31 | .text : { |
---|
32 | __RamBase = .; |
---|
33 | CREATE_OBJECT_SYMBOLS |
---|
34 | *(.text) |
---|
35 | . = ALIGN (16); |
---|
36 | _etext = .; |
---|
37 | } >ram |
---|
38 | .data : { |
---|
39 | *(.data) |
---|
40 | . = ALIGN (16); |
---|
41 | _edata = .; |
---|
42 | } >ram |
---|
43 | .bss : { |
---|
44 | _M68Kvec = .; |
---|
45 | . += (256 * 4); |
---|
46 | clear_start = .; |
---|
47 | *(.bss) |
---|
48 | *(COMMON) |
---|
49 | . = ALIGN (16); |
---|
50 | _end = .; |
---|
51 | |
---|
52 | __HeapStart = .; |
---|
53 | . += HeapSize; |
---|
54 | . += StackSize; |
---|
55 | . = ALIGN (16); |
---|
56 | stack_init = .; |
---|
57 | clear_end = .; |
---|
58 | |
---|
59 | __WorkspaceBase = .; |
---|
60 | } >ram |
---|
61 | |
---|
62 | /* |
---|
63 | * On-chip memory/peripherals |
---|
64 | */ |
---|
65 | dpram : { |
---|
66 | _m360 = .; |
---|
67 | . += (8 * 1024); |
---|
68 | |
---|
69 | } >dpram |
---|
70 | |
---|
71 | /* |
---|
72 | * Boot PROM |
---|
73 | */ |
---|
74 | rom : { |
---|
75 | __RomBase = .; |
---|
76 | } >rom |
---|
77 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.