delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/09/19/01:51:42

From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp-workers AT delorie DOT com, "Mark E." <snowball3 AT softhome DOT net>
Subject: Re: V2.04 work list (was... status page)
Date: Thu, 19 Sep 2002 05:51:41 +0300
User-Agent: KMail/1.4.7
References: <10209171450 DOT AA16719 AT clio DOT rice DOT edu> <3D8751A7 DOT 22518 DOT 16A6CD AT localhost>
In-Reply-To: <3D8751A7.22518.16A6CD@localhost>
MIME-Version: 1.0
Message-Id: <200209190551.41713.pavenis@latnet.lv>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g8J5n9W08395
Reply-To: djgpp-workers AT delorie DOT com

On Tuesday 17 September 2002 23:00, Mark E. wrote:
> > More issues with building libstdc++-v3. Appears that linker script must
> > again be changed (fortunatelly I have put it in GCC distribution with
> > name djgpp-x.djl, but it seems that it will live there for a long time)
>
> Could you describe what changes are required to the linker script?

GCC generates sections like .bss.something (of course replacing 'something') 
at least for C++ code

Here is a patch against djgpp-x.djl from gcc-3.[12]

Andris

--- djgpp-x.djl~2	2002-09-17 13:02:16.000000000 +0000
+++ djgpp-x.djl	2002-09-17 17:45:32.000000000 +0000
@@ -37,6 +37,7 @@
   .bss  SIZEOF(.data) + ADDR(.data) :
   { 					
     *(.bss)
+    *(.bss.*)
     *(COMMON)
      end = . ; PROVIDE(_end = .) ;
      . = ALIGN(0x200);

- Raw text -


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