Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   atatat
Date:           Thu Jan 30 20:03:47 UTC 2003

Modified Files:
        src/sys/kern: exec_elf32.c exec_subr.c sysv_shm.c
        src/sys/sys: exec.h

Log Message:
Two small changes to the ELF exec code:

(1) ELFNAME(load_file)() now takes a pointer to the entry point
offset, instead of taking a pointer to the entry point itself.  This
allows proper adjustment of the ultimate entry point at a higher level
if the object containing the entry point is moved before the exec is
finished.

(2) Introduce VMCMD_FIXED, which means the address at which a given
vmcmd describes a mapping is fixed (ie, should not be moved).  Don't
set this for entries pertaining to ld.so.

Also some minor comment/whitespace tweaks.


To generate a diff of this commit:
cvs rdiff -r1.78 -r1.79 src/sys/kern/exec_elf32.c
cvs rdiff -r1.32 -r1.33 src/sys/kern/exec_subr.c
cvs rdiff -r1.65 -r1.66 src/sys/kern/sysv_shm.c
cvs rdiff -r1.89 -r1.90 src/sys/sys/exec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index