delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/08/07:56:02

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: acaxp6.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Sat, 8 Dec 2001 13:55:56 +0100 (MET)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
To: djgpp-workers AT delorie DOT com
Subject: Re: Why do there appear to be two stubs in some files?
In-Reply-To: <002201c17fc1$3e4a58c0$0102a8c0@acceleron>
Message-ID: <Pine.OSF.4.10.10112081351150.10426-100000@acaxp6.physik.rwth-aachen.de>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 8 Dec 2001, Andrew Cottrell wrote:

> In checking that I have updated the files correctly using the patched 2.03 I
> spotted that some of the exe files appear to have two stubs in them. Some of
> the files that I checked that looked like they had two stubs in them are:-
>     as.exe
>     ar.exe
>     objdump.exe
>     objcopy.exe

I guess if you look a bit harder, you'll find "ld" also has a second stub.
In general, every binutils program that can write object files will have a
second copy of the stub for prepending it to files in stubbed format.
The other is the one for executing the utility itself, of course.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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