1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/i386/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 - Don't assume the line length in the video memory is always the same as 1999-02-05 11:52:13 +00:00
_limits.h
ansi.h Little reorganization: 1998-12-19 00:02:34 +00:00
apic.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
apicreg.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
apm_bios.h Add the ability to specify where on the at_shutdown queue a handler is 1998-10-30 05:41:15 +00:00
apm_segments.h
asc_ioctl.h
asm.h
asmacros.h
asnames.h Added underscores to some names in svr4_locore.s so that it compiles 1999-02-06 08:41:06 +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 Remove the bi_vesa field, as vesa modeswitching is no longer performed 1998-10-01 18:25:04 +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_pc98.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_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
cdk.h
clock.h
comstats.h
cons.h
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
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
cronyx.h
db_machdep.h
dvcfg.h
elf.h Change the load address of the ELF dynamic linker from "2L*MAXDSIZ" 1999-02-07 23:49:56 +00:00
endian.h
exec.h
float.h
floatingpoint.h
frame.h
globaldata.h Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
gsc.h
i4b_cause.h Initial entry of ISDN4BSD into the FreeBSD tree. 1998-12-27 21:47:14 +00:00
i4b_debug.h Initial entry of ISDN4BSD into the FreeBSD tree. 1998-12-27 21:47:14 +00:00
i4b_ioctl.h Initial entry of ISDN4BSD into the FreeBSD tree. 1998-12-27 21:47:14 +00:00
i4b_tel_ioctl.h Initial entry of ISDN4BSD into the FreeBSD tree. 1998-12-27 21:47:14 +00:00
i4b_trace.h Initial entry of ISDN4BSD into the FreeBSD tree. 1998-12-27 21:47:14 +00:00
ieeefp.h
if_wl_wavelan.h
iic.h Change /dev/smb and /dev/iic interface to allow user programs to interact with 1999-01-09 18:08:24 +00:00
in_cksum.h
ioctl_bt848.h Added METEOR_DEV2 and METEOR_DEV3 1999-01-28 16:32:52 +00:00
ioctl_ctx.h
ioctl_fd.h
ioctl_meteor.h
ipl.h
joystick.h
limits.h
lock.h
lpt.h
md_var.h Moved declarations related to copying and zeroing to the right place. 1999-01-08 16:29:59 +00:00
mouse.h - Added support for Genius Kidspad tablet. 1998-11-20 11:22:17 +00:00
mpapic.h
mptable.h Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
mtpr.h
npx.h
param.h OBJFORMAT_DEFAULT = elf now. (this is where /usr/bin/objformat and 1999-01-07 06:35:18 +00:00
pcaudioio.h
pcb_ext.h
pcb.h
pci_cfgreg.h
pcpu.h Presently there is only one `currentldt' variable for all cpus 1998-08-18 07:47:12 +00:00
pcvt_ioctl.h Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00
perfmon.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 Make profiling work for ELF. gprof now autodetects the format of 1998-09-07 23:32:00 +00:00
psl.h
ptrace.h
random.h
reg.h Add new functions fill_fpregs() and set_fpregs(), like fill_regs() 1998-09-14 22:43:40 +00:00
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
si.h
signal.h
smb.h Change /dev/smb and /dev/iic interface to allow user programs to interact with 1999-01-09 18:08:24 +00:00
smp.h Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
smptests.h
soundcard.h
speaker.h
specialreg.h - Implement enabling write allocate on AMD K5/K6/K6-2 cpus. 1998-10-06 13:16:29 +00:00
spigot.h
stdarg.h
sysarch.h
trap.h
tss.h
types.h Little reorganization: 1998-12-19 00:02:34 +00:00
ultrasound.h Part 3 of the pcvt/voxware revival. 1999-01-01 08:23:23 +00:00
varargs.h
vm86.h Don't pretend to support ix86's with 16-bit ints by using longs just 1998-09-29 09:06:00 +00:00
vmparam.h
wtio.h