"ld --wrapper" but without changing legacy executable, possible?

Andreas Schwab schwab@suse.de
Tue Mar 21 14:27:00 GMT 2006


"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."



More information about the Binutils mailing list