Bug fixes for Hitachi
authorSteve Chamberlain <sac@cygnus>
Tue, 16 Jun 1992 17:12:51 +0000 (17:12 +0000)
committerSteve Chamberlain <sac@cygnus>
Tue, 16 Jun 1992 17:12:51 +0000 (17:12 +0000)
ld/h8300hms.sc-sh

index ca19afbba9f82d983d6ffb2aa8259ca9d05e770d..6eab5c2e99b1da18934218cabd1661e81fb6bb77 100755 (executable)
@@ -16,23 +16,23 @@ SECTIONS
        {                                       
          *(.text)                              
          *(.strings)
-         _etext = .;
+         ${RELOCATING+_etext = .;}
        } ${RELOCATING+ > ram}
 .data  :
        {
        *(.data)
-       _edata = .;
+       ${RELOCATING+_edata = .;}
        } ${RELOCATING+ > ram}
 .bss  :
        {
-       ${RELOCATING+ _bss_start = .};
+       ${RELOCATING+ _bss_start = .;}
        *(.bss)
        *(COMMON)
        ${RELOCATING+ _end = .};
        } ${RELOCATING+ >ram}
 .stack : 
        {
-       _stack = .;
+       ${RELOCATING+_stack = .;}
        *(.stack)
        } ${RELOCATING+ > topram}
 }