Source-Changes archive

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

CVS commit: syssrc/sys



Module Name:    syssrc
Committed By:   thorpej
Date:           Mon Jan 28 22:15:55 UTC 2002

Modified Files:
        syssrc/sys/arch/sun2/include: elf_machdep.h
        syssrc/sys/kern: exec_elf32.c
        syssrc/sys/sys: exec_elf.h

Log Message:
Define ELF32_EHDR_FLAGS_OK()/ELF64_EHDR_FLAGS_OK() and use it
as an added measure to make sure that we can execute a binary.
These default to (1) if elf_machdep.h does not override them.

On Sun2, ELF32_EHDR_FLAGS_OK() checks for the presense of EF_M68000,
since the 68010 cannot run binaries for the 68020-and-up.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sun2/include/elf_machdep.h
cvs rdiff -r1.69 -r1.70 syssrc/sys/kern/exec_elf32.c
cvs rdiff -r1.59 -r1.60 syssrc/sys/sys/exec_elf.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