This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: "ld --wrapper" but without changing legacy executable, possible?
- From: Andreas Schwab <schwab at suse dot de>
- To: "sean yang" <seanatpurdue at hotmail dot com>
- Cc: paul at codesourcery dot com, binutils at sourceware dot org
- Date: Tue, 21 Mar 2006 13:01:17 +0100
- Subject: Re: "ld --wrapper" but without changing legacy executable, possible?
- References: <BAY105-F17C10869E118975D38522AC0D80@phx.gbl>
"sean yang" <seanatpurdue@hotmail.com> writes:
> I know we can do a if(!=NULL) to get it around.
> I guess there could be some clever way, say analogy to the .PLT entry
> filling.
Call dlsym in a constructor function.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."