summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/conf/Makefile.octeon
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/octeon/conf/Makefile.octeon
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/octeon/conf/Makefile.octeon')
-rw-r--r--sys/arch/octeon/conf/Makefile.octeon6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon
index 0a9c8637127..3df37abf8f1 100644
--- a/sys/arch/octeon/conf/Makefile.octeon
+++ b/sys/arch/octeon/conf/Makefile.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.octeon,v 1.21 2015/01/13 01:12:50 deraadt Exp $
+# $OpenBSD: Makefile.octeon,v 1.22 2016/04/29 12:44:52 mpi Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -85,13 +85,13 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
DEBUG?=
.if ${DEBUG} == "-g"
-LINKFLAGS+= -X
+LINKFLAGS+= -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