www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/08/03:49:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Sat, 08 Dec 2001 10:47:17 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
Message-Id: <2427-Sat08Dec2001104717+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <002201c17fc1$3e4a58c0$0102a8c0@acceleron> (acottrel@ihug.com.au)
Subject: Re: Why do there appear to be two stubs in some files?
References: <002201c17fc1$3e4a58c0$0102a8c0 AT acceleron>
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

> From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
> Date: Sat, 8 Dec 2001 19:20:18 +1100
> 
> 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
> 
> The ones I seen all come from binutils.

That's because Binutils include a copy of the stub, to be able to
create a stubified executable without requiring stubify.exe.  For
examlpe, ld.exe and objcopy.exe should be able to produce such
executables.

As for others, I'm guessing that at least some of them get the stub
because they use the same code as ld and objcopy.

- Raw text -


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