summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/conf
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-04-29 12:44:54 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-04-29 12:44:54 +0000
commita6eead001dfb0337410c174072522beab0f4f30c (patch)
tree87a2cab72c9c7baa9c979c8ee5de8600b37da806 /sys/arch/loongson/conf
parentfc6130b6dc99d96f838774f53d1a91f05b65f595 (diff)
Do not remove local symbols from the table.
ddb(4) can now see static functions. That doesn't mean we should start declaring functions as ``static'', however it helps for the few existing exceptions. ok deraadt@, kettenis@
Diffstat (limited to 'sys/arch/loongson/conf')
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index 03b5d1b0eaf..fdc41629964 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.45 2015/01/13 01:12:49 deraadt Exp $
+# $OpenBSD: Makefile.loongson,v 1.46 2016/04/29 12:44:52 mpi Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -84,14 +84,13 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
DEBUG?=
.if ${DEBUG} == "-g"
-LINKFLAGS+= -X
-STRIPFLAGS= -g -x
+STRIPFLAGS= -S
SYSTEM_LD_TAIL+=; \
echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \
echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \
${STRIP} ${STRIPFLAGS} -o $@ $@.gdb
.else
-LINKFLAGS+= -x
+LINKFLAGS+= -S
.endif
%LOAD