Mail Archives: djgpp-workers/2000/06/27/09:45:27
It looks like Binutils 2.9.5.x adds random garbage from the disk to the
executable, for alignment purposes. I think this is a pest (you risk to
have the company secrets or the latest letter to your lover to be read
by half the world and their dog ;-) Is it possible to change that in the
next upload of Binutils? (Perhaps it's already solved in v2.10, I didn't
yet install that.)
See the message below for details. This thread began when someone told
that running `strip' after "gcc -s" makes the program smaller (by exactly
2KB, I must add).
---------- Forwarded message ----------
Date: Mon, 26 Jun 2000 15:32:06 -0500
From: Josh Haglund <lhaglund AT wiktel DOT com>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Subject: Re: is it possible to use strip option in call to compiler
It print this after ld --version:
GNU ld 2.9.5
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public Licencs. This program has absolutely no warranty.
Supported emulations:
i386go32
[Windows 95] C:\WINDOWS>
That's all.
8>)
Josh Haglund
lhaglund AT wiktel DOT com
----- Original Message -----
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: "Josh Haglund" <lhaglund AT wiktel DOT com>
Sent: Monday, June 26, 2000 3:24 AM
Subject: Re: is it possible to use strip option in call to compiler
>
> On Mon, 26 Jun 2000, Josh Haglund wrote:
>
> > It reduces it a bit more.
> > I am surprised it reduces it somemore, because I
> > already used -s.
>
> Looks like a bug in Binutils.
>
> What version of Binutils do you have installed? What does "ld --version"
> print?
- Raw text -