Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lkm/exec/freebsd_elf add compat_util.c goo so that this ...
details: https://anonhg.NetBSD.org/src/rev/c9ed072c2071
branches: trunk
changeset: 500726:c9ed072c2071
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sun Dec 17 16:21:12 2000 +0000
description:
add compat_util.c goo so that this doesn't depend on emul_find()
being available in the running kernel
diffstat:
sys/lkm/exec/freebsd_elf/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 27fb870ed687 -r c9ed072c2071 sys/lkm/exec/freebsd_elf/Makefile
--- a/sys/lkm/exec/freebsd_elf/Makefile Sun Dec 17 16:20:23 2000 +0000
+++ b/sys/lkm/exec/freebsd_elf/Makefile Sun Dec 17 16:21:12 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2000/12/08 23:05:35 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2000/12/17 16:21:12 jdolecek Exp $
.include "../Makefile.inc"
@@ -13,4 +13,13 @@
SRCS= lkminit_exec.c
SRCS+= freebsd_exec_elf32.c
+# compat_util.c symbol redifinitions
+CPPFLAGS+= -Demul_find=freebsd_emul_find \
+ -Dstackgap_init=freebsd_stackgap_init \
+ -Demul_flags_translate=freebsd_emul_flags_translate \
+ -Dstackgap_alloc=freebsd_stackgap_alloc \
+ -Dcompat_offseterr=freebsd_compat_offseterr
+.PATH: $S/compat/common
+SRCS+= compat_util.c
+
.include <bsd.kmod.mk>
Home |
Main Index |
Thread Index |
Old Index