source:
rtems/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds
@
01c36de
Last change on this file since 01c36de was 01c36de, checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/99 at 18:04:34 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[ac7d5ef0] | 1 | /* |
2 | * This file contains directives for the GNU linker which are specific | |
3 | * to the Motorola MVME136/MVME135 boards. | |
4 | * | |
[60b791ad] | 5 | * COPYRIGHT (c) 1989-1998. |
[ac7d5ef0] | 6 | * On-Line Applications Research Corporation (OAR). |
[03f2154e] | 7 | * Copyright assigned to U.S. Government, 1994. |
[ac7d5ef0] | 8 | * |
[98e4ebf5] | 9 | * The license and distribution terms for this file may be |
10 | * found in the file LICENSE in this distribution or at | |
[03f2154e] | 11 | * http://www.OARcorp.com/rtems/license.html. |
[ac7d5ef0] | 12 | * |
13 | * $Id$ | |
14 | */ | |
15 | ||
[db88957] | 16 | StackSize = DEFINED(StackSize) ? StackSize : 0x1000; |
[ac7d5ef0] | 17 | MEMORY |
18 | { | |
19 | ram : org = 0x3000, l = 1M | |
20 | } | |
21 | ||
22 | SECTIONS | |
23 | { | |
24 | .text 0x3000 : | |
25 | { | |
26 | text_start = . ; | |
27 | _text_start = . ; | |
28 | *(.text) | |
[f86ec42] | 29 | . = ALIGN (16); |
30 | ||
31 | *(.eh_fram) | |
32 | . = ALIGN (16); | |
33 | ||
34 | /* | |
35 | * C++ constructors | |
36 | */ | |
37 | __CTOR_LIST__ = .; | |
38 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) | |
39 | *(.ctors) | |
40 | LONG(0) | |
41 | __CTOR_END__ = .; | |
42 | __DTOR_LIST__ = .; | |
43 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) | |
44 | *(.dtors) | |
45 | LONG(0) | |
46 | __DTOR_END__ = .; | |
[ac7d5ef0] | 47 | etext = ALIGN( 0x10 ) ; |
48 | _etext = .; | |
49 | } | |
[01c36de] | 50 | .data : { |
[ac7d5ef0] | 51 | data_start = . ; |
52 | _data_start = .; | |
53 | *(.data) | |
54 | edata = ALIGN( 0x10 ) ; | |
55 | _edata = .; | |
56 | } | |
[01c36de] | 57 | .bss : { |
[ac7d5ef0] | 58 | bss_start = . ; |
59 | _bss_start = . ; | |
60 | *(.bss) | |
61 | *(COMMON) | |
[db88957] | 62 | . += StackSize; /* XXX -- Old gld can't handle this */ |
63 | . = ALIGN (16); | |
64 | stack_init = .; | |
[ac7d5ef0] | 65 | end = . ; |
66 | _end = . ; | |
67 | } | |
68 | } |
Note: See TracBrowser
for help on using the repository browser.