aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgldi386v.sc
blob: 9805f39f2675f365243a69d72295a0be990ffe36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* $Id$ 
*/

OUTPUT_FORMAT("i386coff")

ENTRY(_start)
SECTIONS 				
{ 	
  .text 0x000000d0 : {
    *(.init)				
    *(.text)	
    *(.fini)      	
    etext  =  .; 
  }
  .data ((ADDR(.text) + SIZEOF(.text)) & 0x0fff) + ALIGN(0x00400000) : {
   	*(.data) 				
	edata  =  .; 			
  }
  .bss   (SIZEOF(.data) + ADDR(.data)) : {
	*(.bss)	 			
	[COMMON] 				
	end = ALIGN(0x8);
  } 
  .comment : { *(.comment) }
}