Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread ron minnich
On Sat, Jan 31, 2009 at 11:31 PM, lu...@proxima.alt.za wrote: (b) Construct a start-up module for Plan 9's ELF libc (to be) that accepts arguments as passed by the kernel and sets up the execution environment required by, at this stage, statically-linked ELF binary

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread Dave Eckhardt
Secondly, Cinap and I agree that based on the Linux emulation it becomes useful to implement MMAP on Plan 9. If you do pay costs on that scale, it might be nice to get something better than just mmap() when you're done. http://9fans.net/archive/2008/07/729 http://9fans.net/archive/2008/07/535

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread lucio
If you do pay costs on that scale, it might be nice to get something better than just mmap() when you're done. I'm sure Cinap will drive this in the right direction. He certainly made it clear to me that his vision for MMAP is an improvement on the present model for Linux emulation. But I

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread lucio
This is what I'm doing on bg/p now. I've got a small program that reads in an elf binary, sets up the argv/env/aux vector(ppc thing) and jumps to main. It works. I use libmach. Can you share documentation and code? Although I would have to limit my experimentation to the 386 platform rather

Re: [9fans] Dynamic loading et al (Was: Pegasus 2.6 is released)

2009-02-01 Thread ron minnich
On Sun, Feb 1, 2009 at 10:42 AM, lu...@proxima.alt.za wrote: This is what I'm doing on bg/p now. I've got a small program that reads in an elf binary, sets up the argv/env/aux vector(ppc thing) and jumps to main. It works. I use libmach. Can you share documentation and code? Although I