freebsd-dev/sys/alpha/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 Merge with the latest i386 syscons. 1998-09-17 09:38:36 +00:00
_limits.h These are a few of the alpha machine dependent header files - the first 1998-01-10 10:13:16 +00:00
alpha_cpu.h Add hooks for the Iprobe kernel profiler. 1999-01-10 12:35:39 +00:00
ansi.h Little reorganization: 1998-12-19 00:02:34 +00:00
asm.h Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
atomic.h Change various syscalls to use size_t arguments instead of u_int. 1998-08-24 08:39:39 +00:00
bootinfo.h Typo fix. 1998-10-14 10:04:32 +00:00
bus_memio.h Port i386 bus_space and bus_dma to alpha. 1998-09-16 08:22:57 +00:00
bus_pio.h Port i386 bus_space and bus_dma to alpha. 1998-09-16 08:22:57 +00:00
bus.h Port i386 bus_space and bus_dma to alpha. 1998-09-16 08:22:57 +00:00
bwx.h Add definitions of EV56 INT1/INT2/INT4/INT8 memory spaces. 1998-07-31 09:14:49 +00:00
chipset.h * Add hooks to allow the X server to access I/O ports and memory. 1998-11-15 18:25:17 +00:00
clock.h Add support for adjkerntz (largely untested). 1998-10-06 08:40:18 +00:00
clockvar.h [Add missing files from previous commit] 1998-06-14 13:53:12 +00:00
cons.h Update the alpha port to use the new syscons. 1999-01-23 16:53:30 +00:00
console.h - Don't assume the line length in the video memory is always the same as 1999-02-05 11:52:13 +00:00
cpu.h Added a hopefully-machine-independent macro for determining if a 1999-02-02 09:08:23 +00:00
cpuconf.h Lots of changes, including: 1998-08-10 07:53:59 +00:00
cpufunc.h Add breakpoint() for BREAK_TO_DEBUGGER. 1998-08-17 08:21:31 +00:00
db_machdep.h Add support for kernel gdb. 1998-07-05 12:24:18 +00:00
elf_machdep.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
elf.h Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
endian.h Header files which are linked from /usr/include to /usr/include/machine. 1998-01-10 22:09:53 +00:00
exec.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
float.h Header files which are linked from /usr/include to /usr/include/machine. 1998-01-10 22:09:53 +00:00
floatingpoint.h libtcl expects to see ieeefp.h definitions through this header. 1998-05-13 22:40:42 +00:00
fpu.h Implement fpsetmask() and other fp*() functions. Programs should use 1998-12-23 11:50:52 +00:00
frame.h Add sc_traparg_a0, sc_traparg_a1 and sc_traparg_a2 to the sigcontext 1998-11-18 23:51:40 +00:00
ieee.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
ieeefp.h Implement fpsetmask() and other fp*() functions. Programs should use 1998-12-23 11:50:52 +00:00
in_cksum.h Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
inst.h Implement 'software completion' for floating point arithmetic. On the 1998-12-04 10:52:48 +00:00
intr.h Add support for 'vmstat -i'. 1998-11-28 09:55:16 +00:00
intrcnt.h Add support for 'vmstat -i'. 1998-11-28 09:55:16 +00:00
ipl.h Start using the new SWI registration system instead of hardwiring everything. 1998-09-26 14:25:32 +00:00
limits.h These are a few of the alpha machine dependent header files - the first 1998-01-10 10:13:16 +00:00
lock.h Add sio support. 1998-07-22 08:28:24 +00:00
md_var.h Add the ability to specify where on the at_shutdown queue a handler is 1998-10-30 05:41:15 +00:00
mouse.h Oops, I forgot to update this file when I changed moused recently. 1998-11-22 11:57:59 +00:00
pal.h PAL codes needed for asm.h 1998-01-10 22:42:21 +00:00
param.h Add a new library function getobjformat(). It checks all the 1998-09-09 01:21:25 +00:00
pcb.h Implement 'software completion' for floating point arithmetic. On the 1998-12-04 10:52:48 +00:00
pmap.h Use address space numbers to reduce TLB flushes. 1998-08-23 16:05:55 +00:00
proc.h A couple more osf/1 compat tweaks. 1999-01-12 10:54:14 +00:00
profile.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
prom.h Implement promcncheckc. 1998-07-12 16:15:06 +00:00
psl.h Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
pte.h Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
ptrace.h Make ptrace work. 1998-07-15 20:16:28 +00:00
reg.h Add initial support for the FreeBSD/alpha kernel. This is very much a 1998-06-10 10:57:29 +00:00
reloc.h Import NetBSD/Alpha headers needed to get the FreeBSD userland to compile 1998-03-09 05:43:16 +00:00
resource.h Definitions for alpha specific device resources. 1998-11-17 10:40:33 +00:00
rpb.h Add Miata system type and pull in the LOCATE_PCS macro from NetBSD. 1998-08-17 08:26:12 +00:00
setjmp.h Suggested by: bde 1998-01-20 09:09:24 +00:00
signal.h Add sc_traparg_a0, sc_traparg_a1 and sc_traparg_a2 to the sigcontext 1998-11-18 23:51:40 +00:00
stdarg.h Header files which are linked from /usr/include to /usr/include/machine. 1998-01-10 22:09:53 +00:00
swiz.h Add some more useful macros. 1998-08-07 08:17:39 +00:00
sysarch.h Implement fpsetmask() and other fp*() functions. Programs should use 1998-12-23 11:50:52 +00:00
types.h Little reorganization: 1998-12-19 00:02:34 +00:00
varargs.h Header files which are linked from /usr/include to /usr/include/machine. 1998-01-10 22:09:53 +00:00
vmparam.h Various changes to support OSF1 emulation: 1998-12-30 10:38:59 +00:00