* scripttempl/v850.sc (__gp, __ep): Define.
authorJeff Law <law@redhat.com>
Fri, 18 Oct 1996 18:59:45 +0000 (18:59 +0000)
committerJeff Law <law@redhat.com>
Fri, 18 Oct 1996 18:59:45 +0000 (18:59 +0000)
ld/ChangeLog
ld/scripttempl/v850.sc

index 02e6979..3a1aa0c 100644 (file)
@@ -1,3 +1,9 @@
+start-sanitize-v850
+Fri Oct 18 12:58:35 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * scripttempl/v850.sc (__gp, __ep): Define.
+
+end-sanitize-v850
 Thu Oct 17 18:14:07 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * ld.texinfo: Try to consistently use a single or a double dash
index e4cb426..c19d4f2 100644 (file)
@@ -72,10 +72,12 @@ SECTIONS
   }
   .got           : { *(.got.plt) *(.got) }
   .dynamic       : { *(.dynamic) }
+  ${RELOCATING+ __ep = ALIGN (4) + 0x80;}
   .tdata     : { *(.tdata) }
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so
      we can shorten the on-disk segment size.  */
+  ${RELOCATING+ __gp = ALIGN(4) + 0x8000;}
   .sdata     : { *(.rosdata) *(.sdata) }
   _edata  =  .;
   PROVIDE (edata = .);