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

4.104.114.84.95
Last change on this file since 930b3d5 was eb5a7e07, checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/95 at 20:48:38

fixed missing CVS IDs

  • Property mode set to 100644
File size: 1015 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 *  $Id$
7 */
8
9/*
10 * Setup the memory map of the MC68ec0x0 Board (IDP)
11 * stack grows up towards high memory. This works for
12 * both the rom68k and the mon68k monitors.
13 */
14MEMORY
15{
16     ram : org = 0x10000, l = 2M
17}
18
19SECTIONS
20{
21    .text 0x10000: 
22    {
23        text_start = . ;
24        _text_start = . ;
25        *(.text)
26        etext = ALIGN( 0x10 ) ;
27        _etext = .;
28    }
29    .data ADDR( .text ) + SIZEOF( .text ):
30    {
31        data_start = . ;
32        _data_start = .;
33        *(.data)
34        edata = ALIGN( 0x10 ) ;
35        _edata = .;
36    }
37    .bss ADDR( .data ) + SIZEOF( .data ):
38    {
39        bss_start = . ;
40        _bss_start = . ;
41        *(.bss)
42        *(COMMON)
43        end = . ;
44        _end = . ;
45    } 
46}
Note: See TracBrowser for help on using the repository browser.