source: rtems/c/src/lib/libbsp/m68k/ods68302/startup/debugger @ 3ec7bfc

4.104.114.84.95
Last change on this file since 3ec7bfc was 0074691a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/31/97 at 22:13:29

Merged very large and much appreciated patch from Chris Johns
<cjohns@…>. This patch includes the ods68302 bsp,
the RTEMS++ class library, and the rtems++ test.

  • Property mode set to 100644
File size: 829 bytes
Line 
1/*
2 * $Id$
3 *
4 * MC68302 Linker command file
5 *
6 */
7
8SECTIONS
9{
10  .text . :
11  {
12    text_start = .;
13    *(.text)
14    etext = .;
15    . = ALIGN(4);
16    __CTOR_LIST__ = .;
17    LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
18    *(.ctors)
19    LONG(0)
20    __CTOR_END__ = .;
21    . = ALIGN(4);
22    __DTOR_LIST__ = .;
23    LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
24    *(.dtors)
25    LONG(0)
26    __DTOR_END__ = .;
27  }
28
29  .vtable (ADDR(.text) + SIZEOF(.text))  :
30  {
31    vtable_start = .;
32    *(.vtable)
33    evtable = .;
34  }
35  .data (ADDR(.vtable) + SIZEOF(.vtable)) :
36  {
37    data_start = .;
38    *(.data)
39    edata = .;
40  }
41  .bss (ADDR(.data) + SIZEOF(.data)) :
42  {
43    bss_start = .;
44    *(.bss)
45    *(COMMON)
46    end = . ;
47    _end = . ;
48  } 
49}
50
51m302 = MC68302_BASE;
52_VBR = 0;               /* location of the VBR table (in RAM) */
53
54ENTRY(start);
Note: See TracBrowser for help on using the repository browser.