*** empty log message ***
authorSteve Chamberlain <steve@cygnus>
Sat, 4 May 1991 00:40:37 +0000 (00:40 +0000)
committerSteve Chamberlain <steve@cygnus>
Sat, 4 May 1991 00:40:37 +0000 (00:40 +0000)
ld/config/hmake-sun3
ld/ld-gld68k-Ur.script
ld/ld-gld68k.script

index 0dd04b092d163a4c392f028532edd4495e7ebe93..667c7a9576c1434b3f128cddc7a41c9ddaaec7be 100755 (executable)
@@ -1,2 +1,6 @@
 HDEFINES = -DHOST_SYS=SUN3_SYS
 YACC = yacc -d
+
+HOSTING_EMU=LDEMULATION=gld68k; export LDEMULATION
+HOSTING_CRT0=/lib/crt0.o
+HOSTING_LIBS=-lc
index 46084db58d2ed635248f36be480f9224da30c259..aa89c6a355d328b10b33f3b7d9e6e1b9017790f9 100755 (executable)
@@ -11,15 +11,6 @@ SECTIONS
   .data SIZEOF(.text) + ADDR(.text) :  
     {                                  
       *(.data)                                 
-       ___DTOR_LIST__ = . ;                    
-      LONG((___CTOR_LIST__ - .)/4 -2)          
-       *(___DTOR_LIST__)                   
-         LONG(0)                             
-           ___CTOR_LIST__ = . ;                
-      LONG((___end_list__  - .)/4 -2)     
-       *(___CTOR_LIST__)                   
-         LONG(0)                             
-           ___end_list__  =  . ;                       
     }                                  
   .bss SIZEOF(.data) + ADDR(.data) :   
     {                                  
index 21c3155a34e370c62072c7b34fe6dd43bf83b2d9..6a1cbb3b80b185d5b723ba084b62ffe46050e84f 100755 (executable)
@@ -1,4 +1,5 @@
-OUTPUT_FORMAT(a.out-generic-big)
+OUTPUT_FORMAT("a.out-generic-big")
+OUTPUT_ARCH(m68k)
 
 SEARCH_DIR(/lib)                       
 SEARCH_DIR(/usr/lib)                   
@@ -15,14 +16,6 @@ SECTIONS
   .data  ALIGN(0x20000)  :             
   {                                    
     *(.data)                           
-    ___DTOR_LIST__ = . ;                       
-    LONG((___CTOR_LIST__ - .)/4 -2)    
-    *(___DTOR_LIST__)                   
-    LONG(0)                             
-    ___CTOR_LIST__ = . ;                       
-    LONG((_edata  - .)/4 -2)            
-    *(___CTOR_LIST__)                   
-    LONG(0)                             
       _edata  =  .;                    
   }                                    
   .bss   SIZEOF(.data) + ADDR(.data) :