4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * This file contains directives for the GNU linker which are specific |
---|
3 | * to the Generic MC68302 board. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1998. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * Copyright assigned to U.S. Government, 1994. |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.OARcorp.com/rtems/license.html. |
---|
12 | * |
---|
13 | * $Id$ |
---|
14 | */ |
---|
15 | |
---|
16 | MEMORY |
---|
17 | { |
---|
18 | ram : org = 0x0000, l = 16M |
---|
19 | } |
---|
20 | |
---|
21 | m302 = 0xf7f000; |
---|
22 | _VBR = 0x000000; /* location of the VBR table (in RAM) */ |
---|
23 | |
---|
24 | SECTIONS |
---|
25 | { |
---|
26 | .text 0xc00000 : |
---|
27 | { |
---|
28 | text_start = . ; |
---|
29 | *(.text) |
---|
30 | . = ALIGN (16); |
---|
31 | |
---|
32 | *(.eh_fram) |
---|
33 | . = ALIGN (16); |
---|
34 | |
---|
35 | /* |
---|
36 | * C++ constructors |
---|
37 | */ |
---|
38 | __CTOR_LIST__ = .; |
---|
39 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
40 | *(.ctors) |
---|
41 | LONG(0) |
---|
42 | __CTOR_END__ = .; |
---|
43 | __DTOR_LIST__ = .; |
---|
44 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
45 | *(.dtors) |
---|
46 | LONG(0) |
---|
47 | __DTOR_END__ = .; |
---|
48 | etext = ALIGN( 0x10 ) ; |
---|
49 | } |
---|
50 | .data 0x010000 : |
---|
51 | { |
---|
52 | data_start = . ; |
---|
53 | *(.data) |
---|
54 | edata = ALIGN( 0x10 ) ; |
---|
55 | } |
---|
56 | .bss ADDR( .data ) + SIZEOF( .data ): |
---|
57 | { |
---|
58 | bss_start = . ; |
---|
59 | *(.bss) |
---|
60 | *(COMMON) |
---|
61 | end = . ; |
---|
62 | _end = . ; |
---|
63 | } |
---|
64 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.