* scripttempl/h8500.sc: Start all sections in a different segment.
authorSteve Chamberlain <sac@cygnus>
Tue, 17 Aug 1993 14:04:24 +0000 (14:04 +0000)
committerSteve Chamberlain <sac@cygnus>
Tue, 17 Aug 1993 14:04:24 +0000 (14:04 +0000)
* scripttempl/z8ksim.sc: Handle constructors

ld/ChangeLog
ld/scripttempl/z8ksim.sc

index b5cc0cd93bcdaf6c46bc97bdd4484433d3b775e4..d85716f02ebc5b2d392ffac83f84beb3b4ac03d2 100644 (file)
@@ -1,3 +1,22 @@
+Tue Aug 17 07:02:19 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * scripttempl/h8500.sc: Start all sections in a different segment.
+       * scripttempl/z8ksim.sc: Handle constructors
+
+
+Thu Aug 12 16:05:37 1993  Jeffrey Wheat  (cassidy@cygnus.com)
+
+        * Makefile.in: revert earlier changes back to execute runtest
+          with make check. cdtest and bootstrap now function as they
+         did within the Makefile.
+
+Thu Aug 12 10:20:05 1993  David J. Mackenzie  (djm@thepub.cygnus.com)
+
+       * Makefile.in:  Update dependencies.
+
+       * configure.in: Set EMULATION_OFILES in Makefile based on
+       --with-targets option.
+
 Thu Aug 12 08:52:29 1993  Jeffrey Wheat  (cassidy@cygnus.com)
 
        * Makefile.in: check targets reimplemented to old way.
index 7ee132a8b263ddb27798e2bec8095f56afe984a9..e9627d84876638d894bf368cae704309d624930a 100644 (file)
@@ -1,22 +1,50 @@
 cat <<EOF
 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
-OUTPUT_ARCH(${ARCH})
-
+OUTPUT_ARCH(z8002)
+ENTRY(_start)
 
 SECTIONS                               
 {                                      
-.text :
-       {                                       
+.text : {                                      
          *(.text)                              
          *(.strings)
-         _etext = .;
+         *(.rdata)
+       }
+
+.ctors   : 
+       {
+         ${RELOCATING+ ___ctors = . ;  }
+         *(.ctors);
+         ${RELOCATING+ ___ctors_end = . ; }
+         ___dtors = . ;
+         *(.dtors);
+         ${RELOCATING+ ___dtors_end = . ; }
+       } 
+
+.data : {
        *(.data)
-       _edata = .;
-       *(.bss)
-       *(COMMON)
-        _end = .;
-
-}
+       }
+
+.bss : 
+  {
+    ${RELOCATING+ __start_bss = . ; }
+    *(.bss);
+    *(COMMON);
+    ${RELOCATING+ __end_bss = . ; }
+  }
+
+.heap : {
+       ${RELOCATING+ __start_heap = . ; }
+       ${RELOCATING+ . = . + 20k  ; }
+       ${RELOCATING+ __end_heap = . ; }
+       } 
+
+.stack ${RELOCATING+ 0xf000 }  : 
+       {
+       ${RELOCATING+ _stack = . ; }
+       *(.stack)
+       ${RELOCATING+ __stack_top = . ; }
+       } 
 
 }
 EOF