1 | /*-------------------------------------------------------------------------+ |
---|
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-1997. |
---|
24 | | * On-Line Applications Research Corporation (OAR). |
---|
25 | | * Copyright assigned to U.S. Government, 1994. |
---|
26 | | * |
---|
27 | | * The license and distribution terms for this file may be |
---|
28 | | * found in found in the file LICENSE in this distribution or at |
---|
29 | | * http://www.OARcorp.com/rtems/license.html. |
---|
30 | | ************************************************************************** |
---|
31 | | |
---|
32 | | $Id$ |
---|
33 | +--------------------------------------------------------------------------*/ |
---|
34 | |
---|
35 | |
---|
36 | SECTIONS |
---|
37 | { |
---|
38 | .text : |
---|
39 | { |
---|
40 | _text_start = . ; |
---|
41 | *(.text) |
---|
42 | _etext = ALIGN( 0x10 ) ; |
---|
43 | } |
---|
44 | .rodata ADDR( .text ) + SIZEOF( .text ): |
---|
45 | { |
---|
46 | _rodata_start = . ; |
---|
47 | *(.rodata) |
---|
48 | _erodata = ALIGN( 0x10 ) ; |
---|
49 | } |
---|
50 | .data ADDR( .rodata ) + SIZEOF( .rodata ): |
---|
51 | { |
---|
52 | _data_start = . ; |
---|
53 | *(.data) |
---|
54 | _edata = ALIGN( 0x10 ) ; |
---|
55 | } |
---|
56 | .bss ADDR( .data ) + SIZEOF( .data ): |
---|
57 | { |
---|
58 | _bss_start = . ; |
---|
59 | *(.bss) |
---|
60 | *(COMMON) |
---|
61 | _end = . ; |
---|
62 | __end = . ; |
---|
63 | } |
---|
64 | } |
---|