cyril.plisko at mountall.com
Mon Mar 21 14:16:52 UTC 2011
On Mon, Mar 21, 2011 at 1:54 PM, Andrey Sokolov
<keremet at solaris.kirov.ru> wrote:
> Hi Deano,
> I would like to write a program that will convert linux binaries to
> opensolaris binaries. The program will change dynamic relocation records. I
> did a little experiment: http://forum.os-solaris.ru/index.php?topic=223.0 I
> have converted a simple linux binary to opensolaris binary using hex editor.
Instead of [destructively] change the Linux binary in order to run it
wouldn't it be better to do the job on the fly via dynamic linker ?
Linux binaries conveniently use /lib/ld-linux.so.1 (as opposed to
Solaris). So one would imaging that if you will provide a
knows how to fix the relocations that would get you what you need, w/o touch
the binaries. Does it make sense ?
More information about the oi-dev