1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
authorIan Lance Taylor <ian@airs.com>
Thu, 22 Jul 1999 01:42:27 +0000 (01:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 22 Jul 1999 01:42:27 +0000 (01:42 +0000)
* scripttempl/i386go32.sc: Add handling of linkonce sections.

ld/ChangeLog
ld/scripttempl/i386go32.sc

index 7174955a79af7b3f82ff274795efe129ff409fe9..37a1fb24d39f951c0e0efa7e9c3971a7621a6dd8 100644 (file)
@@ -1,5 +1,7 @@
 1999-07-21  Mark Elbrecht  <snowball3@bigfoot.com>
 
+       * scripttempl/i386go32.sc: Add handling of linkonce sections.
+
        * configure.bat: Remove; obsolete.
        * emulparams/go32.sh: Remove; obsolete.
        * scripttempl/go32coff.sc: Remove; obsolete.
index 6bd3d09ff571fc69f006a736909bca5368f69abc..303e792767a77cb31af6697f202a2489145e2a18 100644 (file)
@@ -17,8 +17,10 @@ SECTIONS
 {
   .text ${RELOCATING+ ${TARGET_PAGE_SIZE}+SIZEOF_HEADERS} : {
     *(.text)
+    ${RELOCATING+*(.gnu.linkonce.t*)}
     *(.const*)
     *(.ro*)
+    ${RELOCATING+*(.gnu.linkonce.r*)}
     ${RELOCATING+etext  =  . ; _etext = .};
     ${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
   }
@@ -30,8 +32,9 @@ SECTIONS
     *(.dtor)
     djgpp_last_dtor = . ;}
     *(.data)
-    ${RELOCATING+ edata  =  . ; _edata = .};
-    ${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
+    ${RELOCATING+*(.gnu.linkonce.d*)}
+    ${RELOCATING+edata  =  . ; _edata = .};
+    ${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
   }
   ${CONSTRUCTING+${RELOCATING-$CTOR}}
   ${CONSTRUCTING+${RELOCATING-$DTOR}}
This page took 0.030867 seconds and 4 git commands to generate.