source:
rtems/c/src/lib/libbsp/or32/orp/startup/linkcmds
@
a24d946
Last change on this file since a24d946 was a24d946, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/02 at 13:57:03 | |
---|---|
|
|
File size: 1.1 KB |
Line | |
---|---|
1 | /* |
2 | * This file contains directives for the GNU linker which are specific |
3 | * to the NO_CPU NO_BSP BOARD. |
4 | * |
5 | * COPYRIGHT (c) 1989-1999. |
6 | * On-Line Applications Research Corporation (OAR). |
7 | * |
8 | * The license and distribution terms for this file may be |
9 | * found in the file LICENSE in this distribution or at |
10 | * http://www.OARcorp.com/rtems/license.html. |
11 | * |
12 | * $Id$ |
13 | */ |
14 | |
15 | MEMORY |
16 | { |
17 | ram : org = 0x0, l = 1M |
18 | } |
19 | |
20 | SECTIONS |
21 | { |
22 | .text 0x0 : |
23 | { |
24 | text_start = . ; |
25 | _text_start = . ; |
26 | *(.text) |
27 | . = ALIGN (16); |
28 | |
29 | *(.eh_fram) |
30 | . = ALIGN (16); |
31 | |
32 | /* |
33 | * C++ constructors |
34 | */ |
35 | __CTOR_LIST__ = .; |
36 | LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) |
37 | *(.ctors) |
38 | LONG(0) |
39 | __CTOR_END__ = .; |
40 | __DTOR_LIST__ = .; |
41 | LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) |
42 | *(.dtors) |
43 | LONG(0) |
44 | __DTOR_END__ = .; |
45 | _etext = ALIGN( 0x10 ) ; |
46 | } |
47 | .data ADDR( .text ) + SIZEOF( .text ): |
48 | { |
49 | data_start = . ; |
50 | _data_start = . ; |
51 | *(.data) |
52 | _edata = ALIGN( 0x10 ) ; |
53 | } |
54 | .bss ADDR( .data ) + SIZEOF( .data ): |
55 | { |
56 | bss_start = . ; |
57 | _bss_start = . ; |
58 | *(.bss) |
59 | *(COMMON) |
60 | end = . ; |
61 | __end = . ; |
62 | } |
63 | } |
Note: See TracBrowser
for help on using the repository browser.