aboutsummaryrefslogtreecommitdiff
path: root/ld/ebmon29k.sc
blob: 838aef4a7bb7f858a7f47f82914f43265b7c7990 (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
27
28
29
30
31
32
33
34
35
36
37
38
OUTPUT_FORMAT("coff-a29k-big")

SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/local/lib)
MEMORY {
	text   	: ORIGIN = 0x1000000, LENGTH = 0x1000000
	talias 	: ORIGIN = 0x2000000, LENGTH = 0x1000000
	data	: ORIGIN = 0x3000000, LENGTH = 0x1000000
	mstack 	: ORIGIN = 0x4000000, LENGTH = 0x1000000
	rstack 	: ORIGIN = 0x5000000, LENGTH = 0x1000000
}
SECTIONS 				
{ 					
  .text : { 					
    *(.text)
    __etext  =  .;       	
    *(.lit) 				
    *(.shdata)  
  } > text
  .shbss SIZEOF(.text) + ADDR(.text) :	{
    *(.shbss) 				
  } 
  .talias :	 { } > talias
  .data  : { 					
    *(.data) 				
     __edata  =  .; 			
  } > data
  .bss   SIZEOF(.data) + ADDR(.data) :	
  { 					
   *(.bss)	 			
   [COMMON] 				
     __end = ALIGN(0x8);				
  } 
  .mstack  : { } > mstack
  .rstack  : { } > rstack 
}