2008/198: elfwrap - wrap data in an ELF file

Rod Evans Rod.Evans at sun.com
Wed Mar 19 12:32:08 PDT 2008


Vladimir.Marek at sun.com wrote:

> Out of curiosity, would it be possible to have one 'universal' binary
 > for both sparc and x86? The real binaries could be wrapped as data, but
> there would have to be some sort of universal bootloader which would
> pick the appropriate one. Or is it completely outside of this scope?

I guess if we had a 'universal' binary format, elfwrap(1), or something
similar could be updated to create such a file.  A lot of other utilities,
including the kernel's exec(2) and file mapping, would have to be visited
too.

Not a trivial piece of work :-)

-- 

Rod.



More information about the opensolaris-arc mailing list