Module Name: src Committed By: reinoud Date: Sun Aug 21 15:06:27 UTC 2011
Modified Files: src/sys/arch/usermode/conf: Makefile.usermode Log Message: Link the usermode kernel staticly to avoid libc littering the virtual space. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/usermode/conf/Makefile.usermode Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/usermode/conf/Makefile.usermode diff -u src/sys/arch/usermode/conf/Makefile.usermode:1.10 src/sys/arch/usermode/conf/Makefile.usermode:1.11 --- src/sys/arch/usermode/conf/Makefile.usermode:1.10 Sat Aug 13 10:33:52 2011 +++ src/sys/arch/usermode/conf/Makefile.usermode Sun Aug 21 15:06:27 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.usermode,v 1.10 2011/08/13 10:33:52 jmcneill Exp $ +# $NetBSD: Makefile.usermode,v 1.11 2011/08/21 15:06:27 reinoud Exp $ MACHINE_ARCH= usermode USETOOLS?= no @@ -40,8 +40,8 @@ ## SYSTEM_LD= @${_MKSHMSG} " link ${.CURDIR:T}/${.TARGET}"; \ ${_MKSHECHO}\ - ${CC} ${COPTS} -Wl,-Map,$@.map -o $@ '$${SYSTEM_OBJ}' '$${EXTRA_OBJ}' vers.o ${USERMODE_LIBS}; \ - ${CC} ${COPTS} -Wl,-Map,$@.map -o $@ ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o ${USERMODE_LIBS} + ${CC} ${COPTS} -Wl,-Map,$@.map,-Bstatic -o $@ '$${SYSTEM_OBJ}' '$${EXTRA_OBJ}' vers.o ${USERMODE_LIBS}; \ + ${CC} ${COPTS} -Wl,-Map,$@.map,-Bstatic -o $@ ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o ${USERMODE_LIBS} NVFLAGS= -n ##