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" Sender: halo1 AT zahav DOT net DOT il To: "Andrew Cottrell" 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 Precedence: bulk > From: "Andrew Cottrell" > 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.