]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
On the i386, load the ELF dynamic linker where an mmap(0, ...) would
authorJohn Polstra <jdp@FreeBSD.org>
Fri, 19 Feb 1999 01:30:43 +0000 (01:30 +0000)
committerJohn Polstra <jdp@FreeBSD.org>
Fri, 19 Feb 1999 01:30:43 +0000 (01:30 +0000)
commit0aca4b60dc6ae921986024403bf3a0f44ab3c4b3
tree40dc2f9000368d3fd5214f9f04ecbff87b826ea0
parent36f6982577c19a43a94e6ca746612c014e438a76
On the i386, load the ELF dynamic linker where an mmap(0, ...) would
put it, just like on the Alpha.  It was wrong to load it at the
fixed address 0x08000000.  That should only be done if the dynamic
linker is an executable (not a shared object) with a specific load
address encoded in the object file itself.

This fixes the recent breakage in the Linux emulator.
sys/amd64/include/elf.h
sys/i386/include/elf.h