Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 1999 10:49:57 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        Marcel Moolenaar <marcel@scc.nl>
Cc:        emulation@freebsd.org
Subject:   Re: ELF/VM problem [was: Re: linux ELF emulation is kinda broken
Message-ID:  <XFMail.990218104957.jdp@polstra.com>
In-Reply-To: <36CC4AA8.F7488014@scc.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Marcel Moolenaar wrote:
> 
> It seems that the interpreter is loaded at address 0x08000000. The VM map
> already has an entry with start address 0x08000000 (see objdump). As a result
> vm_map_insert() returns KERN_NO_SPACE. Recent changes in the ELF image code
> hardwired the loading of the interpreter to that address (for i386 that is).

Augh!  Major bummer.  It's already in 3.1. :-(

I can't fix it until tonight at the earliest, because of work
pressures.  If you'll replace the definition of ELF_RTLD_ADDR
in "src/sys/i386/include/elf.h" with the definition from
"src/sys/alpha/include/elf.h", that should fix it.

If anybody gets a chance to try this, please let me know whether it
works.

Thanks,
John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990218104957.jdp>