Add .fixup section
authorMichael Meissner <gnu@the-meissners.org>
Thu, 22 Jun 1995 19:08:18 +0000 (19:08 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Thu, 22 Jun 1995 19:08:18 +0000 (19:08 +0000)
ld/ChangeLog
ld/scripttempl/elfppc.sc

index 8b34482ae58eb57a9bf7138c9f92a291a6a1c6d2..c9d9b4ae8ee4e92e40737eb86a0477e338e539fb 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jun 22 15:06:35 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section
+       that contains pointers to be relocated.
+
 Tue Jun 20 17:47:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
 
        * mpw-esh.c: New file, modified for MPW from esh.c.
index 8a6b78dd763df78e969ab6e7e129bfcef9f51936..5d7fa21b929f99ad886cbe92c06eb43e52aa585b 100644 (file)
@@ -105,7 +105,7 @@ SECTIONS
   ${RELOCATING+_GOT1_END_ = .;}
 
   /* Put .ctors and .dtors next to the .got2 section, so that the pointers
-     get relocated with -mrelocatable. */
+     get relocated with -mrelocatable. Also put in the .fixup pointers.  */
 
   ${RELOCATING+_GOT2_START_ = .;}
   .got2  ${RELOCATING-0} :  { *(.got2) }
@@ -118,6 +118,9 @@ SECTIONS
   .dtors ${RELOCATING-0} : { *(.dtors) }
   ${RELOCATING+__DTOR_END__ = .;}
 
+  ${RELOCATING+_FIXUP_START_ = .;}
+  .fixup ${RELOCATING-0} : { *(.fixup) }
+  ${RELOCATING+_FIXUP_END_ = .;}
   ${RELOCATING+_GOT2_END_ = .;}
 
   ${RELOCATING+_GOT_START_ = .;}
This page took 0.029349 seconds and 4 git commands to generate.