2.3.3-74
[glibc.git] / sysdeps / standalone / i386 / force_cpu386 / target.ld
blobd040cf978470eb4eda0580707bd5e7a9341ca8c1
1 /* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2    Contributed by Joel Sherrill (jsherril@redstone-emh2.army.mil),
3      On-Line Applications Research Corporation.
4    This file is part of the GNU C Library.
6    The GNU C Library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Lesser General Public
8    License as published by the Free Software Foundation; either
9    version 2.1 of the License, or (at your option) any later version.
11    The GNU C Library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Lesser General Public License for more details.
16    You should have received a copy of the GNU Lesser General Public
17    License along with the GNU C Library; if not, write to the Free
18    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19    02111-1307 USA.  */
21 /* This file contains directives for the GNU linker which are specific
22 to the FORCE CPU386 board.  */
24 MEMORY
25         {
26         ram : org = 0x0, l = 1M
27         }
29 /* This value is also when the space is allocated.  If you change
30 this one, change the other one!!! */
32 heap_size = 0x20000;
34 SECTIONS
36         .text 0x0 :
37         {
38             _text_start = ABSOLUTE(.) ;
39             *(.text)
40             _etext = ALIGN( 0x10 ) ;
41         }
42         .data ADDR( .text ) + SIZEOF( .text ):
43         {
44             _data_start = . ;
45             *(.data)
46             _edata = ALIGN( 0x10 ) ;
47         }
48         .bss ADDR( .data ) + SIZEOF( .data ):
49         {
50             _bss_start = . ;
51             *(.bss)
52             *(COMMON)
53             heap_memory = .;
54             . += 0x20000;
55             _end = . ;
56             __end = . ;
57         }