OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i386/] [pc386/] [startup/] [linkcmds] - Blame information for rev 389

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*-------------------------------------------------------------------------+
2
| linkcmds v1.1 - PC386 BSP - 1997/08/07
3
+--------------------------------------------------------------------------+
4
| This file contains directives for the GNU linker which are specific to the
5
| PC386 bsp.
6
+--------------------------------------------------------------------------+
7
| (C) Copyright 1997 -
8
| - NavIST Group - Real-Time Distributed Systems and Industrial Automation
9
|
10
| http://pandora.ist.utl.pt
11
|
12
| Instituto Superior Tecnico * Lisboa * PORTUGAL
13
+--------------------------------------------------------------------------+
14
| Disclaimer:
15
|
16
| This file is provided "AS IS" without warranty of any kind, either
17
| expressed or implied.
18
+--------------------------------------------------------------------------+
19
| This code is based on:
20
|   linkcmds,v 1.3 1995/12/19 20:06:58 joel Exp - FORCE CPU386 BSP
21
| With the following copyright notice:
22
| **************************************************************************
23
| *  COPYRIGHT (c) 1989-1999.
24
| *  On-Line Applications Research Corporation (OAR).
25
| *
26
| *  The license and distribution terms for this file may be
27
| *  found in found in the file LICENSE in this distribution or at
28
| *  http://www.OARcorp.com/rtems/license.html.
29
| **************************************************************************
30
|
31
|  $Id: linkcmds,v 1.2 2001-09-27 11:59:48 chris Exp $
32
+--------------------------------------------------------------------------*/
33
 
34
 
35
SECTIONS
36
{
37
/*  .m_hdr :
38
  {
39
    . = ALIGN(4);
40
    *(.m_hdr)
41
  }
42
*/
43
  .text :
44
  {
45
    _text_start = . ;
46
    . = ALIGN(4);
47
    *(.m_hdr)
48
    *(.text)
49
    . = ALIGN (16);
50
 
51
    *(.eh_frame)
52
    . = ALIGN (16);
53
 
54
    *(.gnu.linkonce.t*)
55
 
56
    /*
57
     * C++ constructors
58
     */
59
    __CTOR_LIST__ = .;
60
    LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
61
    *(.ctors)
62
    LONG(0)
63
    __CTOR_END__ = .;
64
    __DTOR_LIST__ = .;
65
    LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
66
    *(.dtors)
67
    LONG(0)
68
    __DTOR_END__ = .;
69
 
70
    _rodata_start = . ;
71
    *(.rodata)
72
    *(.gnu.linkonce.r*)
73
    _erodata = ALIGN( 0x10 ) ;
74
 
75
    _etext = ALIGN( 0x10 ) ;
76
  }
77
 
78
  .init : { *(.init) } = 0x9090
79
  .fini : { *(.fini) } = 0x9090
80
  .data ADDR( .fini ) + SIZEOF( .fini ):
81
  {
82
    _data_start = . ;
83
    *(.data)
84
    *(.gnu.linkonce.d*)
85
    *(.gcc_except_table)
86
    _edata = ALIGN( 0x10 ) ;
87
  }
88
 
89
  .bss ADDR( .data ) + SIZEOF( .data ):
90
  {
91
    _bss_start = . ;
92
    *(.bss)
93
    *(COMMON)
94
    _end = . ;
95
    __end = . ;
96
  }
97
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.