-y support
[platform/upstream/binutils.git] / ld / ld-gld.script
1 OUTPUT_ARCH(sparc)
2 OUTPUT_FORMAT("a.out-sunos-big")
3 SEARCH_DIR(/lib)                        
4 SEARCH_DIR(/usr/lib)                    
5 SEARCH_DIR(/usr/local/lib)              
6 __DYNAMIC = 0;                          
7 SECTIONS                                
8 {                                       
9   .text 0x2020 BLOCK(0x2000):           
10   {                                     
11    CREATE_OBJECT_SYMBOLS                
12     *(.text)                            
13     _etext = ALIGN( 0x2000);            
14     }                                   
15   .data  ALIGN(0x2000)  :               
16   {                                     
17     *(.data)                            
18       _edata  =  .;                     
19   }                                     
20   .bss   SIZEOF(.data) + ADDR(.data) :  
21   {                                     
22    *(.bss)                              
23    [COMMON]                             
24      _end = .;                          
25     }                                   
26 }
27
28