delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/03/25/03:46:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <46062862.3090804@iki.fi>
Date: Sun, 25 Mar 2007 10:44:34 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 2.0b2 (X11/20070116)
MIME-Version: 1.0
To: Gordon DOT Schumacher AT seagate DOT com
Cc: "DJGPP List (E-mail)" <djgpp AT delorie DOT com>
Subject: Re: ANNOUNCE: DJGPP port of Binutils 2.17 uploaded
References: <200703231838 DOT l2NIcO3g014936 AT delorie DOT com>
In-Reply-To: <200703231838.l2NIcO3g014936@delorie.com>
Reply-To: djgpp AT delorie DOT com

Gordon DOT Schumacher AT seagate DOT com kirjoitti:
> This is a port of GNU Binutils 2.17 to MSDOS/DJGPP.
> 
> 
>   DJGPP specific changes.
>   =======================
> 
>   I have included a few patches - two from Andris Pavenis's RPM files and
>   two from the "crosstools" package.  These are to aid in building cross-
>   compilers hosted on different systems.  I have successfully built
>   working toolchains of both Linux->DJGPP and CygWin->DJGPP with this
>   package.
> 
>   The most visible change in 2.17 is greatly decreased link times,
>   especially for large executables.  I am seeing a ~4x improvement on an
>   executable that weighs in at 4MB.
> 
> 
>   Changes in version 2.17, relevant to DJGPP:
> 
One problem with GCC-4.1.0 and later is that .bss section is incorrectly 
  included in executable in case of C++ programs, which unnecessarily 
bloats executables. The problem is with use of compiler option 
-fdata-sections when building libstdcxx.a. I tried to look a bit and 
mess with generated assembler sources, but did not succeed to find a 
reasonable solution. Maybe the best would be ugly workaround to update 
linker script to put .bss.* in .data section instead of .bss. .bss.* is 
only generated if -fdata-sections is being used, so little or not at all 
harm is expected from such update.

Andris

- Raw text -


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