summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
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/sgi
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/sgi')
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index a2610322dab..74ae52b0e3a 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.69 2015/01/13 01:12:50 deraadt Exp $
+# $OpenBSD: Makefile.sgi,v 1.70 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