4.104.114.84.95
Last change
on this file since f86ec42 was
f86ec42,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:35:54
|
Added .eh_frame, C++ constructor, and C++ destructor sections.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /* |
---|
2 | * This file contains directives for the GNU linker which are specific |
---|
3 | * to the Motorola MVME147 boards. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-1997. |
---|
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 | * MVME147 port for TNI - Telecom Bretagne |
---|
14 | * by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr) |
---|
15 | * May 1996 |
---|
16 | * |
---|
17 | * $Id$ |
---|
18 | */ |
---|
19 | |
---|
20 | MEMORY |
---|
21 | { |
---|
22 | ram : org = 0x7000, l = 0x3d8fff |
---|
23 | } |
---|
24 | |
---|
25 | SECTIONS |
---|
26 | { |
---|
27 | .text 0x7000 : |
---|
28 | { |
---|
29 | text_start = . ; |
---|
30 | _text_start = . ; |
---|
31 | *(.text) |
---|
32 | . = ALIGN (16); |
---|
33 | |
---|
34 | *(.eh_fram) |
---|
35 | . = ALIGN (16); |
---|
36 | |
---|
37 | /* |
---|
38 | * C++ constructors |
---|
39 | */ |
---|
40 | __CTOR_LIST__ = .; |
---|
41 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
---|
42 | *(.ctors) |
---|
43 | LONG(0) |
---|
44 | __CTOR_END__ = .; |
---|
45 | __DTOR_LIST__ = .; |
---|
46 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
---|
47 | *(.dtors) |
---|
48 | LONG(0) |
---|
49 | __DTOR_END__ = .; |
---|
50 | etext = ALIGN( 0x10 ) ; |
---|
51 | _etext = .; |
---|
52 | } |
---|
53 | .data ADDR( .text ) + SIZEOF( .text ): |
---|
54 | { |
---|
55 | data_start = . ; |
---|
56 | _data_start = .; |
---|
57 | *(.data) |
---|
58 | edata = ALIGN( 0x10 ) ; |
---|
59 | _edata = .; |
---|
60 | } |
---|
61 | .bss ADDR( .data ) + SIZEOF( .data ): |
---|
62 | { |
---|
63 | bss_start = . ; |
---|
64 | _bss_start = . ; |
---|
65 | *(.bss) |
---|
66 | *(COMMON) |
---|
67 | end = . ; |
---|
68 | _end = . ; |
---|
69 | } |
---|
70 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.