4.104.114.84.95
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 | |
---|
| 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 | } |
---|
| 49 | .data ADDR( .text ) + SIZEOF( .text ): |
---|
| 50 | { |
---|
| 51 | data_start = . ; |
---|
| 52 | _data_start = .; |
---|
| 53 | *(.data) |
---|
| 54 | edata = ALIGN( 0x10 ) ; |
---|
| 55 | _edata = .; |
---|
| 56 | } |
---|
| 57 | .bss ADDR( .data ) + SIZEOF( .data ): |
---|
| 58 | { |
---|
| 59 | bss_start = . ; |
---|
| 60 | _bss_start = . ; |
---|
| 61 | *(.bss) |
---|
| 62 | *(COMMON) |
---|
| 63 | end = . ; |
---|
| 64 | _end = . ; |
---|
| 65 | } |
---|
| 66 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.