source: rtems/c/src/lib/libbsp/m68k/idp/startup/linkcmds @ ac7d5ef0

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on May 11, 1995 at 5:39:37 PM

Initial revision

  • Property mode set to 100644
File size: 1003 bytes
Line 
1/* This file is a derivation of that found with the newlib-1.6 distribution
2 * for the idp.ld file.  That file, it appears, was originally written by
3 * Rob Savoye.  Other ideas came from Joel Sherrill for the RTEMS linkcmds
4 * file (this is basically a mixture of the two).
5 */
6
7/*
8 * Setup the memory map of the MC68ec0x0 Board (IDP)
9 * stack grows up towards high memory. This works for
10 * both the rom68k and the mon68k monitors.
11 */
12MEMORY
13{
14     ram : org = 0x10000, l = 2M
15}
16
17SECTIONS
18{
19    .text 0x10000: 
20    {
21        text_start = . ;
22        _text_start = . ;
23        *(.text)
24        etext = ALIGN( 0x10 ) ;
25        _etext = .;
26    }
27    .data ADDR( .text ) + SIZEOF( .text ):
28    {
29        data_start = . ;
30        _data_start = .;
31        *(.data)
32        edata = ALIGN( 0x10 ) ;
33        _edata = .;
34    }
35    .bss ADDR( .data ) + SIZEOF( .data ):
36    {
37        bss_start = . ;
38        _bss_start = . ;
39        *(.bss)
40        *(COMMON)
41        end = . ;
42        _end = . ;
43    } 
44}
Note: See TracBrowser for help on using the repository browser.