i960 bitrot fix
authorSteve Chamberlain <sac@cygnus>
Mon, 16 Mar 1992 22:54:51 +0000 (22:54 +0000)
committerSteve Chamberlain <sac@cygnus>
Mon, 16 Mar 1992 22:54:51 +0000 (22:54 +0000)
ld/gld960.em
ld/i960.sc-sh

index c2eba62..23db7ea 100644 (file)
@@ -131,7 +131,7 @@ struct ld_emulation_xfer_struct ld_gld960_emulation =
   gld960_choose_target,
   before_allocation_default,
   gld960_get_script,
-  "lnk960",
+  "960",
   ""
 };
 EOF
index 6d778a6..ed8ba8b 100755 (executable)
@@ -7,12 +7,12 @@ SECTIONS
        *(.text) 
        ${RELOCATING+ _etext = .};
     }  
-    .data :
+    .data SIZEOF(.text) + ADDR(.text):
     { 
        *(.data) 
        ${RELOCATING+ _edata = .};
     }  
-    .bss :
+    .bss SIZEOF(.data) + ADDR(.data):
     { 
        ${RELOCATING+ _bss_start = .};
        *(.bss)