freebsd-nq/sys
John Polstra 47633640aa Change the load address of the ELF dynamic linker from "2L*MAXDSIZ"
to an architecture-specific value defined in <machine/elf.h>.  This
solves problems on large-memory systems that have a high value for
MAXDSIZ.

The load address is controlled by a new macro ELF_RTLD_ADDR(vmspace).
On the i386 it is hard-wired to 0x08000000, which is the standard
SVR4 location for the dynamic linker.

On the Alpha, the dynamic linker is loaded MAXDSIZ bytes beyond
the start of the program's data segment.  This is the same place
a userland mmap(0, ...) call would put it, so it ends up just below
all the shared libraries.  The rationale behind the calculation is
that it allows room for the data segment to grow to its maximum
possible size.

These changes have been tested on the i386 for several months
without problems.  They have been tested on the Alpha as well,
though not for nearly as long.  I would like to merge the changes
into 3.1 within a week if no problems have surfaced as a result of
them.
1999-02-07 23:49:56 +00:00
..
alpha Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
amd64 Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
boot Remove strange-looking quotes. This part of the code is #if'ed out, 1999-02-07 12:12:29 +00:00
cam quiet the alpha compiler 1999-02-05 08:49:34 +00:00
coda Removed a bogus cast to c_caddr_t. This is part of terminating 1999-01-29 07:23:53 +00:00
compat svr4 emulator will refuse to unload itself if it is currently in use. 1999-02-04 12:43:17 +00:00
compile
conf Reorder the pcvt(4) options to the appropriate section, so i can close 1999-02-07 20:33:05 +00:00
contrib/softupdates Gutted softdep_deallocate_dependencies and replaced it with a panic. It 1999-01-22 09:07:32 +00:00
ddb Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 23:45:44 +00:00
dev Changed to use IICBUS_REPEATED_START 1999-02-06 10:56:09 +00:00
fs Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used to 1999-02-07 21:48:23 +00:00
geom Fix warnings preparing for -Wall -Wcast-qual 1999-01-27 20:09:21 +00:00
gnu Use suser() to check for super user rather than examining cr_uid directly. 1999-01-30 12:17:38 +00:00
i4b Update the pccard hooks to use a module style declaration instead. 1999-01-19 00:21:53 +00:00
i386 Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
isa Oops, the last commit contained a wrong patch. This is the correct one. 1999-02-05 12:58:40 +00:00
isofs/cd9660 Don't comment out dead code; remove it. 1999-01-31 11:54:29 +00:00
kern Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
libkern Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 02:26:20 +00:00
miscfs Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used to 1999-02-07 21:48:23 +00:00
modules Honor ${LDFLAGS} for building svr4_genassym. This is part of fixing 1999-02-06 07:48:24 +00:00
msdosfs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
net Get rid of IFF_BROADCAST from default IFF_ slip options. This accidently 1999-02-02 00:28:29 +00:00
netatalk Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
netatm Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
netinet Use snd_nxt, not rcv_nxt, when calculating the ISS during TIME_WAIT. 1999-02-06 00:47:45 +00:00
netipx Make it possible to use lo0 as an internal IPX network. This is usefull 1999-02-06 10:48:11 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm
netns
nfs Flush delayed-write data out prior to issuing a rename rpc. This appears 1999-02-06 07:48:56 +00:00
nfsclient Flush delayed-write data out prior to issuing a rename rpc. This appears 1999-02-06 07:48:56 +00:00
nfsserver Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
ntfs First version. 1999-02-03 04:07:38 +00:00
pc98 Sync with syscons for i386. 1999-02-06 09:30:19 +00:00
pccard Allow the interrupt allocated to the PCIC to be tuned from the kernel 1999-01-29 01:18:15 +00:00
pci Back out rev 1.89. The #include is necessary for the #if that tests 1999-02-06 02:28:52 +00:00
posix4
powerpc Mostly remove the VM_STACK OPTION. 1999-01-26 02:49:52 +00:00
rpc
svr4 svr4 emulator will refuse to unload itself if it is currently in use. 1999-02-04 12:43:17 +00:00
sys Hmm- I must be blind. There *was* already an appropriate typedef still 1999-02-06 17:58:06 +00:00
tools
ufs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
vm Remove MAP_ENTRY_IS_A_MAP 'share' maps. These maps were once used to 1999-02-07 21:48:23 +00:00
Makefile