Created attachment 6291 [details] LD_ALTEXEC implementation Solaris linker (ld [1]) has an ability to run an arbitrary program specified via LD_ALTEXEC environment variable. I have created a patch to add similar functionality to GNU ld. [1] http://www.opensolarisforum.org/man/man1/ld.html#4
This can be implemeted easily with a shell script.