delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/17/10:26:11

From: pavenis AT lanet DOT lv
To: djgpp-workers AT delorie DOT com
Date: Sat, 17 Mar 2001 17:25:50 +0200
MIME-Version: 1.0
Subject: Patch for djgpp.djl
Cc: "Mark E." <snowball3 AT bigfoot DOT com>
Message-ID: <3AB39E1E.20274.64D8F7@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

To get gcc-3.0 20010314 working for DJGPP I had to modify djgpp.djl or
C++ applications which uses libstdcxx.a doesn't link correctly. Perhaps
it should not break anything with earlier versions ...  

Andris

--- lib/djgpp.djl~2	Thu Dec  7 07:01:04 2000
+++ lib/djgpp.djl	Sat Mar 17 17:16:38 2001
@@ -4,7 +4,9 @@
 {
   .text  0x1000+SIZEOF_HEADERS : {
     *(.text)
+    *(.text.*)
     *(.gnu.linkonce.t*)
+    *(.ro*)
     *(.gnu.linkonce.r*)
     etext  =  . ;
     PROVIDE(_etext  =  .);
@@ -18,6 +20,7 @@
     *(.dtor)
     djgpp_last_dtor = . ;
     *(.data)
+    *(.data.*)
     *(.gnu.linkonce.d*)
     *(.gcc_exc*)
     ___EH_FRAME_BEGIN__ = . ;

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019