dsl
a9a3224a5e
Remove compat_util.o from these loadable modules. It will be in the kernel.
...
Should fix PR kern/36287
2007-05-12 10:45:01 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
matt
ea25c64213
Use coredump_elf32, not coredump_netbsd.
2005-06-11 20:06:46 +00:00
perry
477853c351
nuke trailing whitespace
2005-02-26 22:58:54 +00:00
he
19278a71d3
Um, linux_exec_machdep.c only exists on i386, so don't try to compile
...
it for the other machine types which traverse this directory.
2004-11-14 12:19:28 +00:00
he
c8d952d682
Um, linux_exec_machdep.c only exists on i386, so don't try to compile
...
it for the other machine types which traverse this directory.
2004-11-14 11:40:08 +00:00
skrll
7139fbfc16
Add sources to SRCS not KMOD.
2004-11-13 13:37:06 +00:00
christos
66075fd33d
Fix all the borken exec lkms. setup_stack is mandatory.
2004-11-13 06:09:47 +00:00
christos
cd026bf62c
Sprinkle more COMPAT_NETBSD32 for good cheer.
2003-10-16 16:06:43 +00:00
lukem
9c437ec754
Change `LNFILES' to `BUILDSYMLINKS', to more accurately describe its purpose.
...
Per discussion with Simon Gerraty.
2003-09-20 06:20:41 +00:00
lukem
f7fe23abb3
use LNFILES to simplify creation of symlinks in .OBJDIR for builds
2003-09-04 07:18:01 +00:00
oki
f3dd49b44c
Add exec_setup_stack in execsw for lkm. Hi christos!
2003-08-18 09:04:45 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem
cd93af5dd7
use "rm -f $@ ; ln -s ... $@" instead of "ln -sf ... $@"
2003-05-04 06:36:37 +00:00
martin
cfa07275ad
Follow changes in rev. 1.79 of sys/kern/exec_conf.c
...
(if emulation uses elf32_copyargs(), it shouldn't use it's own idea
of how many AUX arguments are actually passed)
2003-02-19 15:43:56 +00:00
jdolecek
dd330529e7
add rename for emul_find_interp(), too
2002-11-29 17:11:21 +00:00
jdolecek
cee43b67cc
add generic linux compat ELF copyargs function
...
this gives:
* linux sysconf(_SC_CLK_TCK) gives correct value for linux binaries (hz)
even if hz != 100
* glibc gets proper information on real/effective uid and enables
secure mode for suid binaries
g/c LINUX_COPYARGS_FUNCTION, replaced by linux ELF copyargs function
g/c alpha-specific linux ELF copyargs function and linux ELF defines
2002-11-13 15:16:27 +00:00
christos
0bd5494ee5
make this compile again (thanks mrg)
2002-08-27 14:18:41 +00:00
thorpej
f944a0674f
Remove unnecessary -I$S; bsd.kmod.mk adds -isystem $S
2002-05-30 18:53:14 +00:00
oki
e6930c6900
PE/COFF header size is PECOFF_HDR_SIZE, not sizeof(struct exec).
2002-03-29 17:49:21 +00:00
kent
d469e9cf08
Use compat_util with overriding.
2002-03-29 17:09:30 +00:00
kent
79decd163e
Move 'pecoff' to installable SUBDIR
2002-03-24 15:01:57 +00:00
oki
e60e94456a
emul_netbsd is no longer used in exec_pecoff.
2002-03-18 08:16:08 +00:00
oki
7160cfdbde
PE/COFF exec LKM, currently for i386 platform.
2002-03-12 07:47:35 +00:00
mrg
993c6eb6ac
need core_elf32.c as well, now.
2002-02-10 16:25:49 +00:00
mrg
13ba5ca255
the exec LKMs work on sparc64.
2002-02-10 15:46:28 +00:00
thorpej
14164755e0
Switch ELF emulations to ELF core files.
2002-01-04 06:50:59 +00:00
thorpej
3d25834fb6
Fix a typo.
2001-12-14 20:51:01 +00:00
lukem
b574ee0f82
define NOMAN= once, at the real top level of lkm
2001-12-12 12:06:45 +00:00
lukem
00255d260d
define NOMAN= once, at the top level
2001-12-12 11:44:43 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
thorpej
165f442f86
Update for "coredumps now exec-format/emulation specific".
2001-12-08 00:37:07 +00:00
jdolecek
fd7c36bef3
need compat_exec.c for some old a.out formats
2001-11-26 20:38:15 +00:00
lukem
f5e6ca8797
add RCSIDs
2001-11-12 23:22:57 +00:00
jdolecek
d1842b740a
Restructure to the lkm/compat/Makefile way - the tested & installed
...
modules are on top, rest is added .if !make(install). This will avoid
such silly mistakes as rev. 1.7/1.8.
2001-11-01 19:32:53 +00:00
tron
7a726f828b
Fix botch in last commit which caused some of the "exec" LKMs not to be
...
built.
2001-11-01 13:41:42 +00:00
jdolecek
d58125dd1f
kill one more duplicate
2001-10-31 21:15:43 +00:00
jdolecek
f15ae836f3
kill duplicates
2001-10-31 21:13:23 +00:00
jdolecek
76dc75c365
svr4 compat LKMs work on i386
2001-10-31 18:30:18 +00:00
jdolecek
2b5db1a8bb
add the compat_util.c goo
...
XXX should prolly share this with lkm/compat, which has the same thing
2001-10-31 18:28:50 +00:00
jdolecek
36b128126e
change obsolete comment
...
both freebsd_aout and freebsd_elf were confirmed to work, install them
2001-10-27 12:11:17 +00:00
mrg
711d4aecaa
enable aout lkm on sparc & i386
2001-10-10 12:48:49 +00:00
mrg
41d514fe9a
framework to build an EXEC_AOUT module. tested on sparc64.
2001-10-10 12:10:10 +00:00
jdolecek
ef8abe0767
Make the setregs hook emulation-specific, rather than executable
...
format specific.
Struct emul has a e_setregs hook back, which points to emulation-specific
setregs function. es_setregs of struct execsw now only points to
optional executable-specific setup function (this is only used for
ECOFF).
2001-09-18 19:36:32 +00:00
chuck
b8a7c35e58
vax1k_subr.c is gone
2001-09-08 13:19:50 +00:00
mrg
5beff52e9c
port this to sparc64.
2001-07-18 16:53:34 +00:00
mrg
8c3d780729
build exec_elf.o LKM.
2001-06-06 21:21:30 +00:00
mrg
9a5a253ef5
an EXEC_ELF32 module, for sparc64.
2001-06-06 20:45:59 +00:00
mrg
390ea77cb0
build svr4_32_elf exec module.
2001-06-05 14:49:00 +00:00
mrg
ba3f355900
svr4_32_elf
2001-06-05 14:48:59 +00:00