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 c2eba6225746685025d8203cf83dc578a6ca47df..23db7ea497c0cdd789086d095fd4ec396b3ea889 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 6d778a69bb7a0e22efc2c5fa2b492eee17d428d4..ed8ba8b2281c3d8ca6f5fe3fc5716e1f4306f362 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)