diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/conf/Makefile.amd64 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 7b0b594dccf..7b627b62f57 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.amd64,v 1.20 2009/10/19 19:46:56 guenther Exp $ +# $OpenBSD: Makefile.amd64,v 1.21 2009/12/03 17:51:22 deraadt Exp $ # Makefile for OpenBSD # @@ -49,7 +49,7 @@ CMACHFLAGS+= -fno-stack-protector COPTS?= -O2 CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -x assembler-with-cpp -D_LOCORE -LINKFLAGS= -T ${AMD64}/conf/kern.ldscript -X +LINKFLAGS= -Ttext 0xffffffff801001e0 -e start -X STRIPFLAGS= -g -x .if ${IDENT:M-DDDB_STRUCT} @@ -99,6 +99,7 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@ DEBUG?= .if ${DEBUG} == "-g" +LINKFLAGS+= -X SYSTEM_LD_TAIL+=; \ echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ |