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