HardenedBSD/sys/amd64/include
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
..
pc
apicreg.h
asm.h
asmacros.h
atomic.h
bus_amd64.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
bus_at386.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
bus_dma.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
bus_memio.h
bus_pio.h
bus.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
clock.h
cpu.h Added a hopefully-machine-independent macro for determining if a 1999-02-02 09:08:23 +00:00
cpufunc.h Don't put operands in clobber lists, since this is dubious for old 1999-01-09 13:00:27 +00:00
cputypes.h Recognize Pentium II Xeon, Celeron and Pentium III cpus. Because CPU 1999-02-04 16:48:26 +00:00
db_machdep.h
elf.h Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
exec.h
float.h
floatingpoint.h
fpu.h
frame.h
ieeefp.h
md_var.h Moved declarations related to copying and zeroing to the right place. 1999-01-08 16:29:59 +00:00
mptable.h Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
npx.h
pcb_ext.h
pcb.h
pci_cfgreg.h
pcpu.h
pmap.h Move the declaration of PPro_vmtrr from the header file to pmap.c, 1998-11-24 20:25:52 +00:00
proc.h
profile.h
psl.h
ptrace.h
reg.h
reloc.h
resource.h A small fragment of new ISA framework: manifest constants for the resources 1998-10-29 01:56:23 +00:00
segments.h Sun Bug ID 1251858 (on http://sunsolve1.sun.com) discusses the way that 1999-01-28 11:45:49 +00:00
setjmp.h
signal.h
smp.h
specialreg.h - Implement enabling write allocate on AMD K5/K6/K6-2 cpus. 1998-10-06 13:16:29 +00:00
sysarch.h
trap.h
tss.h
varargs.h
vmparam.h