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 ca19afb..6eab5c2 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}
 }